shaders 2.2.33 → 2.2.35
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/core/BrightnessContrast-CaErceqR.js +43 -0
- package/dist/core/Sharpness-B2MrhUH5.js +41 -0
- package/dist/core/index.js +111 -107
- package/dist/core/shaderRegistry.d.ts.map +1 -1
- package/dist/core/shaders/BrightnessContrast/index.d.ts +21 -0
- package/dist/core/shaders/BrightnessContrast/index.d.ts.map +1 -0
- package/dist/core/shaders/BrightnessContrast/index.js +2 -0
- package/dist/core/shaders/Bulge/index.js +1 -1
- package/dist/core/shaders/CRTScreen/index.js +1 -1
- package/dist/core/shaders/ChannelBlur/index.js +1 -1
- package/dist/core/shaders/Checkerboard/index.js +1 -1
- package/dist/core/shaders/ChromaFlow/index.js +1 -1
- package/dist/core/shaders/ChromaticAberration/index.js +1 -1
- package/dist/core/shaders/Circle/index.js +1 -1
- package/dist/core/shaders/CursorTrail/index.js +1 -1
- package/dist/core/shaders/DiffuseBlur/index.js +1 -1
- package/dist/core/shaders/Dither/index.js +1 -1
- package/dist/core/shaders/DotGrid/index.js +1 -1
- package/dist/core/shaders/Duotone/index.js +1 -1
- package/dist/core/shaders/FilmGrain/index.js +1 -1
- package/dist/core/shaders/FloatingParticles/index.js +1 -1
- package/dist/core/shaders/GlassTiles/index.js +1 -1
- package/dist/core/shaders/Glow/index.js +1 -1
- package/dist/core/shaders/Godrays/index.js +1 -1
- package/dist/core/shaders/Grayscale/index.js +1 -1
- package/dist/core/shaders/Grid/index.js +1 -1
- package/dist/core/shaders/GridDistortion/index.js +1 -1
- package/dist/core/shaders/Group/index.js +1 -1
- package/dist/core/shaders/Halftone/index.js +1 -1
- package/dist/core/shaders/HueShift/index.js +1 -1
- package/dist/core/shaders/ImageTexture/index.js +1 -1
- package/dist/core/shaders/Invert/index.js +1 -1
- package/dist/core/shaders/LinearBlur/index.js +1 -1
- package/dist/core/shaders/LinearGradient/index.js +1 -1
- package/dist/core/shaders/Liquify/index.js +1 -1
- package/dist/core/shaders/Pixelate/index.js +1 -1
- package/dist/core/shaders/PolarCoordinates/index.js +1 -1
- package/dist/core/shaders/Posterize/index.js +1 -1
- package/dist/core/shaders/ProgressiveBlur/index.js +1 -1
- package/dist/core/shaders/RadialGradient/index.js +1 -1
- package/dist/core/shaders/RectangularCoordinates/index.js +1 -1
- package/dist/core/shaders/Ripples/index.js +1 -1
- package/dist/core/shaders/Saturation/index.js +1 -1
- package/dist/core/shaders/Sharpness/index.d.ts +14 -0
- package/dist/core/shaders/Sharpness/index.d.ts.map +1 -0
- package/dist/core/shaders/Sharpness/index.js +2 -0
- package/dist/core/shaders/SimplexNoise/index.js +1 -1
- package/dist/core/shaders/SineWave/index.js +1 -1
- package/dist/core/shaders/SolidColor/index.js +1 -1
- package/dist/core/shaders/Spherize/index.js +1 -1
- package/dist/core/shaders/Spiral/index.js +1 -1
- package/dist/core/shaders/Strands/index.js +1 -1
- package/dist/core/shaders/Stretch/index.js +1 -1
- package/dist/core/shaders/Swirl/index.js +1 -1
- package/dist/core/shaders/TiltShift/index.js +1 -1
- package/dist/core/shaders/Tritone/index.js +1 -1
- package/dist/core/shaders/Twirl/index.js +1 -1
- package/dist/core/shaders/Vibrance/index.js +1 -1
- package/dist/core/shaders/WaveDistortion/index.js +1 -1
- package/dist/core/shaders/ZoomBlur/index.js +1 -1
- package/dist/react/components/BrightnessContrast.d.ts +31 -0
- package/dist/react/components/BrightnessContrast.d.ts.map +1 -0
- package/dist/react/components/Sharpness.d.ts +31 -0
- package/dist/react/components/Sharpness.d.ts.map +1 -0
- package/dist/react/{generatePresetCode-Ci4D5lDy.js → generatePresetCode-C4t1eM0z.js} +13 -0
- package/dist/react/index.d.ts +2 -0
- package/dist/react/index.d.ts.map +1 -1
- package/dist/react/index.js +703 -425
- package/dist/react/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/react/utils/generatePresetCode.js +1 -1
- package/dist/registry.js +101 -0
- package/dist/solid/components/BrightnessContrast.d.ts +28 -0
- package/dist/solid/components/BrightnessContrast.d.ts.map +1 -0
- package/dist/solid/components/Sharpness.d.ts +28 -0
- package/dist/solid/components/Sharpness.d.ts.map +1 -0
- package/dist/solid/index.d.ts +2 -0
- package/dist/solid/index.d.ts.map +1 -1
- package/dist/solid/index.js +648 -366
- package/dist/solid/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/solid/utils/generatePresetCode.js +13 -0
- package/dist/svelte/components/BrightnessContrast.svelte.d.ts +19 -0
- package/dist/svelte/components/Sharpness.svelte.d.ts +19 -0
- package/dist/svelte/{generatePresetCode-hILbcEw8.js → generatePresetCode-CT9aNR6P.js} +13 -0
- package/dist/svelte/index.d.ts +2 -0
- package/dist/svelte/index.js +324 -102
- package/dist/svelte/utils/generatePresetCode.js +1 -1
- package/dist/vue/components/BrightnessContrast.vue.d.ts +57 -0
- package/dist/vue/components/BrightnessContrast.vue.d.ts.map +1 -0
- package/dist/vue/components/Sharpness.vue.d.ts +57 -0
- package/dist/vue/components/Sharpness.vue.d.ts.map +1 -0
- package/dist/vue/{generatePresetCode-DfkHaBG4.js → generatePresetCode-BmkyNfz6.js} +13 -0
- package/dist/vue/index.d.ts +2 -0
- package/dist/vue/index.d.ts.map +1 -1
- package/dist/vue/index.js +603 -360
- package/dist/vue/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/vue/utils/generatePresetCode.js +1 -1
- package/package.json +17 -1
- /package/dist/core/{Bulge-C8-_hIFp.js → Bulge-BVcWo6On.js} +0 -0
- /package/dist/core/{CRTScreen-DLy8Rig6.js → CRTScreen-CcAYeqoI.js} +0 -0
- /package/dist/core/{ChannelBlur-BPOGOQXl.js → ChannelBlur-CQoP7Igg.js} +0 -0
- /package/dist/core/{Checkerboard-D_H3XYbF.js → Checkerboard-D_hGvoO7.js} +0 -0
- /package/dist/core/{ChromaFlow-DhzC_8Ne.js → ChromaFlow-DizYQSgf.js} +0 -0
- /package/dist/core/{ChromaticAberration-hi7WGiVk.js → ChromaticAberration-Bk_DMYJm.js} +0 -0
- /package/dist/core/{Circle-DI0gXpyD.js → Circle-BlVzkeyl.js} +0 -0
- /package/dist/core/{CursorTrail-B9EQ9FsP.js → CursorTrail-CxXWV7KH.js} +0 -0
- /package/dist/core/{DiffuseBlur-Cg7AsB3W.js → DiffuseBlur-BTSRl65K.js} +0 -0
- /package/dist/core/{Dither-Bb5rLGEI.js → Dither-C1KyBYuE.js} +0 -0
- /package/dist/core/{DotGrid-B2DXsjFE.js → DotGrid-ll8XCA0p.js} +0 -0
- /package/dist/core/{Duotone-CRwhugbV.js → Duotone-d2gQJr4M.js} +0 -0
- /package/dist/core/{FilmGrain-CY4ZO9UI.js → FilmGrain-3h6TIe1T.js} +0 -0
- /package/dist/core/{FloatingParticles-BduIDXKd.js → FloatingParticles-B6KvHecR.js} +0 -0
- /package/dist/core/{GlassTiles-BaAwsNxl.js → GlassTiles-DqT67iqr.js} +0 -0
- /package/dist/core/{Glow-D0boDIAW.js → Glow-BYNKuw0E.js} +0 -0
- /package/dist/core/{Godrays-ChqiT2zn.js → Godrays-iMO6X606.js} +0 -0
- /package/dist/core/{Grayscale-Bi-XBvO_.js → Grayscale-BH3tLDGN.js} +0 -0
- /package/dist/core/{Grid-DazyiX15.js → Grid-CdslWvoH.js} +0 -0
- /package/dist/core/{GridDistortion-CYQUwuXw.js → GridDistortion-D-iiGELF.js} +0 -0
- /package/dist/core/{Group-C0AknFDS.js → Group-ByGv48Lm.js} +0 -0
- /package/dist/core/{Halftone-Ddrldk6b.js → Halftone-CV0aFuRG.js} +0 -0
- /package/dist/core/{HueShift-DvOpzM7W.js → HueShift-DQ2WgImx.js} +0 -0
- /package/dist/core/{ImageTexture-D0xwHmkW.js → ImageTexture-DKFb8ze3.js} +0 -0
- /package/dist/core/{Invert-Bmjbp6g6.js → Invert-w9duGaUu.js} +0 -0
- /package/dist/core/{LinearBlur-cYfqaOhb.js → LinearBlur-CTXjolzL.js} +0 -0
- /package/dist/core/{LinearGradient-B6ySxWpU.js → LinearGradient-CZo6e7r8.js} +0 -0
- /package/dist/core/{Liquify-yoKWSK0F.js → Liquify-BbfDBMNZ.js} +0 -0
- /package/dist/core/{Pixelate-BmE_Zryn.js → Pixelate-C5Rx1dBp.js} +0 -0
- /package/dist/core/{PolarCoordinates-PLyS00-P.js → PolarCoordinates-CIh5ef8m.js} +0 -0
- /package/dist/core/{Posterize-DIjjPS72.js → Posterize-Byy0Ek0l.js} +0 -0
- /package/dist/core/{ProgressiveBlur-XD4ivmMn.js → ProgressiveBlur-Bzz24_y-.js} +0 -0
- /package/dist/core/{RadialGradient-pwKyDUBu.js → RadialGradient-Ci1dU-1K.js} +0 -0
- /package/dist/core/{RectangularCoordinates-Dq2JrmOX.js → RectangularCoordinates-tVGG7WOJ.js} +0 -0
- /package/dist/core/{Ripples-Ot1rx8kL.js → Ripples-BCGSt5HD.js} +0 -0
- /package/dist/core/{Saturation-J0nI4hmh.js → Saturation-DWR1Nruu.js} +0 -0
- /package/dist/core/{SimplexNoise-BfilWh05.js → SimplexNoise-j5sH7ro0.js} +0 -0
- /package/dist/core/{SineWave-DRqL-jda.js → SineWave-C4Lz5gO9.js} +0 -0
- /package/dist/core/{SolidColor-B62ZBRlK.js → SolidColor-9huPo7Qb.js} +0 -0
- /package/dist/core/{Spherize-DDP0_5VP.js → Spherize-ARP2hY6_.js} +0 -0
- /package/dist/core/{Spiral-Cx7Z8gLc.js → Spiral-d60Q9u4M.js} +0 -0
- /package/dist/core/{Strands-C9FBVtDe.js → Strands-DiIbhZ0r.js} +0 -0
- /package/dist/core/{Stretch-BCpOO3q6.js → Stretch-UYY3Qep7.js} +0 -0
- /package/dist/core/{Swirl-BfD35doJ.js → Swirl-jQMlfm2U.js} +0 -0
- /package/dist/core/{TiltShift-CvKqM1xk.js → TiltShift-Ctj-Dsom.js} +0 -0
- /package/dist/core/{Tritone-BeEJj4U0.js → Tritone-D2lMeIyT.js} +0 -0
- /package/dist/core/{Twirl-EJ3aS_lo.js → Twirl-D4opuuKg.js} +0 -0
- /package/dist/core/{Vibrance-BI5q7_Wt.js → Vibrance-CZCF06c0.js} +0 -0
- /package/dist/core/{WaveDistortion-BOWBSWEU.js → WaveDistortion-DdJtTeib.js} +0 -0
- /package/dist/core/{ZoomBlur-gB0BxldE.js → ZoomBlur-DfzUaH4u.js} +0 -0
package/dist/solid/index.js
CHANGED
|
@@ -8,56 +8,58 @@ import { componentDefinition as componentDefinition$1 } from "../core/shaders/As
|
|
|
8
8
|
import { componentDefinition as componentDefinition$2 } from "../core/shaders/Beam/index.js";
|
|
9
9
|
import { componentDefinition as componentDefinition$3 } from "../core/shaders/Blob/index.js";
|
|
10
10
|
import { componentDefinition as componentDefinition$4 } from "../core/shaders/Blur/index.js";
|
|
11
|
-
import { componentDefinition as componentDefinition$5 } from "../core/shaders/
|
|
12
|
-
import { componentDefinition as componentDefinition$6 } from "../core/shaders/
|
|
13
|
-
import { componentDefinition as componentDefinition$7 } from "../core/shaders/
|
|
14
|
-
import { componentDefinition as componentDefinition$8 } from "../core/shaders/
|
|
15
|
-
import { componentDefinition as componentDefinition$9 } from "../core/shaders/
|
|
16
|
-
import { componentDefinition as componentDefinition$a } from "../core/shaders/
|
|
17
|
-
import { componentDefinition as componentDefinition$b } from "../core/shaders/
|
|
18
|
-
import { componentDefinition as componentDefinition$c } from "../core/shaders/
|
|
19
|
-
import { componentDefinition as componentDefinition$d } from "../core/shaders/
|
|
20
|
-
import { componentDefinition as componentDefinition$e } from "../core/shaders/
|
|
21
|
-
import { componentDefinition as componentDefinition$f } from "../core/shaders/
|
|
22
|
-
import { componentDefinition as componentDefinition$g } from "../core/shaders/
|
|
23
|
-
import { componentDefinition as componentDefinition$h } from "../core/shaders/
|
|
24
|
-
import { componentDefinition as componentDefinition$i } from "../core/shaders/
|
|
25
|
-
import { componentDefinition as componentDefinition$j } from "../core/shaders/
|
|
26
|
-
import { componentDefinition as componentDefinition$k } from "../core/shaders/
|
|
27
|
-
import { componentDefinition as componentDefinition$l } from "../core/shaders/
|
|
28
|
-
import { componentDefinition as componentDefinition$m } from "../core/shaders/
|
|
29
|
-
import { componentDefinition as componentDefinition$n } from "../core/shaders/
|
|
30
|
-
import { componentDefinition as componentDefinition$o } from "../core/shaders/
|
|
31
|
-
import { componentDefinition as componentDefinition$p } from "../core/shaders/
|
|
32
|
-
import { componentDefinition as componentDefinition$q } from "../core/shaders/
|
|
33
|
-
import { componentDefinition as componentDefinition$r } from "../core/shaders/
|
|
34
|
-
import { componentDefinition as componentDefinition$s } from "../core/shaders/
|
|
35
|
-
import { componentDefinition as componentDefinition$t } from "../core/shaders/
|
|
36
|
-
import { componentDefinition as componentDefinition$u } from "../core/shaders/
|
|
37
|
-
import { componentDefinition as componentDefinition$v } from "../core/shaders/
|
|
38
|
-
import { componentDefinition as componentDefinition$w } from "../core/shaders/
|
|
39
|
-
import { componentDefinition as componentDefinition$x } from "../core/shaders/
|
|
40
|
-
import { componentDefinition as componentDefinition$y } from "../core/shaders/
|
|
41
|
-
import { componentDefinition as componentDefinition$z } from "../core/shaders/
|
|
42
|
-
import { componentDefinition as componentDefinition$A } from "../core/shaders/
|
|
43
|
-
import { componentDefinition as componentDefinition$B } from "../core/shaders/
|
|
44
|
-
import { componentDefinition as componentDefinition$C } from "../core/shaders/
|
|
45
|
-
import { componentDefinition as componentDefinition$D } from "../core/shaders/
|
|
46
|
-
import { componentDefinition as componentDefinition$E } from "../core/shaders/
|
|
47
|
-
import { componentDefinition as componentDefinition$F } from "../core/shaders/
|
|
48
|
-
import { componentDefinition as componentDefinition$G } from "../core/shaders/
|
|
49
|
-
import { componentDefinition as componentDefinition$H } from "../core/shaders/
|
|
50
|
-
import { componentDefinition as componentDefinition$I } from "../core/shaders/
|
|
51
|
-
import { componentDefinition as componentDefinition$J } from "../core/shaders/
|
|
52
|
-
import { componentDefinition as componentDefinition$K } from "../core/shaders/
|
|
53
|
-
import { componentDefinition as componentDefinition$L } from "../core/shaders/
|
|
54
|
-
import { componentDefinition as componentDefinition$M } from "../core/shaders/
|
|
55
|
-
import { componentDefinition as componentDefinition$N } from "../core/shaders/
|
|
56
|
-
import { componentDefinition as componentDefinition$O } from "../core/shaders/
|
|
57
|
-
import { componentDefinition as componentDefinition$P } from "../core/shaders/
|
|
58
|
-
import { componentDefinition as componentDefinition$Q } from "../core/shaders/
|
|
59
|
-
import { componentDefinition as componentDefinition$R } from "../core/shaders/
|
|
60
|
-
import { componentDefinition as componentDefinition$S } from "../core/shaders/
|
|
11
|
+
import { componentDefinition as componentDefinition$5 } from "../core/shaders/BrightnessContrast/index.js";
|
|
12
|
+
import { componentDefinition as componentDefinition$6 } from "../core/shaders/Bulge/index.js";
|
|
13
|
+
import { componentDefinition as componentDefinition$7 } from "../core/shaders/CRTScreen/index.js";
|
|
14
|
+
import { componentDefinition as componentDefinition$8 } from "../core/shaders/ChannelBlur/index.js";
|
|
15
|
+
import { componentDefinition as componentDefinition$9 } from "../core/shaders/Checkerboard/index.js";
|
|
16
|
+
import { componentDefinition as componentDefinition$a } from "../core/shaders/ChromaFlow/index.js";
|
|
17
|
+
import { componentDefinition as componentDefinition$b } from "../core/shaders/ChromaticAberration/index.js";
|
|
18
|
+
import { componentDefinition as componentDefinition$c } from "../core/shaders/Circle/index.js";
|
|
19
|
+
import { componentDefinition as componentDefinition$d } from "../core/shaders/CursorTrail/index.js";
|
|
20
|
+
import { componentDefinition as componentDefinition$e } from "../core/shaders/DiffuseBlur/index.js";
|
|
21
|
+
import { componentDefinition as componentDefinition$f } from "../core/shaders/Dither/index.js";
|
|
22
|
+
import { componentDefinition as componentDefinition$g } from "../core/shaders/DotGrid/index.js";
|
|
23
|
+
import { componentDefinition as componentDefinition$h } from "../core/shaders/Duotone/index.js";
|
|
24
|
+
import { componentDefinition as componentDefinition$i } from "../core/shaders/FilmGrain/index.js";
|
|
25
|
+
import { componentDefinition as componentDefinition$j } from "../core/shaders/FloatingParticles/index.js";
|
|
26
|
+
import { componentDefinition as componentDefinition$k } from "../core/shaders/GlassTiles/index.js";
|
|
27
|
+
import { componentDefinition as componentDefinition$l } from "../core/shaders/Glow/index.js";
|
|
28
|
+
import { componentDefinition as componentDefinition$m } from "../core/shaders/Godrays/index.js";
|
|
29
|
+
import { componentDefinition as componentDefinition$n } from "../core/shaders/Grayscale/index.js";
|
|
30
|
+
import { componentDefinition as componentDefinition$o } from "../core/shaders/Grid/index.js";
|
|
31
|
+
import { componentDefinition as componentDefinition$p } from "../core/shaders/GridDistortion/index.js";
|
|
32
|
+
import { componentDefinition as componentDefinition$q } from "../core/shaders/Group/index.js";
|
|
33
|
+
import { componentDefinition as componentDefinition$r } from "../core/shaders/Halftone/index.js";
|
|
34
|
+
import { componentDefinition as componentDefinition$s } from "../core/shaders/HueShift/index.js";
|
|
35
|
+
import { componentDefinition as componentDefinition$t } from "../core/shaders/ImageTexture/index.js";
|
|
36
|
+
import { componentDefinition as componentDefinition$u } from "../core/shaders/Invert/index.js";
|
|
37
|
+
import { componentDefinition as componentDefinition$v } from "../core/shaders/LinearBlur/index.js";
|
|
38
|
+
import { componentDefinition as componentDefinition$w } from "../core/shaders/LinearGradient/index.js";
|
|
39
|
+
import { componentDefinition as componentDefinition$x } from "../core/shaders/Liquify/index.js";
|
|
40
|
+
import { componentDefinition as componentDefinition$y } from "../core/shaders/Pixelate/index.js";
|
|
41
|
+
import { componentDefinition as componentDefinition$z } from "../core/shaders/PolarCoordinates/index.js";
|
|
42
|
+
import { componentDefinition as componentDefinition$A } from "../core/shaders/Posterize/index.js";
|
|
43
|
+
import { componentDefinition as componentDefinition$B } from "../core/shaders/ProgressiveBlur/index.js";
|
|
44
|
+
import { componentDefinition as componentDefinition$C } from "../core/shaders/RadialGradient/index.js";
|
|
45
|
+
import { componentDefinition as componentDefinition$D } from "../core/shaders/RectangularCoordinates/index.js";
|
|
46
|
+
import { componentDefinition as componentDefinition$E } from "../core/shaders/Ripples/index.js";
|
|
47
|
+
import { componentDefinition as componentDefinition$F } from "../core/shaders/Saturation/index.js";
|
|
48
|
+
import { componentDefinition as componentDefinition$G } from "../core/shaders/Sharpness/index.js";
|
|
49
|
+
import { componentDefinition as componentDefinition$H } from "../core/shaders/SimplexNoise/index.js";
|
|
50
|
+
import { componentDefinition as componentDefinition$I } from "../core/shaders/SineWave/index.js";
|
|
51
|
+
import { componentDefinition as componentDefinition$J } from "../core/shaders/SolidColor/index.js";
|
|
52
|
+
import { componentDefinition as componentDefinition$K } from "../core/shaders/Spherize/index.js";
|
|
53
|
+
import { componentDefinition as componentDefinition$L } from "../core/shaders/Spiral/index.js";
|
|
54
|
+
import { componentDefinition as componentDefinition$M } from "../core/shaders/Strands/index.js";
|
|
55
|
+
import { componentDefinition as componentDefinition$N } from "../core/shaders/Stretch/index.js";
|
|
56
|
+
import { componentDefinition as componentDefinition$O } from "../core/shaders/Swirl/index.js";
|
|
57
|
+
import { componentDefinition as componentDefinition$P } from "../core/shaders/TiltShift/index.js";
|
|
58
|
+
import { componentDefinition as componentDefinition$Q } from "../core/shaders/Tritone/index.js";
|
|
59
|
+
import { componentDefinition as componentDefinition$R } from "../core/shaders/Twirl/index.js";
|
|
60
|
+
import { componentDefinition as componentDefinition$S } from "../core/shaders/Vibrance/index.js";
|
|
61
|
+
import { componentDefinition as componentDefinition$T } from "../core/shaders/WaveDistortion/index.js";
|
|
62
|
+
import { componentDefinition as componentDefinition$U } from "../core/shaders/ZoomBlur/index.js";
|
|
61
63
|
import { generatePresetCode } from "./utils/generatePresetCode.js";
|
|
62
64
|
var _tmpl$ = /* @__PURE__ */ template(`<div><canvas data-renderer=shaders style=width:100%;height:100%;display:block>`);
|
|
63
65
|
const ShaderContext = createContext();
|
|
@@ -238,7 +240,7 @@ function useShaderContext() {
|
|
|
238
240
|
}
|
|
239
241
|
return ctx;
|
|
240
242
|
}
|
|
241
|
-
const DEFAULT_TRANSFORM$
|
|
243
|
+
const DEFAULT_TRANSFORM$U = {
|
|
242
244
|
offsetX: 0,
|
|
243
245
|
offsetY: 0,
|
|
244
246
|
rotation: 0,
|
|
@@ -247,7 +249,7 @@ const DEFAULT_TRANSFORM$S = {
|
|
|
247
249
|
anchorY: 0.5,
|
|
248
250
|
edges: "transparent"
|
|
249
251
|
};
|
|
250
|
-
const defaultProps$
|
|
252
|
+
const defaultProps$U = {
|
|
251
253
|
blendMode: "normal",
|
|
252
254
|
renderOrder: 0,
|
|
253
255
|
visible: true
|
|
@@ -257,6 +259,284 @@ const defaultProps$S = {
|
|
|
257
259
|
try {
|
|
258
260
|
if (componentDefinition && componentDefinition.props) {
|
|
259
261
|
Object.entries(componentDefinition.props).forEach(([key, config]) => {
|
|
262
|
+
const propConfig = config;
|
|
263
|
+
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
264
|
+
defaultProps$U[key] = propConfig.default;
|
|
265
|
+
}
|
|
266
|
+
});
|
|
267
|
+
}
|
|
268
|
+
} catch (e) {
|
|
269
|
+
console.warn("Error extracting default props:", e);
|
|
270
|
+
}
|
|
271
|
+
function ShaderComponent$U(props) {
|
|
272
|
+
const context = useShaderContext();
|
|
273
|
+
const {
|
|
274
|
+
shaderParentId: parentId,
|
|
275
|
+
shaderNodeRegister: parentRegister,
|
|
276
|
+
shaderUniformUpdate: parentUniformUpdate,
|
|
277
|
+
shaderMetadataUpdate: parentMetadataUpdate
|
|
278
|
+
} = context;
|
|
279
|
+
const instanceId = props.id || `${componentDefinition.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
280
|
+
const effectiveProps = createMemo(() => {
|
|
281
|
+
let baseProps = {
|
|
282
|
+
...defaultProps$U
|
|
283
|
+
};
|
|
284
|
+
for (const [key, value] of Object.entries(props)) {
|
|
285
|
+
if (key !== "children" && value !== void 0) {
|
|
286
|
+
baseProps[key] = value;
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
return baseProps;
|
|
290
|
+
});
|
|
291
|
+
const effectiveTransform = createMemo(() => ({
|
|
292
|
+
...DEFAULT_TRANSFORM$U,
|
|
293
|
+
...props.transform
|
|
294
|
+
}));
|
|
295
|
+
let uniformsMap = null;
|
|
296
|
+
const getUniformsMap = () => {
|
|
297
|
+
if (!uniformsMap) {
|
|
298
|
+
uniformsMap = createUniformsMap(componentDefinition, effectiveProps(), instanceId);
|
|
299
|
+
}
|
|
300
|
+
return uniformsMap;
|
|
301
|
+
};
|
|
302
|
+
const childContextValue = createMemo(() => ({
|
|
303
|
+
...context,
|
|
304
|
+
shaderParentId: instanceId
|
|
305
|
+
}));
|
|
306
|
+
let isRegistered = false;
|
|
307
|
+
onMount(() => {
|
|
308
|
+
const uniforms = getUniformsMap();
|
|
309
|
+
if (!uniforms) return;
|
|
310
|
+
try {
|
|
311
|
+
const metadata = {
|
|
312
|
+
blendMode: props.blendMode || "normal",
|
|
313
|
+
opacity: props.opacity,
|
|
314
|
+
visible: props.visible === false ? false : true,
|
|
315
|
+
id: props.id,
|
|
316
|
+
mask: props.maskSource ? {
|
|
317
|
+
source: props.maskSource,
|
|
318
|
+
type: props.maskType || "alpha"
|
|
319
|
+
} : void 0,
|
|
320
|
+
renderOrder: props.renderOrder || 0,
|
|
321
|
+
transform: effectiveTransform()
|
|
322
|
+
};
|
|
323
|
+
parentRegister(instanceId, componentDefinition.fragmentNode, parentId, metadata, uniforms, componentDefinition);
|
|
324
|
+
isRegistered = true;
|
|
325
|
+
} catch (error) {
|
|
326
|
+
console.error("Error registering shader node:", error);
|
|
327
|
+
}
|
|
328
|
+
});
|
|
329
|
+
onCleanup(() => {
|
|
330
|
+
isRegistered = false;
|
|
331
|
+
parentRegister(instanceId, null, null, null, null);
|
|
332
|
+
});
|
|
333
|
+
createEffect(() => {
|
|
334
|
+
if (!isRegistered) return;
|
|
335
|
+
const uniforms = getUniformsMap();
|
|
336
|
+
if (!uniforms) return;
|
|
337
|
+
try {
|
|
338
|
+
const props_snapshot = effectiveProps();
|
|
339
|
+
Object.entries(uniforms).forEach(([propName, uniformData]) => {
|
|
340
|
+
if (!uniformData || typeof uniformData !== "object") return;
|
|
341
|
+
const {
|
|
342
|
+
uniform
|
|
343
|
+
} = uniformData;
|
|
344
|
+
if ((uniform == null ? void 0 : uniform.value) !== void 0 && propName in props_snapshot) {
|
|
345
|
+
const newValue = props_snapshot[propName];
|
|
346
|
+
parentUniformUpdate(instanceId, propName, newValue);
|
|
347
|
+
}
|
|
348
|
+
});
|
|
349
|
+
} catch (error) {
|
|
350
|
+
console.error("Error updating uniforms:", error);
|
|
351
|
+
}
|
|
352
|
+
});
|
|
353
|
+
createEffect(() => {
|
|
354
|
+
if (!isRegistered) return;
|
|
355
|
+
try {
|
|
356
|
+
const metadata = {
|
|
357
|
+
blendMode: props.blendMode || "normal",
|
|
358
|
+
opacity: props.opacity,
|
|
359
|
+
visible: props.visible === false ? false : true,
|
|
360
|
+
id: props.id,
|
|
361
|
+
mask: props.maskSource ? {
|
|
362
|
+
source: props.maskSource,
|
|
363
|
+
type: props.maskType || "alpha"
|
|
364
|
+
} : void 0,
|
|
365
|
+
renderOrder: props.renderOrder || 0,
|
|
366
|
+
transform: effectiveTransform()
|
|
367
|
+
};
|
|
368
|
+
parentMetadataUpdate(instanceId, metadata);
|
|
369
|
+
} catch (error) {
|
|
370
|
+
console.error("Error updating metadata:", error);
|
|
371
|
+
}
|
|
372
|
+
});
|
|
373
|
+
return createComponent(ShaderContext.Provider, {
|
|
374
|
+
get value() {
|
|
375
|
+
return childContextValue();
|
|
376
|
+
},
|
|
377
|
+
get children() {
|
|
378
|
+
return props.children;
|
|
379
|
+
}
|
|
380
|
+
});
|
|
381
|
+
}
|
|
382
|
+
const DEFAULT_TRANSFORM$T = {
|
|
383
|
+
offsetX: 0,
|
|
384
|
+
offsetY: 0,
|
|
385
|
+
rotation: 0,
|
|
386
|
+
scale: 1,
|
|
387
|
+
anchorX: 0.5,
|
|
388
|
+
anchorY: 0.5,
|
|
389
|
+
edges: "transparent"
|
|
390
|
+
};
|
|
391
|
+
const defaultProps$T = {
|
|
392
|
+
blendMode: "normal",
|
|
393
|
+
renderOrder: 0,
|
|
394
|
+
visible: true
|
|
395
|
+
// opacity intentionally has no default - handled by renderer
|
|
396
|
+
// transform intentionally has no default - handled by effectiveTransform
|
|
397
|
+
};
|
|
398
|
+
try {
|
|
399
|
+
if (componentDefinition$1 && componentDefinition$1.props) {
|
|
400
|
+
Object.entries(componentDefinition$1.props).forEach(([key, config]) => {
|
|
401
|
+
const propConfig = config;
|
|
402
|
+
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
403
|
+
defaultProps$T[key] = propConfig.default;
|
|
404
|
+
}
|
|
405
|
+
});
|
|
406
|
+
}
|
|
407
|
+
} catch (e) {
|
|
408
|
+
console.warn("Error extracting default props:", e);
|
|
409
|
+
}
|
|
410
|
+
function ShaderComponent$T(props) {
|
|
411
|
+
const context = useShaderContext();
|
|
412
|
+
const {
|
|
413
|
+
shaderParentId: parentId,
|
|
414
|
+
shaderNodeRegister: parentRegister,
|
|
415
|
+
shaderUniformUpdate: parentUniformUpdate,
|
|
416
|
+
shaderMetadataUpdate: parentMetadataUpdate
|
|
417
|
+
} = context;
|
|
418
|
+
const instanceId = props.id || `${componentDefinition$1.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
419
|
+
const effectiveProps = createMemo(() => {
|
|
420
|
+
let baseProps = {
|
|
421
|
+
...defaultProps$T
|
|
422
|
+
};
|
|
423
|
+
for (const [key, value] of Object.entries(props)) {
|
|
424
|
+
if (key !== "children" && value !== void 0) {
|
|
425
|
+
baseProps[key] = value;
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
return baseProps;
|
|
429
|
+
});
|
|
430
|
+
const effectiveTransform = createMemo(() => ({
|
|
431
|
+
...DEFAULT_TRANSFORM$T,
|
|
432
|
+
...props.transform
|
|
433
|
+
}));
|
|
434
|
+
let uniformsMap = null;
|
|
435
|
+
const getUniformsMap = () => {
|
|
436
|
+
if (!uniformsMap) {
|
|
437
|
+
uniformsMap = createUniformsMap(componentDefinition$1, effectiveProps(), instanceId);
|
|
438
|
+
}
|
|
439
|
+
return uniformsMap;
|
|
440
|
+
};
|
|
441
|
+
const childContextValue = createMemo(() => ({
|
|
442
|
+
...context,
|
|
443
|
+
shaderParentId: instanceId
|
|
444
|
+
}));
|
|
445
|
+
let isRegistered = false;
|
|
446
|
+
onMount(() => {
|
|
447
|
+
const uniforms = getUniformsMap();
|
|
448
|
+
if (!uniforms) return;
|
|
449
|
+
try {
|
|
450
|
+
const metadata = {
|
|
451
|
+
blendMode: props.blendMode || "normal",
|
|
452
|
+
opacity: props.opacity,
|
|
453
|
+
visible: props.visible === false ? false : true,
|
|
454
|
+
id: props.id,
|
|
455
|
+
mask: props.maskSource ? {
|
|
456
|
+
source: props.maskSource,
|
|
457
|
+
type: props.maskType || "alpha"
|
|
458
|
+
} : void 0,
|
|
459
|
+
renderOrder: props.renderOrder || 0,
|
|
460
|
+
transform: effectiveTransform()
|
|
461
|
+
};
|
|
462
|
+
parentRegister(instanceId, componentDefinition$1.fragmentNode, parentId, metadata, uniforms, componentDefinition$1);
|
|
463
|
+
isRegistered = true;
|
|
464
|
+
} catch (error) {
|
|
465
|
+
console.error("Error registering shader node:", error);
|
|
466
|
+
}
|
|
467
|
+
});
|
|
468
|
+
onCleanup(() => {
|
|
469
|
+
isRegistered = false;
|
|
470
|
+
parentRegister(instanceId, null, null, null, null);
|
|
471
|
+
});
|
|
472
|
+
createEffect(() => {
|
|
473
|
+
if (!isRegistered) return;
|
|
474
|
+
const uniforms = getUniformsMap();
|
|
475
|
+
if (!uniforms) return;
|
|
476
|
+
try {
|
|
477
|
+
const props_snapshot = effectiveProps();
|
|
478
|
+
Object.entries(uniforms).forEach(([propName, uniformData]) => {
|
|
479
|
+
if (!uniformData || typeof uniformData !== "object") return;
|
|
480
|
+
const {
|
|
481
|
+
uniform
|
|
482
|
+
} = uniformData;
|
|
483
|
+
if ((uniform == null ? void 0 : uniform.value) !== void 0 && propName in props_snapshot) {
|
|
484
|
+
const newValue = props_snapshot[propName];
|
|
485
|
+
parentUniformUpdate(instanceId, propName, newValue);
|
|
486
|
+
}
|
|
487
|
+
});
|
|
488
|
+
} catch (error) {
|
|
489
|
+
console.error("Error updating uniforms:", error);
|
|
490
|
+
}
|
|
491
|
+
});
|
|
492
|
+
createEffect(() => {
|
|
493
|
+
if (!isRegistered) return;
|
|
494
|
+
try {
|
|
495
|
+
const metadata = {
|
|
496
|
+
blendMode: props.blendMode || "normal",
|
|
497
|
+
opacity: props.opacity,
|
|
498
|
+
visible: props.visible === false ? false : true,
|
|
499
|
+
id: props.id,
|
|
500
|
+
mask: props.maskSource ? {
|
|
501
|
+
source: props.maskSource,
|
|
502
|
+
type: props.maskType || "alpha"
|
|
503
|
+
} : void 0,
|
|
504
|
+
renderOrder: props.renderOrder || 0,
|
|
505
|
+
transform: effectiveTransform()
|
|
506
|
+
};
|
|
507
|
+
parentMetadataUpdate(instanceId, metadata);
|
|
508
|
+
} catch (error) {
|
|
509
|
+
console.error("Error updating metadata:", error);
|
|
510
|
+
}
|
|
511
|
+
});
|
|
512
|
+
return createComponent(ShaderContext.Provider, {
|
|
513
|
+
get value() {
|
|
514
|
+
return childContextValue();
|
|
515
|
+
},
|
|
516
|
+
get children() {
|
|
517
|
+
return props.children;
|
|
518
|
+
}
|
|
519
|
+
});
|
|
520
|
+
}
|
|
521
|
+
const DEFAULT_TRANSFORM$S = {
|
|
522
|
+
offsetX: 0,
|
|
523
|
+
offsetY: 0,
|
|
524
|
+
rotation: 0,
|
|
525
|
+
scale: 1,
|
|
526
|
+
anchorX: 0.5,
|
|
527
|
+
anchorY: 0.5,
|
|
528
|
+
edges: "transparent"
|
|
529
|
+
};
|
|
530
|
+
const defaultProps$S = {
|
|
531
|
+
blendMode: "normal",
|
|
532
|
+
renderOrder: 0,
|
|
533
|
+
visible: true
|
|
534
|
+
// opacity intentionally has no default - handled by renderer
|
|
535
|
+
// transform intentionally has no default - handled by effectiveTransform
|
|
536
|
+
};
|
|
537
|
+
try {
|
|
538
|
+
if (componentDefinition$2 && componentDefinition$2.props) {
|
|
539
|
+
Object.entries(componentDefinition$2.props).forEach(([key, config]) => {
|
|
260
540
|
const propConfig = config;
|
|
261
541
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
262
542
|
defaultProps$S[key] = propConfig.default;
|
|
@@ -274,7 +554,7 @@ function ShaderComponent$S(props) {
|
|
|
274
554
|
shaderUniformUpdate: parentUniformUpdate,
|
|
275
555
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
276
556
|
} = context;
|
|
277
|
-
const instanceId = props.id || `${componentDefinition.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
557
|
+
const instanceId = props.id || `${componentDefinition$2.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
278
558
|
const effectiveProps = createMemo(() => {
|
|
279
559
|
let baseProps = {
|
|
280
560
|
...defaultProps$S
|
|
@@ -293,7 +573,7 @@ function ShaderComponent$S(props) {
|
|
|
293
573
|
let uniformsMap = null;
|
|
294
574
|
const getUniformsMap = () => {
|
|
295
575
|
if (!uniformsMap) {
|
|
296
|
-
uniformsMap = createUniformsMap(componentDefinition, effectiveProps(), instanceId);
|
|
576
|
+
uniformsMap = createUniformsMap(componentDefinition$2, effectiveProps(), instanceId);
|
|
297
577
|
}
|
|
298
578
|
return uniformsMap;
|
|
299
579
|
};
|
|
@@ -318,7 +598,7 @@ function ShaderComponent$S(props) {
|
|
|
318
598
|
renderOrder: props.renderOrder || 0,
|
|
319
599
|
transform: effectiveTransform()
|
|
320
600
|
};
|
|
321
|
-
parentRegister(instanceId, componentDefinition.fragmentNode, parentId, metadata, uniforms, componentDefinition);
|
|
601
|
+
parentRegister(instanceId, componentDefinition$2.fragmentNode, parentId, metadata, uniforms, componentDefinition$2);
|
|
322
602
|
isRegistered = true;
|
|
323
603
|
} catch (error) {
|
|
324
604
|
console.error("Error registering shader node:", error);
|
|
@@ -394,8 +674,8 @@ const defaultProps$R = {
|
|
|
394
674
|
// transform intentionally has no default - handled by effectiveTransform
|
|
395
675
|
};
|
|
396
676
|
try {
|
|
397
|
-
if (componentDefinition$
|
|
398
|
-
Object.entries(componentDefinition$
|
|
677
|
+
if (componentDefinition$3 && componentDefinition$3.props) {
|
|
678
|
+
Object.entries(componentDefinition$3.props).forEach(([key, config]) => {
|
|
399
679
|
const propConfig = config;
|
|
400
680
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
401
681
|
defaultProps$R[key] = propConfig.default;
|
|
@@ -413,7 +693,7 @@ function ShaderComponent$R(props) {
|
|
|
413
693
|
shaderUniformUpdate: parentUniformUpdate,
|
|
414
694
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
415
695
|
} = context;
|
|
416
|
-
const instanceId = props.id || `${componentDefinition$
|
|
696
|
+
const instanceId = props.id || `${componentDefinition$3.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
417
697
|
const effectiveProps = createMemo(() => {
|
|
418
698
|
let baseProps = {
|
|
419
699
|
...defaultProps$R
|
|
@@ -432,7 +712,7 @@ function ShaderComponent$R(props) {
|
|
|
432
712
|
let uniformsMap = null;
|
|
433
713
|
const getUniformsMap = () => {
|
|
434
714
|
if (!uniformsMap) {
|
|
435
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
715
|
+
uniformsMap = createUniformsMap(componentDefinition$3, effectiveProps(), instanceId);
|
|
436
716
|
}
|
|
437
717
|
return uniformsMap;
|
|
438
718
|
};
|
|
@@ -457,7 +737,7 @@ function ShaderComponent$R(props) {
|
|
|
457
737
|
renderOrder: props.renderOrder || 0,
|
|
458
738
|
transform: effectiveTransform()
|
|
459
739
|
};
|
|
460
|
-
parentRegister(instanceId, componentDefinition$
|
|
740
|
+
parentRegister(instanceId, componentDefinition$3.fragmentNode, parentId, metadata, uniforms, componentDefinition$3);
|
|
461
741
|
isRegistered = true;
|
|
462
742
|
} catch (error) {
|
|
463
743
|
console.error("Error registering shader node:", error);
|
|
@@ -533,8 +813,8 @@ const defaultProps$Q = {
|
|
|
533
813
|
// transform intentionally has no default - handled by effectiveTransform
|
|
534
814
|
};
|
|
535
815
|
try {
|
|
536
|
-
if (componentDefinition$
|
|
537
|
-
Object.entries(componentDefinition$
|
|
816
|
+
if (componentDefinition$4 && componentDefinition$4.props) {
|
|
817
|
+
Object.entries(componentDefinition$4.props).forEach(([key, config]) => {
|
|
538
818
|
const propConfig = config;
|
|
539
819
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
540
820
|
defaultProps$Q[key] = propConfig.default;
|
|
@@ -552,7 +832,7 @@ function ShaderComponent$Q(props) {
|
|
|
552
832
|
shaderUniformUpdate: parentUniformUpdate,
|
|
553
833
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
554
834
|
} = context;
|
|
555
|
-
const instanceId = props.id || `${componentDefinition$
|
|
835
|
+
const instanceId = props.id || `${componentDefinition$4.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
556
836
|
const effectiveProps = createMemo(() => {
|
|
557
837
|
let baseProps = {
|
|
558
838
|
...defaultProps$Q
|
|
@@ -571,7 +851,7 @@ function ShaderComponent$Q(props) {
|
|
|
571
851
|
let uniformsMap = null;
|
|
572
852
|
const getUniformsMap = () => {
|
|
573
853
|
if (!uniformsMap) {
|
|
574
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
854
|
+
uniformsMap = createUniformsMap(componentDefinition$4, effectiveProps(), instanceId);
|
|
575
855
|
}
|
|
576
856
|
return uniformsMap;
|
|
577
857
|
};
|
|
@@ -596,7 +876,7 @@ function ShaderComponent$Q(props) {
|
|
|
596
876
|
renderOrder: props.renderOrder || 0,
|
|
597
877
|
transform: effectiveTransform()
|
|
598
878
|
};
|
|
599
|
-
parentRegister(instanceId, componentDefinition$
|
|
879
|
+
parentRegister(instanceId, componentDefinition$4.fragmentNode, parentId, metadata, uniforms, componentDefinition$4);
|
|
600
880
|
isRegistered = true;
|
|
601
881
|
} catch (error) {
|
|
602
882
|
console.error("Error registering shader node:", error);
|
|
@@ -672,8 +952,8 @@ const defaultProps$P = {
|
|
|
672
952
|
// transform intentionally has no default - handled by effectiveTransform
|
|
673
953
|
};
|
|
674
954
|
try {
|
|
675
|
-
if (componentDefinition$
|
|
676
|
-
Object.entries(componentDefinition$
|
|
955
|
+
if (componentDefinition$5 && componentDefinition$5.props) {
|
|
956
|
+
Object.entries(componentDefinition$5.props).forEach(([key, config]) => {
|
|
677
957
|
const propConfig = config;
|
|
678
958
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
679
959
|
defaultProps$P[key] = propConfig.default;
|
|
@@ -691,7 +971,7 @@ function ShaderComponent$P(props) {
|
|
|
691
971
|
shaderUniformUpdate: parentUniformUpdate,
|
|
692
972
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
693
973
|
} = context;
|
|
694
|
-
const instanceId = props.id || `${componentDefinition$
|
|
974
|
+
const instanceId = props.id || `${componentDefinition$5.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
695
975
|
const effectiveProps = createMemo(() => {
|
|
696
976
|
let baseProps = {
|
|
697
977
|
...defaultProps$P
|
|
@@ -710,7 +990,7 @@ function ShaderComponent$P(props) {
|
|
|
710
990
|
let uniformsMap = null;
|
|
711
991
|
const getUniformsMap = () => {
|
|
712
992
|
if (!uniformsMap) {
|
|
713
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
993
|
+
uniformsMap = createUniformsMap(componentDefinition$5, effectiveProps(), instanceId);
|
|
714
994
|
}
|
|
715
995
|
return uniformsMap;
|
|
716
996
|
};
|
|
@@ -735,7 +1015,7 @@ function ShaderComponent$P(props) {
|
|
|
735
1015
|
renderOrder: props.renderOrder || 0,
|
|
736
1016
|
transform: effectiveTransform()
|
|
737
1017
|
};
|
|
738
|
-
parentRegister(instanceId, componentDefinition$
|
|
1018
|
+
parentRegister(instanceId, componentDefinition$5.fragmentNode, parentId, metadata, uniforms, componentDefinition$5);
|
|
739
1019
|
isRegistered = true;
|
|
740
1020
|
} catch (error) {
|
|
741
1021
|
console.error("Error registering shader node:", error);
|
|
@@ -811,8 +1091,8 @@ const defaultProps$O = {
|
|
|
811
1091
|
// transform intentionally has no default - handled by effectiveTransform
|
|
812
1092
|
};
|
|
813
1093
|
try {
|
|
814
|
-
if (componentDefinition$
|
|
815
|
-
Object.entries(componentDefinition$
|
|
1094
|
+
if (componentDefinition$6 && componentDefinition$6.props) {
|
|
1095
|
+
Object.entries(componentDefinition$6.props).forEach(([key, config]) => {
|
|
816
1096
|
const propConfig = config;
|
|
817
1097
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
818
1098
|
defaultProps$O[key] = propConfig.default;
|
|
@@ -830,7 +1110,7 @@ function ShaderComponent$O(props) {
|
|
|
830
1110
|
shaderUniformUpdate: parentUniformUpdate,
|
|
831
1111
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
832
1112
|
} = context;
|
|
833
|
-
const instanceId = props.id || `${componentDefinition$
|
|
1113
|
+
const instanceId = props.id || `${componentDefinition$6.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
834
1114
|
const effectiveProps = createMemo(() => {
|
|
835
1115
|
let baseProps = {
|
|
836
1116
|
...defaultProps$O
|
|
@@ -849,7 +1129,7 @@ function ShaderComponent$O(props) {
|
|
|
849
1129
|
let uniformsMap = null;
|
|
850
1130
|
const getUniformsMap = () => {
|
|
851
1131
|
if (!uniformsMap) {
|
|
852
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
1132
|
+
uniformsMap = createUniformsMap(componentDefinition$6, effectiveProps(), instanceId);
|
|
853
1133
|
}
|
|
854
1134
|
return uniformsMap;
|
|
855
1135
|
};
|
|
@@ -874,7 +1154,7 @@ function ShaderComponent$O(props) {
|
|
|
874
1154
|
renderOrder: props.renderOrder || 0,
|
|
875
1155
|
transform: effectiveTransform()
|
|
876
1156
|
};
|
|
877
|
-
parentRegister(instanceId, componentDefinition$
|
|
1157
|
+
parentRegister(instanceId, componentDefinition$6.fragmentNode, parentId, metadata, uniforms, componentDefinition$6);
|
|
878
1158
|
isRegistered = true;
|
|
879
1159
|
} catch (error) {
|
|
880
1160
|
console.error("Error registering shader node:", error);
|
|
@@ -950,8 +1230,8 @@ const defaultProps$N = {
|
|
|
950
1230
|
// transform intentionally has no default - handled by effectiveTransform
|
|
951
1231
|
};
|
|
952
1232
|
try {
|
|
953
|
-
if (componentDefinition$
|
|
954
|
-
Object.entries(componentDefinition$
|
|
1233
|
+
if (componentDefinition$7 && componentDefinition$7.props) {
|
|
1234
|
+
Object.entries(componentDefinition$7.props).forEach(([key, config]) => {
|
|
955
1235
|
const propConfig = config;
|
|
956
1236
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
957
1237
|
defaultProps$N[key] = propConfig.default;
|
|
@@ -969,7 +1249,7 @@ function ShaderComponent$N(props) {
|
|
|
969
1249
|
shaderUniformUpdate: parentUniformUpdate,
|
|
970
1250
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
971
1251
|
} = context;
|
|
972
|
-
const instanceId = props.id || `${componentDefinition$
|
|
1252
|
+
const instanceId = props.id || `${componentDefinition$7.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
973
1253
|
const effectiveProps = createMemo(() => {
|
|
974
1254
|
let baseProps = {
|
|
975
1255
|
...defaultProps$N
|
|
@@ -988,7 +1268,7 @@ function ShaderComponent$N(props) {
|
|
|
988
1268
|
let uniformsMap = null;
|
|
989
1269
|
const getUniformsMap = () => {
|
|
990
1270
|
if (!uniformsMap) {
|
|
991
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
1271
|
+
uniformsMap = createUniformsMap(componentDefinition$7, effectiveProps(), instanceId);
|
|
992
1272
|
}
|
|
993
1273
|
return uniformsMap;
|
|
994
1274
|
};
|
|
@@ -1013,7 +1293,7 @@ function ShaderComponent$N(props) {
|
|
|
1013
1293
|
renderOrder: props.renderOrder || 0,
|
|
1014
1294
|
transform: effectiveTransform()
|
|
1015
1295
|
};
|
|
1016
|
-
parentRegister(instanceId, componentDefinition$
|
|
1296
|
+
parentRegister(instanceId, componentDefinition$7.fragmentNode, parentId, metadata, uniforms, componentDefinition$7);
|
|
1017
1297
|
isRegistered = true;
|
|
1018
1298
|
} catch (error) {
|
|
1019
1299
|
console.error("Error registering shader node:", error);
|
|
@@ -1089,8 +1369,8 @@ const defaultProps$M = {
|
|
|
1089
1369
|
// transform intentionally has no default - handled by effectiveTransform
|
|
1090
1370
|
};
|
|
1091
1371
|
try {
|
|
1092
|
-
if (componentDefinition$
|
|
1093
|
-
Object.entries(componentDefinition$
|
|
1372
|
+
if (componentDefinition$8 && componentDefinition$8.props) {
|
|
1373
|
+
Object.entries(componentDefinition$8.props).forEach(([key, config]) => {
|
|
1094
1374
|
const propConfig = config;
|
|
1095
1375
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
1096
1376
|
defaultProps$M[key] = propConfig.default;
|
|
@@ -1108,7 +1388,7 @@ function ShaderComponent$M(props) {
|
|
|
1108
1388
|
shaderUniformUpdate: parentUniformUpdate,
|
|
1109
1389
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
1110
1390
|
} = context;
|
|
1111
|
-
const instanceId = props.id || `${componentDefinition$
|
|
1391
|
+
const instanceId = props.id || `${componentDefinition$8.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1112
1392
|
const effectiveProps = createMemo(() => {
|
|
1113
1393
|
let baseProps = {
|
|
1114
1394
|
...defaultProps$M
|
|
@@ -1127,7 +1407,7 @@ function ShaderComponent$M(props) {
|
|
|
1127
1407
|
let uniformsMap = null;
|
|
1128
1408
|
const getUniformsMap = () => {
|
|
1129
1409
|
if (!uniformsMap) {
|
|
1130
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
1410
|
+
uniformsMap = createUniformsMap(componentDefinition$8, effectiveProps(), instanceId);
|
|
1131
1411
|
}
|
|
1132
1412
|
return uniformsMap;
|
|
1133
1413
|
};
|
|
@@ -1152,7 +1432,7 @@ function ShaderComponent$M(props) {
|
|
|
1152
1432
|
renderOrder: props.renderOrder || 0,
|
|
1153
1433
|
transform: effectiveTransform()
|
|
1154
1434
|
};
|
|
1155
|
-
parentRegister(instanceId, componentDefinition$
|
|
1435
|
+
parentRegister(instanceId, componentDefinition$8.fragmentNode, parentId, metadata, uniforms, componentDefinition$8);
|
|
1156
1436
|
isRegistered = true;
|
|
1157
1437
|
} catch (error) {
|
|
1158
1438
|
console.error("Error registering shader node:", error);
|
|
@@ -1228,8 +1508,8 @@ const defaultProps$L = {
|
|
|
1228
1508
|
// transform intentionally has no default - handled by effectiveTransform
|
|
1229
1509
|
};
|
|
1230
1510
|
try {
|
|
1231
|
-
if (componentDefinition$
|
|
1232
|
-
Object.entries(componentDefinition$
|
|
1511
|
+
if (componentDefinition$9 && componentDefinition$9.props) {
|
|
1512
|
+
Object.entries(componentDefinition$9.props).forEach(([key, config]) => {
|
|
1233
1513
|
const propConfig = config;
|
|
1234
1514
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
1235
1515
|
defaultProps$L[key] = propConfig.default;
|
|
@@ -1247,7 +1527,7 @@ function ShaderComponent$L(props) {
|
|
|
1247
1527
|
shaderUniformUpdate: parentUniformUpdate,
|
|
1248
1528
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
1249
1529
|
} = context;
|
|
1250
|
-
const instanceId = props.id || `${componentDefinition$
|
|
1530
|
+
const instanceId = props.id || `${componentDefinition$9.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1251
1531
|
const effectiveProps = createMemo(() => {
|
|
1252
1532
|
let baseProps = {
|
|
1253
1533
|
...defaultProps$L
|
|
@@ -1266,7 +1546,7 @@ function ShaderComponent$L(props) {
|
|
|
1266
1546
|
let uniformsMap = null;
|
|
1267
1547
|
const getUniformsMap = () => {
|
|
1268
1548
|
if (!uniformsMap) {
|
|
1269
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
1549
|
+
uniformsMap = createUniformsMap(componentDefinition$9, effectiveProps(), instanceId);
|
|
1270
1550
|
}
|
|
1271
1551
|
return uniformsMap;
|
|
1272
1552
|
};
|
|
@@ -1291,7 +1571,7 @@ function ShaderComponent$L(props) {
|
|
|
1291
1571
|
renderOrder: props.renderOrder || 0,
|
|
1292
1572
|
transform: effectiveTransform()
|
|
1293
1573
|
};
|
|
1294
|
-
parentRegister(instanceId, componentDefinition$
|
|
1574
|
+
parentRegister(instanceId, componentDefinition$9.fragmentNode, parentId, metadata, uniforms, componentDefinition$9);
|
|
1295
1575
|
isRegistered = true;
|
|
1296
1576
|
} catch (error) {
|
|
1297
1577
|
console.error("Error registering shader node:", error);
|
|
@@ -1367,8 +1647,8 @@ const defaultProps$K = {
|
|
|
1367
1647
|
// transform intentionally has no default - handled by effectiveTransform
|
|
1368
1648
|
};
|
|
1369
1649
|
try {
|
|
1370
|
-
if (componentDefinition$
|
|
1371
|
-
Object.entries(componentDefinition$
|
|
1650
|
+
if (componentDefinition$a && componentDefinition$a.props) {
|
|
1651
|
+
Object.entries(componentDefinition$a.props).forEach(([key, config]) => {
|
|
1372
1652
|
const propConfig = config;
|
|
1373
1653
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
1374
1654
|
defaultProps$K[key] = propConfig.default;
|
|
@@ -1386,7 +1666,7 @@ function ShaderComponent$K(props) {
|
|
|
1386
1666
|
shaderUniformUpdate: parentUniformUpdate,
|
|
1387
1667
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
1388
1668
|
} = context;
|
|
1389
|
-
const instanceId = props.id || `${componentDefinition$
|
|
1669
|
+
const instanceId = props.id || `${componentDefinition$a.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1390
1670
|
const effectiveProps = createMemo(() => {
|
|
1391
1671
|
let baseProps = {
|
|
1392
1672
|
...defaultProps$K
|
|
@@ -1405,7 +1685,7 @@ function ShaderComponent$K(props) {
|
|
|
1405
1685
|
let uniformsMap = null;
|
|
1406
1686
|
const getUniformsMap = () => {
|
|
1407
1687
|
if (!uniformsMap) {
|
|
1408
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
1688
|
+
uniformsMap = createUniformsMap(componentDefinition$a, effectiveProps(), instanceId);
|
|
1409
1689
|
}
|
|
1410
1690
|
return uniformsMap;
|
|
1411
1691
|
};
|
|
@@ -1430,7 +1710,7 @@ function ShaderComponent$K(props) {
|
|
|
1430
1710
|
renderOrder: props.renderOrder || 0,
|
|
1431
1711
|
transform: effectiveTransform()
|
|
1432
1712
|
};
|
|
1433
|
-
parentRegister(instanceId, componentDefinition$
|
|
1713
|
+
parentRegister(instanceId, componentDefinition$a.fragmentNode, parentId, metadata, uniforms, componentDefinition$a);
|
|
1434
1714
|
isRegistered = true;
|
|
1435
1715
|
} catch (error) {
|
|
1436
1716
|
console.error("Error registering shader node:", error);
|
|
@@ -1506,8 +1786,8 @@ const defaultProps$J = {
|
|
|
1506
1786
|
// transform intentionally has no default - handled by effectiveTransform
|
|
1507
1787
|
};
|
|
1508
1788
|
try {
|
|
1509
|
-
if (componentDefinition$
|
|
1510
|
-
Object.entries(componentDefinition$
|
|
1789
|
+
if (componentDefinition$b && componentDefinition$b.props) {
|
|
1790
|
+
Object.entries(componentDefinition$b.props).forEach(([key, config]) => {
|
|
1511
1791
|
const propConfig = config;
|
|
1512
1792
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
1513
1793
|
defaultProps$J[key] = propConfig.default;
|
|
@@ -1525,7 +1805,7 @@ function ShaderComponent$J(props) {
|
|
|
1525
1805
|
shaderUniformUpdate: parentUniformUpdate,
|
|
1526
1806
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
1527
1807
|
} = context;
|
|
1528
|
-
const instanceId = props.id || `${componentDefinition$
|
|
1808
|
+
const instanceId = props.id || `${componentDefinition$b.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1529
1809
|
const effectiveProps = createMemo(() => {
|
|
1530
1810
|
let baseProps = {
|
|
1531
1811
|
...defaultProps$J
|
|
@@ -1544,7 +1824,7 @@ function ShaderComponent$J(props) {
|
|
|
1544
1824
|
let uniformsMap = null;
|
|
1545
1825
|
const getUniformsMap = () => {
|
|
1546
1826
|
if (!uniformsMap) {
|
|
1547
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
1827
|
+
uniformsMap = createUniformsMap(componentDefinition$b, effectiveProps(), instanceId);
|
|
1548
1828
|
}
|
|
1549
1829
|
return uniformsMap;
|
|
1550
1830
|
};
|
|
@@ -1569,7 +1849,7 @@ function ShaderComponent$J(props) {
|
|
|
1569
1849
|
renderOrder: props.renderOrder || 0,
|
|
1570
1850
|
transform: effectiveTransform()
|
|
1571
1851
|
};
|
|
1572
|
-
parentRegister(instanceId, componentDefinition$
|
|
1852
|
+
parentRegister(instanceId, componentDefinition$b.fragmentNode, parentId, metadata, uniforms, componentDefinition$b);
|
|
1573
1853
|
isRegistered = true;
|
|
1574
1854
|
} catch (error) {
|
|
1575
1855
|
console.error("Error registering shader node:", error);
|
|
@@ -1645,8 +1925,8 @@ const defaultProps$I = {
|
|
|
1645
1925
|
// transform intentionally has no default - handled by effectiveTransform
|
|
1646
1926
|
};
|
|
1647
1927
|
try {
|
|
1648
|
-
if (componentDefinition$
|
|
1649
|
-
Object.entries(componentDefinition$
|
|
1928
|
+
if (componentDefinition$c && componentDefinition$c.props) {
|
|
1929
|
+
Object.entries(componentDefinition$c.props).forEach(([key, config]) => {
|
|
1650
1930
|
const propConfig = config;
|
|
1651
1931
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
1652
1932
|
defaultProps$I[key] = propConfig.default;
|
|
@@ -1664,7 +1944,7 @@ function ShaderComponent$I(props) {
|
|
|
1664
1944
|
shaderUniformUpdate: parentUniformUpdate,
|
|
1665
1945
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
1666
1946
|
} = context;
|
|
1667
|
-
const instanceId = props.id || `${componentDefinition$
|
|
1947
|
+
const instanceId = props.id || `${componentDefinition$c.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1668
1948
|
const effectiveProps = createMemo(() => {
|
|
1669
1949
|
let baseProps = {
|
|
1670
1950
|
...defaultProps$I
|
|
@@ -1683,7 +1963,7 @@ function ShaderComponent$I(props) {
|
|
|
1683
1963
|
let uniformsMap = null;
|
|
1684
1964
|
const getUniformsMap = () => {
|
|
1685
1965
|
if (!uniformsMap) {
|
|
1686
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
1966
|
+
uniformsMap = createUniformsMap(componentDefinition$c, effectiveProps(), instanceId);
|
|
1687
1967
|
}
|
|
1688
1968
|
return uniformsMap;
|
|
1689
1969
|
};
|
|
@@ -1708,7 +1988,7 @@ function ShaderComponent$I(props) {
|
|
|
1708
1988
|
renderOrder: props.renderOrder || 0,
|
|
1709
1989
|
transform: effectiveTransform()
|
|
1710
1990
|
};
|
|
1711
|
-
parentRegister(instanceId, componentDefinition$
|
|
1991
|
+
parentRegister(instanceId, componentDefinition$c.fragmentNode, parentId, metadata, uniforms, componentDefinition$c);
|
|
1712
1992
|
isRegistered = true;
|
|
1713
1993
|
} catch (error) {
|
|
1714
1994
|
console.error("Error registering shader node:", error);
|
|
@@ -1784,8 +2064,8 @@ const defaultProps$H = {
|
|
|
1784
2064
|
// transform intentionally has no default - handled by effectiveTransform
|
|
1785
2065
|
};
|
|
1786
2066
|
try {
|
|
1787
|
-
if (componentDefinition$
|
|
1788
|
-
Object.entries(componentDefinition$
|
|
2067
|
+
if (componentDefinition$d && componentDefinition$d.props) {
|
|
2068
|
+
Object.entries(componentDefinition$d.props).forEach(([key, config]) => {
|
|
1789
2069
|
const propConfig = config;
|
|
1790
2070
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
1791
2071
|
defaultProps$H[key] = propConfig.default;
|
|
@@ -1803,7 +2083,7 @@ function ShaderComponent$H(props) {
|
|
|
1803
2083
|
shaderUniformUpdate: parentUniformUpdate,
|
|
1804
2084
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
1805
2085
|
} = context;
|
|
1806
|
-
const instanceId = props.id || `${componentDefinition$
|
|
2086
|
+
const instanceId = props.id || `${componentDefinition$d.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1807
2087
|
const effectiveProps = createMemo(() => {
|
|
1808
2088
|
let baseProps = {
|
|
1809
2089
|
...defaultProps$H
|
|
@@ -1822,7 +2102,7 @@ function ShaderComponent$H(props) {
|
|
|
1822
2102
|
let uniformsMap = null;
|
|
1823
2103
|
const getUniformsMap = () => {
|
|
1824
2104
|
if (!uniformsMap) {
|
|
1825
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
2105
|
+
uniformsMap = createUniformsMap(componentDefinition$d, effectiveProps(), instanceId);
|
|
1826
2106
|
}
|
|
1827
2107
|
return uniformsMap;
|
|
1828
2108
|
};
|
|
@@ -1847,7 +2127,7 @@ function ShaderComponent$H(props) {
|
|
|
1847
2127
|
renderOrder: props.renderOrder || 0,
|
|
1848
2128
|
transform: effectiveTransform()
|
|
1849
2129
|
};
|
|
1850
|
-
parentRegister(instanceId, componentDefinition$
|
|
2130
|
+
parentRegister(instanceId, componentDefinition$d.fragmentNode, parentId, metadata, uniforms, componentDefinition$d);
|
|
1851
2131
|
isRegistered = true;
|
|
1852
2132
|
} catch (error) {
|
|
1853
2133
|
console.error("Error registering shader node:", error);
|
|
@@ -1923,8 +2203,8 @@ const defaultProps$G = {
|
|
|
1923
2203
|
// transform intentionally has no default - handled by effectiveTransform
|
|
1924
2204
|
};
|
|
1925
2205
|
try {
|
|
1926
|
-
if (componentDefinition$
|
|
1927
|
-
Object.entries(componentDefinition$
|
|
2206
|
+
if (componentDefinition$e && componentDefinition$e.props) {
|
|
2207
|
+
Object.entries(componentDefinition$e.props).forEach(([key, config]) => {
|
|
1928
2208
|
const propConfig = config;
|
|
1929
2209
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
1930
2210
|
defaultProps$G[key] = propConfig.default;
|
|
@@ -1942,7 +2222,7 @@ function ShaderComponent$G(props) {
|
|
|
1942
2222
|
shaderUniformUpdate: parentUniformUpdate,
|
|
1943
2223
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
1944
2224
|
} = context;
|
|
1945
|
-
const instanceId = props.id || `${componentDefinition$
|
|
2225
|
+
const instanceId = props.id || `${componentDefinition$e.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1946
2226
|
const effectiveProps = createMemo(() => {
|
|
1947
2227
|
let baseProps = {
|
|
1948
2228
|
...defaultProps$G
|
|
@@ -1961,7 +2241,7 @@ function ShaderComponent$G(props) {
|
|
|
1961
2241
|
let uniformsMap = null;
|
|
1962
2242
|
const getUniformsMap = () => {
|
|
1963
2243
|
if (!uniformsMap) {
|
|
1964
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
2244
|
+
uniformsMap = createUniformsMap(componentDefinition$e, effectiveProps(), instanceId);
|
|
1965
2245
|
}
|
|
1966
2246
|
return uniformsMap;
|
|
1967
2247
|
};
|
|
@@ -1986,7 +2266,7 @@ function ShaderComponent$G(props) {
|
|
|
1986
2266
|
renderOrder: props.renderOrder || 0,
|
|
1987
2267
|
transform: effectiveTransform()
|
|
1988
2268
|
};
|
|
1989
|
-
parentRegister(instanceId, componentDefinition$
|
|
2269
|
+
parentRegister(instanceId, componentDefinition$e.fragmentNode, parentId, metadata, uniforms, componentDefinition$e);
|
|
1990
2270
|
isRegistered = true;
|
|
1991
2271
|
} catch (error) {
|
|
1992
2272
|
console.error("Error registering shader node:", error);
|
|
@@ -2062,8 +2342,8 @@ const defaultProps$F = {
|
|
|
2062
2342
|
// transform intentionally has no default - handled by effectiveTransform
|
|
2063
2343
|
};
|
|
2064
2344
|
try {
|
|
2065
|
-
if (componentDefinition$
|
|
2066
|
-
Object.entries(componentDefinition$
|
|
2345
|
+
if (componentDefinition$f && componentDefinition$f.props) {
|
|
2346
|
+
Object.entries(componentDefinition$f.props).forEach(([key, config]) => {
|
|
2067
2347
|
const propConfig = config;
|
|
2068
2348
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
2069
2349
|
defaultProps$F[key] = propConfig.default;
|
|
@@ -2081,7 +2361,7 @@ function ShaderComponent$F(props) {
|
|
|
2081
2361
|
shaderUniformUpdate: parentUniformUpdate,
|
|
2082
2362
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
2083
2363
|
} = context;
|
|
2084
|
-
const instanceId = props.id || `${componentDefinition$
|
|
2364
|
+
const instanceId = props.id || `${componentDefinition$f.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2085
2365
|
const effectiveProps = createMemo(() => {
|
|
2086
2366
|
let baseProps = {
|
|
2087
2367
|
...defaultProps$F
|
|
@@ -2100,7 +2380,7 @@ function ShaderComponent$F(props) {
|
|
|
2100
2380
|
let uniformsMap = null;
|
|
2101
2381
|
const getUniformsMap = () => {
|
|
2102
2382
|
if (!uniformsMap) {
|
|
2103
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
2383
|
+
uniformsMap = createUniformsMap(componentDefinition$f, effectiveProps(), instanceId);
|
|
2104
2384
|
}
|
|
2105
2385
|
return uniformsMap;
|
|
2106
2386
|
};
|
|
@@ -2125,7 +2405,7 @@ function ShaderComponent$F(props) {
|
|
|
2125
2405
|
renderOrder: props.renderOrder || 0,
|
|
2126
2406
|
transform: effectiveTransform()
|
|
2127
2407
|
};
|
|
2128
|
-
parentRegister(instanceId, componentDefinition$
|
|
2408
|
+
parentRegister(instanceId, componentDefinition$f.fragmentNode, parentId, metadata, uniforms, componentDefinition$f);
|
|
2129
2409
|
isRegistered = true;
|
|
2130
2410
|
} catch (error) {
|
|
2131
2411
|
console.error("Error registering shader node:", error);
|
|
@@ -2201,8 +2481,8 @@ const defaultProps$E = {
|
|
|
2201
2481
|
// transform intentionally has no default - handled by effectiveTransform
|
|
2202
2482
|
};
|
|
2203
2483
|
try {
|
|
2204
|
-
if (componentDefinition$
|
|
2205
|
-
Object.entries(componentDefinition$
|
|
2484
|
+
if (componentDefinition$g && componentDefinition$g.props) {
|
|
2485
|
+
Object.entries(componentDefinition$g.props).forEach(([key, config]) => {
|
|
2206
2486
|
const propConfig = config;
|
|
2207
2487
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
2208
2488
|
defaultProps$E[key] = propConfig.default;
|
|
@@ -2220,7 +2500,7 @@ function ShaderComponent$E(props) {
|
|
|
2220
2500
|
shaderUniformUpdate: parentUniformUpdate,
|
|
2221
2501
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
2222
2502
|
} = context;
|
|
2223
|
-
const instanceId = props.id || `${componentDefinition$
|
|
2503
|
+
const instanceId = props.id || `${componentDefinition$g.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2224
2504
|
const effectiveProps = createMemo(() => {
|
|
2225
2505
|
let baseProps = {
|
|
2226
2506
|
...defaultProps$E
|
|
@@ -2239,7 +2519,7 @@ function ShaderComponent$E(props) {
|
|
|
2239
2519
|
let uniformsMap = null;
|
|
2240
2520
|
const getUniformsMap = () => {
|
|
2241
2521
|
if (!uniformsMap) {
|
|
2242
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
2522
|
+
uniformsMap = createUniformsMap(componentDefinition$g, effectiveProps(), instanceId);
|
|
2243
2523
|
}
|
|
2244
2524
|
return uniformsMap;
|
|
2245
2525
|
};
|
|
@@ -2264,7 +2544,7 @@ function ShaderComponent$E(props) {
|
|
|
2264
2544
|
renderOrder: props.renderOrder || 0,
|
|
2265
2545
|
transform: effectiveTransform()
|
|
2266
2546
|
};
|
|
2267
|
-
parentRegister(instanceId, componentDefinition$
|
|
2547
|
+
parentRegister(instanceId, componentDefinition$g.fragmentNode, parentId, metadata, uniforms, componentDefinition$g);
|
|
2268
2548
|
isRegistered = true;
|
|
2269
2549
|
} catch (error) {
|
|
2270
2550
|
console.error("Error registering shader node:", error);
|
|
@@ -2340,8 +2620,8 @@ const defaultProps$D = {
|
|
|
2340
2620
|
// transform intentionally has no default - handled by effectiveTransform
|
|
2341
2621
|
};
|
|
2342
2622
|
try {
|
|
2343
|
-
if (componentDefinition$
|
|
2344
|
-
Object.entries(componentDefinition$
|
|
2623
|
+
if (componentDefinition$h && componentDefinition$h.props) {
|
|
2624
|
+
Object.entries(componentDefinition$h.props).forEach(([key, config]) => {
|
|
2345
2625
|
const propConfig = config;
|
|
2346
2626
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
2347
2627
|
defaultProps$D[key] = propConfig.default;
|
|
@@ -2359,7 +2639,7 @@ function ShaderComponent$D(props) {
|
|
|
2359
2639
|
shaderUniformUpdate: parentUniformUpdate,
|
|
2360
2640
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
2361
2641
|
} = context;
|
|
2362
|
-
const instanceId = props.id || `${componentDefinition$
|
|
2642
|
+
const instanceId = props.id || `${componentDefinition$h.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2363
2643
|
const effectiveProps = createMemo(() => {
|
|
2364
2644
|
let baseProps = {
|
|
2365
2645
|
...defaultProps$D
|
|
@@ -2378,7 +2658,7 @@ function ShaderComponent$D(props) {
|
|
|
2378
2658
|
let uniformsMap = null;
|
|
2379
2659
|
const getUniformsMap = () => {
|
|
2380
2660
|
if (!uniformsMap) {
|
|
2381
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
2661
|
+
uniformsMap = createUniformsMap(componentDefinition$h, effectiveProps(), instanceId);
|
|
2382
2662
|
}
|
|
2383
2663
|
return uniformsMap;
|
|
2384
2664
|
};
|
|
@@ -2403,7 +2683,7 @@ function ShaderComponent$D(props) {
|
|
|
2403
2683
|
renderOrder: props.renderOrder || 0,
|
|
2404
2684
|
transform: effectiveTransform()
|
|
2405
2685
|
};
|
|
2406
|
-
parentRegister(instanceId, componentDefinition$
|
|
2686
|
+
parentRegister(instanceId, componentDefinition$h.fragmentNode, parentId, metadata, uniforms, componentDefinition$h);
|
|
2407
2687
|
isRegistered = true;
|
|
2408
2688
|
} catch (error) {
|
|
2409
2689
|
console.error("Error registering shader node:", error);
|
|
@@ -2479,8 +2759,8 @@ const defaultProps$C = {
|
|
|
2479
2759
|
// transform intentionally has no default - handled by effectiveTransform
|
|
2480
2760
|
};
|
|
2481
2761
|
try {
|
|
2482
|
-
if (componentDefinition$
|
|
2483
|
-
Object.entries(componentDefinition$
|
|
2762
|
+
if (componentDefinition$i && componentDefinition$i.props) {
|
|
2763
|
+
Object.entries(componentDefinition$i.props).forEach(([key, config]) => {
|
|
2484
2764
|
const propConfig = config;
|
|
2485
2765
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
2486
2766
|
defaultProps$C[key] = propConfig.default;
|
|
@@ -2498,7 +2778,7 @@ function ShaderComponent$C(props) {
|
|
|
2498
2778
|
shaderUniformUpdate: parentUniformUpdate,
|
|
2499
2779
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
2500
2780
|
} = context;
|
|
2501
|
-
const instanceId = props.id || `${componentDefinition$
|
|
2781
|
+
const instanceId = props.id || `${componentDefinition$i.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2502
2782
|
const effectiveProps = createMemo(() => {
|
|
2503
2783
|
let baseProps = {
|
|
2504
2784
|
...defaultProps$C
|
|
@@ -2517,7 +2797,7 @@ function ShaderComponent$C(props) {
|
|
|
2517
2797
|
let uniformsMap = null;
|
|
2518
2798
|
const getUniformsMap = () => {
|
|
2519
2799
|
if (!uniformsMap) {
|
|
2520
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
2800
|
+
uniformsMap = createUniformsMap(componentDefinition$i, effectiveProps(), instanceId);
|
|
2521
2801
|
}
|
|
2522
2802
|
return uniformsMap;
|
|
2523
2803
|
};
|
|
@@ -2542,7 +2822,7 @@ function ShaderComponent$C(props) {
|
|
|
2542
2822
|
renderOrder: props.renderOrder || 0,
|
|
2543
2823
|
transform: effectiveTransform()
|
|
2544
2824
|
};
|
|
2545
|
-
parentRegister(instanceId, componentDefinition$
|
|
2825
|
+
parentRegister(instanceId, componentDefinition$i.fragmentNode, parentId, metadata, uniforms, componentDefinition$i);
|
|
2546
2826
|
isRegistered = true;
|
|
2547
2827
|
} catch (error) {
|
|
2548
2828
|
console.error("Error registering shader node:", error);
|
|
@@ -2618,8 +2898,8 @@ const defaultProps$B = {
|
|
|
2618
2898
|
// transform intentionally has no default - handled by effectiveTransform
|
|
2619
2899
|
};
|
|
2620
2900
|
try {
|
|
2621
|
-
if (componentDefinition$
|
|
2622
|
-
Object.entries(componentDefinition$
|
|
2901
|
+
if (componentDefinition$j && componentDefinition$j.props) {
|
|
2902
|
+
Object.entries(componentDefinition$j.props).forEach(([key, config]) => {
|
|
2623
2903
|
const propConfig = config;
|
|
2624
2904
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
2625
2905
|
defaultProps$B[key] = propConfig.default;
|
|
@@ -2637,7 +2917,7 @@ function ShaderComponent$B(props) {
|
|
|
2637
2917
|
shaderUniformUpdate: parentUniformUpdate,
|
|
2638
2918
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
2639
2919
|
} = context;
|
|
2640
|
-
const instanceId = props.id || `${componentDefinition$
|
|
2920
|
+
const instanceId = props.id || `${componentDefinition$j.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2641
2921
|
const effectiveProps = createMemo(() => {
|
|
2642
2922
|
let baseProps = {
|
|
2643
2923
|
...defaultProps$B
|
|
@@ -2656,7 +2936,7 @@ function ShaderComponent$B(props) {
|
|
|
2656
2936
|
let uniformsMap = null;
|
|
2657
2937
|
const getUniformsMap = () => {
|
|
2658
2938
|
if (!uniformsMap) {
|
|
2659
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
2939
|
+
uniformsMap = createUniformsMap(componentDefinition$j, effectiveProps(), instanceId);
|
|
2660
2940
|
}
|
|
2661
2941
|
return uniformsMap;
|
|
2662
2942
|
};
|
|
@@ -2681,7 +2961,7 @@ function ShaderComponent$B(props) {
|
|
|
2681
2961
|
renderOrder: props.renderOrder || 0,
|
|
2682
2962
|
transform: effectiveTransform()
|
|
2683
2963
|
};
|
|
2684
|
-
parentRegister(instanceId, componentDefinition$
|
|
2964
|
+
parentRegister(instanceId, componentDefinition$j.fragmentNode, parentId, metadata, uniforms, componentDefinition$j);
|
|
2685
2965
|
isRegistered = true;
|
|
2686
2966
|
} catch (error) {
|
|
2687
2967
|
console.error("Error registering shader node:", error);
|
|
@@ -2757,8 +3037,8 @@ const defaultProps$A = {
|
|
|
2757
3037
|
// transform intentionally has no default - handled by effectiveTransform
|
|
2758
3038
|
};
|
|
2759
3039
|
try {
|
|
2760
|
-
if (componentDefinition$
|
|
2761
|
-
Object.entries(componentDefinition$
|
|
3040
|
+
if (componentDefinition$k && componentDefinition$k.props) {
|
|
3041
|
+
Object.entries(componentDefinition$k.props).forEach(([key, config]) => {
|
|
2762
3042
|
const propConfig = config;
|
|
2763
3043
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
2764
3044
|
defaultProps$A[key] = propConfig.default;
|
|
@@ -2776,7 +3056,7 @@ function ShaderComponent$A(props) {
|
|
|
2776
3056
|
shaderUniformUpdate: parentUniformUpdate,
|
|
2777
3057
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
2778
3058
|
} = context;
|
|
2779
|
-
const instanceId = props.id || `${componentDefinition$
|
|
3059
|
+
const instanceId = props.id || `${componentDefinition$k.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2780
3060
|
const effectiveProps = createMemo(() => {
|
|
2781
3061
|
let baseProps = {
|
|
2782
3062
|
...defaultProps$A
|
|
@@ -2795,7 +3075,7 @@ function ShaderComponent$A(props) {
|
|
|
2795
3075
|
let uniformsMap = null;
|
|
2796
3076
|
const getUniformsMap = () => {
|
|
2797
3077
|
if (!uniformsMap) {
|
|
2798
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
3078
|
+
uniformsMap = createUniformsMap(componentDefinition$k, effectiveProps(), instanceId);
|
|
2799
3079
|
}
|
|
2800
3080
|
return uniformsMap;
|
|
2801
3081
|
};
|
|
@@ -2820,7 +3100,7 @@ function ShaderComponent$A(props) {
|
|
|
2820
3100
|
renderOrder: props.renderOrder || 0,
|
|
2821
3101
|
transform: effectiveTransform()
|
|
2822
3102
|
};
|
|
2823
|
-
parentRegister(instanceId, componentDefinition$
|
|
3103
|
+
parentRegister(instanceId, componentDefinition$k.fragmentNode, parentId, metadata, uniforms, componentDefinition$k);
|
|
2824
3104
|
isRegistered = true;
|
|
2825
3105
|
} catch (error) {
|
|
2826
3106
|
console.error("Error registering shader node:", error);
|
|
@@ -2896,8 +3176,8 @@ const defaultProps$z = {
|
|
|
2896
3176
|
// transform intentionally has no default - handled by effectiveTransform
|
|
2897
3177
|
};
|
|
2898
3178
|
try {
|
|
2899
|
-
if (componentDefinition$
|
|
2900
|
-
Object.entries(componentDefinition$
|
|
3179
|
+
if (componentDefinition$l && componentDefinition$l.props) {
|
|
3180
|
+
Object.entries(componentDefinition$l.props).forEach(([key, config]) => {
|
|
2901
3181
|
const propConfig = config;
|
|
2902
3182
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
2903
3183
|
defaultProps$z[key] = propConfig.default;
|
|
@@ -2915,7 +3195,7 @@ function ShaderComponent$z(props) {
|
|
|
2915
3195
|
shaderUniformUpdate: parentUniformUpdate,
|
|
2916
3196
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
2917
3197
|
} = context;
|
|
2918
|
-
const instanceId = props.id || `${componentDefinition$
|
|
3198
|
+
const instanceId = props.id || `${componentDefinition$l.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2919
3199
|
const effectiveProps = createMemo(() => {
|
|
2920
3200
|
let baseProps = {
|
|
2921
3201
|
...defaultProps$z
|
|
@@ -2934,7 +3214,7 @@ function ShaderComponent$z(props) {
|
|
|
2934
3214
|
let uniformsMap = null;
|
|
2935
3215
|
const getUniformsMap = () => {
|
|
2936
3216
|
if (!uniformsMap) {
|
|
2937
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
3217
|
+
uniformsMap = createUniformsMap(componentDefinition$l, effectiveProps(), instanceId);
|
|
2938
3218
|
}
|
|
2939
3219
|
return uniformsMap;
|
|
2940
3220
|
};
|
|
@@ -2959,7 +3239,7 @@ function ShaderComponent$z(props) {
|
|
|
2959
3239
|
renderOrder: props.renderOrder || 0,
|
|
2960
3240
|
transform: effectiveTransform()
|
|
2961
3241
|
};
|
|
2962
|
-
parentRegister(instanceId, componentDefinition$
|
|
3242
|
+
parentRegister(instanceId, componentDefinition$l.fragmentNode, parentId, metadata, uniforms, componentDefinition$l);
|
|
2963
3243
|
isRegistered = true;
|
|
2964
3244
|
} catch (error) {
|
|
2965
3245
|
console.error("Error registering shader node:", error);
|
|
@@ -3035,8 +3315,8 @@ const defaultProps$y = {
|
|
|
3035
3315
|
// transform intentionally has no default - handled by effectiveTransform
|
|
3036
3316
|
};
|
|
3037
3317
|
try {
|
|
3038
|
-
if (componentDefinition$
|
|
3039
|
-
Object.entries(componentDefinition$
|
|
3318
|
+
if (componentDefinition$m && componentDefinition$m.props) {
|
|
3319
|
+
Object.entries(componentDefinition$m.props).forEach(([key, config]) => {
|
|
3040
3320
|
const propConfig = config;
|
|
3041
3321
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
3042
3322
|
defaultProps$y[key] = propConfig.default;
|
|
@@ -3054,7 +3334,7 @@ function ShaderComponent$y(props) {
|
|
|
3054
3334
|
shaderUniformUpdate: parentUniformUpdate,
|
|
3055
3335
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
3056
3336
|
} = context;
|
|
3057
|
-
const instanceId = props.id || `${componentDefinition$
|
|
3337
|
+
const instanceId = props.id || `${componentDefinition$m.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3058
3338
|
const effectiveProps = createMemo(() => {
|
|
3059
3339
|
let baseProps = {
|
|
3060
3340
|
...defaultProps$y
|
|
@@ -3073,7 +3353,7 @@ function ShaderComponent$y(props) {
|
|
|
3073
3353
|
let uniformsMap = null;
|
|
3074
3354
|
const getUniformsMap = () => {
|
|
3075
3355
|
if (!uniformsMap) {
|
|
3076
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
3356
|
+
uniformsMap = createUniformsMap(componentDefinition$m, effectiveProps(), instanceId);
|
|
3077
3357
|
}
|
|
3078
3358
|
return uniformsMap;
|
|
3079
3359
|
};
|
|
@@ -3098,7 +3378,7 @@ function ShaderComponent$y(props) {
|
|
|
3098
3378
|
renderOrder: props.renderOrder || 0,
|
|
3099
3379
|
transform: effectiveTransform()
|
|
3100
3380
|
};
|
|
3101
|
-
parentRegister(instanceId, componentDefinition$
|
|
3381
|
+
parentRegister(instanceId, componentDefinition$m.fragmentNode, parentId, metadata, uniforms, componentDefinition$m);
|
|
3102
3382
|
isRegistered = true;
|
|
3103
3383
|
} catch (error) {
|
|
3104
3384
|
console.error("Error registering shader node:", error);
|
|
@@ -3174,8 +3454,8 @@ const defaultProps$x = {
|
|
|
3174
3454
|
// transform intentionally has no default - handled by effectiveTransform
|
|
3175
3455
|
};
|
|
3176
3456
|
try {
|
|
3177
|
-
if (componentDefinition$
|
|
3178
|
-
Object.entries(componentDefinition$
|
|
3457
|
+
if (componentDefinition$n && componentDefinition$n.props) {
|
|
3458
|
+
Object.entries(componentDefinition$n.props).forEach(([key, config]) => {
|
|
3179
3459
|
const propConfig = config;
|
|
3180
3460
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
3181
3461
|
defaultProps$x[key] = propConfig.default;
|
|
@@ -3193,7 +3473,7 @@ function ShaderComponent$x(props) {
|
|
|
3193
3473
|
shaderUniformUpdate: parentUniformUpdate,
|
|
3194
3474
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
3195
3475
|
} = context;
|
|
3196
|
-
const instanceId = props.id || `${componentDefinition$
|
|
3476
|
+
const instanceId = props.id || `${componentDefinition$n.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3197
3477
|
const effectiveProps = createMemo(() => {
|
|
3198
3478
|
let baseProps = {
|
|
3199
3479
|
...defaultProps$x
|
|
@@ -3212,7 +3492,7 @@ function ShaderComponent$x(props) {
|
|
|
3212
3492
|
let uniformsMap = null;
|
|
3213
3493
|
const getUniformsMap = () => {
|
|
3214
3494
|
if (!uniformsMap) {
|
|
3215
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
3495
|
+
uniformsMap = createUniformsMap(componentDefinition$n, effectiveProps(), instanceId);
|
|
3216
3496
|
}
|
|
3217
3497
|
return uniformsMap;
|
|
3218
3498
|
};
|
|
@@ -3237,7 +3517,7 @@ function ShaderComponent$x(props) {
|
|
|
3237
3517
|
renderOrder: props.renderOrder || 0,
|
|
3238
3518
|
transform: effectiveTransform()
|
|
3239
3519
|
};
|
|
3240
|
-
parentRegister(instanceId, componentDefinition$
|
|
3520
|
+
parentRegister(instanceId, componentDefinition$n.fragmentNode, parentId, metadata, uniforms, componentDefinition$n);
|
|
3241
3521
|
isRegistered = true;
|
|
3242
3522
|
} catch (error) {
|
|
3243
3523
|
console.error("Error registering shader node:", error);
|
|
@@ -3313,8 +3593,8 @@ const defaultProps$w = {
|
|
|
3313
3593
|
// transform intentionally has no default - handled by effectiveTransform
|
|
3314
3594
|
};
|
|
3315
3595
|
try {
|
|
3316
|
-
if (componentDefinition$
|
|
3317
|
-
Object.entries(componentDefinition$
|
|
3596
|
+
if (componentDefinition$o && componentDefinition$o.props) {
|
|
3597
|
+
Object.entries(componentDefinition$o.props).forEach(([key, config]) => {
|
|
3318
3598
|
const propConfig = config;
|
|
3319
3599
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
3320
3600
|
defaultProps$w[key] = propConfig.default;
|
|
@@ -3332,7 +3612,7 @@ function ShaderComponent$w(props) {
|
|
|
3332
3612
|
shaderUniformUpdate: parentUniformUpdate,
|
|
3333
3613
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
3334
3614
|
} = context;
|
|
3335
|
-
const instanceId = props.id || `${componentDefinition$
|
|
3615
|
+
const instanceId = props.id || `${componentDefinition$o.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3336
3616
|
const effectiveProps = createMemo(() => {
|
|
3337
3617
|
let baseProps = {
|
|
3338
3618
|
...defaultProps$w
|
|
@@ -3351,7 +3631,7 @@ function ShaderComponent$w(props) {
|
|
|
3351
3631
|
let uniformsMap = null;
|
|
3352
3632
|
const getUniformsMap = () => {
|
|
3353
3633
|
if (!uniformsMap) {
|
|
3354
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
3634
|
+
uniformsMap = createUniformsMap(componentDefinition$o, effectiveProps(), instanceId);
|
|
3355
3635
|
}
|
|
3356
3636
|
return uniformsMap;
|
|
3357
3637
|
};
|
|
@@ -3376,7 +3656,7 @@ function ShaderComponent$w(props) {
|
|
|
3376
3656
|
renderOrder: props.renderOrder || 0,
|
|
3377
3657
|
transform: effectiveTransform()
|
|
3378
3658
|
};
|
|
3379
|
-
parentRegister(instanceId, componentDefinition$
|
|
3659
|
+
parentRegister(instanceId, componentDefinition$o.fragmentNode, parentId, metadata, uniforms, componentDefinition$o);
|
|
3380
3660
|
isRegistered = true;
|
|
3381
3661
|
} catch (error) {
|
|
3382
3662
|
console.error("Error registering shader node:", error);
|
|
@@ -3452,8 +3732,8 @@ const defaultProps$v = {
|
|
|
3452
3732
|
// transform intentionally has no default - handled by effectiveTransform
|
|
3453
3733
|
};
|
|
3454
3734
|
try {
|
|
3455
|
-
if (componentDefinition$
|
|
3456
|
-
Object.entries(componentDefinition$
|
|
3735
|
+
if (componentDefinition$p && componentDefinition$p.props) {
|
|
3736
|
+
Object.entries(componentDefinition$p.props).forEach(([key, config]) => {
|
|
3457
3737
|
const propConfig = config;
|
|
3458
3738
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
3459
3739
|
defaultProps$v[key] = propConfig.default;
|
|
@@ -3471,7 +3751,7 @@ function ShaderComponent$v(props) {
|
|
|
3471
3751
|
shaderUniformUpdate: parentUniformUpdate,
|
|
3472
3752
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
3473
3753
|
} = context;
|
|
3474
|
-
const instanceId = props.id || `${componentDefinition$
|
|
3754
|
+
const instanceId = props.id || `${componentDefinition$p.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3475
3755
|
const effectiveProps = createMemo(() => {
|
|
3476
3756
|
let baseProps = {
|
|
3477
3757
|
...defaultProps$v
|
|
@@ -3490,7 +3770,7 @@ function ShaderComponent$v(props) {
|
|
|
3490
3770
|
let uniformsMap = null;
|
|
3491
3771
|
const getUniformsMap = () => {
|
|
3492
3772
|
if (!uniformsMap) {
|
|
3493
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
3773
|
+
uniformsMap = createUniformsMap(componentDefinition$p, effectiveProps(), instanceId);
|
|
3494
3774
|
}
|
|
3495
3775
|
return uniformsMap;
|
|
3496
3776
|
};
|
|
@@ -3515,7 +3795,7 @@ function ShaderComponent$v(props) {
|
|
|
3515
3795
|
renderOrder: props.renderOrder || 0,
|
|
3516
3796
|
transform: effectiveTransform()
|
|
3517
3797
|
};
|
|
3518
|
-
parentRegister(instanceId, componentDefinition$
|
|
3798
|
+
parentRegister(instanceId, componentDefinition$p.fragmentNode, parentId, metadata, uniforms, componentDefinition$p);
|
|
3519
3799
|
isRegistered = true;
|
|
3520
3800
|
} catch (error) {
|
|
3521
3801
|
console.error("Error registering shader node:", error);
|
|
@@ -3591,8 +3871,8 @@ const defaultProps$u = {
|
|
|
3591
3871
|
// transform intentionally has no default - handled by effectiveTransform
|
|
3592
3872
|
};
|
|
3593
3873
|
try {
|
|
3594
|
-
if (componentDefinition$
|
|
3595
|
-
Object.entries(componentDefinition$
|
|
3874
|
+
if (componentDefinition$q && componentDefinition$q.props) {
|
|
3875
|
+
Object.entries(componentDefinition$q.props).forEach(([key, config]) => {
|
|
3596
3876
|
const propConfig = config;
|
|
3597
3877
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
3598
3878
|
defaultProps$u[key] = propConfig.default;
|
|
@@ -3610,7 +3890,7 @@ function ShaderComponent$u(props) {
|
|
|
3610
3890
|
shaderUniformUpdate: parentUniformUpdate,
|
|
3611
3891
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
3612
3892
|
} = context;
|
|
3613
|
-
const instanceId = props.id || `${componentDefinition$
|
|
3893
|
+
const instanceId = props.id || `${componentDefinition$q.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3614
3894
|
const effectiveProps = createMemo(() => {
|
|
3615
3895
|
let baseProps = {
|
|
3616
3896
|
...defaultProps$u
|
|
@@ -3629,7 +3909,7 @@ function ShaderComponent$u(props) {
|
|
|
3629
3909
|
let uniformsMap = null;
|
|
3630
3910
|
const getUniformsMap = () => {
|
|
3631
3911
|
if (!uniformsMap) {
|
|
3632
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
3912
|
+
uniformsMap = createUniformsMap(componentDefinition$q, effectiveProps(), instanceId);
|
|
3633
3913
|
}
|
|
3634
3914
|
return uniformsMap;
|
|
3635
3915
|
};
|
|
@@ -3654,7 +3934,7 @@ function ShaderComponent$u(props) {
|
|
|
3654
3934
|
renderOrder: props.renderOrder || 0,
|
|
3655
3935
|
transform: effectiveTransform()
|
|
3656
3936
|
};
|
|
3657
|
-
parentRegister(instanceId, componentDefinition$
|
|
3937
|
+
parentRegister(instanceId, componentDefinition$q.fragmentNode, parentId, metadata, uniforms, componentDefinition$q);
|
|
3658
3938
|
isRegistered = true;
|
|
3659
3939
|
} catch (error) {
|
|
3660
3940
|
console.error("Error registering shader node:", error);
|
|
@@ -3730,8 +4010,8 @@ const defaultProps$t = {
|
|
|
3730
4010
|
// transform intentionally has no default - handled by effectiveTransform
|
|
3731
4011
|
};
|
|
3732
4012
|
try {
|
|
3733
|
-
if (componentDefinition$
|
|
3734
|
-
Object.entries(componentDefinition$
|
|
4013
|
+
if (componentDefinition$r && componentDefinition$r.props) {
|
|
4014
|
+
Object.entries(componentDefinition$r.props).forEach(([key, config]) => {
|
|
3735
4015
|
const propConfig = config;
|
|
3736
4016
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
3737
4017
|
defaultProps$t[key] = propConfig.default;
|
|
@@ -3749,7 +4029,7 @@ function ShaderComponent$t(props) {
|
|
|
3749
4029
|
shaderUniformUpdate: parentUniformUpdate,
|
|
3750
4030
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
3751
4031
|
} = context;
|
|
3752
|
-
const instanceId = props.id || `${componentDefinition$
|
|
4032
|
+
const instanceId = props.id || `${componentDefinition$r.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3753
4033
|
const effectiveProps = createMemo(() => {
|
|
3754
4034
|
let baseProps = {
|
|
3755
4035
|
...defaultProps$t
|
|
@@ -3768,7 +4048,7 @@ function ShaderComponent$t(props) {
|
|
|
3768
4048
|
let uniformsMap = null;
|
|
3769
4049
|
const getUniformsMap = () => {
|
|
3770
4050
|
if (!uniformsMap) {
|
|
3771
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
4051
|
+
uniformsMap = createUniformsMap(componentDefinition$r, effectiveProps(), instanceId);
|
|
3772
4052
|
}
|
|
3773
4053
|
return uniformsMap;
|
|
3774
4054
|
};
|
|
@@ -3793,7 +4073,7 @@ function ShaderComponent$t(props) {
|
|
|
3793
4073
|
renderOrder: props.renderOrder || 0,
|
|
3794
4074
|
transform: effectiveTransform()
|
|
3795
4075
|
};
|
|
3796
|
-
parentRegister(instanceId, componentDefinition$
|
|
4076
|
+
parentRegister(instanceId, componentDefinition$r.fragmentNode, parentId, metadata, uniforms, componentDefinition$r);
|
|
3797
4077
|
isRegistered = true;
|
|
3798
4078
|
} catch (error) {
|
|
3799
4079
|
console.error("Error registering shader node:", error);
|
|
@@ -3869,8 +4149,8 @@ const defaultProps$s = {
|
|
|
3869
4149
|
// transform intentionally has no default - handled by effectiveTransform
|
|
3870
4150
|
};
|
|
3871
4151
|
try {
|
|
3872
|
-
if (componentDefinition$
|
|
3873
|
-
Object.entries(componentDefinition$
|
|
4152
|
+
if (componentDefinition$s && componentDefinition$s.props) {
|
|
4153
|
+
Object.entries(componentDefinition$s.props).forEach(([key, config]) => {
|
|
3874
4154
|
const propConfig = config;
|
|
3875
4155
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
3876
4156
|
defaultProps$s[key] = propConfig.default;
|
|
@@ -3888,7 +4168,7 @@ function ShaderComponent$s(props) {
|
|
|
3888
4168
|
shaderUniformUpdate: parentUniformUpdate,
|
|
3889
4169
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
3890
4170
|
} = context;
|
|
3891
|
-
const instanceId = props.id || `${componentDefinition$
|
|
4171
|
+
const instanceId = props.id || `${componentDefinition$s.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3892
4172
|
const effectiveProps = createMemo(() => {
|
|
3893
4173
|
let baseProps = {
|
|
3894
4174
|
...defaultProps$s
|
|
@@ -3907,7 +4187,7 @@ function ShaderComponent$s(props) {
|
|
|
3907
4187
|
let uniformsMap = null;
|
|
3908
4188
|
const getUniformsMap = () => {
|
|
3909
4189
|
if (!uniformsMap) {
|
|
3910
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
4190
|
+
uniformsMap = createUniformsMap(componentDefinition$s, effectiveProps(), instanceId);
|
|
3911
4191
|
}
|
|
3912
4192
|
return uniformsMap;
|
|
3913
4193
|
};
|
|
@@ -3932,7 +4212,7 @@ function ShaderComponent$s(props) {
|
|
|
3932
4212
|
renderOrder: props.renderOrder || 0,
|
|
3933
4213
|
transform: effectiveTransform()
|
|
3934
4214
|
};
|
|
3935
|
-
parentRegister(instanceId, componentDefinition$
|
|
4215
|
+
parentRegister(instanceId, componentDefinition$s.fragmentNode, parentId, metadata, uniforms, componentDefinition$s);
|
|
3936
4216
|
isRegistered = true;
|
|
3937
4217
|
} catch (error) {
|
|
3938
4218
|
console.error("Error registering shader node:", error);
|
|
@@ -4008,8 +4288,8 @@ const defaultProps$r = {
|
|
|
4008
4288
|
// transform intentionally has no default - handled by effectiveTransform
|
|
4009
4289
|
};
|
|
4010
4290
|
try {
|
|
4011
|
-
if (componentDefinition$
|
|
4012
|
-
Object.entries(componentDefinition$
|
|
4291
|
+
if (componentDefinition$t && componentDefinition$t.props) {
|
|
4292
|
+
Object.entries(componentDefinition$t.props).forEach(([key, config]) => {
|
|
4013
4293
|
const propConfig = config;
|
|
4014
4294
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
4015
4295
|
defaultProps$r[key] = propConfig.default;
|
|
@@ -4027,7 +4307,7 @@ function ShaderComponent$r(props) {
|
|
|
4027
4307
|
shaderUniformUpdate: parentUniformUpdate,
|
|
4028
4308
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
4029
4309
|
} = context;
|
|
4030
|
-
const instanceId = props.id || `${componentDefinition$
|
|
4310
|
+
const instanceId = props.id || `${componentDefinition$t.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4031
4311
|
const effectiveProps = createMemo(() => {
|
|
4032
4312
|
let baseProps = {
|
|
4033
4313
|
...defaultProps$r
|
|
@@ -4046,7 +4326,7 @@ function ShaderComponent$r(props) {
|
|
|
4046
4326
|
let uniformsMap = null;
|
|
4047
4327
|
const getUniformsMap = () => {
|
|
4048
4328
|
if (!uniformsMap) {
|
|
4049
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
4329
|
+
uniformsMap = createUniformsMap(componentDefinition$t, effectiveProps(), instanceId);
|
|
4050
4330
|
}
|
|
4051
4331
|
return uniformsMap;
|
|
4052
4332
|
};
|
|
@@ -4071,7 +4351,7 @@ function ShaderComponent$r(props) {
|
|
|
4071
4351
|
renderOrder: props.renderOrder || 0,
|
|
4072
4352
|
transform: effectiveTransform()
|
|
4073
4353
|
};
|
|
4074
|
-
parentRegister(instanceId, componentDefinition$
|
|
4354
|
+
parentRegister(instanceId, componentDefinition$t.fragmentNode, parentId, metadata, uniforms, componentDefinition$t);
|
|
4075
4355
|
isRegistered = true;
|
|
4076
4356
|
} catch (error) {
|
|
4077
4357
|
console.error("Error registering shader node:", error);
|
|
@@ -4147,8 +4427,8 @@ const defaultProps$q = {
|
|
|
4147
4427
|
// transform intentionally has no default - handled by effectiveTransform
|
|
4148
4428
|
};
|
|
4149
4429
|
try {
|
|
4150
|
-
if (componentDefinition$
|
|
4151
|
-
Object.entries(componentDefinition$
|
|
4430
|
+
if (componentDefinition$u && componentDefinition$u.props) {
|
|
4431
|
+
Object.entries(componentDefinition$u.props).forEach(([key, config]) => {
|
|
4152
4432
|
const propConfig = config;
|
|
4153
4433
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
4154
4434
|
defaultProps$q[key] = propConfig.default;
|
|
@@ -4166,7 +4446,7 @@ function ShaderComponent$q(props) {
|
|
|
4166
4446
|
shaderUniformUpdate: parentUniformUpdate,
|
|
4167
4447
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
4168
4448
|
} = context;
|
|
4169
|
-
const instanceId = props.id || `${componentDefinition$
|
|
4449
|
+
const instanceId = props.id || `${componentDefinition$u.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4170
4450
|
const effectiveProps = createMemo(() => {
|
|
4171
4451
|
let baseProps = {
|
|
4172
4452
|
...defaultProps$q
|
|
@@ -4185,7 +4465,7 @@ function ShaderComponent$q(props) {
|
|
|
4185
4465
|
let uniformsMap = null;
|
|
4186
4466
|
const getUniformsMap = () => {
|
|
4187
4467
|
if (!uniformsMap) {
|
|
4188
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
4468
|
+
uniformsMap = createUniformsMap(componentDefinition$u, effectiveProps(), instanceId);
|
|
4189
4469
|
}
|
|
4190
4470
|
return uniformsMap;
|
|
4191
4471
|
};
|
|
@@ -4210,7 +4490,7 @@ function ShaderComponent$q(props) {
|
|
|
4210
4490
|
renderOrder: props.renderOrder || 0,
|
|
4211
4491
|
transform: effectiveTransform()
|
|
4212
4492
|
};
|
|
4213
|
-
parentRegister(instanceId, componentDefinition$
|
|
4493
|
+
parentRegister(instanceId, componentDefinition$u.fragmentNode, parentId, metadata, uniforms, componentDefinition$u);
|
|
4214
4494
|
isRegistered = true;
|
|
4215
4495
|
} catch (error) {
|
|
4216
4496
|
console.error("Error registering shader node:", error);
|
|
@@ -4286,8 +4566,8 @@ const defaultProps$p = {
|
|
|
4286
4566
|
// transform intentionally has no default - handled by effectiveTransform
|
|
4287
4567
|
};
|
|
4288
4568
|
try {
|
|
4289
|
-
if (componentDefinition$
|
|
4290
|
-
Object.entries(componentDefinition$
|
|
4569
|
+
if (componentDefinition$v && componentDefinition$v.props) {
|
|
4570
|
+
Object.entries(componentDefinition$v.props).forEach(([key, config]) => {
|
|
4291
4571
|
const propConfig = config;
|
|
4292
4572
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
4293
4573
|
defaultProps$p[key] = propConfig.default;
|
|
@@ -4305,7 +4585,7 @@ function ShaderComponent$p(props) {
|
|
|
4305
4585
|
shaderUniformUpdate: parentUniformUpdate,
|
|
4306
4586
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
4307
4587
|
} = context;
|
|
4308
|
-
const instanceId = props.id || `${componentDefinition$
|
|
4588
|
+
const instanceId = props.id || `${componentDefinition$v.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4309
4589
|
const effectiveProps = createMemo(() => {
|
|
4310
4590
|
let baseProps = {
|
|
4311
4591
|
...defaultProps$p
|
|
@@ -4324,7 +4604,7 @@ function ShaderComponent$p(props) {
|
|
|
4324
4604
|
let uniformsMap = null;
|
|
4325
4605
|
const getUniformsMap = () => {
|
|
4326
4606
|
if (!uniformsMap) {
|
|
4327
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
4607
|
+
uniformsMap = createUniformsMap(componentDefinition$v, effectiveProps(), instanceId);
|
|
4328
4608
|
}
|
|
4329
4609
|
return uniformsMap;
|
|
4330
4610
|
};
|
|
@@ -4349,7 +4629,7 @@ function ShaderComponent$p(props) {
|
|
|
4349
4629
|
renderOrder: props.renderOrder || 0,
|
|
4350
4630
|
transform: effectiveTransform()
|
|
4351
4631
|
};
|
|
4352
|
-
parentRegister(instanceId, componentDefinition$
|
|
4632
|
+
parentRegister(instanceId, componentDefinition$v.fragmentNode, parentId, metadata, uniforms, componentDefinition$v);
|
|
4353
4633
|
isRegistered = true;
|
|
4354
4634
|
} catch (error) {
|
|
4355
4635
|
console.error("Error registering shader node:", error);
|
|
@@ -4425,8 +4705,8 @@ const defaultProps$o = {
|
|
|
4425
4705
|
// transform intentionally has no default - handled by effectiveTransform
|
|
4426
4706
|
};
|
|
4427
4707
|
try {
|
|
4428
|
-
if (componentDefinition$
|
|
4429
|
-
Object.entries(componentDefinition$
|
|
4708
|
+
if (componentDefinition$w && componentDefinition$w.props) {
|
|
4709
|
+
Object.entries(componentDefinition$w.props).forEach(([key, config]) => {
|
|
4430
4710
|
const propConfig = config;
|
|
4431
4711
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
4432
4712
|
defaultProps$o[key] = propConfig.default;
|
|
@@ -4444,7 +4724,7 @@ function ShaderComponent$o(props) {
|
|
|
4444
4724
|
shaderUniformUpdate: parentUniformUpdate,
|
|
4445
4725
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
4446
4726
|
} = context;
|
|
4447
|
-
const instanceId = props.id || `${componentDefinition$
|
|
4727
|
+
const instanceId = props.id || `${componentDefinition$w.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4448
4728
|
const effectiveProps = createMemo(() => {
|
|
4449
4729
|
let baseProps = {
|
|
4450
4730
|
...defaultProps$o
|
|
@@ -4463,7 +4743,7 @@ function ShaderComponent$o(props) {
|
|
|
4463
4743
|
let uniformsMap = null;
|
|
4464
4744
|
const getUniformsMap = () => {
|
|
4465
4745
|
if (!uniformsMap) {
|
|
4466
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
4746
|
+
uniformsMap = createUniformsMap(componentDefinition$w, effectiveProps(), instanceId);
|
|
4467
4747
|
}
|
|
4468
4748
|
return uniformsMap;
|
|
4469
4749
|
};
|
|
@@ -4488,7 +4768,7 @@ function ShaderComponent$o(props) {
|
|
|
4488
4768
|
renderOrder: props.renderOrder || 0,
|
|
4489
4769
|
transform: effectiveTransform()
|
|
4490
4770
|
};
|
|
4491
|
-
parentRegister(instanceId, componentDefinition$
|
|
4771
|
+
parentRegister(instanceId, componentDefinition$w.fragmentNode, parentId, metadata, uniforms, componentDefinition$w);
|
|
4492
4772
|
isRegistered = true;
|
|
4493
4773
|
} catch (error) {
|
|
4494
4774
|
console.error("Error registering shader node:", error);
|
|
@@ -4564,8 +4844,8 @@ const defaultProps$n = {
|
|
|
4564
4844
|
// transform intentionally has no default - handled by effectiveTransform
|
|
4565
4845
|
};
|
|
4566
4846
|
try {
|
|
4567
|
-
if (componentDefinition$
|
|
4568
|
-
Object.entries(componentDefinition$
|
|
4847
|
+
if (componentDefinition$x && componentDefinition$x.props) {
|
|
4848
|
+
Object.entries(componentDefinition$x.props).forEach(([key, config]) => {
|
|
4569
4849
|
const propConfig = config;
|
|
4570
4850
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
4571
4851
|
defaultProps$n[key] = propConfig.default;
|
|
@@ -4583,7 +4863,7 @@ function ShaderComponent$n(props) {
|
|
|
4583
4863
|
shaderUniformUpdate: parentUniformUpdate,
|
|
4584
4864
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
4585
4865
|
} = context;
|
|
4586
|
-
const instanceId = props.id || `${componentDefinition$
|
|
4866
|
+
const instanceId = props.id || `${componentDefinition$x.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4587
4867
|
const effectiveProps = createMemo(() => {
|
|
4588
4868
|
let baseProps = {
|
|
4589
4869
|
...defaultProps$n
|
|
@@ -4602,7 +4882,7 @@ function ShaderComponent$n(props) {
|
|
|
4602
4882
|
let uniformsMap = null;
|
|
4603
4883
|
const getUniformsMap = () => {
|
|
4604
4884
|
if (!uniformsMap) {
|
|
4605
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
4885
|
+
uniformsMap = createUniformsMap(componentDefinition$x, effectiveProps(), instanceId);
|
|
4606
4886
|
}
|
|
4607
4887
|
return uniformsMap;
|
|
4608
4888
|
};
|
|
@@ -4627,7 +4907,7 @@ function ShaderComponent$n(props) {
|
|
|
4627
4907
|
renderOrder: props.renderOrder || 0,
|
|
4628
4908
|
transform: effectiveTransform()
|
|
4629
4909
|
};
|
|
4630
|
-
parentRegister(instanceId, componentDefinition$
|
|
4910
|
+
parentRegister(instanceId, componentDefinition$x.fragmentNode, parentId, metadata, uniforms, componentDefinition$x);
|
|
4631
4911
|
isRegistered = true;
|
|
4632
4912
|
} catch (error) {
|
|
4633
4913
|
console.error("Error registering shader node:", error);
|
|
@@ -4703,8 +4983,8 @@ const defaultProps$m = {
|
|
|
4703
4983
|
// transform intentionally has no default - handled by effectiveTransform
|
|
4704
4984
|
};
|
|
4705
4985
|
try {
|
|
4706
|
-
if (componentDefinition$
|
|
4707
|
-
Object.entries(componentDefinition$
|
|
4986
|
+
if (componentDefinition$y && componentDefinition$y.props) {
|
|
4987
|
+
Object.entries(componentDefinition$y.props).forEach(([key, config]) => {
|
|
4708
4988
|
const propConfig = config;
|
|
4709
4989
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
4710
4990
|
defaultProps$m[key] = propConfig.default;
|
|
@@ -4722,7 +5002,7 @@ function ShaderComponent$m(props) {
|
|
|
4722
5002
|
shaderUniformUpdate: parentUniformUpdate,
|
|
4723
5003
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
4724
5004
|
} = context;
|
|
4725
|
-
const instanceId = props.id || `${componentDefinition$
|
|
5005
|
+
const instanceId = props.id || `${componentDefinition$y.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4726
5006
|
const effectiveProps = createMemo(() => {
|
|
4727
5007
|
let baseProps = {
|
|
4728
5008
|
...defaultProps$m
|
|
@@ -4741,7 +5021,7 @@ function ShaderComponent$m(props) {
|
|
|
4741
5021
|
let uniformsMap = null;
|
|
4742
5022
|
const getUniformsMap = () => {
|
|
4743
5023
|
if (!uniformsMap) {
|
|
4744
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
5024
|
+
uniformsMap = createUniformsMap(componentDefinition$y, effectiveProps(), instanceId);
|
|
4745
5025
|
}
|
|
4746
5026
|
return uniformsMap;
|
|
4747
5027
|
};
|
|
@@ -4766,7 +5046,7 @@ function ShaderComponent$m(props) {
|
|
|
4766
5046
|
renderOrder: props.renderOrder || 0,
|
|
4767
5047
|
transform: effectiveTransform()
|
|
4768
5048
|
};
|
|
4769
|
-
parentRegister(instanceId, componentDefinition$
|
|
5049
|
+
parentRegister(instanceId, componentDefinition$y.fragmentNode, parentId, metadata, uniforms, componentDefinition$y);
|
|
4770
5050
|
isRegistered = true;
|
|
4771
5051
|
} catch (error) {
|
|
4772
5052
|
console.error("Error registering shader node:", error);
|
|
@@ -4842,8 +5122,8 @@ const defaultProps$l = {
|
|
|
4842
5122
|
// transform intentionally has no default - handled by effectiveTransform
|
|
4843
5123
|
};
|
|
4844
5124
|
try {
|
|
4845
|
-
if (componentDefinition$
|
|
4846
|
-
Object.entries(componentDefinition$
|
|
5125
|
+
if (componentDefinition$z && componentDefinition$z.props) {
|
|
5126
|
+
Object.entries(componentDefinition$z.props).forEach(([key, config]) => {
|
|
4847
5127
|
const propConfig = config;
|
|
4848
5128
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
4849
5129
|
defaultProps$l[key] = propConfig.default;
|
|
@@ -4861,7 +5141,7 @@ function ShaderComponent$l(props) {
|
|
|
4861
5141
|
shaderUniformUpdate: parentUniformUpdate,
|
|
4862
5142
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
4863
5143
|
} = context;
|
|
4864
|
-
const instanceId = props.id || `${componentDefinition$
|
|
5144
|
+
const instanceId = props.id || `${componentDefinition$z.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4865
5145
|
const effectiveProps = createMemo(() => {
|
|
4866
5146
|
let baseProps = {
|
|
4867
5147
|
...defaultProps$l
|
|
@@ -4880,7 +5160,7 @@ function ShaderComponent$l(props) {
|
|
|
4880
5160
|
let uniformsMap = null;
|
|
4881
5161
|
const getUniformsMap = () => {
|
|
4882
5162
|
if (!uniformsMap) {
|
|
4883
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
5163
|
+
uniformsMap = createUniformsMap(componentDefinition$z, effectiveProps(), instanceId);
|
|
4884
5164
|
}
|
|
4885
5165
|
return uniformsMap;
|
|
4886
5166
|
};
|
|
@@ -4905,7 +5185,7 @@ function ShaderComponent$l(props) {
|
|
|
4905
5185
|
renderOrder: props.renderOrder || 0,
|
|
4906
5186
|
transform: effectiveTransform()
|
|
4907
5187
|
};
|
|
4908
|
-
parentRegister(instanceId, componentDefinition$
|
|
5188
|
+
parentRegister(instanceId, componentDefinition$z.fragmentNode, parentId, metadata, uniforms, componentDefinition$z);
|
|
4909
5189
|
isRegistered = true;
|
|
4910
5190
|
} catch (error) {
|
|
4911
5191
|
console.error("Error registering shader node:", error);
|
|
@@ -4981,8 +5261,8 @@ const defaultProps$k = {
|
|
|
4981
5261
|
// transform intentionally has no default - handled by effectiveTransform
|
|
4982
5262
|
};
|
|
4983
5263
|
try {
|
|
4984
|
-
if (componentDefinition$
|
|
4985
|
-
Object.entries(componentDefinition$
|
|
5264
|
+
if (componentDefinition$A && componentDefinition$A.props) {
|
|
5265
|
+
Object.entries(componentDefinition$A.props).forEach(([key, config]) => {
|
|
4986
5266
|
const propConfig = config;
|
|
4987
5267
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
4988
5268
|
defaultProps$k[key] = propConfig.default;
|
|
@@ -5000,7 +5280,7 @@ function ShaderComponent$k(props) {
|
|
|
5000
5280
|
shaderUniformUpdate: parentUniformUpdate,
|
|
5001
5281
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
5002
5282
|
} = context;
|
|
5003
|
-
const instanceId = props.id || `${componentDefinition$
|
|
5283
|
+
const instanceId = props.id || `${componentDefinition$A.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5004
5284
|
const effectiveProps = createMemo(() => {
|
|
5005
5285
|
let baseProps = {
|
|
5006
5286
|
...defaultProps$k
|
|
@@ -5019,7 +5299,7 @@ function ShaderComponent$k(props) {
|
|
|
5019
5299
|
let uniformsMap = null;
|
|
5020
5300
|
const getUniformsMap = () => {
|
|
5021
5301
|
if (!uniformsMap) {
|
|
5022
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
5302
|
+
uniformsMap = createUniformsMap(componentDefinition$A, effectiveProps(), instanceId);
|
|
5023
5303
|
}
|
|
5024
5304
|
return uniformsMap;
|
|
5025
5305
|
};
|
|
@@ -5044,7 +5324,7 @@ function ShaderComponent$k(props) {
|
|
|
5044
5324
|
renderOrder: props.renderOrder || 0,
|
|
5045
5325
|
transform: effectiveTransform()
|
|
5046
5326
|
};
|
|
5047
|
-
parentRegister(instanceId, componentDefinition$
|
|
5327
|
+
parentRegister(instanceId, componentDefinition$A.fragmentNode, parentId, metadata, uniforms, componentDefinition$A);
|
|
5048
5328
|
isRegistered = true;
|
|
5049
5329
|
} catch (error) {
|
|
5050
5330
|
console.error("Error registering shader node:", error);
|
|
@@ -5120,8 +5400,8 @@ const defaultProps$j = {
|
|
|
5120
5400
|
// transform intentionally has no default - handled by effectiveTransform
|
|
5121
5401
|
};
|
|
5122
5402
|
try {
|
|
5123
|
-
if (componentDefinition$
|
|
5124
|
-
Object.entries(componentDefinition$
|
|
5403
|
+
if (componentDefinition$B && componentDefinition$B.props) {
|
|
5404
|
+
Object.entries(componentDefinition$B.props).forEach(([key, config]) => {
|
|
5125
5405
|
const propConfig = config;
|
|
5126
5406
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
5127
5407
|
defaultProps$j[key] = propConfig.default;
|
|
@@ -5139,7 +5419,7 @@ function ShaderComponent$j(props) {
|
|
|
5139
5419
|
shaderUniformUpdate: parentUniformUpdate,
|
|
5140
5420
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
5141
5421
|
} = context;
|
|
5142
|
-
const instanceId = props.id || `${componentDefinition$
|
|
5422
|
+
const instanceId = props.id || `${componentDefinition$B.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5143
5423
|
const effectiveProps = createMemo(() => {
|
|
5144
5424
|
let baseProps = {
|
|
5145
5425
|
...defaultProps$j
|
|
@@ -5158,7 +5438,7 @@ function ShaderComponent$j(props) {
|
|
|
5158
5438
|
let uniformsMap = null;
|
|
5159
5439
|
const getUniformsMap = () => {
|
|
5160
5440
|
if (!uniformsMap) {
|
|
5161
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
5441
|
+
uniformsMap = createUniformsMap(componentDefinition$B, effectiveProps(), instanceId);
|
|
5162
5442
|
}
|
|
5163
5443
|
return uniformsMap;
|
|
5164
5444
|
};
|
|
@@ -5183,7 +5463,7 @@ function ShaderComponent$j(props) {
|
|
|
5183
5463
|
renderOrder: props.renderOrder || 0,
|
|
5184
5464
|
transform: effectiveTransform()
|
|
5185
5465
|
};
|
|
5186
|
-
parentRegister(instanceId, componentDefinition$
|
|
5466
|
+
parentRegister(instanceId, componentDefinition$B.fragmentNode, parentId, metadata, uniforms, componentDefinition$B);
|
|
5187
5467
|
isRegistered = true;
|
|
5188
5468
|
} catch (error) {
|
|
5189
5469
|
console.error("Error registering shader node:", error);
|
|
@@ -5259,8 +5539,8 @@ const defaultProps$i = {
|
|
|
5259
5539
|
// transform intentionally has no default - handled by effectiveTransform
|
|
5260
5540
|
};
|
|
5261
5541
|
try {
|
|
5262
|
-
if (componentDefinition$
|
|
5263
|
-
Object.entries(componentDefinition$
|
|
5542
|
+
if (componentDefinition$C && componentDefinition$C.props) {
|
|
5543
|
+
Object.entries(componentDefinition$C.props).forEach(([key, config]) => {
|
|
5264
5544
|
const propConfig = config;
|
|
5265
5545
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
5266
5546
|
defaultProps$i[key] = propConfig.default;
|
|
@@ -5278,7 +5558,7 @@ function ShaderComponent$i(props) {
|
|
|
5278
5558
|
shaderUniformUpdate: parentUniformUpdate,
|
|
5279
5559
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
5280
5560
|
} = context;
|
|
5281
|
-
const instanceId = props.id || `${componentDefinition$
|
|
5561
|
+
const instanceId = props.id || `${componentDefinition$C.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5282
5562
|
const effectiveProps = createMemo(() => {
|
|
5283
5563
|
let baseProps = {
|
|
5284
5564
|
...defaultProps$i
|
|
@@ -5297,7 +5577,7 @@ function ShaderComponent$i(props) {
|
|
|
5297
5577
|
let uniformsMap = null;
|
|
5298
5578
|
const getUniformsMap = () => {
|
|
5299
5579
|
if (!uniformsMap) {
|
|
5300
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
5580
|
+
uniformsMap = createUniformsMap(componentDefinition$C, effectiveProps(), instanceId);
|
|
5301
5581
|
}
|
|
5302
5582
|
return uniformsMap;
|
|
5303
5583
|
};
|
|
@@ -5322,7 +5602,7 @@ function ShaderComponent$i(props) {
|
|
|
5322
5602
|
renderOrder: props.renderOrder || 0,
|
|
5323
5603
|
transform: effectiveTransform()
|
|
5324
5604
|
};
|
|
5325
|
-
parentRegister(instanceId, componentDefinition$
|
|
5605
|
+
parentRegister(instanceId, componentDefinition$C.fragmentNode, parentId, metadata, uniforms, componentDefinition$C);
|
|
5326
5606
|
isRegistered = true;
|
|
5327
5607
|
} catch (error) {
|
|
5328
5608
|
console.error("Error registering shader node:", error);
|
|
@@ -5398,8 +5678,8 @@ const defaultProps$h = {
|
|
|
5398
5678
|
// transform intentionally has no default - handled by effectiveTransform
|
|
5399
5679
|
};
|
|
5400
5680
|
try {
|
|
5401
|
-
if (componentDefinition$
|
|
5402
|
-
Object.entries(componentDefinition$
|
|
5681
|
+
if (componentDefinition$D && componentDefinition$D.props) {
|
|
5682
|
+
Object.entries(componentDefinition$D.props).forEach(([key, config]) => {
|
|
5403
5683
|
const propConfig = config;
|
|
5404
5684
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
5405
5685
|
defaultProps$h[key] = propConfig.default;
|
|
@@ -5417,7 +5697,7 @@ function ShaderComponent$h(props) {
|
|
|
5417
5697
|
shaderUniformUpdate: parentUniformUpdate,
|
|
5418
5698
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
5419
5699
|
} = context;
|
|
5420
|
-
const instanceId = props.id || `${componentDefinition$
|
|
5700
|
+
const instanceId = props.id || `${componentDefinition$D.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5421
5701
|
const effectiveProps = createMemo(() => {
|
|
5422
5702
|
let baseProps = {
|
|
5423
5703
|
...defaultProps$h
|
|
@@ -5436,7 +5716,7 @@ function ShaderComponent$h(props) {
|
|
|
5436
5716
|
let uniformsMap = null;
|
|
5437
5717
|
const getUniformsMap = () => {
|
|
5438
5718
|
if (!uniformsMap) {
|
|
5439
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
5719
|
+
uniformsMap = createUniformsMap(componentDefinition$D, effectiveProps(), instanceId);
|
|
5440
5720
|
}
|
|
5441
5721
|
return uniformsMap;
|
|
5442
5722
|
};
|
|
@@ -5461,7 +5741,7 @@ function ShaderComponent$h(props) {
|
|
|
5461
5741
|
renderOrder: props.renderOrder || 0,
|
|
5462
5742
|
transform: effectiveTransform()
|
|
5463
5743
|
};
|
|
5464
|
-
parentRegister(instanceId, componentDefinition$
|
|
5744
|
+
parentRegister(instanceId, componentDefinition$D.fragmentNode, parentId, metadata, uniforms, componentDefinition$D);
|
|
5465
5745
|
isRegistered = true;
|
|
5466
5746
|
} catch (error) {
|
|
5467
5747
|
console.error("Error registering shader node:", error);
|
|
@@ -5537,8 +5817,8 @@ const defaultProps$g = {
|
|
|
5537
5817
|
// transform intentionally has no default - handled by effectiveTransform
|
|
5538
5818
|
};
|
|
5539
5819
|
try {
|
|
5540
|
-
if (componentDefinition$
|
|
5541
|
-
Object.entries(componentDefinition$
|
|
5820
|
+
if (componentDefinition$E && componentDefinition$E.props) {
|
|
5821
|
+
Object.entries(componentDefinition$E.props).forEach(([key, config]) => {
|
|
5542
5822
|
const propConfig = config;
|
|
5543
5823
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
5544
5824
|
defaultProps$g[key] = propConfig.default;
|
|
@@ -5556,7 +5836,7 @@ function ShaderComponent$g(props) {
|
|
|
5556
5836
|
shaderUniformUpdate: parentUniformUpdate,
|
|
5557
5837
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
5558
5838
|
} = context;
|
|
5559
|
-
const instanceId = props.id || `${componentDefinition$
|
|
5839
|
+
const instanceId = props.id || `${componentDefinition$E.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5560
5840
|
const effectiveProps = createMemo(() => {
|
|
5561
5841
|
let baseProps = {
|
|
5562
5842
|
...defaultProps$g
|
|
@@ -5575,7 +5855,7 @@ function ShaderComponent$g(props) {
|
|
|
5575
5855
|
let uniformsMap = null;
|
|
5576
5856
|
const getUniformsMap = () => {
|
|
5577
5857
|
if (!uniformsMap) {
|
|
5578
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
5858
|
+
uniformsMap = createUniformsMap(componentDefinition$E, effectiveProps(), instanceId);
|
|
5579
5859
|
}
|
|
5580
5860
|
return uniformsMap;
|
|
5581
5861
|
};
|
|
@@ -5600,7 +5880,7 @@ function ShaderComponent$g(props) {
|
|
|
5600
5880
|
renderOrder: props.renderOrder || 0,
|
|
5601
5881
|
transform: effectiveTransform()
|
|
5602
5882
|
};
|
|
5603
|
-
parentRegister(instanceId, componentDefinition$
|
|
5883
|
+
parentRegister(instanceId, componentDefinition$E.fragmentNode, parentId, metadata, uniforms, componentDefinition$E);
|
|
5604
5884
|
isRegistered = true;
|
|
5605
5885
|
} catch (error) {
|
|
5606
5886
|
console.error("Error registering shader node:", error);
|
|
@@ -5676,8 +5956,8 @@ const defaultProps$f = {
|
|
|
5676
5956
|
// transform intentionally has no default - handled by effectiveTransform
|
|
5677
5957
|
};
|
|
5678
5958
|
try {
|
|
5679
|
-
if (componentDefinition$
|
|
5680
|
-
Object.entries(componentDefinition$
|
|
5959
|
+
if (componentDefinition$F && componentDefinition$F.props) {
|
|
5960
|
+
Object.entries(componentDefinition$F.props).forEach(([key, config]) => {
|
|
5681
5961
|
const propConfig = config;
|
|
5682
5962
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
5683
5963
|
defaultProps$f[key] = propConfig.default;
|
|
@@ -5695,7 +5975,7 @@ function ShaderComponent$f(props) {
|
|
|
5695
5975
|
shaderUniformUpdate: parentUniformUpdate,
|
|
5696
5976
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
5697
5977
|
} = context;
|
|
5698
|
-
const instanceId = props.id || `${componentDefinition$
|
|
5978
|
+
const instanceId = props.id || `${componentDefinition$F.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5699
5979
|
const effectiveProps = createMemo(() => {
|
|
5700
5980
|
let baseProps = {
|
|
5701
5981
|
...defaultProps$f
|
|
@@ -5714,7 +5994,7 @@ function ShaderComponent$f(props) {
|
|
|
5714
5994
|
let uniformsMap = null;
|
|
5715
5995
|
const getUniformsMap = () => {
|
|
5716
5996
|
if (!uniformsMap) {
|
|
5717
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
5997
|
+
uniformsMap = createUniformsMap(componentDefinition$F, effectiveProps(), instanceId);
|
|
5718
5998
|
}
|
|
5719
5999
|
return uniformsMap;
|
|
5720
6000
|
};
|
|
@@ -5739,7 +6019,7 @@ function ShaderComponent$f(props) {
|
|
|
5739
6019
|
renderOrder: props.renderOrder || 0,
|
|
5740
6020
|
transform: effectiveTransform()
|
|
5741
6021
|
};
|
|
5742
|
-
parentRegister(instanceId, componentDefinition$
|
|
6022
|
+
parentRegister(instanceId, componentDefinition$F.fragmentNode, parentId, metadata, uniforms, componentDefinition$F);
|
|
5743
6023
|
isRegistered = true;
|
|
5744
6024
|
} catch (error) {
|
|
5745
6025
|
console.error("Error registering shader node:", error);
|
|
@@ -5815,8 +6095,8 @@ const defaultProps$e = {
|
|
|
5815
6095
|
// transform intentionally has no default - handled by effectiveTransform
|
|
5816
6096
|
};
|
|
5817
6097
|
try {
|
|
5818
|
-
if (componentDefinition$
|
|
5819
|
-
Object.entries(componentDefinition$
|
|
6098
|
+
if (componentDefinition$G && componentDefinition$G.props) {
|
|
6099
|
+
Object.entries(componentDefinition$G.props).forEach(([key, config]) => {
|
|
5820
6100
|
const propConfig = config;
|
|
5821
6101
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
5822
6102
|
defaultProps$e[key] = propConfig.default;
|
|
@@ -5834,7 +6114,7 @@ function ShaderComponent$e(props) {
|
|
|
5834
6114
|
shaderUniformUpdate: parentUniformUpdate,
|
|
5835
6115
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
5836
6116
|
} = context;
|
|
5837
|
-
const instanceId = props.id || `${componentDefinition$
|
|
6117
|
+
const instanceId = props.id || `${componentDefinition$G.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5838
6118
|
const effectiveProps = createMemo(() => {
|
|
5839
6119
|
let baseProps = {
|
|
5840
6120
|
...defaultProps$e
|
|
@@ -5853,7 +6133,7 @@ function ShaderComponent$e(props) {
|
|
|
5853
6133
|
let uniformsMap = null;
|
|
5854
6134
|
const getUniformsMap = () => {
|
|
5855
6135
|
if (!uniformsMap) {
|
|
5856
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
6136
|
+
uniformsMap = createUniformsMap(componentDefinition$G, effectiveProps(), instanceId);
|
|
5857
6137
|
}
|
|
5858
6138
|
return uniformsMap;
|
|
5859
6139
|
};
|
|
@@ -5878,7 +6158,7 @@ function ShaderComponent$e(props) {
|
|
|
5878
6158
|
renderOrder: props.renderOrder || 0,
|
|
5879
6159
|
transform: effectiveTransform()
|
|
5880
6160
|
};
|
|
5881
|
-
parentRegister(instanceId, componentDefinition$
|
|
6161
|
+
parentRegister(instanceId, componentDefinition$G.fragmentNode, parentId, metadata, uniforms, componentDefinition$G);
|
|
5882
6162
|
isRegistered = true;
|
|
5883
6163
|
} catch (error) {
|
|
5884
6164
|
console.error("Error registering shader node:", error);
|
|
@@ -5954,8 +6234,8 @@ const defaultProps$d = {
|
|
|
5954
6234
|
// transform intentionally has no default - handled by effectiveTransform
|
|
5955
6235
|
};
|
|
5956
6236
|
try {
|
|
5957
|
-
if (componentDefinition$
|
|
5958
|
-
Object.entries(componentDefinition$
|
|
6237
|
+
if (componentDefinition$H && componentDefinition$H.props) {
|
|
6238
|
+
Object.entries(componentDefinition$H.props).forEach(([key, config]) => {
|
|
5959
6239
|
const propConfig = config;
|
|
5960
6240
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
5961
6241
|
defaultProps$d[key] = propConfig.default;
|
|
@@ -5973,7 +6253,7 @@ function ShaderComponent$d(props) {
|
|
|
5973
6253
|
shaderUniformUpdate: parentUniformUpdate,
|
|
5974
6254
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
5975
6255
|
} = context;
|
|
5976
|
-
const instanceId = props.id || `${componentDefinition$
|
|
6256
|
+
const instanceId = props.id || `${componentDefinition$H.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5977
6257
|
const effectiveProps = createMemo(() => {
|
|
5978
6258
|
let baseProps = {
|
|
5979
6259
|
...defaultProps$d
|
|
@@ -5992,7 +6272,7 @@ function ShaderComponent$d(props) {
|
|
|
5992
6272
|
let uniformsMap = null;
|
|
5993
6273
|
const getUniformsMap = () => {
|
|
5994
6274
|
if (!uniformsMap) {
|
|
5995
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
6275
|
+
uniformsMap = createUniformsMap(componentDefinition$H, effectiveProps(), instanceId);
|
|
5996
6276
|
}
|
|
5997
6277
|
return uniformsMap;
|
|
5998
6278
|
};
|
|
@@ -6017,7 +6297,7 @@ function ShaderComponent$d(props) {
|
|
|
6017
6297
|
renderOrder: props.renderOrder || 0,
|
|
6018
6298
|
transform: effectiveTransform()
|
|
6019
6299
|
};
|
|
6020
|
-
parentRegister(instanceId, componentDefinition$
|
|
6300
|
+
parentRegister(instanceId, componentDefinition$H.fragmentNode, parentId, metadata, uniforms, componentDefinition$H);
|
|
6021
6301
|
isRegistered = true;
|
|
6022
6302
|
} catch (error) {
|
|
6023
6303
|
console.error("Error registering shader node:", error);
|
|
@@ -6093,8 +6373,8 @@ const defaultProps$c = {
|
|
|
6093
6373
|
// transform intentionally has no default - handled by effectiveTransform
|
|
6094
6374
|
};
|
|
6095
6375
|
try {
|
|
6096
|
-
if (componentDefinition$
|
|
6097
|
-
Object.entries(componentDefinition$
|
|
6376
|
+
if (componentDefinition$I && componentDefinition$I.props) {
|
|
6377
|
+
Object.entries(componentDefinition$I.props).forEach(([key, config]) => {
|
|
6098
6378
|
const propConfig = config;
|
|
6099
6379
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
6100
6380
|
defaultProps$c[key] = propConfig.default;
|
|
@@ -6112,7 +6392,7 @@ function ShaderComponent$c(props) {
|
|
|
6112
6392
|
shaderUniformUpdate: parentUniformUpdate,
|
|
6113
6393
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
6114
6394
|
} = context;
|
|
6115
|
-
const instanceId = props.id || `${componentDefinition$
|
|
6395
|
+
const instanceId = props.id || `${componentDefinition$I.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6116
6396
|
const effectiveProps = createMemo(() => {
|
|
6117
6397
|
let baseProps = {
|
|
6118
6398
|
...defaultProps$c
|
|
@@ -6131,7 +6411,7 @@ function ShaderComponent$c(props) {
|
|
|
6131
6411
|
let uniformsMap = null;
|
|
6132
6412
|
const getUniformsMap = () => {
|
|
6133
6413
|
if (!uniformsMap) {
|
|
6134
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
6414
|
+
uniformsMap = createUniformsMap(componentDefinition$I, effectiveProps(), instanceId);
|
|
6135
6415
|
}
|
|
6136
6416
|
return uniformsMap;
|
|
6137
6417
|
};
|
|
@@ -6156,7 +6436,7 @@ function ShaderComponent$c(props) {
|
|
|
6156
6436
|
renderOrder: props.renderOrder || 0,
|
|
6157
6437
|
transform: effectiveTransform()
|
|
6158
6438
|
};
|
|
6159
|
-
parentRegister(instanceId, componentDefinition$
|
|
6439
|
+
parentRegister(instanceId, componentDefinition$I.fragmentNode, parentId, metadata, uniforms, componentDefinition$I);
|
|
6160
6440
|
isRegistered = true;
|
|
6161
6441
|
} catch (error) {
|
|
6162
6442
|
console.error("Error registering shader node:", error);
|
|
@@ -6232,8 +6512,8 @@ const defaultProps$b = {
|
|
|
6232
6512
|
// transform intentionally has no default - handled by effectiveTransform
|
|
6233
6513
|
};
|
|
6234
6514
|
try {
|
|
6235
|
-
if (componentDefinition$
|
|
6236
|
-
Object.entries(componentDefinition$
|
|
6515
|
+
if (componentDefinition$J && componentDefinition$J.props) {
|
|
6516
|
+
Object.entries(componentDefinition$J.props).forEach(([key, config]) => {
|
|
6237
6517
|
const propConfig = config;
|
|
6238
6518
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
6239
6519
|
defaultProps$b[key] = propConfig.default;
|
|
@@ -6251,7 +6531,7 @@ function ShaderComponent$b(props) {
|
|
|
6251
6531
|
shaderUniformUpdate: parentUniformUpdate,
|
|
6252
6532
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
6253
6533
|
} = context;
|
|
6254
|
-
const instanceId = props.id || `${componentDefinition$
|
|
6534
|
+
const instanceId = props.id || `${componentDefinition$J.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6255
6535
|
const effectiveProps = createMemo(() => {
|
|
6256
6536
|
let baseProps = {
|
|
6257
6537
|
...defaultProps$b
|
|
@@ -6270,7 +6550,7 @@ function ShaderComponent$b(props) {
|
|
|
6270
6550
|
let uniformsMap = null;
|
|
6271
6551
|
const getUniformsMap = () => {
|
|
6272
6552
|
if (!uniformsMap) {
|
|
6273
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
6553
|
+
uniformsMap = createUniformsMap(componentDefinition$J, effectiveProps(), instanceId);
|
|
6274
6554
|
}
|
|
6275
6555
|
return uniformsMap;
|
|
6276
6556
|
};
|
|
@@ -6295,7 +6575,7 @@ function ShaderComponent$b(props) {
|
|
|
6295
6575
|
renderOrder: props.renderOrder || 0,
|
|
6296
6576
|
transform: effectiveTransform()
|
|
6297
6577
|
};
|
|
6298
|
-
parentRegister(instanceId, componentDefinition$
|
|
6578
|
+
parentRegister(instanceId, componentDefinition$J.fragmentNode, parentId, metadata, uniforms, componentDefinition$J);
|
|
6299
6579
|
isRegistered = true;
|
|
6300
6580
|
} catch (error) {
|
|
6301
6581
|
console.error("Error registering shader node:", error);
|
|
@@ -6371,8 +6651,8 @@ const defaultProps$a = {
|
|
|
6371
6651
|
// transform intentionally has no default - handled by effectiveTransform
|
|
6372
6652
|
};
|
|
6373
6653
|
try {
|
|
6374
|
-
if (componentDefinition$
|
|
6375
|
-
Object.entries(componentDefinition$
|
|
6654
|
+
if (componentDefinition$K && componentDefinition$K.props) {
|
|
6655
|
+
Object.entries(componentDefinition$K.props).forEach(([key, config]) => {
|
|
6376
6656
|
const propConfig = config;
|
|
6377
6657
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
6378
6658
|
defaultProps$a[key] = propConfig.default;
|
|
@@ -6390,7 +6670,7 @@ function ShaderComponent$a(props) {
|
|
|
6390
6670
|
shaderUniformUpdate: parentUniformUpdate,
|
|
6391
6671
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
6392
6672
|
} = context;
|
|
6393
|
-
const instanceId = props.id || `${componentDefinition$
|
|
6673
|
+
const instanceId = props.id || `${componentDefinition$K.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6394
6674
|
const effectiveProps = createMemo(() => {
|
|
6395
6675
|
let baseProps = {
|
|
6396
6676
|
...defaultProps$a
|
|
@@ -6409,7 +6689,7 @@ function ShaderComponent$a(props) {
|
|
|
6409
6689
|
let uniformsMap = null;
|
|
6410
6690
|
const getUniformsMap = () => {
|
|
6411
6691
|
if (!uniformsMap) {
|
|
6412
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
6692
|
+
uniformsMap = createUniformsMap(componentDefinition$K, effectiveProps(), instanceId);
|
|
6413
6693
|
}
|
|
6414
6694
|
return uniformsMap;
|
|
6415
6695
|
};
|
|
@@ -6434,7 +6714,7 @@ function ShaderComponent$a(props) {
|
|
|
6434
6714
|
renderOrder: props.renderOrder || 0,
|
|
6435
6715
|
transform: effectiveTransform()
|
|
6436
6716
|
};
|
|
6437
|
-
parentRegister(instanceId, componentDefinition$
|
|
6717
|
+
parentRegister(instanceId, componentDefinition$K.fragmentNode, parentId, metadata, uniforms, componentDefinition$K);
|
|
6438
6718
|
isRegistered = true;
|
|
6439
6719
|
} catch (error) {
|
|
6440
6720
|
console.error("Error registering shader node:", error);
|
|
@@ -6510,8 +6790,8 @@ const defaultProps$9 = {
|
|
|
6510
6790
|
// transform intentionally has no default - handled by effectiveTransform
|
|
6511
6791
|
};
|
|
6512
6792
|
try {
|
|
6513
|
-
if (componentDefinition$
|
|
6514
|
-
Object.entries(componentDefinition$
|
|
6793
|
+
if (componentDefinition$L && componentDefinition$L.props) {
|
|
6794
|
+
Object.entries(componentDefinition$L.props).forEach(([key, config]) => {
|
|
6515
6795
|
const propConfig = config;
|
|
6516
6796
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
6517
6797
|
defaultProps$9[key] = propConfig.default;
|
|
@@ -6529,7 +6809,7 @@ function ShaderComponent$9(props) {
|
|
|
6529
6809
|
shaderUniformUpdate: parentUniformUpdate,
|
|
6530
6810
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
6531
6811
|
} = context;
|
|
6532
|
-
const instanceId = props.id || `${componentDefinition$
|
|
6812
|
+
const instanceId = props.id || `${componentDefinition$L.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6533
6813
|
const effectiveProps = createMemo(() => {
|
|
6534
6814
|
let baseProps = {
|
|
6535
6815
|
...defaultProps$9
|
|
@@ -6548,7 +6828,7 @@ function ShaderComponent$9(props) {
|
|
|
6548
6828
|
let uniformsMap = null;
|
|
6549
6829
|
const getUniformsMap = () => {
|
|
6550
6830
|
if (!uniformsMap) {
|
|
6551
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
6831
|
+
uniformsMap = createUniformsMap(componentDefinition$L, effectiveProps(), instanceId);
|
|
6552
6832
|
}
|
|
6553
6833
|
return uniformsMap;
|
|
6554
6834
|
};
|
|
@@ -6573,7 +6853,7 @@ function ShaderComponent$9(props) {
|
|
|
6573
6853
|
renderOrder: props.renderOrder || 0,
|
|
6574
6854
|
transform: effectiveTransform()
|
|
6575
6855
|
};
|
|
6576
|
-
parentRegister(instanceId, componentDefinition$
|
|
6856
|
+
parentRegister(instanceId, componentDefinition$L.fragmentNode, parentId, metadata, uniforms, componentDefinition$L);
|
|
6577
6857
|
isRegistered = true;
|
|
6578
6858
|
} catch (error) {
|
|
6579
6859
|
console.error("Error registering shader node:", error);
|
|
@@ -6649,8 +6929,8 @@ const defaultProps$8 = {
|
|
|
6649
6929
|
// transform intentionally has no default - handled by effectiveTransform
|
|
6650
6930
|
};
|
|
6651
6931
|
try {
|
|
6652
|
-
if (componentDefinition$
|
|
6653
|
-
Object.entries(componentDefinition$
|
|
6932
|
+
if (componentDefinition$M && componentDefinition$M.props) {
|
|
6933
|
+
Object.entries(componentDefinition$M.props).forEach(([key, config]) => {
|
|
6654
6934
|
const propConfig = config;
|
|
6655
6935
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
6656
6936
|
defaultProps$8[key] = propConfig.default;
|
|
@@ -6668,7 +6948,7 @@ function ShaderComponent$8(props) {
|
|
|
6668
6948
|
shaderUniformUpdate: parentUniformUpdate,
|
|
6669
6949
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
6670
6950
|
} = context;
|
|
6671
|
-
const instanceId = props.id || `${componentDefinition$
|
|
6951
|
+
const instanceId = props.id || `${componentDefinition$M.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6672
6952
|
const effectiveProps = createMemo(() => {
|
|
6673
6953
|
let baseProps = {
|
|
6674
6954
|
...defaultProps$8
|
|
@@ -6687,7 +6967,7 @@ function ShaderComponent$8(props) {
|
|
|
6687
6967
|
let uniformsMap = null;
|
|
6688
6968
|
const getUniformsMap = () => {
|
|
6689
6969
|
if (!uniformsMap) {
|
|
6690
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
6970
|
+
uniformsMap = createUniformsMap(componentDefinition$M, effectiveProps(), instanceId);
|
|
6691
6971
|
}
|
|
6692
6972
|
return uniformsMap;
|
|
6693
6973
|
};
|
|
@@ -6712,7 +6992,7 @@ function ShaderComponent$8(props) {
|
|
|
6712
6992
|
renderOrder: props.renderOrder || 0,
|
|
6713
6993
|
transform: effectiveTransform()
|
|
6714
6994
|
};
|
|
6715
|
-
parentRegister(instanceId, componentDefinition$
|
|
6995
|
+
parentRegister(instanceId, componentDefinition$M.fragmentNode, parentId, metadata, uniforms, componentDefinition$M);
|
|
6716
6996
|
isRegistered = true;
|
|
6717
6997
|
} catch (error) {
|
|
6718
6998
|
console.error("Error registering shader node:", error);
|
|
@@ -6788,8 +7068,8 @@ const defaultProps$7 = {
|
|
|
6788
7068
|
// transform intentionally has no default - handled by effectiveTransform
|
|
6789
7069
|
};
|
|
6790
7070
|
try {
|
|
6791
|
-
if (componentDefinition$
|
|
6792
|
-
Object.entries(componentDefinition$
|
|
7071
|
+
if (componentDefinition$N && componentDefinition$N.props) {
|
|
7072
|
+
Object.entries(componentDefinition$N.props).forEach(([key, config]) => {
|
|
6793
7073
|
const propConfig = config;
|
|
6794
7074
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
6795
7075
|
defaultProps$7[key] = propConfig.default;
|
|
@@ -6807,7 +7087,7 @@ function ShaderComponent$7(props) {
|
|
|
6807
7087
|
shaderUniformUpdate: parentUniformUpdate,
|
|
6808
7088
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
6809
7089
|
} = context;
|
|
6810
|
-
const instanceId = props.id || `${componentDefinition$
|
|
7090
|
+
const instanceId = props.id || `${componentDefinition$N.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6811
7091
|
const effectiveProps = createMemo(() => {
|
|
6812
7092
|
let baseProps = {
|
|
6813
7093
|
...defaultProps$7
|
|
@@ -6826,7 +7106,7 @@ function ShaderComponent$7(props) {
|
|
|
6826
7106
|
let uniformsMap = null;
|
|
6827
7107
|
const getUniformsMap = () => {
|
|
6828
7108
|
if (!uniformsMap) {
|
|
6829
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
7109
|
+
uniformsMap = createUniformsMap(componentDefinition$N, effectiveProps(), instanceId);
|
|
6830
7110
|
}
|
|
6831
7111
|
return uniformsMap;
|
|
6832
7112
|
};
|
|
@@ -6851,7 +7131,7 @@ function ShaderComponent$7(props) {
|
|
|
6851
7131
|
renderOrder: props.renderOrder || 0,
|
|
6852
7132
|
transform: effectiveTransform()
|
|
6853
7133
|
};
|
|
6854
|
-
parentRegister(instanceId, componentDefinition$
|
|
7134
|
+
parentRegister(instanceId, componentDefinition$N.fragmentNode, parentId, metadata, uniforms, componentDefinition$N);
|
|
6855
7135
|
isRegistered = true;
|
|
6856
7136
|
} catch (error) {
|
|
6857
7137
|
console.error("Error registering shader node:", error);
|
|
@@ -6927,8 +7207,8 @@ const defaultProps$6 = {
|
|
|
6927
7207
|
// transform intentionally has no default - handled by effectiveTransform
|
|
6928
7208
|
};
|
|
6929
7209
|
try {
|
|
6930
|
-
if (componentDefinition$
|
|
6931
|
-
Object.entries(componentDefinition$
|
|
7210
|
+
if (componentDefinition$O && componentDefinition$O.props) {
|
|
7211
|
+
Object.entries(componentDefinition$O.props).forEach(([key, config]) => {
|
|
6932
7212
|
const propConfig = config;
|
|
6933
7213
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
6934
7214
|
defaultProps$6[key] = propConfig.default;
|
|
@@ -6946,7 +7226,7 @@ function ShaderComponent$6(props) {
|
|
|
6946
7226
|
shaderUniformUpdate: parentUniformUpdate,
|
|
6947
7227
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
6948
7228
|
} = context;
|
|
6949
|
-
const instanceId = props.id || `${componentDefinition$
|
|
7229
|
+
const instanceId = props.id || `${componentDefinition$O.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6950
7230
|
const effectiveProps = createMemo(() => {
|
|
6951
7231
|
let baseProps = {
|
|
6952
7232
|
...defaultProps$6
|
|
@@ -6965,7 +7245,7 @@ function ShaderComponent$6(props) {
|
|
|
6965
7245
|
let uniformsMap = null;
|
|
6966
7246
|
const getUniformsMap = () => {
|
|
6967
7247
|
if (!uniformsMap) {
|
|
6968
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
7248
|
+
uniformsMap = createUniformsMap(componentDefinition$O, effectiveProps(), instanceId);
|
|
6969
7249
|
}
|
|
6970
7250
|
return uniformsMap;
|
|
6971
7251
|
};
|
|
@@ -6990,7 +7270,7 @@ function ShaderComponent$6(props) {
|
|
|
6990
7270
|
renderOrder: props.renderOrder || 0,
|
|
6991
7271
|
transform: effectiveTransform()
|
|
6992
7272
|
};
|
|
6993
|
-
parentRegister(instanceId, componentDefinition$
|
|
7273
|
+
parentRegister(instanceId, componentDefinition$O.fragmentNode, parentId, metadata, uniforms, componentDefinition$O);
|
|
6994
7274
|
isRegistered = true;
|
|
6995
7275
|
} catch (error) {
|
|
6996
7276
|
console.error("Error registering shader node:", error);
|
|
@@ -7066,8 +7346,8 @@ const defaultProps$5 = {
|
|
|
7066
7346
|
// transform intentionally has no default - handled by effectiveTransform
|
|
7067
7347
|
};
|
|
7068
7348
|
try {
|
|
7069
|
-
if (componentDefinition$
|
|
7070
|
-
Object.entries(componentDefinition$
|
|
7349
|
+
if (componentDefinition$P && componentDefinition$P.props) {
|
|
7350
|
+
Object.entries(componentDefinition$P.props).forEach(([key, config]) => {
|
|
7071
7351
|
const propConfig = config;
|
|
7072
7352
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
7073
7353
|
defaultProps$5[key] = propConfig.default;
|
|
@@ -7085,7 +7365,7 @@ function ShaderComponent$5(props) {
|
|
|
7085
7365
|
shaderUniformUpdate: parentUniformUpdate,
|
|
7086
7366
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
7087
7367
|
} = context;
|
|
7088
|
-
const instanceId = props.id || `${componentDefinition$
|
|
7368
|
+
const instanceId = props.id || `${componentDefinition$P.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7089
7369
|
const effectiveProps = createMemo(() => {
|
|
7090
7370
|
let baseProps = {
|
|
7091
7371
|
...defaultProps$5
|
|
@@ -7104,7 +7384,7 @@ function ShaderComponent$5(props) {
|
|
|
7104
7384
|
let uniformsMap = null;
|
|
7105
7385
|
const getUniformsMap = () => {
|
|
7106
7386
|
if (!uniformsMap) {
|
|
7107
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
7387
|
+
uniformsMap = createUniformsMap(componentDefinition$P, effectiveProps(), instanceId);
|
|
7108
7388
|
}
|
|
7109
7389
|
return uniformsMap;
|
|
7110
7390
|
};
|
|
@@ -7129,7 +7409,7 @@ function ShaderComponent$5(props) {
|
|
|
7129
7409
|
renderOrder: props.renderOrder || 0,
|
|
7130
7410
|
transform: effectiveTransform()
|
|
7131
7411
|
};
|
|
7132
|
-
parentRegister(instanceId, componentDefinition$
|
|
7412
|
+
parentRegister(instanceId, componentDefinition$P.fragmentNode, parentId, metadata, uniforms, componentDefinition$P);
|
|
7133
7413
|
isRegistered = true;
|
|
7134
7414
|
} catch (error) {
|
|
7135
7415
|
console.error("Error registering shader node:", error);
|
|
@@ -7205,8 +7485,8 @@ const defaultProps$4 = {
|
|
|
7205
7485
|
// transform intentionally has no default - handled by effectiveTransform
|
|
7206
7486
|
};
|
|
7207
7487
|
try {
|
|
7208
|
-
if (componentDefinition$
|
|
7209
|
-
Object.entries(componentDefinition$
|
|
7488
|
+
if (componentDefinition$Q && componentDefinition$Q.props) {
|
|
7489
|
+
Object.entries(componentDefinition$Q.props).forEach(([key, config]) => {
|
|
7210
7490
|
const propConfig = config;
|
|
7211
7491
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
7212
7492
|
defaultProps$4[key] = propConfig.default;
|
|
@@ -7224,7 +7504,7 @@ function ShaderComponent$4(props) {
|
|
|
7224
7504
|
shaderUniformUpdate: parentUniformUpdate,
|
|
7225
7505
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
7226
7506
|
} = context;
|
|
7227
|
-
const instanceId = props.id || `${componentDefinition$
|
|
7507
|
+
const instanceId = props.id || `${componentDefinition$Q.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7228
7508
|
const effectiveProps = createMemo(() => {
|
|
7229
7509
|
let baseProps = {
|
|
7230
7510
|
...defaultProps$4
|
|
@@ -7243,7 +7523,7 @@ function ShaderComponent$4(props) {
|
|
|
7243
7523
|
let uniformsMap = null;
|
|
7244
7524
|
const getUniformsMap = () => {
|
|
7245
7525
|
if (!uniformsMap) {
|
|
7246
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
7526
|
+
uniformsMap = createUniformsMap(componentDefinition$Q, effectiveProps(), instanceId);
|
|
7247
7527
|
}
|
|
7248
7528
|
return uniformsMap;
|
|
7249
7529
|
};
|
|
@@ -7268,7 +7548,7 @@ function ShaderComponent$4(props) {
|
|
|
7268
7548
|
renderOrder: props.renderOrder || 0,
|
|
7269
7549
|
transform: effectiveTransform()
|
|
7270
7550
|
};
|
|
7271
|
-
parentRegister(instanceId, componentDefinition$
|
|
7551
|
+
parentRegister(instanceId, componentDefinition$Q.fragmentNode, parentId, metadata, uniforms, componentDefinition$Q);
|
|
7272
7552
|
isRegistered = true;
|
|
7273
7553
|
} catch (error) {
|
|
7274
7554
|
console.error("Error registering shader node:", error);
|
|
@@ -7344,8 +7624,8 @@ const defaultProps$3 = {
|
|
|
7344
7624
|
// transform intentionally has no default - handled by effectiveTransform
|
|
7345
7625
|
};
|
|
7346
7626
|
try {
|
|
7347
|
-
if (componentDefinition$
|
|
7348
|
-
Object.entries(componentDefinition$
|
|
7627
|
+
if (componentDefinition$R && componentDefinition$R.props) {
|
|
7628
|
+
Object.entries(componentDefinition$R.props).forEach(([key, config]) => {
|
|
7349
7629
|
const propConfig = config;
|
|
7350
7630
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
7351
7631
|
defaultProps$3[key] = propConfig.default;
|
|
@@ -7363,7 +7643,7 @@ function ShaderComponent$3(props) {
|
|
|
7363
7643
|
shaderUniformUpdate: parentUniformUpdate,
|
|
7364
7644
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
7365
7645
|
} = context;
|
|
7366
|
-
const instanceId = props.id || `${componentDefinition$
|
|
7646
|
+
const instanceId = props.id || `${componentDefinition$R.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7367
7647
|
const effectiveProps = createMemo(() => {
|
|
7368
7648
|
let baseProps = {
|
|
7369
7649
|
...defaultProps$3
|
|
@@ -7382,7 +7662,7 @@ function ShaderComponent$3(props) {
|
|
|
7382
7662
|
let uniformsMap = null;
|
|
7383
7663
|
const getUniformsMap = () => {
|
|
7384
7664
|
if (!uniformsMap) {
|
|
7385
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
7665
|
+
uniformsMap = createUniformsMap(componentDefinition$R, effectiveProps(), instanceId);
|
|
7386
7666
|
}
|
|
7387
7667
|
return uniformsMap;
|
|
7388
7668
|
};
|
|
@@ -7407,7 +7687,7 @@ function ShaderComponent$3(props) {
|
|
|
7407
7687
|
renderOrder: props.renderOrder || 0,
|
|
7408
7688
|
transform: effectiveTransform()
|
|
7409
7689
|
};
|
|
7410
|
-
parentRegister(instanceId, componentDefinition$
|
|
7690
|
+
parentRegister(instanceId, componentDefinition$R.fragmentNode, parentId, metadata, uniforms, componentDefinition$R);
|
|
7411
7691
|
isRegistered = true;
|
|
7412
7692
|
} catch (error) {
|
|
7413
7693
|
console.error("Error registering shader node:", error);
|
|
@@ -7483,8 +7763,8 @@ const defaultProps$2 = {
|
|
|
7483
7763
|
// transform intentionally has no default - handled by effectiveTransform
|
|
7484
7764
|
};
|
|
7485
7765
|
try {
|
|
7486
|
-
if (componentDefinition$
|
|
7487
|
-
Object.entries(componentDefinition$
|
|
7766
|
+
if (componentDefinition$S && componentDefinition$S.props) {
|
|
7767
|
+
Object.entries(componentDefinition$S.props).forEach(([key, config]) => {
|
|
7488
7768
|
const propConfig = config;
|
|
7489
7769
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
7490
7770
|
defaultProps$2[key] = propConfig.default;
|
|
@@ -7502,7 +7782,7 @@ function ShaderComponent$2(props) {
|
|
|
7502
7782
|
shaderUniformUpdate: parentUniformUpdate,
|
|
7503
7783
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
7504
7784
|
} = context;
|
|
7505
|
-
const instanceId = props.id || `${componentDefinition$
|
|
7785
|
+
const instanceId = props.id || `${componentDefinition$S.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7506
7786
|
const effectiveProps = createMemo(() => {
|
|
7507
7787
|
let baseProps = {
|
|
7508
7788
|
...defaultProps$2
|
|
@@ -7521,7 +7801,7 @@ function ShaderComponent$2(props) {
|
|
|
7521
7801
|
let uniformsMap = null;
|
|
7522
7802
|
const getUniformsMap = () => {
|
|
7523
7803
|
if (!uniformsMap) {
|
|
7524
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
7804
|
+
uniformsMap = createUniformsMap(componentDefinition$S, effectiveProps(), instanceId);
|
|
7525
7805
|
}
|
|
7526
7806
|
return uniformsMap;
|
|
7527
7807
|
};
|
|
@@ -7546,7 +7826,7 @@ function ShaderComponent$2(props) {
|
|
|
7546
7826
|
renderOrder: props.renderOrder || 0,
|
|
7547
7827
|
transform: effectiveTransform()
|
|
7548
7828
|
};
|
|
7549
|
-
parentRegister(instanceId, componentDefinition$
|
|
7829
|
+
parentRegister(instanceId, componentDefinition$S.fragmentNode, parentId, metadata, uniforms, componentDefinition$S);
|
|
7550
7830
|
isRegistered = true;
|
|
7551
7831
|
} catch (error) {
|
|
7552
7832
|
console.error("Error registering shader node:", error);
|
|
@@ -7622,8 +7902,8 @@ const defaultProps$1 = {
|
|
|
7622
7902
|
// transform intentionally has no default - handled by effectiveTransform
|
|
7623
7903
|
};
|
|
7624
7904
|
try {
|
|
7625
|
-
if (componentDefinition$
|
|
7626
|
-
Object.entries(componentDefinition$
|
|
7905
|
+
if (componentDefinition$T && componentDefinition$T.props) {
|
|
7906
|
+
Object.entries(componentDefinition$T.props).forEach(([key, config]) => {
|
|
7627
7907
|
const propConfig = config;
|
|
7628
7908
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
7629
7909
|
defaultProps$1[key] = propConfig.default;
|
|
@@ -7641,7 +7921,7 @@ function ShaderComponent$1(props) {
|
|
|
7641
7921
|
shaderUniformUpdate: parentUniformUpdate,
|
|
7642
7922
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
7643
7923
|
} = context;
|
|
7644
|
-
const instanceId = props.id || `${componentDefinition$
|
|
7924
|
+
const instanceId = props.id || `${componentDefinition$T.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7645
7925
|
const effectiveProps = createMemo(() => {
|
|
7646
7926
|
let baseProps = {
|
|
7647
7927
|
...defaultProps$1
|
|
@@ -7660,7 +7940,7 @@ function ShaderComponent$1(props) {
|
|
|
7660
7940
|
let uniformsMap = null;
|
|
7661
7941
|
const getUniformsMap = () => {
|
|
7662
7942
|
if (!uniformsMap) {
|
|
7663
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
7943
|
+
uniformsMap = createUniformsMap(componentDefinition$T, effectiveProps(), instanceId);
|
|
7664
7944
|
}
|
|
7665
7945
|
return uniformsMap;
|
|
7666
7946
|
};
|
|
@@ -7685,7 +7965,7 @@ function ShaderComponent$1(props) {
|
|
|
7685
7965
|
renderOrder: props.renderOrder || 0,
|
|
7686
7966
|
transform: effectiveTransform()
|
|
7687
7967
|
};
|
|
7688
|
-
parentRegister(instanceId, componentDefinition$
|
|
7968
|
+
parentRegister(instanceId, componentDefinition$T.fragmentNode, parentId, metadata, uniforms, componentDefinition$T);
|
|
7689
7969
|
isRegistered = true;
|
|
7690
7970
|
} catch (error) {
|
|
7691
7971
|
console.error("Error registering shader node:", error);
|
|
@@ -7761,8 +8041,8 @@ const defaultProps = {
|
|
|
7761
8041
|
// transform intentionally has no default - handled by effectiveTransform
|
|
7762
8042
|
};
|
|
7763
8043
|
try {
|
|
7764
|
-
if (componentDefinition$
|
|
7765
|
-
Object.entries(componentDefinition$
|
|
8044
|
+
if (componentDefinition$U && componentDefinition$U.props) {
|
|
8045
|
+
Object.entries(componentDefinition$U.props).forEach(([key, config]) => {
|
|
7766
8046
|
const propConfig = config;
|
|
7767
8047
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
7768
8048
|
defaultProps[key] = propConfig.default;
|
|
@@ -7780,7 +8060,7 @@ function ShaderComponent(props) {
|
|
|
7780
8060
|
shaderUniformUpdate: parentUniformUpdate,
|
|
7781
8061
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
7782
8062
|
} = context;
|
|
7783
|
-
const instanceId = props.id || `${componentDefinition$
|
|
8063
|
+
const instanceId = props.id || `${componentDefinition$U.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7784
8064
|
const effectiveProps = createMemo(() => {
|
|
7785
8065
|
let baseProps = {
|
|
7786
8066
|
...defaultProps
|
|
@@ -7799,7 +8079,7 @@ function ShaderComponent(props) {
|
|
|
7799
8079
|
let uniformsMap = null;
|
|
7800
8080
|
const getUniformsMap = () => {
|
|
7801
8081
|
if (!uniformsMap) {
|
|
7802
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
8082
|
+
uniformsMap = createUniformsMap(componentDefinition$U, effectiveProps(), instanceId);
|
|
7803
8083
|
}
|
|
7804
8084
|
return uniformsMap;
|
|
7805
8085
|
};
|
|
@@ -7824,7 +8104,7 @@ function ShaderComponent(props) {
|
|
|
7824
8104
|
renderOrder: props.renderOrder || 0,
|
|
7825
8105
|
transform: effectiveTransform()
|
|
7826
8106
|
};
|
|
7827
|
-
parentRegister(instanceId, componentDefinition$
|
|
8107
|
+
parentRegister(instanceId, componentDefinition$U.fragmentNode, parentId, metadata, uniforms, componentDefinition$U);
|
|
7828
8108
|
isRegistered = true;
|
|
7829
8109
|
} catch (error) {
|
|
7830
8110
|
console.error("Error registering shader node:", error);
|
|
@@ -7884,48 +8164,50 @@ function ShaderComponent(props) {
|
|
|
7884
8164
|
});
|
|
7885
8165
|
}
|
|
7886
8166
|
export {
|
|
7887
|
-
ShaderComponent$
|
|
7888
|
-
ShaderComponent$
|
|
7889
|
-
ShaderComponent$
|
|
7890
|
-
ShaderComponent$
|
|
7891
|
-
ShaderComponent$
|
|
7892
|
-
ShaderComponent$
|
|
7893
|
-
ShaderComponent$
|
|
7894
|
-
ShaderComponent$
|
|
7895
|
-
ShaderComponent$
|
|
7896
|
-
ShaderComponent$
|
|
7897
|
-
ShaderComponent$
|
|
7898
|
-
ShaderComponent$
|
|
7899
|
-
ShaderComponent$
|
|
7900
|
-
ShaderComponent$
|
|
7901
|
-
ShaderComponent$
|
|
7902
|
-
ShaderComponent$
|
|
7903
|
-
ShaderComponent$
|
|
7904
|
-
ShaderComponent$
|
|
7905
|
-
ShaderComponent$
|
|
7906
|
-
ShaderComponent$
|
|
7907
|
-
ShaderComponent$
|
|
7908
|
-
ShaderComponent$
|
|
7909
|
-
ShaderComponent$
|
|
7910
|
-
ShaderComponent$
|
|
7911
|
-
ShaderComponent$
|
|
7912
|
-
ShaderComponent$
|
|
7913
|
-
ShaderComponent$
|
|
7914
|
-
ShaderComponent$
|
|
7915
|
-
ShaderComponent$
|
|
7916
|
-
ShaderComponent$
|
|
7917
|
-
ShaderComponent$
|
|
7918
|
-
ShaderComponent$
|
|
7919
|
-
ShaderComponent$
|
|
7920
|
-
ShaderComponent$
|
|
7921
|
-
ShaderComponent$
|
|
7922
|
-
ShaderComponent$
|
|
7923
|
-
ShaderComponent$
|
|
7924
|
-
ShaderComponent$
|
|
7925
|
-
ShaderComponent$
|
|
7926
|
-
ShaderComponent$
|
|
7927
|
-
ShaderComponent$
|
|
8167
|
+
ShaderComponent$U as AngularBlur,
|
|
8168
|
+
ShaderComponent$T as Ascii,
|
|
8169
|
+
ShaderComponent$S as Beam,
|
|
8170
|
+
ShaderComponent$R as Blob,
|
|
8171
|
+
ShaderComponent$Q as Blur,
|
|
8172
|
+
ShaderComponent$P as BrightnessContrast,
|
|
8173
|
+
ShaderComponent$O as Bulge,
|
|
8174
|
+
ShaderComponent$N as CRTScreen,
|
|
8175
|
+
ShaderComponent$M as ChannelBlur,
|
|
8176
|
+
ShaderComponent$L as Checkerboard,
|
|
8177
|
+
ShaderComponent$K as ChromaFlow,
|
|
8178
|
+
ShaderComponent$J as ChromaticAberration,
|
|
8179
|
+
ShaderComponent$I as Circle,
|
|
8180
|
+
ShaderComponent$H as CursorTrail,
|
|
8181
|
+
ShaderComponent$G as DiffuseBlur,
|
|
8182
|
+
ShaderComponent$F as Dither,
|
|
8183
|
+
ShaderComponent$E as DotGrid,
|
|
8184
|
+
ShaderComponent$D as Duotone,
|
|
8185
|
+
ShaderComponent$C as FilmGrain,
|
|
8186
|
+
ShaderComponent$B as FloatingParticles,
|
|
8187
|
+
ShaderComponent$A as GlassTiles,
|
|
8188
|
+
ShaderComponent$z as Glow,
|
|
8189
|
+
ShaderComponent$y as Godrays,
|
|
8190
|
+
ShaderComponent$x as Grayscale,
|
|
8191
|
+
ShaderComponent$w as Grid,
|
|
8192
|
+
ShaderComponent$v as GridDistortion,
|
|
8193
|
+
ShaderComponent$u as Group,
|
|
8194
|
+
ShaderComponent$t as Halftone,
|
|
8195
|
+
ShaderComponent$s as HueShift,
|
|
8196
|
+
ShaderComponent$r as ImageTexture,
|
|
8197
|
+
ShaderComponent$q as Invert,
|
|
8198
|
+
ShaderComponent$p as LinearBlur,
|
|
8199
|
+
ShaderComponent$o as LinearGradient,
|
|
8200
|
+
ShaderComponent$n as Liquify,
|
|
8201
|
+
ShaderComponent$m as Pixelate,
|
|
8202
|
+
ShaderComponent$l as PolarCoordinates,
|
|
8203
|
+
ShaderComponent$k as Posterize,
|
|
8204
|
+
ShaderComponent$j as ProgressiveBlur,
|
|
8205
|
+
ShaderComponent$i as RadialGradient,
|
|
8206
|
+
ShaderComponent$h as RectangularCoordinates,
|
|
8207
|
+
ShaderComponent$g as Ripples,
|
|
8208
|
+
ShaderComponent$f as Saturation,
|
|
7928
8209
|
Shader,
|
|
8210
|
+
ShaderComponent$e as Sharpness,
|
|
7929
8211
|
ShaderComponent$d as SimplexNoise,
|
|
7930
8212
|
ShaderComponent$c as SineWave,
|
|
7931
8213
|
ShaderComponent$b as SolidColor,
|