shaders 2.2.38 → 2.2.40
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/Tint-BUFsUBqI.js +56 -0
- package/dist/core/index.js +19 -17
- package/dist/core/shaderRegistry.d.ts.map +1 -1
- package/dist/core/shaders/Tint/index.d.ts +29 -0
- package/dist/core/shaders/Tint/index.d.ts.map +1 -0
- package/dist/core/shaders/Tint/index.js +3 -0
- 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/Tint.d.ts +31 -0
- package/dist/react/components/Tint.d.ts.map +1 -0
- package/dist/react/{generatePresetCode-CPcLELa5.js → generatePresetCode-BCeSxN_V.js} +8 -0
- package/dist/react/index.d.ts +1 -0
- package/dist/react/index.d.ts.map +1 -1
- package/dist/react/index.js +549 -410
- package/dist/react/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/react/utils/generatePresetCode.js +1 -1
- package/dist/registry.js +71 -0
- package/dist/solid/components/AngularBlur.d.ts.map +1 -1
- package/dist/solid/components/Ascii.d.ts.map +1 -1
- package/dist/solid/components/Beam.d.ts.map +1 -1
- package/dist/solid/components/Blob.d.ts.map +1 -1
- package/dist/solid/components/Blur.d.ts.map +1 -1
- package/dist/solid/components/BrightnessContrast.d.ts.map +1 -1
- package/dist/solid/components/Bulge.d.ts.map +1 -1
- package/dist/solid/components/CRTScreen.d.ts.map +1 -1
- package/dist/solid/components/ChannelBlur.d.ts.map +1 -1
- package/dist/solid/components/Checkerboard.d.ts.map +1 -1
- package/dist/solid/components/ChromaFlow.d.ts.map +1 -1
- package/dist/solid/components/ChromaticAberration.d.ts.map +1 -1
- package/dist/solid/components/Circle.d.ts.map +1 -1
- package/dist/solid/components/CursorTrail.d.ts.map +1 -1
- package/dist/solid/components/DiffuseBlur.d.ts.map +1 -1
- package/dist/solid/components/Dither.d.ts.map +1 -1
- package/dist/solid/components/DotGrid.d.ts.map +1 -1
- package/dist/solid/components/Duotone.d.ts.map +1 -1
- package/dist/solid/components/FilmGrain.d.ts.map +1 -1
- package/dist/solid/components/FloatingParticles.d.ts.map +1 -1
- package/dist/solid/components/GlassTiles.d.ts.map +1 -1
- package/dist/solid/components/Glow.d.ts.map +1 -1
- package/dist/solid/components/Godrays.d.ts.map +1 -1
- package/dist/solid/components/Grayscale.d.ts.map +1 -1
- package/dist/solid/components/Grid.d.ts.map +1 -1
- package/dist/solid/components/GridDistortion.d.ts.map +1 -1
- package/dist/solid/components/Group.d.ts.map +1 -1
- package/dist/solid/components/Halftone.d.ts.map +1 -1
- package/dist/solid/components/HueShift.d.ts.map +1 -1
- package/dist/solid/components/ImageTexture.d.ts.map +1 -1
- package/dist/solid/components/Invert.d.ts.map +1 -1
- package/dist/solid/components/LinearBlur.d.ts.map +1 -1
- package/dist/solid/components/LinearGradient.d.ts.map +1 -1
- package/dist/solid/components/Liquify.d.ts.map +1 -1
- package/dist/solid/components/Perspective.d.ts.map +1 -1
- package/dist/solid/components/Pixelate.d.ts.map +1 -1
- package/dist/solid/components/PolarCoordinates.d.ts.map +1 -1
- package/dist/solid/components/Posterize.d.ts.map +1 -1
- package/dist/solid/components/ProgressiveBlur.d.ts.map +1 -1
- package/dist/solid/components/RadialGradient.d.ts.map +1 -1
- package/dist/solid/components/RectangularCoordinates.d.ts.map +1 -1
- package/dist/solid/components/Ripples.d.ts.map +1 -1
- package/dist/solid/components/Saturation.d.ts.map +1 -1
- package/dist/solid/components/Sharpness.d.ts.map +1 -1
- package/dist/solid/components/SimplexNoise.d.ts.map +1 -1
- package/dist/solid/components/SineWave.d.ts.map +1 -1
- package/dist/solid/components/SolidColor.d.ts.map +1 -1
- package/dist/solid/components/Spherize.d.ts.map +1 -1
- package/dist/solid/components/Spiral.d.ts.map +1 -1
- package/dist/solid/components/Strands.d.ts.map +1 -1
- package/dist/solid/components/Stretch.d.ts.map +1 -1
- package/dist/solid/components/Swirl.d.ts.map +1 -1
- package/dist/solid/components/TiltShift.d.ts.map +1 -1
- package/dist/solid/components/Tint.d.ts +28 -0
- package/dist/solid/components/Tint.d.ts.map +1 -0
- package/dist/solid/components/Tritone.d.ts.map +1 -1
- package/dist/solid/components/Twirl.d.ts.map +1 -1
- package/dist/solid/components/Vibrance.d.ts.map +1 -1
- package/dist/solid/components/WaveDistortion.d.ts.map +1 -1
- package/dist/solid/components/ZoomBlur.d.ts.map +1 -1
- package/dist/solid/engine/Shader.d.ts.map +1 -1
- package/dist/solid/engine/component.template.d.ts.map +1 -1
- package/dist/solid/index.d.ts +1 -0
- package/dist/solid/index.d.ts.map +1 -1
- package/dist/solid/index.js +724 -583
- package/dist/solid/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/solid/utils/generatePresetCode.js +8 -0
- package/dist/svelte/components/Tint.svelte.d.ts +19 -0
- package/dist/svelte/{generatePresetCode-By5juLjK.js → generatePresetCode-BFY8wlyB.js} +8 -0
- package/dist/svelte/index.d.ts +1 -0
- package/dist/svelte/index.js +123 -12
- package/dist/svelte/utils/generatePresetCode.js +1 -1
- package/dist/vue/components/Tint.vue.d.ts +57 -0
- package/dist/vue/components/Tint.vue.d.ts.map +1 -0
- package/dist/vue/{generatePresetCode-REXb9hnv.js → generatePresetCode-D3MinGC_.js} +8 -0
- package/dist/vue/index.d.ts +1 -0
- package/dist/vue/index.d.ts.map +1 -1
- package/dist/vue/index.js +159 -36
- package/dist/vue/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/vue/utils/generatePresetCode.js +1 -1
- package/package.json +9 -1
- /package/dist/core/{Tritone-CJW8YTyB.js → Tritone-DS1QbB-T.js} +0 -0
- /package/dist/core/{Twirl-5k_XPd51.js → Twirl-w3PgFOlA.js} +0 -0
- /package/dist/core/{Vibrance-c25pkbWj.js → Vibrance--gtdjy4j.js} +0 -0
- /package/dist/core/{WaveDistortion-Bo2Ar13M.js → WaveDistortion-BfhB1rjJ.js} +0 -0
- /package/dist/core/{ZoomBlur-DEozXA8U.js → ZoomBlur-DxUocLAG.js} +0 -0
package/dist/solid/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createComponent, template, spread, mergeProps, insert, use } from "solid-js/web";
|
|
2
|
-
import { createContext, splitProps, createMemo,
|
|
2
|
+
import { createContext, splitProps, createMemo, onMount, onCleanup, useContext, createEffect } from "solid-js";
|
|
3
3
|
import { shaderRenderer, createUniformsMap } from "../core/index.js";
|
|
4
4
|
import { componentDefinition } from "../core/shaders/AngularBlur/index.js";
|
|
5
5
|
import { vec4 } from "three/tsl";
|
|
@@ -56,11 +56,12 @@ import { componentDefinition as componentDefinition$N } from "../core/shaders/St
|
|
|
56
56
|
import { componentDefinition as componentDefinition$O } from "../core/shaders/Stretch/index.js";
|
|
57
57
|
import { componentDefinition as componentDefinition$P } from "../core/shaders/Swirl/index.js";
|
|
58
58
|
import { componentDefinition as componentDefinition$Q } from "../core/shaders/TiltShift/index.js";
|
|
59
|
-
import { componentDefinition as componentDefinition$R } from "../core/shaders/
|
|
60
|
-
import { componentDefinition as componentDefinition$S } from "../core/shaders/
|
|
61
|
-
import { componentDefinition as componentDefinition$T } from "../core/shaders/
|
|
62
|
-
import { componentDefinition as componentDefinition$U } from "../core/shaders/
|
|
63
|
-
import { componentDefinition as componentDefinition$V } from "../core/shaders/
|
|
59
|
+
import { componentDefinition as componentDefinition$R } from "../core/shaders/Tint/index.js";
|
|
60
|
+
import { componentDefinition as componentDefinition$S } from "../core/shaders/Tritone/index.js";
|
|
61
|
+
import { componentDefinition as componentDefinition$T } from "../core/shaders/Twirl/index.js";
|
|
62
|
+
import { componentDefinition as componentDefinition$U } from "../core/shaders/Vibrance/index.js";
|
|
63
|
+
import { componentDefinition as componentDefinition$V } from "../core/shaders/WaveDistortion/index.js";
|
|
64
|
+
import { componentDefinition as componentDefinition$W } from "../core/shaders/ZoomBlur/index.js";
|
|
64
65
|
import { generatePresetCode } from "./utils/generatePresetCode.js";
|
|
65
66
|
var _tmpl$ = /* @__PURE__ */ template(`<div><canvas data-renderer=shaders style=width:100%;height:100%;display:block>`);
|
|
66
67
|
const ShaderContext = createContext();
|
|
@@ -114,7 +115,6 @@ function Shader(allProps) {
|
|
|
114
115
|
shaderUniformUpdate: uniformUpdate,
|
|
115
116
|
shaderMetadataUpdate: metadataUpdate
|
|
116
117
|
}));
|
|
117
|
-
const resolved = children(() => props.children);
|
|
118
118
|
const initializeRenderer = async () => {
|
|
119
119
|
const canvas = canvasRef;
|
|
120
120
|
if (!canvas || isInitialized || isInitializing) {
|
|
@@ -230,7 +230,7 @@ function Shader(allProps) {
|
|
|
230
230
|
}, domProps), false, true);
|
|
231
231
|
var _ref$2 = canvasRef;
|
|
232
232
|
typeof _ref$2 === "function" ? use(_ref$2, _el$2) : canvasRef = _el$2;
|
|
233
|
-
insert(_el$,
|
|
233
|
+
insert(_el$, () => props.children, null);
|
|
234
234
|
return _el$;
|
|
235
235
|
}
|
|
236
236
|
});
|
|
@@ -242,7 +242,7 @@ function useShaderContext() {
|
|
|
242
242
|
}
|
|
243
243
|
return ctx;
|
|
244
244
|
}
|
|
245
|
-
const DEFAULT_TRANSFORM$
|
|
245
|
+
const DEFAULT_TRANSFORM$W = {
|
|
246
246
|
offsetX: 0,
|
|
247
247
|
offsetY: 0,
|
|
248
248
|
rotation: 0,
|
|
@@ -251,7 +251,7 @@ const DEFAULT_TRANSFORM$V = {
|
|
|
251
251
|
anchorY: 0.5,
|
|
252
252
|
edges: "transparent"
|
|
253
253
|
};
|
|
254
|
-
const defaultProps$
|
|
254
|
+
const defaultProps$W = {
|
|
255
255
|
blendMode: "normal",
|
|
256
256
|
renderOrder: 0,
|
|
257
257
|
visible: true
|
|
@@ -261,6 +261,146 @@ const defaultProps$V = {
|
|
|
261
261
|
try {
|
|
262
262
|
if (componentDefinition && componentDefinition.props) {
|
|
263
263
|
Object.entries(componentDefinition.props).forEach(([key, config]) => {
|
|
264
|
+
const propConfig = config;
|
|
265
|
+
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
266
|
+
defaultProps$W[key] = propConfig.default;
|
|
267
|
+
}
|
|
268
|
+
});
|
|
269
|
+
}
|
|
270
|
+
} catch (e) {
|
|
271
|
+
console.warn("Error extracting default props:", e);
|
|
272
|
+
}
|
|
273
|
+
function ShaderComponent$W(props) {
|
|
274
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
275
|
+
const context = useShaderContext();
|
|
276
|
+
const {
|
|
277
|
+
shaderParentId: parentId,
|
|
278
|
+
shaderNodeRegister: parentRegister,
|
|
279
|
+
shaderUniformUpdate: parentUniformUpdate,
|
|
280
|
+
shaderMetadataUpdate: parentMetadataUpdate
|
|
281
|
+
} = context;
|
|
282
|
+
const instanceId = props.id || `${componentDefinition.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
283
|
+
const effectiveProps = createMemo(() => {
|
|
284
|
+
let baseProps = {
|
|
285
|
+
...defaultProps$W
|
|
286
|
+
};
|
|
287
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
288
|
+
if (value !== void 0) {
|
|
289
|
+
baseProps[key] = value;
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
return baseProps;
|
|
293
|
+
});
|
|
294
|
+
const effectiveTransform = createMemo(() => ({
|
|
295
|
+
...DEFAULT_TRANSFORM$W,
|
|
296
|
+
...props.transform
|
|
297
|
+
}));
|
|
298
|
+
let uniformsMap = null;
|
|
299
|
+
const getUniformsMap = () => {
|
|
300
|
+
if (!uniformsMap) {
|
|
301
|
+
uniformsMap = createUniformsMap(componentDefinition, effectiveProps(), instanceId);
|
|
302
|
+
}
|
|
303
|
+
return uniformsMap;
|
|
304
|
+
};
|
|
305
|
+
const childContextValue = createMemo(() => ({
|
|
306
|
+
...context,
|
|
307
|
+
shaderParentId: instanceId
|
|
308
|
+
}));
|
|
309
|
+
let isRegistered = false;
|
|
310
|
+
onMount(() => {
|
|
311
|
+
const uniforms = getUniformsMap();
|
|
312
|
+
if (!uniforms) return;
|
|
313
|
+
try {
|
|
314
|
+
const metadata = {
|
|
315
|
+
blendMode: props.blendMode || "normal",
|
|
316
|
+
opacity: props.opacity,
|
|
317
|
+
visible: props.visible === false ? false : true,
|
|
318
|
+
id: props.id,
|
|
319
|
+
mask: props.maskSource ? {
|
|
320
|
+
source: props.maskSource,
|
|
321
|
+
type: props.maskType || "alpha"
|
|
322
|
+
} : void 0,
|
|
323
|
+
renderOrder: props.renderOrder || 0,
|
|
324
|
+
transform: effectiveTransform()
|
|
325
|
+
};
|
|
326
|
+
parentRegister(instanceId, componentDefinition.fragmentNode, parentId, metadata, uniforms, componentDefinition);
|
|
327
|
+
isRegistered = true;
|
|
328
|
+
} catch (error) {
|
|
329
|
+
console.error("Error registering shader node:", error);
|
|
330
|
+
}
|
|
331
|
+
});
|
|
332
|
+
onCleanup(() => {
|
|
333
|
+
isRegistered = false;
|
|
334
|
+
parentRegister(instanceId, null, null, null, null);
|
|
335
|
+
});
|
|
336
|
+
createEffect(() => {
|
|
337
|
+
if (!isRegistered) return;
|
|
338
|
+
const uniforms = getUniformsMap();
|
|
339
|
+
if (!uniforms) return;
|
|
340
|
+
try {
|
|
341
|
+
const props_snapshot = effectiveProps();
|
|
342
|
+
Object.entries(uniforms).forEach(([propName, uniformData]) => {
|
|
343
|
+
if (!uniformData || typeof uniformData !== "object") return;
|
|
344
|
+
const {
|
|
345
|
+
uniform
|
|
346
|
+
} = uniformData;
|
|
347
|
+
if ((uniform == null ? void 0 : uniform.value) !== void 0 && propName in props_snapshot) {
|
|
348
|
+
const newValue = props_snapshot[propName];
|
|
349
|
+
parentUniformUpdate(instanceId, propName, newValue);
|
|
350
|
+
}
|
|
351
|
+
});
|
|
352
|
+
} catch (error) {
|
|
353
|
+
console.error("Error updating uniforms:", error);
|
|
354
|
+
}
|
|
355
|
+
});
|
|
356
|
+
createEffect(() => {
|
|
357
|
+
if (!isRegistered) return;
|
|
358
|
+
try {
|
|
359
|
+
const metadata = {
|
|
360
|
+
blendMode: props.blendMode || "normal",
|
|
361
|
+
opacity: props.opacity,
|
|
362
|
+
visible: props.visible === false ? false : true,
|
|
363
|
+
id: props.id,
|
|
364
|
+
mask: props.maskSource ? {
|
|
365
|
+
source: props.maskSource,
|
|
366
|
+
type: props.maskType || "alpha"
|
|
367
|
+
} : void 0,
|
|
368
|
+
renderOrder: props.renderOrder || 0,
|
|
369
|
+
transform: effectiveTransform()
|
|
370
|
+
};
|
|
371
|
+
parentMetadataUpdate(instanceId, metadata);
|
|
372
|
+
} catch (error) {
|
|
373
|
+
console.error("Error updating metadata:", error);
|
|
374
|
+
}
|
|
375
|
+
});
|
|
376
|
+
return createComponent(ShaderContext.Provider, {
|
|
377
|
+
get value() {
|
|
378
|
+
return childContextValue();
|
|
379
|
+
},
|
|
380
|
+
get children() {
|
|
381
|
+
return local.children;
|
|
382
|
+
}
|
|
383
|
+
});
|
|
384
|
+
}
|
|
385
|
+
const DEFAULT_TRANSFORM$V = {
|
|
386
|
+
offsetX: 0,
|
|
387
|
+
offsetY: 0,
|
|
388
|
+
rotation: 0,
|
|
389
|
+
scale: 1,
|
|
390
|
+
anchorX: 0.5,
|
|
391
|
+
anchorY: 0.5,
|
|
392
|
+
edges: "transparent"
|
|
393
|
+
};
|
|
394
|
+
const defaultProps$V = {
|
|
395
|
+
blendMode: "normal",
|
|
396
|
+
renderOrder: 0,
|
|
397
|
+
visible: true
|
|
398
|
+
// opacity intentionally has no default - handled by renderer
|
|
399
|
+
// transform intentionally has no default - handled by effectiveTransform
|
|
400
|
+
};
|
|
401
|
+
try {
|
|
402
|
+
if (componentDefinition$1 && componentDefinition$1.props) {
|
|
403
|
+
Object.entries(componentDefinition$1.props).forEach(([key, config]) => {
|
|
264
404
|
const propConfig = config;
|
|
265
405
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
266
406
|
defaultProps$V[key] = propConfig.default;
|
|
@@ -271,6 +411,7 @@ try {
|
|
|
271
411
|
console.warn("Error extracting default props:", e);
|
|
272
412
|
}
|
|
273
413
|
function ShaderComponent$V(props) {
|
|
414
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
274
415
|
const context = useShaderContext();
|
|
275
416
|
const {
|
|
276
417
|
shaderParentId: parentId,
|
|
@@ -278,13 +419,13 @@ function ShaderComponent$V(props) {
|
|
|
278
419
|
shaderUniformUpdate: parentUniformUpdate,
|
|
279
420
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
280
421
|
} = context;
|
|
281
|
-
const instanceId = props.id || `${componentDefinition.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
422
|
+
const instanceId = props.id || `${componentDefinition$1.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
282
423
|
const effectiveProps = createMemo(() => {
|
|
283
424
|
let baseProps = {
|
|
284
425
|
...defaultProps$V
|
|
285
426
|
};
|
|
286
|
-
for (const [key, value] of Object.entries(
|
|
287
|
-
if (
|
|
427
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
428
|
+
if (value !== void 0) {
|
|
288
429
|
baseProps[key] = value;
|
|
289
430
|
}
|
|
290
431
|
}
|
|
@@ -297,7 +438,7 @@ function ShaderComponent$V(props) {
|
|
|
297
438
|
let uniformsMap = null;
|
|
298
439
|
const getUniformsMap = () => {
|
|
299
440
|
if (!uniformsMap) {
|
|
300
|
-
uniformsMap = createUniformsMap(componentDefinition, effectiveProps(), instanceId);
|
|
441
|
+
uniformsMap = createUniformsMap(componentDefinition$1, effectiveProps(), instanceId);
|
|
301
442
|
}
|
|
302
443
|
return uniformsMap;
|
|
303
444
|
};
|
|
@@ -305,7 +446,6 @@ function ShaderComponent$V(props) {
|
|
|
305
446
|
...context,
|
|
306
447
|
shaderParentId: instanceId
|
|
307
448
|
}));
|
|
308
|
-
const resolved = children(() => props.children);
|
|
309
449
|
let isRegistered = false;
|
|
310
450
|
onMount(() => {
|
|
311
451
|
const uniforms = getUniformsMap();
|
|
@@ -323,7 +463,7 @@ function ShaderComponent$V(props) {
|
|
|
323
463
|
renderOrder: props.renderOrder || 0,
|
|
324
464
|
transform: effectiveTransform()
|
|
325
465
|
};
|
|
326
|
-
parentRegister(instanceId, componentDefinition.fragmentNode, parentId, metadata, uniforms, componentDefinition);
|
|
466
|
+
parentRegister(instanceId, componentDefinition$1.fragmentNode, parentId, metadata, uniforms, componentDefinition$1);
|
|
327
467
|
isRegistered = true;
|
|
328
468
|
} catch (error) {
|
|
329
469
|
console.error("Error registering shader node:", error);
|
|
@@ -378,7 +518,7 @@ function ShaderComponent$V(props) {
|
|
|
378
518
|
return childContextValue();
|
|
379
519
|
},
|
|
380
520
|
get children() {
|
|
381
|
-
return
|
|
521
|
+
return local.children;
|
|
382
522
|
}
|
|
383
523
|
});
|
|
384
524
|
}
|
|
@@ -399,8 +539,8 @@ const defaultProps$U = {
|
|
|
399
539
|
// transform intentionally has no default - handled by effectiveTransform
|
|
400
540
|
};
|
|
401
541
|
try {
|
|
402
|
-
if (componentDefinition$
|
|
403
|
-
Object.entries(componentDefinition$
|
|
542
|
+
if (componentDefinition$2 && componentDefinition$2.props) {
|
|
543
|
+
Object.entries(componentDefinition$2.props).forEach(([key, config]) => {
|
|
404
544
|
const propConfig = config;
|
|
405
545
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
406
546
|
defaultProps$U[key] = propConfig.default;
|
|
@@ -411,6 +551,7 @@ try {
|
|
|
411
551
|
console.warn("Error extracting default props:", e);
|
|
412
552
|
}
|
|
413
553
|
function ShaderComponent$U(props) {
|
|
554
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
414
555
|
const context = useShaderContext();
|
|
415
556
|
const {
|
|
416
557
|
shaderParentId: parentId,
|
|
@@ -418,13 +559,13 @@ function ShaderComponent$U(props) {
|
|
|
418
559
|
shaderUniformUpdate: parentUniformUpdate,
|
|
419
560
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
420
561
|
} = context;
|
|
421
|
-
const instanceId = props.id || `${componentDefinition$
|
|
562
|
+
const instanceId = props.id || `${componentDefinition$2.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
422
563
|
const effectiveProps = createMemo(() => {
|
|
423
564
|
let baseProps = {
|
|
424
565
|
...defaultProps$U
|
|
425
566
|
};
|
|
426
|
-
for (const [key, value] of Object.entries(
|
|
427
|
-
if (
|
|
567
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
568
|
+
if (value !== void 0) {
|
|
428
569
|
baseProps[key] = value;
|
|
429
570
|
}
|
|
430
571
|
}
|
|
@@ -437,7 +578,7 @@ function ShaderComponent$U(props) {
|
|
|
437
578
|
let uniformsMap = null;
|
|
438
579
|
const getUniformsMap = () => {
|
|
439
580
|
if (!uniformsMap) {
|
|
440
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
581
|
+
uniformsMap = createUniformsMap(componentDefinition$2, effectiveProps(), instanceId);
|
|
441
582
|
}
|
|
442
583
|
return uniformsMap;
|
|
443
584
|
};
|
|
@@ -445,7 +586,6 @@ function ShaderComponent$U(props) {
|
|
|
445
586
|
...context,
|
|
446
587
|
shaderParentId: instanceId
|
|
447
588
|
}));
|
|
448
|
-
const resolved = children(() => props.children);
|
|
449
589
|
let isRegistered = false;
|
|
450
590
|
onMount(() => {
|
|
451
591
|
const uniforms = getUniformsMap();
|
|
@@ -463,7 +603,7 @@ function ShaderComponent$U(props) {
|
|
|
463
603
|
renderOrder: props.renderOrder || 0,
|
|
464
604
|
transform: effectiveTransform()
|
|
465
605
|
};
|
|
466
|
-
parentRegister(instanceId, componentDefinition$
|
|
606
|
+
parentRegister(instanceId, componentDefinition$2.fragmentNode, parentId, metadata, uniforms, componentDefinition$2);
|
|
467
607
|
isRegistered = true;
|
|
468
608
|
} catch (error) {
|
|
469
609
|
console.error("Error registering shader node:", error);
|
|
@@ -518,7 +658,7 @@ function ShaderComponent$U(props) {
|
|
|
518
658
|
return childContextValue();
|
|
519
659
|
},
|
|
520
660
|
get children() {
|
|
521
|
-
return
|
|
661
|
+
return local.children;
|
|
522
662
|
}
|
|
523
663
|
});
|
|
524
664
|
}
|
|
@@ -539,8 +679,8 @@ const defaultProps$T = {
|
|
|
539
679
|
// transform intentionally has no default - handled by effectiveTransform
|
|
540
680
|
};
|
|
541
681
|
try {
|
|
542
|
-
if (componentDefinition$
|
|
543
|
-
Object.entries(componentDefinition$
|
|
682
|
+
if (componentDefinition$3 && componentDefinition$3.props) {
|
|
683
|
+
Object.entries(componentDefinition$3.props).forEach(([key, config]) => {
|
|
544
684
|
const propConfig = config;
|
|
545
685
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
546
686
|
defaultProps$T[key] = propConfig.default;
|
|
@@ -551,6 +691,7 @@ try {
|
|
|
551
691
|
console.warn("Error extracting default props:", e);
|
|
552
692
|
}
|
|
553
693
|
function ShaderComponent$T(props) {
|
|
694
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
554
695
|
const context = useShaderContext();
|
|
555
696
|
const {
|
|
556
697
|
shaderParentId: parentId,
|
|
@@ -558,13 +699,13 @@ function ShaderComponent$T(props) {
|
|
|
558
699
|
shaderUniformUpdate: parentUniformUpdate,
|
|
559
700
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
560
701
|
} = context;
|
|
561
|
-
const instanceId = props.id || `${componentDefinition$
|
|
702
|
+
const instanceId = props.id || `${componentDefinition$3.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
562
703
|
const effectiveProps = createMemo(() => {
|
|
563
704
|
let baseProps = {
|
|
564
705
|
...defaultProps$T
|
|
565
706
|
};
|
|
566
|
-
for (const [key, value] of Object.entries(
|
|
567
|
-
if (
|
|
707
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
708
|
+
if (value !== void 0) {
|
|
568
709
|
baseProps[key] = value;
|
|
569
710
|
}
|
|
570
711
|
}
|
|
@@ -577,7 +718,7 @@ function ShaderComponent$T(props) {
|
|
|
577
718
|
let uniformsMap = null;
|
|
578
719
|
const getUniformsMap = () => {
|
|
579
720
|
if (!uniformsMap) {
|
|
580
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
721
|
+
uniformsMap = createUniformsMap(componentDefinition$3, effectiveProps(), instanceId);
|
|
581
722
|
}
|
|
582
723
|
return uniformsMap;
|
|
583
724
|
};
|
|
@@ -585,7 +726,6 @@ function ShaderComponent$T(props) {
|
|
|
585
726
|
...context,
|
|
586
727
|
shaderParentId: instanceId
|
|
587
728
|
}));
|
|
588
|
-
const resolved = children(() => props.children);
|
|
589
729
|
let isRegistered = false;
|
|
590
730
|
onMount(() => {
|
|
591
731
|
const uniforms = getUniformsMap();
|
|
@@ -603,7 +743,7 @@ function ShaderComponent$T(props) {
|
|
|
603
743
|
renderOrder: props.renderOrder || 0,
|
|
604
744
|
transform: effectiveTransform()
|
|
605
745
|
};
|
|
606
|
-
parentRegister(instanceId, componentDefinition$
|
|
746
|
+
parentRegister(instanceId, componentDefinition$3.fragmentNode, parentId, metadata, uniforms, componentDefinition$3);
|
|
607
747
|
isRegistered = true;
|
|
608
748
|
} catch (error) {
|
|
609
749
|
console.error("Error registering shader node:", error);
|
|
@@ -658,7 +798,7 @@ function ShaderComponent$T(props) {
|
|
|
658
798
|
return childContextValue();
|
|
659
799
|
},
|
|
660
800
|
get children() {
|
|
661
|
-
return
|
|
801
|
+
return local.children;
|
|
662
802
|
}
|
|
663
803
|
});
|
|
664
804
|
}
|
|
@@ -679,8 +819,8 @@ const defaultProps$S = {
|
|
|
679
819
|
// transform intentionally has no default - handled by effectiveTransform
|
|
680
820
|
};
|
|
681
821
|
try {
|
|
682
|
-
if (componentDefinition$
|
|
683
|
-
Object.entries(componentDefinition$
|
|
822
|
+
if (componentDefinition$4 && componentDefinition$4.props) {
|
|
823
|
+
Object.entries(componentDefinition$4.props).forEach(([key, config]) => {
|
|
684
824
|
const propConfig = config;
|
|
685
825
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
686
826
|
defaultProps$S[key] = propConfig.default;
|
|
@@ -691,6 +831,7 @@ try {
|
|
|
691
831
|
console.warn("Error extracting default props:", e);
|
|
692
832
|
}
|
|
693
833
|
function ShaderComponent$S(props) {
|
|
834
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
694
835
|
const context = useShaderContext();
|
|
695
836
|
const {
|
|
696
837
|
shaderParentId: parentId,
|
|
@@ -698,13 +839,13 @@ function ShaderComponent$S(props) {
|
|
|
698
839
|
shaderUniformUpdate: parentUniformUpdate,
|
|
699
840
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
700
841
|
} = context;
|
|
701
|
-
const instanceId = props.id || `${componentDefinition$
|
|
842
|
+
const instanceId = props.id || `${componentDefinition$4.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
702
843
|
const effectiveProps = createMemo(() => {
|
|
703
844
|
let baseProps = {
|
|
704
845
|
...defaultProps$S
|
|
705
846
|
};
|
|
706
|
-
for (const [key, value] of Object.entries(
|
|
707
|
-
if (
|
|
847
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
848
|
+
if (value !== void 0) {
|
|
708
849
|
baseProps[key] = value;
|
|
709
850
|
}
|
|
710
851
|
}
|
|
@@ -717,7 +858,7 @@ function ShaderComponent$S(props) {
|
|
|
717
858
|
let uniformsMap = null;
|
|
718
859
|
const getUniformsMap = () => {
|
|
719
860
|
if (!uniformsMap) {
|
|
720
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
861
|
+
uniformsMap = createUniformsMap(componentDefinition$4, effectiveProps(), instanceId);
|
|
721
862
|
}
|
|
722
863
|
return uniformsMap;
|
|
723
864
|
};
|
|
@@ -725,7 +866,6 @@ function ShaderComponent$S(props) {
|
|
|
725
866
|
...context,
|
|
726
867
|
shaderParentId: instanceId
|
|
727
868
|
}));
|
|
728
|
-
const resolved = children(() => props.children);
|
|
729
869
|
let isRegistered = false;
|
|
730
870
|
onMount(() => {
|
|
731
871
|
const uniforms = getUniformsMap();
|
|
@@ -743,7 +883,7 @@ function ShaderComponent$S(props) {
|
|
|
743
883
|
renderOrder: props.renderOrder || 0,
|
|
744
884
|
transform: effectiveTransform()
|
|
745
885
|
};
|
|
746
|
-
parentRegister(instanceId, componentDefinition$
|
|
886
|
+
parentRegister(instanceId, componentDefinition$4.fragmentNode, parentId, metadata, uniforms, componentDefinition$4);
|
|
747
887
|
isRegistered = true;
|
|
748
888
|
} catch (error) {
|
|
749
889
|
console.error("Error registering shader node:", error);
|
|
@@ -798,7 +938,7 @@ function ShaderComponent$S(props) {
|
|
|
798
938
|
return childContextValue();
|
|
799
939
|
},
|
|
800
940
|
get children() {
|
|
801
|
-
return
|
|
941
|
+
return local.children;
|
|
802
942
|
}
|
|
803
943
|
});
|
|
804
944
|
}
|
|
@@ -819,8 +959,8 @@ const defaultProps$R = {
|
|
|
819
959
|
// transform intentionally has no default - handled by effectiveTransform
|
|
820
960
|
};
|
|
821
961
|
try {
|
|
822
|
-
if (componentDefinition$
|
|
823
|
-
Object.entries(componentDefinition$
|
|
962
|
+
if (componentDefinition$5 && componentDefinition$5.props) {
|
|
963
|
+
Object.entries(componentDefinition$5.props).forEach(([key, config]) => {
|
|
824
964
|
const propConfig = config;
|
|
825
965
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
826
966
|
defaultProps$R[key] = propConfig.default;
|
|
@@ -831,6 +971,7 @@ try {
|
|
|
831
971
|
console.warn("Error extracting default props:", e);
|
|
832
972
|
}
|
|
833
973
|
function ShaderComponent$R(props) {
|
|
974
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
834
975
|
const context = useShaderContext();
|
|
835
976
|
const {
|
|
836
977
|
shaderParentId: parentId,
|
|
@@ -838,13 +979,13 @@ function ShaderComponent$R(props) {
|
|
|
838
979
|
shaderUniformUpdate: parentUniformUpdate,
|
|
839
980
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
840
981
|
} = context;
|
|
841
|
-
const instanceId = props.id || `${componentDefinition$
|
|
982
|
+
const instanceId = props.id || `${componentDefinition$5.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
842
983
|
const effectiveProps = createMemo(() => {
|
|
843
984
|
let baseProps = {
|
|
844
985
|
...defaultProps$R
|
|
845
986
|
};
|
|
846
|
-
for (const [key, value] of Object.entries(
|
|
847
|
-
if (
|
|
987
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
988
|
+
if (value !== void 0) {
|
|
848
989
|
baseProps[key] = value;
|
|
849
990
|
}
|
|
850
991
|
}
|
|
@@ -857,7 +998,7 @@ function ShaderComponent$R(props) {
|
|
|
857
998
|
let uniformsMap = null;
|
|
858
999
|
const getUniformsMap = () => {
|
|
859
1000
|
if (!uniformsMap) {
|
|
860
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
1001
|
+
uniformsMap = createUniformsMap(componentDefinition$5, effectiveProps(), instanceId);
|
|
861
1002
|
}
|
|
862
1003
|
return uniformsMap;
|
|
863
1004
|
};
|
|
@@ -865,7 +1006,6 @@ function ShaderComponent$R(props) {
|
|
|
865
1006
|
...context,
|
|
866
1007
|
shaderParentId: instanceId
|
|
867
1008
|
}));
|
|
868
|
-
const resolved = children(() => props.children);
|
|
869
1009
|
let isRegistered = false;
|
|
870
1010
|
onMount(() => {
|
|
871
1011
|
const uniforms = getUniformsMap();
|
|
@@ -883,7 +1023,7 @@ function ShaderComponent$R(props) {
|
|
|
883
1023
|
renderOrder: props.renderOrder || 0,
|
|
884
1024
|
transform: effectiveTransform()
|
|
885
1025
|
};
|
|
886
|
-
parentRegister(instanceId, componentDefinition$
|
|
1026
|
+
parentRegister(instanceId, componentDefinition$5.fragmentNode, parentId, metadata, uniforms, componentDefinition$5);
|
|
887
1027
|
isRegistered = true;
|
|
888
1028
|
} catch (error) {
|
|
889
1029
|
console.error("Error registering shader node:", error);
|
|
@@ -938,7 +1078,7 @@ function ShaderComponent$R(props) {
|
|
|
938
1078
|
return childContextValue();
|
|
939
1079
|
},
|
|
940
1080
|
get children() {
|
|
941
|
-
return
|
|
1081
|
+
return local.children;
|
|
942
1082
|
}
|
|
943
1083
|
});
|
|
944
1084
|
}
|
|
@@ -959,8 +1099,8 @@ const defaultProps$Q = {
|
|
|
959
1099
|
// transform intentionally has no default - handled by effectiveTransform
|
|
960
1100
|
};
|
|
961
1101
|
try {
|
|
962
|
-
if (componentDefinition$
|
|
963
|
-
Object.entries(componentDefinition$
|
|
1102
|
+
if (componentDefinition$6 && componentDefinition$6.props) {
|
|
1103
|
+
Object.entries(componentDefinition$6.props).forEach(([key, config]) => {
|
|
964
1104
|
const propConfig = config;
|
|
965
1105
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
966
1106
|
defaultProps$Q[key] = propConfig.default;
|
|
@@ -971,6 +1111,7 @@ try {
|
|
|
971
1111
|
console.warn("Error extracting default props:", e);
|
|
972
1112
|
}
|
|
973
1113
|
function ShaderComponent$Q(props) {
|
|
1114
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
974
1115
|
const context = useShaderContext();
|
|
975
1116
|
const {
|
|
976
1117
|
shaderParentId: parentId,
|
|
@@ -978,13 +1119,13 @@ function ShaderComponent$Q(props) {
|
|
|
978
1119
|
shaderUniformUpdate: parentUniformUpdate,
|
|
979
1120
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
980
1121
|
} = context;
|
|
981
|
-
const instanceId = props.id || `${componentDefinition$
|
|
1122
|
+
const instanceId = props.id || `${componentDefinition$6.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
982
1123
|
const effectiveProps = createMemo(() => {
|
|
983
1124
|
let baseProps = {
|
|
984
1125
|
...defaultProps$Q
|
|
985
1126
|
};
|
|
986
|
-
for (const [key, value] of Object.entries(
|
|
987
|
-
if (
|
|
1127
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
1128
|
+
if (value !== void 0) {
|
|
988
1129
|
baseProps[key] = value;
|
|
989
1130
|
}
|
|
990
1131
|
}
|
|
@@ -997,7 +1138,7 @@ function ShaderComponent$Q(props) {
|
|
|
997
1138
|
let uniformsMap = null;
|
|
998
1139
|
const getUniformsMap = () => {
|
|
999
1140
|
if (!uniformsMap) {
|
|
1000
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
1141
|
+
uniformsMap = createUniformsMap(componentDefinition$6, effectiveProps(), instanceId);
|
|
1001
1142
|
}
|
|
1002
1143
|
return uniformsMap;
|
|
1003
1144
|
};
|
|
@@ -1005,7 +1146,6 @@ function ShaderComponent$Q(props) {
|
|
|
1005
1146
|
...context,
|
|
1006
1147
|
shaderParentId: instanceId
|
|
1007
1148
|
}));
|
|
1008
|
-
const resolved = children(() => props.children);
|
|
1009
1149
|
let isRegistered = false;
|
|
1010
1150
|
onMount(() => {
|
|
1011
1151
|
const uniforms = getUniformsMap();
|
|
@@ -1023,7 +1163,7 @@ function ShaderComponent$Q(props) {
|
|
|
1023
1163
|
renderOrder: props.renderOrder || 0,
|
|
1024
1164
|
transform: effectiveTransform()
|
|
1025
1165
|
};
|
|
1026
|
-
parentRegister(instanceId, componentDefinition$
|
|
1166
|
+
parentRegister(instanceId, componentDefinition$6.fragmentNode, parentId, metadata, uniforms, componentDefinition$6);
|
|
1027
1167
|
isRegistered = true;
|
|
1028
1168
|
} catch (error) {
|
|
1029
1169
|
console.error("Error registering shader node:", error);
|
|
@@ -1078,7 +1218,7 @@ function ShaderComponent$Q(props) {
|
|
|
1078
1218
|
return childContextValue();
|
|
1079
1219
|
},
|
|
1080
1220
|
get children() {
|
|
1081
|
-
return
|
|
1221
|
+
return local.children;
|
|
1082
1222
|
}
|
|
1083
1223
|
});
|
|
1084
1224
|
}
|
|
@@ -1099,8 +1239,8 @@ const defaultProps$P = {
|
|
|
1099
1239
|
// transform intentionally has no default - handled by effectiveTransform
|
|
1100
1240
|
};
|
|
1101
1241
|
try {
|
|
1102
|
-
if (componentDefinition$
|
|
1103
|
-
Object.entries(componentDefinition$
|
|
1242
|
+
if (componentDefinition$7 && componentDefinition$7.props) {
|
|
1243
|
+
Object.entries(componentDefinition$7.props).forEach(([key, config]) => {
|
|
1104
1244
|
const propConfig = config;
|
|
1105
1245
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
1106
1246
|
defaultProps$P[key] = propConfig.default;
|
|
@@ -1111,6 +1251,7 @@ try {
|
|
|
1111
1251
|
console.warn("Error extracting default props:", e);
|
|
1112
1252
|
}
|
|
1113
1253
|
function ShaderComponent$P(props) {
|
|
1254
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
1114
1255
|
const context = useShaderContext();
|
|
1115
1256
|
const {
|
|
1116
1257
|
shaderParentId: parentId,
|
|
@@ -1118,13 +1259,13 @@ function ShaderComponent$P(props) {
|
|
|
1118
1259
|
shaderUniformUpdate: parentUniformUpdate,
|
|
1119
1260
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
1120
1261
|
} = context;
|
|
1121
|
-
const instanceId = props.id || `${componentDefinition$
|
|
1262
|
+
const instanceId = props.id || `${componentDefinition$7.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1122
1263
|
const effectiveProps = createMemo(() => {
|
|
1123
1264
|
let baseProps = {
|
|
1124
1265
|
...defaultProps$P
|
|
1125
1266
|
};
|
|
1126
|
-
for (const [key, value] of Object.entries(
|
|
1127
|
-
if (
|
|
1267
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
1268
|
+
if (value !== void 0) {
|
|
1128
1269
|
baseProps[key] = value;
|
|
1129
1270
|
}
|
|
1130
1271
|
}
|
|
@@ -1137,7 +1278,7 @@ function ShaderComponent$P(props) {
|
|
|
1137
1278
|
let uniformsMap = null;
|
|
1138
1279
|
const getUniformsMap = () => {
|
|
1139
1280
|
if (!uniformsMap) {
|
|
1140
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
1281
|
+
uniformsMap = createUniformsMap(componentDefinition$7, effectiveProps(), instanceId);
|
|
1141
1282
|
}
|
|
1142
1283
|
return uniformsMap;
|
|
1143
1284
|
};
|
|
@@ -1145,7 +1286,6 @@ function ShaderComponent$P(props) {
|
|
|
1145
1286
|
...context,
|
|
1146
1287
|
shaderParentId: instanceId
|
|
1147
1288
|
}));
|
|
1148
|
-
const resolved = children(() => props.children);
|
|
1149
1289
|
let isRegistered = false;
|
|
1150
1290
|
onMount(() => {
|
|
1151
1291
|
const uniforms = getUniformsMap();
|
|
@@ -1163,7 +1303,7 @@ function ShaderComponent$P(props) {
|
|
|
1163
1303
|
renderOrder: props.renderOrder || 0,
|
|
1164
1304
|
transform: effectiveTransform()
|
|
1165
1305
|
};
|
|
1166
|
-
parentRegister(instanceId, componentDefinition$
|
|
1306
|
+
parentRegister(instanceId, componentDefinition$7.fragmentNode, parentId, metadata, uniforms, componentDefinition$7);
|
|
1167
1307
|
isRegistered = true;
|
|
1168
1308
|
} catch (error) {
|
|
1169
1309
|
console.error("Error registering shader node:", error);
|
|
@@ -1218,7 +1358,7 @@ function ShaderComponent$P(props) {
|
|
|
1218
1358
|
return childContextValue();
|
|
1219
1359
|
},
|
|
1220
1360
|
get children() {
|
|
1221
|
-
return
|
|
1361
|
+
return local.children;
|
|
1222
1362
|
}
|
|
1223
1363
|
});
|
|
1224
1364
|
}
|
|
@@ -1239,8 +1379,8 @@ const defaultProps$O = {
|
|
|
1239
1379
|
// transform intentionally has no default - handled by effectiveTransform
|
|
1240
1380
|
};
|
|
1241
1381
|
try {
|
|
1242
|
-
if (componentDefinition$
|
|
1243
|
-
Object.entries(componentDefinition$
|
|
1382
|
+
if (componentDefinition$8 && componentDefinition$8.props) {
|
|
1383
|
+
Object.entries(componentDefinition$8.props).forEach(([key, config]) => {
|
|
1244
1384
|
const propConfig = config;
|
|
1245
1385
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
1246
1386
|
defaultProps$O[key] = propConfig.default;
|
|
@@ -1251,6 +1391,7 @@ try {
|
|
|
1251
1391
|
console.warn("Error extracting default props:", e);
|
|
1252
1392
|
}
|
|
1253
1393
|
function ShaderComponent$O(props) {
|
|
1394
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
1254
1395
|
const context = useShaderContext();
|
|
1255
1396
|
const {
|
|
1256
1397
|
shaderParentId: parentId,
|
|
@@ -1258,13 +1399,13 @@ function ShaderComponent$O(props) {
|
|
|
1258
1399
|
shaderUniformUpdate: parentUniformUpdate,
|
|
1259
1400
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
1260
1401
|
} = context;
|
|
1261
|
-
const instanceId = props.id || `${componentDefinition$
|
|
1402
|
+
const instanceId = props.id || `${componentDefinition$8.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1262
1403
|
const effectiveProps = createMemo(() => {
|
|
1263
1404
|
let baseProps = {
|
|
1264
1405
|
...defaultProps$O
|
|
1265
1406
|
};
|
|
1266
|
-
for (const [key, value] of Object.entries(
|
|
1267
|
-
if (
|
|
1407
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
1408
|
+
if (value !== void 0) {
|
|
1268
1409
|
baseProps[key] = value;
|
|
1269
1410
|
}
|
|
1270
1411
|
}
|
|
@@ -1277,7 +1418,7 @@ function ShaderComponent$O(props) {
|
|
|
1277
1418
|
let uniformsMap = null;
|
|
1278
1419
|
const getUniformsMap = () => {
|
|
1279
1420
|
if (!uniformsMap) {
|
|
1280
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
1421
|
+
uniformsMap = createUniformsMap(componentDefinition$8, effectiveProps(), instanceId);
|
|
1281
1422
|
}
|
|
1282
1423
|
return uniformsMap;
|
|
1283
1424
|
};
|
|
@@ -1285,7 +1426,6 @@ function ShaderComponent$O(props) {
|
|
|
1285
1426
|
...context,
|
|
1286
1427
|
shaderParentId: instanceId
|
|
1287
1428
|
}));
|
|
1288
|
-
const resolved = children(() => props.children);
|
|
1289
1429
|
let isRegistered = false;
|
|
1290
1430
|
onMount(() => {
|
|
1291
1431
|
const uniforms = getUniformsMap();
|
|
@@ -1303,7 +1443,7 @@ function ShaderComponent$O(props) {
|
|
|
1303
1443
|
renderOrder: props.renderOrder || 0,
|
|
1304
1444
|
transform: effectiveTransform()
|
|
1305
1445
|
};
|
|
1306
|
-
parentRegister(instanceId, componentDefinition$
|
|
1446
|
+
parentRegister(instanceId, componentDefinition$8.fragmentNode, parentId, metadata, uniforms, componentDefinition$8);
|
|
1307
1447
|
isRegistered = true;
|
|
1308
1448
|
} catch (error) {
|
|
1309
1449
|
console.error("Error registering shader node:", error);
|
|
@@ -1358,7 +1498,7 @@ function ShaderComponent$O(props) {
|
|
|
1358
1498
|
return childContextValue();
|
|
1359
1499
|
},
|
|
1360
1500
|
get children() {
|
|
1361
|
-
return
|
|
1501
|
+
return local.children;
|
|
1362
1502
|
}
|
|
1363
1503
|
});
|
|
1364
1504
|
}
|
|
@@ -1379,8 +1519,8 @@ const defaultProps$N = {
|
|
|
1379
1519
|
// transform intentionally has no default - handled by effectiveTransform
|
|
1380
1520
|
};
|
|
1381
1521
|
try {
|
|
1382
|
-
if (componentDefinition$
|
|
1383
|
-
Object.entries(componentDefinition$
|
|
1522
|
+
if (componentDefinition$9 && componentDefinition$9.props) {
|
|
1523
|
+
Object.entries(componentDefinition$9.props).forEach(([key, config]) => {
|
|
1384
1524
|
const propConfig = config;
|
|
1385
1525
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
1386
1526
|
defaultProps$N[key] = propConfig.default;
|
|
@@ -1391,6 +1531,7 @@ try {
|
|
|
1391
1531
|
console.warn("Error extracting default props:", e);
|
|
1392
1532
|
}
|
|
1393
1533
|
function ShaderComponent$N(props) {
|
|
1534
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
1394
1535
|
const context = useShaderContext();
|
|
1395
1536
|
const {
|
|
1396
1537
|
shaderParentId: parentId,
|
|
@@ -1398,13 +1539,13 @@ function ShaderComponent$N(props) {
|
|
|
1398
1539
|
shaderUniformUpdate: parentUniformUpdate,
|
|
1399
1540
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
1400
1541
|
} = context;
|
|
1401
|
-
const instanceId = props.id || `${componentDefinition$
|
|
1542
|
+
const instanceId = props.id || `${componentDefinition$9.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1402
1543
|
const effectiveProps = createMemo(() => {
|
|
1403
1544
|
let baseProps = {
|
|
1404
1545
|
...defaultProps$N
|
|
1405
1546
|
};
|
|
1406
|
-
for (const [key, value] of Object.entries(
|
|
1407
|
-
if (
|
|
1547
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
1548
|
+
if (value !== void 0) {
|
|
1408
1549
|
baseProps[key] = value;
|
|
1409
1550
|
}
|
|
1410
1551
|
}
|
|
@@ -1417,7 +1558,7 @@ function ShaderComponent$N(props) {
|
|
|
1417
1558
|
let uniformsMap = null;
|
|
1418
1559
|
const getUniformsMap = () => {
|
|
1419
1560
|
if (!uniformsMap) {
|
|
1420
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
1561
|
+
uniformsMap = createUniformsMap(componentDefinition$9, effectiveProps(), instanceId);
|
|
1421
1562
|
}
|
|
1422
1563
|
return uniformsMap;
|
|
1423
1564
|
};
|
|
@@ -1425,7 +1566,6 @@ function ShaderComponent$N(props) {
|
|
|
1425
1566
|
...context,
|
|
1426
1567
|
shaderParentId: instanceId
|
|
1427
1568
|
}));
|
|
1428
|
-
const resolved = children(() => props.children);
|
|
1429
1569
|
let isRegistered = false;
|
|
1430
1570
|
onMount(() => {
|
|
1431
1571
|
const uniforms = getUniformsMap();
|
|
@@ -1443,7 +1583,7 @@ function ShaderComponent$N(props) {
|
|
|
1443
1583
|
renderOrder: props.renderOrder || 0,
|
|
1444
1584
|
transform: effectiveTransform()
|
|
1445
1585
|
};
|
|
1446
|
-
parentRegister(instanceId, componentDefinition$
|
|
1586
|
+
parentRegister(instanceId, componentDefinition$9.fragmentNode, parentId, metadata, uniforms, componentDefinition$9);
|
|
1447
1587
|
isRegistered = true;
|
|
1448
1588
|
} catch (error) {
|
|
1449
1589
|
console.error("Error registering shader node:", error);
|
|
@@ -1498,7 +1638,7 @@ function ShaderComponent$N(props) {
|
|
|
1498
1638
|
return childContextValue();
|
|
1499
1639
|
},
|
|
1500
1640
|
get children() {
|
|
1501
|
-
return
|
|
1641
|
+
return local.children;
|
|
1502
1642
|
}
|
|
1503
1643
|
});
|
|
1504
1644
|
}
|
|
@@ -1519,8 +1659,8 @@ const defaultProps$M = {
|
|
|
1519
1659
|
// transform intentionally has no default - handled by effectiveTransform
|
|
1520
1660
|
};
|
|
1521
1661
|
try {
|
|
1522
|
-
if (componentDefinition$
|
|
1523
|
-
Object.entries(componentDefinition$
|
|
1662
|
+
if (componentDefinition$a && componentDefinition$a.props) {
|
|
1663
|
+
Object.entries(componentDefinition$a.props).forEach(([key, config]) => {
|
|
1524
1664
|
const propConfig = config;
|
|
1525
1665
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
1526
1666
|
defaultProps$M[key] = propConfig.default;
|
|
@@ -1531,6 +1671,7 @@ try {
|
|
|
1531
1671
|
console.warn("Error extracting default props:", e);
|
|
1532
1672
|
}
|
|
1533
1673
|
function ShaderComponent$M(props) {
|
|
1674
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
1534
1675
|
const context = useShaderContext();
|
|
1535
1676
|
const {
|
|
1536
1677
|
shaderParentId: parentId,
|
|
@@ -1538,13 +1679,13 @@ function ShaderComponent$M(props) {
|
|
|
1538
1679
|
shaderUniformUpdate: parentUniformUpdate,
|
|
1539
1680
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
1540
1681
|
} = context;
|
|
1541
|
-
const instanceId = props.id || `${componentDefinition$
|
|
1682
|
+
const instanceId = props.id || `${componentDefinition$a.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1542
1683
|
const effectiveProps = createMemo(() => {
|
|
1543
1684
|
let baseProps = {
|
|
1544
1685
|
...defaultProps$M
|
|
1545
1686
|
};
|
|
1546
|
-
for (const [key, value] of Object.entries(
|
|
1547
|
-
if (
|
|
1687
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
1688
|
+
if (value !== void 0) {
|
|
1548
1689
|
baseProps[key] = value;
|
|
1549
1690
|
}
|
|
1550
1691
|
}
|
|
@@ -1557,7 +1698,7 @@ function ShaderComponent$M(props) {
|
|
|
1557
1698
|
let uniformsMap = null;
|
|
1558
1699
|
const getUniformsMap = () => {
|
|
1559
1700
|
if (!uniformsMap) {
|
|
1560
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
1701
|
+
uniformsMap = createUniformsMap(componentDefinition$a, effectiveProps(), instanceId);
|
|
1561
1702
|
}
|
|
1562
1703
|
return uniformsMap;
|
|
1563
1704
|
};
|
|
@@ -1565,7 +1706,6 @@ function ShaderComponent$M(props) {
|
|
|
1565
1706
|
...context,
|
|
1566
1707
|
shaderParentId: instanceId
|
|
1567
1708
|
}));
|
|
1568
|
-
const resolved = children(() => props.children);
|
|
1569
1709
|
let isRegistered = false;
|
|
1570
1710
|
onMount(() => {
|
|
1571
1711
|
const uniforms = getUniformsMap();
|
|
@@ -1583,7 +1723,7 @@ function ShaderComponent$M(props) {
|
|
|
1583
1723
|
renderOrder: props.renderOrder || 0,
|
|
1584
1724
|
transform: effectiveTransform()
|
|
1585
1725
|
};
|
|
1586
|
-
parentRegister(instanceId, componentDefinition$
|
|
1726
|
+
parentRegister(instanceId, componentDefinition$a.fragmentNode, parentId, metadata, uniforms, componentDefinition$a);
|
|
1587
1727
|
isRegistered = true;
|
|
1588
1728
|
} catch (error) {
|
|
1589
1729
|
console.error("Error registering shader node:", error);
|
|
@@ -1638,7 +1778,7 @@ function ShaderComponent$M(props) {
|
|
|
1638
1778
|
return childContextValue();
|
|
1639
1779
|
},
|
|
1640
1780
|
get children() {
|
|
1641
|
-
return
|
|
1781
|
+
return local.children;
|
|
1642
1782
|
}
|
|
1643
1783
|
});
|
|
1644
1784
|
}
|
|
@@ -1659,8 +1799,8 @@ const defaultProps$L = {
|
|
|
1659
1799
|
// transform intentionally has no default - handled by effectiveTransform
|
|
1660
1800
|
};
|
|
1661
1801
|
try {
|
|
1662
|
-
if (componentDefinition$
|
|
1663
|
-
Object.entries(componentDefinition$
|
|
1802
|
+
if (componentDefinition$b && componentDefinition$b.props) {
|
|
1803
|
+
Object.entries(componentDefinition$b.props).forEach(([key, config]) => {
|
|
1664
1804
|
const propConfig = config;
|
|
1665
1805
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
1666
1806
|
defaultProps$L[key] = propConfig.default;
|
|
@@ -1671,6 +1811,7 @@ try {
|
|
|
1671
1811
|
console.warn("Error extracting default props:", e);
|
|
1672
1812
|
}
|
|
1673
1813
|
function ShaderComponent$L(props) {
|
|
1814
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
1674
1815
|
const context = useShaderContext();
|
|
1675
1816
|
const {
|
|
1676
1817
|
shaderParentId: parentId,
|
|
@@ -1678,13 +1819,13 @@ function ShaderComponent$L(props) {
|
|
|
1678
1819
|
shaderUniformUpdate: parentUniformUpdate,
|
|
1679
1820
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
1680
1821
|
} = context;
|
|
1681
|
-
const instanceId = props.id || `${componentDefinition$
|
|
1822
|
+
const instanceId = props.id || `${componentDefinition$b.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1682
1823
|
const effectiveProps = createMemo(() => {
|
|
1683
1824
|
let baseProps = {
|
|
1684
1825
|
...defaultProps$L
|
|
1685
1826
|
};
|
|
1686
|
-
for (const [key, value] of Object.entries(
|
|
1687
|
-
if (
|
|
1827
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
1828
|
+
if (value !== void 0) {
|
|
1688
1829
|
baseProps[key] = value;
|
|
1689
1830
|
}
|
|
1690
1831
|
}
|
|
@@ -1697,7 +1838,7 @@ function ShaderComponent$L(props) {
|
|
|
1697
1838
|
let uniformsMap = null;
|
|
1698
1839
|
const getUniformsMap = () => {
|
|
1699
1840
|
if (!uniformsMap) {
|
|
1700
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
1841
|
+
uniformsMap = createUniformsMap(componentDefinition$b, effectiveProps(), instanceId);
|
|
1701
1842
|
}
|
|
1702
1843
|
return uniformsMap;
|
|
1703
1844
|
};
|
|
@@ -1705,7 +1846,6 @@ function ShaderComponent$L(props) {
|
|
|
1705
1846
|
...context,
|
|
1706
1847
|
shaderParentId: instanceId
|
|
1707
1848
|
}));
|
|
1708
|
-
const resolved = children(() => props.children);
|
|
1709
1849
|
let isRegistered = false;
|
|
1710
1850
|
onMount(() => {
|
|
1711
1851
|
const uniforms = getUniformsMap();
|
|
@@ -1723,7 +1863,7 @@ function ShaderComponent$L(props) {
|
|
|
1723
1863
|
renderOrder: props.renderOrder || 0,
|
|
1724
1864
|
transform: effectiveTransform()
|
|
1725
1865
|
};
|
|
1726
|
-
parentRegister(instanceId, componentDefinition$
|
|
1866
|
+
parentRegister(instanceId, componentDefinition$b.fragmentNode, parentId, metadata, uniforms, componentDefinition$b);
|
|
1727
1867
|
isRegistered = true;
|
|
1728
1868
|
} catch (error) {
|
|
1729
1869
|
console.error("Error registering shader node:", error);
|
|
@@ -1778,7 +1918,7 @@ function ShaderComponent$L(props) {
|
|
|
1778
1918
|
return childContextValue();
|
|
1779
1919
|
},
|
|
1780
1920
|
get children() {
|
|
1781
|
-
return
|
|
1921
|
+
return local.children;
|
|
1782
1922
|
}
|
|
1783
1923
|
});
|
|
1784
1924
|
}
|
|
@@ -1799,8 +1939,8 @@ const defaultProps$K = {
|
|
|
1799
1939
|
// transform intentionally has no default - handled by effectiveTransform
|
|
1800
1940
|
};
|
|
1801
1941
|
try {
|
|
1802
|
-
if (componentDefinition$
|
|
1803
|
-
Object.entries(componentDefinition$
|
|
1942
|
+
if (componentDefinition$c && componentDefinition$c.props) {
|
|
1943
|
+
Object.entries(componentDefinition$c.props).forEach(([key, config]) => {
|
|
1804
1944
|
const propConfig = config;
|
|
1805
1945
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
1806
1946
|
defaultProps$K[key] = propConfig.default;
|
|
@@ -1811,6 +1951,7 @@ try {
|
|
|
1811
1951
|
console.warn("Error extracting default props:", e);
|
|
1812
1952
|
}
|
|
1813
1953
|
function ShaderComponent$K(props) {
|
|
1954
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
1814
1955
|
const context = useShaderContext();
|
|
1815
1956
|
const {
|
|
1816
1957
|
shaderParentId: parentId,
|
|
@@ -1818,13 +1959,13 @@ function ShaderComponent$K(props) {
|
|
|
1818
1959
|
shaderUniformUpdate: parentUniformUpdate,
|
|
1819
1960
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
1820
1961
|
} = context;
|
|
1821
|
-
const instanceId = props.id || `${componentDefinition$
|
|
1962
|
+
const instanceId = props.id || `${componentDefinition$c.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1822
1963
|
const effectiveProps = createMemo(() => {
|
|
1823
1964
|
let baseProps = {
|
|
1824
1965
|
...defaultProps$K
|
|
1825
1966
|
};
|
|
1826
|
-
for (const [key, value] of Object.entries(
|
|
1827
|
-
if (
|
|
1967
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
1968
|
+
if (value !== void 0) {
|
|
1828
1969
|
baseProps[key] = value;
|
|
1829
1970
|
}
|
|
1830
1971
|
}
|
|
@@ -1837,7 +1978,7 @@ function ShaderComponent$K(props) {
|
|
|
1837
1978
|
let uniformsMap = null;
|
|
1838
1979
|
const getUniformsMap = () => {
|
|
1839
1980
|
if (!uniformsMap) {
|
|
1840
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
1981
|
+
uniformsMap = createUniformsMap(componentDefinition$c, effectiveProps(), instanceId);
|
|
1841
1982
|
}
|
|
1842
1983
|
return uniformsMap;
|
|
1843
1984
|
};
|
|
@@ -1845,7 +1986,6 @@ function ShaderComponent$K(props) {
|
|
|
1845
1986
|
...context,
|
|
1846
1987
|
shaderParentId: instanceId
|
|
1847
1988
|
}));
|
|
1848
|
-
const resolved = children(() => props.children);
|
|
1849
1989
|
let isRegistered = false;
|
|
1850
1990
|
onMount(() => {
|
|
1851
1991
|
const uniforms = getUniformsMap();
|
|
@@ -1863,7 +2003,7 @@ function ShaderComponent$K(props) {
|
|
|
1863
2003
|
renderOrder: props.renderOrder || 0,
|
|
1864
2004
|
transform: effectiveTransform()
|
|
1865
2005
|
};
|
|
1866
|
-
parentRegister(instanceId, componentDefinition$
|
|
2006
|
+
parentRegister(instanceId, componentDefinition$c.fragmentNode, parentId, metadata, uniforms, componentDefinition$c);
|
|
1867
2007
|
isRegistered = true;
|
|
1868
2008
|
} catch (error) {
|
|
1869
2009
|
console.error("Error registering shader node:", error);
|
|
@@ -1918,7 +2058,7 @@ function ShaderComponent$K(props) {
|
|
|
1918
2058
|
return childContextValue();
|
|
1919
2059
|
},
|
|
1920
2060
|
get children() {
|
|
1921
|
-
return
|
|
2061
|
+
return local.children;
|
|
1922
2062
|
}
|
|
1923
2063
|
});
|
|
1924
2064
|
}
|
|
@@ -1939,8 +2079,8 @@ const defaultProps$J = {
|
|
|
1939
2079
|
// transform intentionally has no default - handled by effectiveTransform
|
|
1940
2080
|
};
|
|
1941
2081
|
try {
|
|
1942
|
-
if (componentDefinition$
|
|
1943
|
-
Object.entries(componentDefinition$
|
|
2082
|
+
if (componentDefinition$d && componentDefinition$d.props) {
|
|
2083
|
+
Object.entries(componentDefinition$d.props).forEach(([key, config]) => {
|
|
1944
2084
|
const propConfig = config;
|
|
1945
2085
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
1946
2086
|
defaultProps$J[key] = propConfig.default;
|
|
@@ -1951,6 +2091,7 @@ try {
|
|
|
1951
2091
|
console.warn("Error extracting default props:", e);
|
|
1952
2092
|
}
|
|
1953
2093
|
function ShaderComponent$J(props) {
|
|
2094
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
1954
2095
|
const context = useShaderContext();
|
|
1955
2096
|
const {
|
|
1956
2097
|
shaderParentId: parentId,
|
|
@@ -1958,13 +2099,13 @@ function ShaderComponent$J(props) {
|
|
|
1958
2099
|
shaderUniformUpdate: parentUniformUpdate,
|
|
1959
2100
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
1960
2101
|
} = context;
|
|
1961
|
-
const instanceId = props.id || `${componentDefinition$
|
|
2102
|
+
const instanceId = props.id || `${componentDefinition$d.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1962
2103
|
const effectiveProps = createMemo(() => {
|
|
1963
2104
|
let baseProps = {
|
|
1964
2105
|
...defaultProps$J
|
|
1965
2106
|
};
|
|
1966
|
-
for (const [key, value] of Object.entries(
|
|
1967
|
-
if (
|
|
2107
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
2108
|
+
if (value !== void 0) {
|
|
1968
2109
|
baseProps[key] = value;
|
|
1969
2110
|
}
|
|
1970
2111
|
}
|
|
@@ -1977,7 +2118,7 @@ function ShaderComponent$J(props) {
|
|
|
1977
2118
|
let uniformsMap = null;
|
|
1978
2119
|
const getUniformsMap = () => {
|
|
1979
2120
|
if (!uniformsMap) {
|
|
1980
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
2121
|
+
uniformsMap = createUniformsMap(componentDefinition$d, effectiveProps(), instanceId);
|
|
1981
2122
|
}
|
|
1982
2123
|
return uniformsMap;
|
|
1983
2124
|
};
|
|
@@ -1985,7 +2126,6 @@ function ShaderComponent$J(props) {
|
|
|
1985
2126
|
...context,
|
|
1986
2127
|
shaderParentId: instanceId
|
|
1987
2128
|
}));
|
|
1988
|
-
const resolved = children(() => props.children);
|
|
1989
2129
|
let isRegistered = false;
|
|
1990
2130
|
onMount(() => {
|
|
1991
2131
|
const uniforms = getUniformsMap();
|
|
@@ -2003,7 +2143,7 @@ function ShaderComponent$J(props) {
|
|
|
2003
2143
|
renderOrder: props.renderOrder || 0,
|
|
2004
2144
|
transform: effectiveTransform()
|
|
2005
2145
|
};
|
|
2006
|
-
parentRegister(instanceId, componentDefinition$
|
|
2146
|
+
parentRegister(instanceId, componentDefinition$d.fragmentNode, parentId, metadata, uniforms, componentDefinition$d);
|
|
2007
2147
|
isRegistered = true;
|
|
2008
2148
|
} catch (error) {
|
|
2009
2149
|
console.error("Error registering shader node:", error);
|
|
@@ -2058,7 +2198,7 @@ function ShaderComponent$J(props) {
|
|
|
2058
2198
|
return childContextValue();
|
|
2059
2199
|
},
|
|
2060
2200
|
get children() {
|
|
2061
|
-
return
|
|
2201
|
+
return local.children;
|
|
2062
2202
|
}
|
|
2063
2203
|
});
|
|
2064
2204
|
}
|
|
@@ -2079,8 +2219,8 @@ const defaultProps$I = {
|
|
|
2079
2219
|
// transform intentionally has no default - handled by effectiveTransform
|
|
2080
2220
|
};
|
|
2081
2221
|
try {
|
|
2082
|
-
if (componentDefinition$
|
|
2083
|
-
Object.entries(componentDefinition$
|
|
2222
|
+
if (componentDefinition$e && componentDefinition$e.props) {
|
|
2223
|
+
Object.entries(componentDefinition$e.props).forEach(([key, config]) => {
|
|
2084
2224
|
const propConfig = config;
|
|
2085
2225
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
2086
2226
|
defaultProps$I[key] = propConfig.default;
|
|
@@ -2091,6 +2231,7 @@ try {
|
|
|
2091
2231
|
console.warn("Error extracting default props:", e);
|
|
2092
2232
|
}
|
|
2093
2233
|
function ShaderComponent$I(props) {
|
|
2234
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
2094
2235
|
const context = useShaderContext();
|
|
2095
2236
|
const {
|
|
2096
2237
|
shaderParentId: parentId,
|
|
@@ -2098,13 +2239,13 @@ function ShaderComponent$I(props) {
|
|
|
2098
2239
|
shaderUniformUpdate: parentUniformUpdate,
|
|
2099
2240
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
2100
2241
|
} = context;
|
|
2101
|
-
const instanceId = props.id || `${componentDefinition$
|
|
2242
|
+
const instanceId = props.id || `${componentDefinition$e.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2102
2243
|
const effectiveProps = createMemo(() => {
|
|
2103
2244
|
let baseProps = {
|
|
2104
2245
|
...defaultProps$I
|
|
2105
2246
|
};
|
|
2106
|
-
for (const [key, value] of Object.entries(
|
|
2107
|
-
if (
|
|
2247
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
2248
|
+
if (value !== void 0) {
|
|
2108
2249
|
baseProps[key] = value;
|
|
2109
2250
|
}
|
|
2110
2251
|
}
|
|
@@ -2117,7 +2258,7 @@ function ShaderComponent$I(props) {
|
|
|
2117
2258
|
let uniformsMap = null;
|
|
2118
2259
|
const getUniformsMap = () => {
|
|
2119
2260
|
if (!uniformsMap) {
|
|
2120
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
2261
|
+
uniformsMap = createUniformsMap(componentDefinition$e, effectiveProps(), instanceId);
|
|
2121
2262
|
}
|
|
2122
2263
|
return uniformsMap;
|
|
2123
2264
|
};
|
|
@@ -2125,7 +2266,6 @@ function ShaderComponent$I(props) {
|
|
|
2125
2266
|
...context,
|
|
2126
2267
|
shaderParentId: instanceId
|
|
2127
2268
|
}));
|
|
2128
|
-
const resolved = children(() => props.children);
|
|
2129
2269
|
let isRegistered = false;
|
|
2130
2270
|
onMount(() => {
|
|
2131
2271
|
const uniforms = getUniformsMap();
|
|
@@ -2143,7 +2283,7 @@ function ShaderComponent$I(props) {
|
|
|
2143
2283
|
renderOrder: props.renderOrder || 0,
|
|
2144
2284
|
transform: effectiveTransform()
|
|
2145
2285
|
};
|
|
2146
|
-
parentRegister(instanceId, componentDefinition$
|
|
2286
|
+
parentRegister(instanceId, componentDefinition$e.fragmentNode, parentId, metadata, uniforms, componentDefinition$e);
|
|
2147
2287
|
isRegistered = true;
|
|
2148
2288
|
} catch (error) {
|
|
2149
2289
|
console.error("Error registering shader node:", error);
|
|
@@ -2198,7 +2338,7 @@ function ShaderComponent$I(props) {
|
|
|
2198
2338
|
return childContextValue();
|
|
2199
2339
|
},
|
|
2200
2340
|
get children() {
|
|
2201
|
-
return
|
|
2341
|
+
return local.children;
|
|
2202
2342
|
}
|
|
2203
2343
|
});
|
|
2204
2344
|
}
|
|
@@ -2219,8 +2359,8 @@ const defaultProps$H = {
|
|
|
2219
2359
|
// transform intentionally has no default - handled by effectiveTransform
|
|
2220
2360
|
};
|
|
2221
2361
|
try {
|
|
2222
|
-
if (componentDefinition$
|
|
2223
|
-
Object.entries(componentDefinition$
|
|
2362
|
+
if (componentDefinition$f && componentDefinition$f.props) {
|
|
2363
|
+
Object.entries(componentDefinition$f.props).forEach(([key, config]) => {
|
|
2224
2364
|
const propConfig = config;
|
|
2225
2365
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
2226
2366
|
defaultProps$H[key] = propConfig.default;
|
|
@@ -2231,6 +2371,7 @@ try {
|
|
|
2231
2371
|
console.warn("Error extracting default props:", e);
|
|
2232
2372
|
}
|
|
2233
2373
|
function ShaderComponent$H(props) {
|
|
2374
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
2234
2375
|
const context = useShaderContext();
|
|
2235
2376
|
const {
|
|
2236
2377
|
shaderParentId: parentId,
|
|
@@ -2238,13 +2379,13 @@ function ShaderComponent$H(props) {
|
|
|
2238
2379
|
shaderUniformUpdate: parentUniformUpdate,
|
|
2239
2380
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
2240
2381
|
} = context;
|
|
2241
|
-
const instanceId = props.id || `${componentDefinition$
|
|
2382
|
+
const instanceId = props.id || `${componentDefinition$f.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2242
2383
|
const effectiveProps = createMemo(() => {
|
|
2243
2384
|
let baseProps = {
|
|
2244
2385
|
...defaultProps$H
|
|
2245
2386
|
};
|
|
2246
|
-
for (const [key, value] of Object.entries(
|
|
2247
|
-
if (
|
|
2387
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
2388
|
+
if (value !== void 0) {
|
|
2248
2389
|
baseProps[key] = value;
|
|
2249
2390
|
}
|
|
2250
2391
|
}
|
|
@@ -2257,7 +2398,7 @@ function ShaderComponent$H(props) {
|
|
|
2257
2398
|
let uniformsMap = null;
|
|
2258
2399
|
const getUniformsMap = () => {
|
|
2259
2400
|
if (!uniformsMap) {
|
|
2260
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
2401
|
+
uniformsMap = createUniformsMap(componentDefinition$f, effectiveProps(), instanceId);
|
|
2261
2402
|
}
|
|
2262
2403
|
return uniformsMap;
|
|
2263
2404
|
};
|
|
@@ -2265,7 +2406,6 @@ function ShaderComponent$H(props) {
|
|
|
2265
2406
|
...context,
|
|
2266
2407
|
shaderParentId: instanceId
|
|
2267
2408
|
}));
|
|
2268
|
-
const resolved = children(() => props.children);
|
|
2269
2409
|
let isRegistered = false;
|
|
2270
2410
|
onMount(() => {
|
|
2271
2411
|
const uniforms = getUniformsMap();
|
|
@@ -2283,7 +2423,7 @@ function ShaderComponent$H(props) {
|
|
|
2283
2423
|
renderOrder: props.renderOrder || 0,
|
|
2284
2424
|
transform: effectiveTransform()
|
|
2285
2425
|
};
|
|
2286
|
-
parentRegister(instanceId, componentDefinition$
|
|
2426
|
+
parentRegister(instanceId, componentDefinition$f.fragmentNode, parentId, metadata, uniforms, componentDefinition$f);
|
|
2287
2427
|
isRegistered = true;
|
|
2288
2428
|
} catch (error) {
|
|
2289
2429
|
console.error("Error registering shader node:", error);
|
|
@@ -2338,7 +2478,7 @@ function ShaderComponent$H(props) {
|
|
|
2338
2478
|
return childContextValue();
|
|
2339
2479
|
},
|
|
2340
2480
|
get children() {
|
|
2341
|
-
return
|
|
2481
|
+
return local.children;
|
|
2342
2482
|
}
|
|
2343
2483
|
});
|
|
2344
2484
|
}
|
|
@@ -2359,8 +2499,8 @@ const defaultProps$G = {
|
|
|
2359
2499
|
// transform intentionally has no default - handled by effectiveTransform
|
|
2360
2500
|
};
|
|
2361
2501
|
try {
|
|
2362
|
-
if (componentDefinition$
|
|
2363
|
-
Object.entries(componentDefinition$
|
|
2502
|
+
if (componentDefinition$g && componentDefinition$g.props) {
|
|
2503
|
+
Object.entries(componentDefinition$g.props).forEach(([key, config]) => {
|
|
2364
2504
|
const propConfig = config;
|
|
2365
2505
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
2366
2506
|
defaultProps$G[key] = propConfig.default;
|
|
@@ -2371,6 +2511,7 @@ try {
|
|
|
2371
2511
|
console.warn("Error extracting default props:", e);
|
|
2372
2512
|
}
|
|
2373
2513
|
function ShaderComponent$G(props) {
|
|
2514
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
2374
2515
|
const context = useShaderContext();
|
|
2375
2516
|
const {
|
|
2376
2517
|
shaderParentId: parentId,
|
|
@@ -2378,13 +2519,13 @@ function ShaderComponent$G(props) {
|
|
|
2378
2519
|
shaderUniformUpdate: parentUniformUpdate,
|
|
2379
2520
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
2380
2521
|
} = context;
|
|
2381
|
-
const instanceId = props.id || `${componentDefinition$
|
|
2522
|
+
const instanceId = props.id || `${componentDefinition$g.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2382
2523
|
const effectiveProps = createMemo(() => {
|
|
2383
2524
|
let baseProps = {
|
|
2384
2525
|
...defaultProps$G
|
|
2385
2526
|
};
|
|
2386
|
-
for (const [key, value] of Object.entries(
|
|
2387
|
-
if (
|
|
2527
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
2528
|
+
if (value !== void 0) {
|
|
2388
2529
|
baseProps[key] = value;
|
|
2389
2530
|
}
|
|
2390
2531
|
}
|
|
@@ -2397,7 +2538,7 @@ function ShaderComponent$G(props) {
|
|
|
2397
2538
|
let uniformsMap = null;
|
|
2398
2539
|
const getUniformsMap = () => {
|
|
2399
2540
|
if (!uniformsMap) {
|
|
2400
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
2541
|
+
uniformsMap = createUniformsMap(componentDefinition$g, effectiveProps(), instanceId);
|
|
2401
2542
|
}
|
|
2402
2543
|
return uniformsMap;
|
|
2403
2544
|
};
|
|
@@ -2405,7 +2546,6 @@ function ShaderComponent$G(props) {
|
|
|
2405
2546
|
...context,
|
|
2406
2547
|
shaderParentId: instanceId
|
|
2407
2548
|
}));
|
|
2408
|
-
const resolved = children(() => props.children);
|
|
2409
2549
|
let isRegistered = false;
|
|
2410
2550
|
onMount(() => {
|
|
2411
2551
|
const uniforms = getUniformsMap();
|
|
@@ -2423,7 +2563,7 @@ function ShaderComponent$G(props) {
|
|
|
2423
2563
|
renderOrder: props.renderOrder || 0,
|
|
2424
2564
|
transform: effectiveTransform()
|
|
2425
2565
|
};
|
|
2426
|
-
parentRegister(instanceId, componentDefinition$
|
|
2566
|
+
parentRegister(instanceId, componentDefinition$g.fragmentNode, parentId, metadata, uniforms, componentDefinition$g);
|
|
2427
2567
|
isRegistered = true;
|
|
2428
2568
|
} catch (error) {
|
|
2429
2569
|
console.error("Error registering shader node:", error);
|
|
@@ -2478,7 +2618,7 @@ function ShaderComponent$G(props) {
|
|
|
2478
2618
|
return childContextValue();
|
|
2479
2619
|
},
|
|
2480
2620
|
get children() {
|
|
2481
|
-
return
|
|
2621
|
+
return local.children;
|
|
2482
2622
|
}
|
|
2483
2623
|
});
|
|
2484
2624
|
}
|
|
@@ -2499,8 +2639,8 @@ const defaultProps$F = {
|
|
|
2499
2639
|
// transform intentionally has no default - handled by effectiveTransform
|
|
2500
2640
|
};
|
|
2501
2641
|
try {
|
|
2502
|
-
if (componentDefinition$
|
|
2503
|
-
Object.entries(componentDefinition$
|
|
2642
|
+
if (componentDefinition$h && componentDefinition$h.props) {
|
|
2643
|
+
Object.entries(componentDefinition$h.props).forEach(([key, config]) => {
|
|
2504
2644
|
const propConfig = config;
|
|
2505
2645
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
2506
2646
|
defaultProps$F[key] = propConfig.default;
|
|
@@ -2511,6 +2651,7 @@ try {
|
|
|
2511
2651
|
console.warn("Error extracting default props:", e);
|
|
2512
2652
|
}
|
|
2513
2653
|
function ShaderComponent$F(props) {
|
|
2654
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
2514
2655
|
const context = useShaderContext();
|
|
2515
2656
|
const {
|
|
2516
2657
|
shaderParentId: parentId,
|
|
@@ -2518,13 +2659,13 @@ function ShaderComponent$F(props) {
|
|
|
2518
2659
|
shaderUniformUpdate: parentUniformUpdate,
|
|
2519
2660
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
2520
2661
|
} = context;
|
|
2521
|
-
const instanceId = props.id || `${componentDefinition$
|
|
2662
|
+
const instanceId = props.id || `${componentDefinition$h.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2522
2663
|
const effectiveProps = createMemo(() => {
|
|
2523
2664
|
let baseProps = {
|
|
2524
2665
|
...defaultProps$F
|
|
2525
2666
|
};
|
|
2526
|
-
for (const [key, value] of Object.entries(
|
|
2527
|
-
if (
|
|
2667
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
2668
|
+
if (value !== void 0) {
|
|
2528
2669
|
baseProps[key] = value;
|
|
2529
2670
|
}
|
|
2530
2671
|
}
|
|
@@ -2537,7 +2678,7 @@ function ShaderComponent$F(props) {
|
|
|
2537
2678
|
let uniformsMap = null;
|
|
2538
2679
|
const getUniformsMap = () => {
|
|
2539
2680
|
if (!uniformsMap) {
|
|
2540
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
2681
|
+
uniformsMap = createUniformsMap(componentDefinition$h, effectiveProps(), instanceId);
|
|
2541
2682
|
}
|
|
2542
2683
|
return uniformsMap;
|
|
2543
2684
|
};
|
|
@@ -2545,7 +2686,6 @@ function ShaderComponent$F(props) {
|
|
|
2545
2686
|
...context,
|
|
2546
2687
|
shaderParentId: instanceId
|
|
2547
2688
|
}));
|
|
2548
|
-
const resolved = children(() => props.children);
|
|
2549
2689
|
let isRegistered = false;
|
|
2550
2690
|
onMount(() => {
|
|
2551
2691
|
const uniforms = getUniformsMap();
|
|
@@ -2563,7 +2703,7 @@ function ShaderComponent$F(props) {
|
|
|
2563
2703
|
renderOrder: props.renderOrder || 0,
|
|
2564
2704
|
transform: effectiveTransform()
|
|
2565
2705
|
};
|
|
2566
|
-
parentRegister(instanceId, componentDefinition$
|
|
2706
|
+
parentRegister(instanceId, componentDefinition$h.fragmentNode, parentId, metadata, uniforms, componentDefinition$h);
|
|
2567
2707
|
isRegistered = true;
|
|
2568
2708
|
} catch (error) {
|
|
2569
2709
|
console.error("Error registering shader node:", error);
|
|
@@ -2618,7 +2758,7 @@ function ShaderComponent$F(props) {
|
|
|
2618
2758
|
return childContextValue();
|
|
2619
2759
|
},
|
|
2620
2760
|
get children() {
|
|
2621
|
-
return
|
|
2761
|
+
return local.children;
|
|
2622
2762
|
}
|
|
2623
2763
|
});
|
|
2624
2764
|
}
|
|
@@ -2639,8 +2779,8 @@ const defaultProps$E = {
|
|
|
2639
2779
|
// transform intentionally has no default - handled by effectiveTransform
|
|
2640
2780
|
};
|
|
2641
2781
|
try {
|
|
2642
|
-
if (componentDefinition$
|
|
2643
|
-
Object.entries(componentDefinition$
|
|
2782
|
+
if (componentDefinition$i && componentDefinition$i.props) {
|
|
2783
|
+
Object.entries(componentDefinition$i.props).forEach(([key, config]) => {
|
|
2644
2784
|
const propConfig = config;
|
|
2645
2785
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
2646
2786
|
defaultProps$E[key] = propConfig.default;
|
|
@@ -2651,6 +2791,7 @@ try {
|
|
|
2651
2791
|
console.warn("Error extracting default props:", e);
|
|
2652
2792
|
}
|
|
2653
2793
|
function ShaderComponent$E(props) {
|
|
2794
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
2654
2795
|
const context = useShaderContext();
|
|
2655
2796
|
const {
|
|
2656
2797
|
shaderParentId: parentId,
|
|
@@ -2658,13 +2799,13 @@ function ShaderComponent$E(props) {
|
|
|
2658
2799
|
shaderUniformUpdate: parentUniformUpdate,
|
|
2659
2800
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
2660
2801
|
} = context;
|
|
2661
|
-
const instanceId = props.id || `${componentDefinition$
|
|
2802
|
+
const instanceId = props.id || `${componentDefinition$i.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2662
2803
|
const effectiveProps = createMemo(() => {
|
|
2663
2804
|
let baseProps = {
|
|
2664
2805
|
...defaultProps$E
|
|
2665
2806
|
};
|
|
2666
|
-
for (const [key, value] of Object.entries(
|
|
2667
|
-
if (
|
|
2807
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
2808
|
+
if (value !== void 0) {
|
|
2668
2809
|
baseProps[key] = value;
|
|
2669
2810
|
}
|
|
2670
2811
|
}
|
|
@@ -2677,7 +2818,7 @@ function ShaderComponent$E(props) {
|
|
|
2677
2818
|
let uniformsMap = null;
|
|
2678
2819
|
const getUniformsMap = () => {
|
|
2679
2820
|
if (!uniformsMap) {
|
|
2680
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
2821
|
+
uniformsMap = createUniformsMap(componentDefinition$i, effectiveProps(), instanceId);
|
|
2681
2822
|
}
|
|
2682
2823
|
return uniformsMap;
|
|
2683
2824
|
};
|
|
@@ -2685,7 +2826,6 @@ function ShaderComponent$E(props) {
|
|
|
2685
2826
|
...context,
|
|
2686
2827
|
shaderParentId: instanceId
|
|
2687
2828
|
}));
|
|
2688
|
-
const resolved = children(() => props.children);
|
|
2689
2829
|
let isRegistered = false;
|
|
2690
2830
|
onMount(() => {
|
|
2691
2831
|
const uniforms = getUniformsMap();
|
|
@@ -2703,7 +2843,7 @@ function ShaderComponent$E(props) {
|
|
|
2703
2843
|
renderOrder: props.renderOrder || 0,
|
|
2704
2844
|
transform: effectiveTransform()
|
|
2705
2845
|
};
|
|
2706
|
-
parentRegister(instanceId, componentDefinition$
|
|
2846
|
+
parentRegister(instanceId, componentDefinition$i.fragmentNode, parentId, metadata, uniforms, componentDefinition$i);
|
|
2707
2847
|
isRegistered = true;
|
|
2708
2848
|
} catch (error) {
|
|
2709
2849
|
console.error("Error registering shader node:", error);
|
|
@@ -2758,7 +2898,7 @@ function ShaderComponent$E(props) {
|
|
|
2758
2898
|
return childContextValue();
|
|
2759
2899
|
},
|
|
2760
2900
|
get children() {
|
|
2761
|
-
return
|
|
2901
|
+
return local.children;
|
|
2762
2902
|
}
|
|
2763
2903
|
});
|
|
2764
2904
|
}
|
|
@@ -2779,8 +2919,8 @@ const defaultProps$D = {
|
|
|
2779
2919
|
// transform intentionally has no default - handled by effectiveTransform
|
|
2780
2920
|
};
|
|
2781
2921
|
try {
|
|
2782
|
-
if (componentDefinition$
|
|
2783
|
-
Object.entries(componentDefinition$
|
|
2922
|
+
if (componentDefinition$j && componentDefinition$j.props) {
|
|
2923
|
+
Object.entries(componentDefinition$j.props).forEach(([key, config]) => {
|
|
2784
2924
|
const propConfig = config;
|
|
2785
2925
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
2786
2926
|
defaultProps$D[key] = propConfig.default;
|
|
@@ -2791,6 +2931,7 @@ try {
|
|
|
2791
2931
|
console.warn("Error extracting default props:", e);
|
|
2792
2932
|
}
|
|
2793
2933
|
function ShaderComponent$D(props) {
|
|
2934
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
2794
2935
|
const context = useShaderContext();
|
|
2795
2936
|
const {
|
|
2796
2937
|
shaderParentId: parentId,
|
|
@@ -2798,13 +2939,13 @@ function ShaderComponent$D(props) {
|
|
|
2798
2939
|
shaderUniformUpdate: parentUniformUpdate,
|
|
2799
2940
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
2800
2941
|
} = context;
|
|
2801
|
-
const instanceId = props.id || `${componentDefinition$
|
|
2942
|
+
const instanceId = props.id || `${componentDefinition$j.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2802
2943
|
const effectiveProps = createMemo(() => {
|
|
2803
2944
|
let baseProps = {
|
|
2804
2945
|
...defaultProps$D
|
|
2805
2946
|
};
|
|
2806
|
-
for (const [key, value] of Object.entries(
|
|
2807
|
-
if (
|
|
2947
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
2948
|
+
if (value !== void 0) {
|
|
2808
2949
|
baseProps[key] = value;
|
|
2809
2950
|
}
|
|
2810
2951
|
}
|
|
@@ -2817,7 +2958,7 @@ function ShaderComponent$D(props) {
|
|
|
2817
2958
|
let uniformsMap = null;
|
|
2818
2959
|
const getUniformsMap = () => {
|
|
2819
2960
|
if (!uniformsMap) {
|
|
2820
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
2961
|
+
uniformsMap = createUniformsMap(componentDefinition$j, effectiveProps(), instanceId);
|
|
2821
2962
|
}
|
|
2822
2963
|
return uniformsMap;
|
|
2823
2964
|
};
|
|
@@ -2825,7 +2966,6 @@ function ShaderComponent$D(props) {
|
|
|
2825
2966
|
...context,
|
|
2826
2967
|
shaderParentId: instanceId
|
|
2827
2968
|
}));
|
|
2828
|
-
const resolved = children(() => props.children);
|
|
2829
2969
|
let isRegistered = false;
|
|
2830
2970
|
onMount(() => {
|
|
2831
2971
|
const uniforms = getUniformsMap();
|
|
@@ -2843,7 +2983,7 @@ function ShaderComponent$D(props) {
|
|
|
2843
2983
|
renderOrder: props.renderOrder || 0,
|
|
2844
2984
|
transform: effectiveTransform()
|
|
2845
2985
|
};
|
|
2846
|
-
parentRegister(instanceId, componentDefinition$
|
|
2986
|
+
parentRegister(instanceId, componentDefinition$j.fragmentNode, parentId, metadata, uniforms, componentDefinition$j);
|
|
2847
2987
|
isRegistered = true;
|
|
2848
2988
|
} catch (error) {
|
|
2849
2989
|
console.error("Error registering shader node:", error);
|
|
@@ -2898,7 +3038,7 @@ function ShaderComponent$D(props) {
|
|
|
2898
3038
|
return childContextValue();
|
|
2899
3039
|
},
|
|
2900
3040
|
get children() {
|
|
2901
|
-
return
|
|
3041
|
+
return local.children;
|
|
2902
3042
|
}
|
|
2903
3043
|
});
|
|
2904
3044
|
}
|
|
@@ -2919,8 +3059,8 @@ const defaultProps$C = {
|
|
|
2919
3059
|
// transform intentionally has no default - handled by effectiveTransform
|
|
2920
3060
|
};
|
|
2921
3061
|
try {
|
|
2922
|
-
if (componentDefinition$
|
|
2923
|
-
Object.entries(componentDefinition$
|
|
3062
|
+
if (componentDefinition$k && componentDefinition$k.props) {
|
|
3063
|
+
Object.entries(componentDefinition$k.props).forEach(([key, config]) => {
|
|
2924
3064
|
const propConfig = config;
|
|
2925
3065
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
2926
3066
|
defaultProps$C[key] = propConfig.default;
|
|
@@ -2931,6 +3071,7 @@ try {
|
|
|
2931
3071
|
console.warn("Error extracting default props:", e);
|
|
2932
3072
|
}
|
|
2933
3073
|
function ShaderComponent$C(props) {
|
|
3074
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
2934
3075
|
const context = useShaderContext();
|
|
2935
3076
|
const {
|
|
2936
3077
|
shaderParentId: parentId,
|
|
@@ -2938,13 +3079,13 @@ function ShaderComponent$C(props) {
|
|
|
2938
3079
|
shaderUniformUpdate: parentUniformUpdate,
|
|
2939
3080
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
2940
3081
|
} = context;
|
|
2941
|
-
const instanceId = props.id || `${componentDefinition$
|
|
3082
|
+
const instanceId = props.id || `${componentDefinition$k.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2942
3083
|
const effectiveProps = createMemo(() => {
|
|
2943
3084
|
let baseProps = {
|
|
2944
3085
|
...defaultProps$C
|
|
2945
3086
|
};
|
|
2946
|
-
for (const [key, value] of Object.entries(
|
|
2947
|
-
if (
|
|
3087
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
3088
|
+
if (value !== void 0) {
|
|
2948
3089
|
baseProps[key] = value;
|
|
2949
3090
|
}
|
|
2950
3091
|
}
|
|
@@ -2957,7 +3098,7 @@ function ShaderComponent$C(props) {
|
|
|
2957
3098
|
let uniformsMap = null;
|
|
2958
3099
|
const getUniformsMap = () => {
|
|
2959
3100
|
if (!uniformsMap) {
|
|
2960
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
3101
|
+
uniformsMap = createUniformsMap(componentDefinition$k, effectiveProps(), instanceId);
|
|
2961
3102
|
}
|
|
2962
3103
|
return uniformsMap;
|
|
2963
3104
|
};
|
|
@@ -2965,7 +3106,6 @@ function ShaderComponent$C(props) {
|
|
|
2965
3106
|
...context,
|
|
2966
3107
|
shaderParentId: instanceId
|
|
2967
3108
|
}));
|
|
2968
|
-
const resolved = children(() => props.children);
|
|
2969
3109
|
let isRegistered = false;
|
|
2970
3110
|
onMount(() => {
|
|
2971
3111
|
const uniforms = getUniformsMap();
|
|
@@ -2983,7 +3123,7 @@ function ShaderComponent$C(props) {
|
|
|
2983
3123
|
renderOrder: props.renderOrder || 0,
|
|
2984
3124
|
transform: effectiveTransform()
|
|
2985
3125
|
};
|
|
2986
|
-
parentRegister(instanceId, componentDefinition$
|
|
3126
|
+
parentRegister(instanceId, componentDefinition$k.fragmentNode, parentId, metadata, uniforms, componentDefinition$k);
|
|
2987
3127
|
isRegistered = true;
|
|
2988
3128
|
} catch (error) {
|
|
2989
3129
|
console.error("Error registering shader node:", error);
|
|
@@ -3038,7 +3178,7 @@ function ShaderComponent$C(props) {
|
|
|
3038
3178
|
return childContextValue();
|
|
3039
3179
|
},
|
|
3040
3180
|
get children() {
|
|
3041
|
-
return
|
|
3181
|
+
return local.children;
|
|
3042
3182
|
}
|
|
3043
3183
|
});
|
|
3044
3184
|
}
|
|
@@ -3059,8 +3199,8 @@ const defaultProps$B = {
|
|
|
3059
3199
|
// transform intentionally has no default - handled by effectiveTransform
|
|
3060
3200
|
};
|
|
3061
3201
|
try {
|
|
3062
|
-
if (componentDefinition$
|
|
3063
|
-
Object.entries(componentDefinition$
|
|
3202
|
+
if (componentDefinition$l && componentDefinition$l.props) {
|
|
3203
|
+
Object.entries(componentDefinition$l.props).forEach(([key, config]) => {
|
|
3064
3204
|
const propConfig = config;
|
|
3065
3205
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
3066
3206
|
defaultProps$B[key] = propConfig.default;
|
|
@@ -3071,6 +3211,7 @@ try {
|
|
|
3071
3211
|
console.warn("Error extracting default props:", e);
|
|
3072
3212
|
}
|
|
3073
3213
|
function ShaderComponent$B(props) {
|
|
3214
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
3074
3215
|
const context = useShaderContext();
|
|
3075
3216
|
const {
|
|
3076
3217
|
shaderParentId: parentId,
|
|
@@ -3078,13 +3219,13 @@ function ShaderComponent$B(props) {
|
|
|
3078
3219
|
shaderUniformUpdate: parentUniformUpdate,
|
|
3079
3220
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
3080
3221
|
} = context;
|
|
3081
|
-
const instanceId = props.id || `${componentDefinition$
|
|
3222
|
+
const instanceId = props.id || `${componentDefinition$l.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3082
3223
|
const effectiveProps = createMemo(() => {
|
|
3083
3224
|
let baseProps = {
|
|
3084
3225
|
...defaultProps$B
|
|
3085
3226
|
};
|
|
3086
|
-
for (const [key, value] of Object.entries(
|
|
3087
|
-
if (
|
|
3227
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
3228
|
+
if (value !== void 0) {
|
|
3088
3229
|
baseProps[key] = value;
|
|
3089
3230
|
}
|
|
3090
3231
|
}
|
|
@@ -3097,7 +3238,7 @@ function ShaderComponent$B(props) {
|
|
|
3097
3238
|
let uniformsMap = null;
|
|
3098
3239
|
const getUniformsMap = () => {
|
|
3099
3240
|
if (!uniformsMap) {
|
|
3100
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
3241
|
+
uniformsMap = createUniformsMap(componentDefinition$l, effectiveProps(), instanceId);
|
|
3101
3242
|
}
|
|
3102
3243
|
return uniformsMap;
|
|
3103
3244
|
};
|
|
@@ -3105,7 +3246,6 @@ function ShaderComponent$B(props) {
|
|
|
3105
3246
|
...context,
|
|
3106
3247
|
shaderParentId: instanceId
|
|
3107
3248
|
}));
|
|
3108
|
-
const resolved = children(() => props.children);
|
|
3109
3249
|
let isRegistered = false;
|
|
3110
3250
|
onMount(() => {
|
|
3111
3251
|
const uniforms = getUniformsMap();
|
|
@@ -3123,7 +3263,7 @@ function ShaderComponent$B(props) {
|
|
|
3123
3263
|
renderOrder: props.renderOrder || 0,
|
|
3124
3264
|
transform: effectiveTransform()
|
|
3125
3265
|
};
|
|
3126
|
-
parentRegister(instanceId, componentDefinition$
|
|
3266
|
+
parentRegister(instanceId, componentDefinition$l.fragmentNode, parentId, metadata, uniforms, componentDefinition$l);
|
|
3127
3267
|
isRegistered = true;
|
|
3128
3268
|
} catch (error) {
|
|
3129
3269
|
console.error("Error registering shader node:", error);
|
|
@@ -3178,7 +3318,7 @@ function ShaderComponent$B(props) {
|
|
|
3178
3318
|
return childContextValue();
|
|
3179
3319
|
},
|
|
3180
3320
|
get children() {
|
|
3181
|
-
return
|
|
3321
|
+
return local.children;
|
|
3182
3322
|
}
|
|
3183
3323
|
});
|
|
3184
3324
|
}
|
|
@@ -3199,8 +3339,8 @@ const defaultProps$A = {
|
|
|
3199
3339
|
// transform intentionally has no default - handled by effectiveTransform
|
|
3200
3340
|
};
|
|
3201
3341
|
try {
|
|
3202
|
-
if (componentDefinition$
|
|
3203
|
-
Object.entries(componentDefinition$
|
|
3342
|
+
if (componentDefinition$m && componentDefinition$m.props) {
|
|
3343
|
+
Object.entries(componentDefinition$m.props).forEach(([key, config]) => {
|
|
3204
3344
|
const propConfig = config;
|
|
3205
3345
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
3206
3346
|
defaultProps$A[key] = propConfig.default;
|
|
@@ -3211,6 +3351,7 @@ try {
|
|
|
3211
3351
|
console.warn("Error extracting default props:", e);
|
|
3212
3352
|
}
|
|
3213
3353
|
function ShaderComponent$A(props) {
|
|
3354
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
3214
3355
|
const context = useShaderContext();
|
|
3215
3356
|
const {
|
|
3216
3357
|
shaderParentId: parentId,
|
|
@@ -3218,13 +3359,13 @@ function ShaderComponent$A(props) {
|
|
|
3218
3359
|
shaderUniformUpdate: parentUniformUpdate,
|
|
3219
3360
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
3220
3361
|
} = context;
|
|
3221
|
-
const instanceId = props.id || `${componentDefinition$
|
|
3362
|
+
const instanceId = props.id || `${componentDefinition$m.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3222
3363
|
const effectiveProps = createMemo(() => {
|
|
3223
3364
|
let baseProps = {
|
|
3224
3365
|
...defaultProps$A
|
|
3225
3366
|
};
|
|
3226
|
-
for (const [key, value] of Object.entries(
|
|
3227
|
-
if (
|
|
3367
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
3368
|
+
if (value !== void 0) {
|
|
3228
3369
|
baseProps[key] = value;
|
|
3229
3370
|
}
|
|
3230
3371
|
}
|
|
@@ -3237,7 +3378,7 @@ function ShaderComponent$A(props) {
|
|
|
3237
3378
|
let uniformsMap = null;
|
|
3238
3379
|
const getUniformsMap = () => {
|
|
3239
3380
|
if (!uniformsMap) {
|
|
3240
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
3381
|
+
uniformsMap = createUniformsMap(componentDefinition$m, effectiveProps(), instanceId);
|
|
3241
3382
|
}
|
|
3242
3383
|
return uniformsMap;
|
|
3243
3384
|
};
|
|
@@ -3245,7 +3386,6 @@ function ShaderComponent$A(props) {
|
|
|
3245
3386
|
...context,
|
|
3246
3387
|
shaderParentId: instanceId
|
|
3247
3388
|
}));
|
|
3248
|
-
const resolved = children(() => props.children);
|
|
3249
3389
|
let isRegistered = false;
|
|
3250
3390
|
onMount(() => {
|
|
3251
3391
|
const uniforms = getUniformsMap();
|
|
@@ -3263,7 +3403,7 @@ function ShaderComponent$A(props) {
|
|
|
3263
3403
|
renderOrder: props.renderOrder || 0,
|
|
3264
3404
|
transform: effectiveTransform()
|
|
3265
3405
|
};
|
|
3266
|
-
parentRegister(instanceId, componentDefinition$
|
|
3406
|
+
parentRegister(instanceId, componentDefinition$m.fragmentNode, parentId, metadata, uniforms, componentDefinition$m);
|
|
3267
3407
|
isRegistered = true;
|
|
3268
3408
|
} catch (error) {
|
|
3269
3409
|
console.error("Error registering shader node:", error);
|
|
@@ -3318,7 +3458,7 @@ function ShaderComponent$A(props) {
|
|
|
3318
3458
|
return childContextValue();
|
|
3319
3459
|
},
|
|
3320
3460
|
get children() {
|
|
3321
|
-
return
|
|
3461
|
+
return local.children;
|
|
3322
3462
|
}
|
|
3323
3463
|
});
|
|
3324
3464
|
}
|
|
@@ -3339,8 +3479,8 @@ const defaultProps$z = {
|
|
|
3339
3479
|
// transform intentionally has no default - handled by effectiveTransform
|
|
3340
3480
|
};
|
|
3341
3481
|
try {
|
|
3342
|
-
if (componentDefinition$
|
|
3343
|
-
Object.entries(componentDefinition$
|
|
3482
|
+
if (componentDefinition$n && componentDefinition$n.props) {
|
|
3483
|
+
Object.entries(componentDefinition$n.props).forEach(([key, config]) => {
|
|
3344
3484
|
const propConfig = config;
|
|
3345
3485
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
3346
3486
|
defaultProps$z[key] = propConfig.default;
|
|
@@ -3351,6 +3491,7 @@ try {
|
|
|
3351
3491
|
console.warn("Error extracting default props:", e);
|
|
3352
3492
|
}
|
|
3353
3493
|
function ShaderComponent$z(props) {
|
|
3494
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
3354
3495
|
const context = useShaderContext();
|
|
3355
3496
|
const {
|
|
3356
3497
|
shaderParentId: parentId,
|
|
@@ -3358,13 +3499,13 @@ function ShaderComponent$z(props) {
|
|
|
3358
3499
|
shaderUniformUpdate: parentUniformUpdate,
|
|
3359
3500
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
3360
3501
|
} = context;
|
|
3361
|
-
const instanceId = props.id || `${componentDefinition$
|
|
3502
|
+
const instanceId = props.id || `${componentDefinition$n.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3362
3503
|
const effectiveProps = createMemo(() => {
|
|
3363
3504
|
let baseProps = {
|
|
3364
3505
|
...defaultProps$z
|
|
3365
3506
|
};
|
|
3366
|
-
for (const [key, value] of Object.entries(
|
|
3367
|
-
if (
|
|
3507
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
3508
|
+
if (value !== void 0) {
|
|
3368
3509
|
baseProps[key] = value;
|
|
3369
3510
|
}
|
|
3370
3511
|
}
|
|
@@ -3377,7 +3518,7 @@ function ShaderComponent$z(props) {
|
|
|
3377
3518
|
let uniformsMap = null;
|
|
3378
3519
|
const getUniformsMap = () => {
|
|
3379
3520
|
if (!uniformsMap) {
|
|
3380
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
3521
|
+
uniformsMap = createUniformsMap(componentDefinition$n, effectiveProps(), instanceId);
|
|
3381
3522
|
}
|
|
3382
3523
|
return uniformsMap;
|
|
3383
3524
|
};
|
|
@@ -3385,7 +3526,6 @@ function ShaderComponent$z(props) {
|
|
|
3385
3526
|
...context,
|
|
3386
3527
|
shaderParentId: instanceId
|
|
3387
3528
|
}));
|
|
3388
|
-
const resolved = children(() => props.children);
|
|
3389
3529
|
let isRegistered = false;
|
|
3390
3530
|
onMount(() => {
|
|
3391
3531
|
const uniforms = getUniformsMap();
|
|
@@ -3403,7 +3543,7 @@ function ShaderComponent$z(props) {
|
|
|
3403
3543
|
renderOrder: props.renderOrder || 0,
|
|
3404
3544
|
transform: effectiveTransform()
|
|
3405
3545
|
};
|
|
3406
|
-
parentRegister(instanceId, componentDefinition$
|
|
3546
|
+
parentRegister(instanceId, componentDefinition$n.fragmentNode, parentId, metadata, uniforms, componentDefinition$n);
|
|
3407
3547
|
isRegistered = true;
|
|
3408
3548
|
} catch (error) {
|
|
3409
3549
|
console.error("Error registering shader node:", error);
|
|
@@ -3458,7 +3598,7 @@ function ShaderComponent$z(props) {
|
|
|
3458
3598
|
return childContextValue();
|
|
3459
3599
|
},
|
|
3460
3600
|
get children() {
|
|
3461
|
-
return
|
|
3601
|
+
return local.children;
|
|
3462
3602
|
}
|
|
3463
3603
|
});
|
|
3464
3604
|
}
|
|
@@ -3479,8 +3619,8 @@ const defaultProps$y = {
|
|
|
3479
3619
|
// transform intentionally has no default - handled by effectiveTransform
|
|
3480
3620
|
};
|
|
3481
3621
|
try {
|
|
3482
|
-
if (componentDefinition$
|
|
3483
|
-
Object.entries(componentDefinition$
|
|
3622
|
+
if (componentDefinition$o && componentDefinition$o.props) {
|
|
3623
|
+
Object.entries(componentDefinition$o.props).forEach(([key, config]) => {
|
|
3484
3624
|
const propConfig = config;
|
|
3485
3625
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
3486
3626
|
defaultProps$y[key] = propConfig.default;
|
|
@@ -3491,6 +3631,7 @@ try {
|
|
|
3491
3631
|
console.warn("Error extracting default props:", e);
|
|
3492
3632
|
}
|
|
3493
3633
|
function ShaderComponent$y(props) {
|
|
3634
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
3494
3635
|
const context = useShaderContext();
|
|
3495
3636
|
const {
|
|
3496
3637
|
shaderParentId: parentId,
|
|
@@ -3498,13 +3639,13 @@ function ShaderComponent$y(props) {
|
|
|
3498
3639
|
shaderUniformUpdate: parentUniformUpdate,
|
|
3499
3640
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
3500
3641
|
} = context;
|
|
3501
|
-
const instanceId = props.id || `${componentDefinition$
|
|
3642
|
+
const instanceId = props.id || `${componentDefinition$o.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3502
3643
|
const effectiveProps = createMemo(() => {
|
|
3503
3644
|
let baseProps = {
|
|
3504
3645
|
...defaultProps$y
|
|
3505
3646
|
};
|
|
3506
|
-
for (const [key, value] of Object.entries(
|
|
3507
|
-
if (
|
|
3647
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
3648
|
+
if (value !== void 0) {
|
|
3508
3649
|
baseProps[key] = value;
|
|
3509
3650
|
}
|
|
3510
3651
|
}
|
|
@@ -3517,7 +3658,7 @@ function ShaderComponent$y(props) {
|
|
|
3517
3658
|
let uniformsMap = null;
|
|
3518
3659
|
const getUniformsMap = () => {
|
|
3519
3660
|
if (!uniformsMap) {
|
|
3520
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
3661
|
+
uniformsMap = createUniformsMap(componentDefinition$o, effectiveProps(), instanceId);
|
|
3521
3662
|
}
|
|
3522
3663
|
return uniformsMap;
|
|
3523
3664
|
};
|
|
@@ -3525,7 +3666,6 @@ function ShaderComponent$y(props) {
|
|
|
3525
3666
|
...context,
|
|
3526
3667
|
shaderParentId: instanceId
|
|
3527
3668
|
}));
|
|
3528
|
-
const resolved = children(() => props.children);
|
|
3529
3669
|
let isRegistered = false;
|
|
3530
3670
|
onMount(() => {
|
|
3531
3671
|
const uniforms = getUniformsMap();
|
|
@@ -3543,7 +3683,7 @@ function ShaderComponent$y(props) {
|
|
|
3543
3683
|
renderOrder: props.renderOrder || 0,
|
|
3544
3684
|
transform: effectiveTransform()
|
|
3545
3685
|
};
|
|
3546
|
-
parentRegister(instanceId, componentDefinition$
|
|
3686
|
+
parentRegister(instanceId, componentDefinition$o.fragmentNode, parentId, metadata, uniforms, componentDefinition$o);
|
|
3547
3687
|
isRegistered = true;
|
|
3548
3688
|
} catch (error) {
|
|
3549
3689
|
console.error("Error registering shader node:", error);
|
|
@@ -3598,7 +3738,7 @@ function ShaderComponent$y(props) {
|
|
|
3598
3738
|
return childContextValue();
|
|
3599
3739
|
},
|
|
3600
3740
|
get children() {
|
|
3601
|
-
return
|
|
3741
|
+
return local.children;
|
|
3602
3742
|
}
|
|
3603
3743
|
});
|
|
3604
3744
|
}
|
|
@@ -3619,8 +3759,8 @@ const defaultProps$x = {
|
|
|
3619
3759
|
// transform intentionally has no default - handled by effectiveTransform
|
|
3620
3760
|
};
|
|
3621
3761
|
try {
|
|
3622
|
-
if (componentDefinition$
|
|
3623
|
-
Object.entries(componentDefinition$
|
|
3762
|
+
if (componentDefinition$p && componentDefinition$p.props) {
|
|
3763
|
+
Object.entries(componentDefinition$p.props).forEach(([key, config]) => {
|
|
3624
3764
|
const propConfig = config;
|
|
3625
3765
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
3626
3766
|
defaultProps$x[key] = propConfig.default;
|
|
@@ -3631,6 +3771,7 @@ try {
|
|
|
3631
3771
|
console.warn("Error extracting default props:", e);
|
|
3632
3772
|
}
|
|
3633
3773
|
function ShaderComponent$x(props) {
|
|
3774
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
3634
3775
|
const context = useShaderContext();
|
|
3635
3776
|
const {
|
|
3636
3777
|
shaderParentId: parentId,
|
|
@@ -3638,13 +3779,13 @@ function ShaderComponent$x(props) {
|
|
|
3638
3779
|
shaderUniformUpdate: parentUniformUpdate,
|
|
3639
3780
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
3640
3781
|
} = context;
|
|
3641
|
-
const instanceId = props.id || `${componentDefinition$
|
|
3782
|
+
const instanceId = props.id || `${componentDefinition$p.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3642
3783
|
const effectiveProps = createMemo(() => {
|
|
3643
3784
|
let baseProps = {
|
|
3644
3785
|
...defaultProps$x
|
|
3645
3786
|
};
|
|
3646
|
-
for (const [key, value] of Object.entries(
|
|
3647
|
-
if (
|
|
3787
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
3788
|
+
if (value !== void 0) {
|
|
3648
3789
|
baseProps[key] = value;
|
|
3649
3790
|
}
|
|
3650
3791
|
}
|
|
@@ -3657,7 +3798,7 @@ function ShaderComponent$x(props) {
|
|
|
3657
3798
|
let uniformsMap = null;
|
|
3658
3799
|
const getUniformsMap = () => {
|
|
3659
3800
|
if (!uniformsMap) {
|
|
3660
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
3801
|
+
uniformsMap = createUniformsMap(componentDefinition$p, effectiveProps(), instanceId);
|
|
3661
3802
|
}
|
|
3662
3803
|
return uniformsMap;
|
|
3663
3804
|
};
|
|
@@ -3665,7 +3806,6 @@ function ShaderComponent$x(props) {
|
|
|
3665
3806
|
...context,
|
|
3666
3807
|
shaderParentId: instanceId
|
|
3667
3808
|
}));
|
|
3668
|
-
const resolved = children(() => props.children);
|
|
3669
3809
|
let isRegistered = false;
|
|
3670
3810
|
onMount(() => {
|
|
3671
3811
|
const uniforms = getUniformsMap();
|
|
@@ -3683,7 +3823,7 @@ function ShaderComponent$x(props) {
|
|
|
3683
3823
|
renderOrder: props.renderOrder || 0,
|
|
3684
3824
|
transform: effectiveTransform()
|
|
3685
3825
|
};
|
|
3686
|
-
parentRegister(instanceId, componentDefinition$
|
|
3826
|
+
parentRegister(instanceId, componentDefinition$p.fragmentNode, parentId, metadata, uniforms, componentDefinition$p);
|
|
3687
3827
|
isRegistered = true;
|
|
3688
3828
|
} catch (error) {
|
|
3689
3829
|
console.error("Error registering shader node:", error);
|
|
@@ -3738,7 +3878,7 @@ function ShaderComponent$x(props) {
|
|
|
3738
3878
|
return childContextValue();
|
|
3739
3879
|
},
|
|
3740
3880
|
get children() {
|
|
3741
|
-
return
|
|
3881
|
+
return local.children;
|
|
3742
3882
|
}
|
|
3743
3883
|
});
|
|
3744
3884
|
}
|
|
@@ -3759,8 +3899,8 @@ const defaultProps$w = {
|
|
|
3759
3899
|
// transform intentionally has no default - handled by effectiveTransform
|
|
3760
3900
|
};
|
|
3761
3901
|
try {
|
|
3762
|
-
if (componentDefinition$
|
|
3763
|
-
Object.entries(componentDefinition$
|
|
3902
|
+
if (componentDefinition$q && componentDefinition$q.props) {
|
|
3903
|
+
Object.entries(componentDefinition$q.props).forEach(([key, config]) => {
|
|
3764
3904
|
const propConfig = config;
|
|
3765
3905
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
3766
3906
|
defaultProps$w[key] = propConfig.default;
|
|
@@ -3771,6 +3911,7 @@ try {
|
|
|
3771
3911
|
console.warn("Error extracting default props:", e);
|
|
3772
3912
|
}
|
|
3773
3913
|
function ShaderComponent$w(props) {
|
|
3914
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
3774
3915
|
const context = useShaderContext();
|
|
3775
3916
|
const {
|
|
3776
3917
|
shaderParentId: parentId,
|
|
@@ -3778,13 +3919,13 @@ function ShaderComponent$w(props) {
|
|
|
3778
3919
|
shaderUniformUpdate: parentUniformUpdate,
|
|
3779
3920
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
3780
3921
|
} = context;
|
|
3781
|
-
const instanceId = props.id || `${componentDefinition$
|
|
3922
|
+
const instanceId = props.id || `${componentDefinition$q.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3782
3923
|
const effectiveProps = createMemo(() => {
|
|
3783
3924
|
let baseProps = {
|
|
3784
3925
|
...defaultProps$w
|
|
3785
3926
|
};
|
|
3786
|
-
for (const [key, value] of Object.entries(
|
|
3787
|
-
if (
|
|
3927
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
3928
|
+
if (value !== void 0) {
|
|
3788
3929
|
baseProps[key] = value;
|
|
3789
3930
|
}
|
|
3790
3931
|
}
|
|
@@ -3797,7 +3938,7 @@ function ShaderComponent$w(props) {
|
|
|
3797
3938
|
let uniformsMap = null;
|
|
3798
3939
|
const getUniformsMap = () => {
|
|
3799
3940
|
if (!uniformsMap) {
|
|
3800
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
3941
|
+
uniformsMap = createUniformsMap(componentDefinition$q, effectiveProps(), instanceId);
|
|
3801
3942
|
}
|
|
3802
3943
|
return uniformsMap;
|
|
3803
3944
|
};
|
|
@@ -3805,7 +3946,6 @@ function ShaderComponent$w(props) {
|
|
|
3805
3946
|
...context,
|
|
3806
3947
|
shaderParentId: instanceId
|
|
3807
3948
|
}));
|
|
3808
|
-
const resolved = children(() => props.children);
|
|
3809
3949
|
let isRegistered = false;
|
|
3810
3950
|
onMount(() => {
|
|
3811
3951
|
const uniforms = getUniformsMap();
|
|
@@ -3823,7 +3963,7 @@ function ShaderComponent$w(props) {
|
|
|
3823
3963
|
renderOrder: props.renderOrder || 0,
|
|
3824
3964
|
transform: effectiveTransform()
|
|
3825
3965
|
};
|
|
3826
|
-
parentRegister(instanceId, componentDefinition$
|
|
3966
|
+
parentRegister(instanceId, componentDefinition$q.fragmentNode, parentId, metadata, uniforms, componentDefinition$q);
|
|
3827
3967
|
isRegistered = true;
|
|
3828
3968
|
} catch (error) {
|
|
3829
3969
|
console.error("Error registering shader node:", error);
|
|
@@ -3878,7 +4018,7 @@ function ShaderComponent$w(props) {
|
|
|
3878
4018
|
return childContextValue();
|
|
3879
4019
|
},
|
|
3880
4020
|
get children() {
|
|
3881
|
-
return
|
|
4021
|
+
return local.children;
|
|
3882
4022
|
}
|
|
3883
4023
|
});
|
|
3884
4024
|
}
|
|
@@ -3899,8 +4039,8 @@ const defaultProps$v = {
|
|
|
3899
4039
|
// transform intentionally has no default - handled by effectiveTransform
|
|
3900
4040
|
};
|
|
3901
4041
|
try {
|
|
3902
|
-
if (componentDefinition$
|
|
3903
|
-
Object.entries(componentDefinition$
|
|
4042
|
+
if (componentDefinition$r && componentDefinition$r.props) {
|
|
4043
|
+
Object.entries(componentDefinition$r.props).forEach(([key, config]) => {
|
|
3904
4044
|
const propConfig = config;
|
|
3905
4045
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
3906
4046
|
defaultProps$v[key] = propConfig.default;
|
|
@@ -3911,6 +4051,7 @@ try {
|
|
|
3911
4051
|
console.warn("Error extracting default props:", e);
|
|
3912
4052
|
}
|
|
3913
4053
|
function ShaderComponent$v(props) {
|
|
4054
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
3914
4055
|
const context = useShaderContext();
|
|
3915
4056
|
const {
|
|
3916
4057
|
shaderParentId: parentId,
|
|
@@ -3918,13 +4059,13 @@ function ShaderComponent$v(props) {
|
|
|
3918
4059
|
shaderUniformUpdate: parentUniformUpdate,
|
|
3919
4060
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
3920
4061
|
} = context;
|
|
3921
|
-
const instanceId = props.id || `${componentDefinition$
|
|
4062
|
+
const instanceId = props.id || `${componentDefinition$r.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3922
4063
|
const effectiveProps = createMemo(() => {
|
|
3923
4064
|
let baseProps = {
|
|
3924
4065
|
...defaultProps$v
|
|
3925
4066
|
};
|
|
3926
|
-
for (const [key, value] of Object.entries(
|
|
3927
|
-
if (
|
|
4067
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
4068
|
+
if (value !== void 0) {
|
|
3928
4069
|
baseProps[key] = value;
|
|
3929
4070
|
}
|
|
3930
4071
|
}
|
|
@@ -3937,7 +4078,7 @@ function ShaderComponent$v(props) {
|
|
|
3937
4078
|
let uniformsMap = null;
|
|
3938
4079
|
const getUniformsMap = () => {
|
|
3939
4080
|
if (!uniformsMap) {
|
|
3940
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
4081
|
+
uniformsMap = createUniformsMap(componentDefinition$r, effectiveProps(), instanceId);
|
|
3941
4082
|
}
|
|
3942
4083
|
return uniformsMap;
|
|
3943
4084
|
};
|
|
@@ -3945,7 +4086,6 @@ function ShaderComponent$v(props) {
|
|
|
3945
4086
|
...context,
|
|
3946
4087
|
shaderParentId: instanceId
|
|
3947
4088
|
}));
|
|
3948
|
-
const resolved = children(() => props.children);
|
|
3949
4089
|
let isRegistered = false;
|
|
3950
4090
|
onMount(() => {
|
|
3951
4091
|
const uniforms = getUniformsMap();
|
|
@@ -3963,7 +4103,7 @@ function ShaderComponent$v(props) {
|
|
|
3963
4103
|
renderOrder: props.renderOrder || 0,
|
|
3964
4104
|
transform: effectiveTransform()
|
|
3965
4105
|
};
|
|
3966
|
-
parentRegister(instanceId, componentDefinition$
|
|
4106
|
+
parentRegister(instanceId, componentDefinition$r.fragmentNode, parentId, metadata, uniforms, componentDefinition$r);
|
|
3967
4107
|
isRegistered = true;
|
|
3968
4108
|
} catch (error) {
|
|
3969
4109
|
console.error("Error registering shader node:", error);
|
|
@@ -4018,7 +4158,7 @@ function ShaderComponent$v(props) {
|
|
|
4018
4158
|
return childContextValue();
|
|
4019
4159
|
},
|
|
4020
4160
|
get children() {
|
|
4021
|
-
return
|
|
4161
|
+
return local.children;
|
|
4022
4162
|
}
|
|
4023
4163
|
});
|
|
4024
4164
|
}
|
|
@@ -4039,8 +4179,8 @@ const defaultProps$u = {
|
|
|
4039
4179
|
// transform intentionally has no default - handled by effectiveTransform
|
|
4040
4180
|
};
|
|
4041
4181
|
try {
|
|
4042
|
-
if (componentDefinition$
|
|
4043
|
-
Object.entries(componentDefinition$
|
|
4182
|
+
if (componentDefinition$s && componentDefinition$s.props) {
|
|
4183
|
+
Object.entries(componentDefinition$s.props).forEach(([key, config]) => {
|
|
4044
4184
|
const propConfig = config;
|
|
4045
4185
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
4046
4186
|
defaultProps$u[key] = propConfig.default;
|
|
@@ -4051,6 +4191,7 @@ try {
|
|
|
4051
4191
|
console.warn("Error extracting default props:", e);
|
|
4052
4192
|
}
|
|
4053
4193
|
function ShaderComponent$u(props) {
|
|
4194
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
4054
4195
|
const context = useShaderContext();
|
|
4055
4196
|
const {
|
|
4056
4197
|
shaderParentId: parentId,
|
|
@@ -4058,13 +4199,13 @@ function ShaderComponent$u(props) {
|
|
|
4058
4199
|
shaderUniformUpdate: parentUniformUpdate,
|
|
4059
4200
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
4060
4201
|
} = context;
|
|
4061
|
-
const instanceId = props.id || `${componentDefinition$
|
|
4202
|
+
const instanceId = props.id || `${componentDefinition$s.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4062
4203
|
const effectiveProps = createMemo(() => {
|
|
4063
4204
|
let baseProps = {
|
|
4064
4205
|
...defaultProps$u
|
|
4065
4206
|
};
|
|
4066
|
-
for (const [key, value] of Object.entries(
|
|
4067
|
-
if (
|
|
4207
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
4208
|
+
if (value !== void 0) {
|
|
4068
4209
|
baseProps[key] = value;
|
|
4069
4210
|
}
|
|
4070
4211
|
}
|
|
@@ -4077,7 +4218,7 @@ function ShaderComponent$u(props) {
|
|
|
4077
4218
|
let uniformsMap = null;
|
|
4078
4219
|
const getUniformsMap = () => {
|
|
4079
4220
|
if (!uniformsMap) {
|
|
4080
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
4221
|
+
uniformsMap = createUniformsMap(componentDefinition$s, effectiveProps(), instanceId);
|
|
4081
4222
|
}
|
|
4082
4223
|
return uniformsMap;
|
|
4083
4224
|
};
|
|
@@ -4085,7 +4226,6 @@ function ShaderComponent$u(props) {
|
|
|
4085
4226
|
...context,
|
|
4086
4227
|
shaderParentId: instanceId
|
|
4087
4228
|
}));
|
|
4088
|
-
const resolved = children(() => props.children);
|
|
4089
4229
|
let isRegistered = false;
|
|
4090
4230
|
onMount(() => {
|
|
4091
4231
|
const uniforms = getUniformsMap();
|
|
@@ -4103,7 +4243,7 @@ function ShaderComponent$u(props) {
|
|
|
4103
4243
|
renderOrder: props.renderOrder || 0,
|
|
4104
4244
|
transform: effectiveTransform()
|
|
4105
4245
|
};
|
|
4106
|
-
parentRegister(instanceId, componentDefinition$
|
|
4246
|
+
parentRegister(instanceId, componentDefinition$s.fragmentNode, parentId, metadata, uniforms, componentDefinition$s);
|
|
4107
4247
|
isRegistered = true;
|
|
4108
4248
|
} catch (error) {
|
|
4109
4249
|
console.error("Error registering shader node:", error);
|
|
@@ -4158,7 +4298,7 @@ function ShaderComponent$u(props) {
|
|
|
4158
4298
|
return childContextValue();
|
|
4159
4299
|
},
|
|
4160
4300
|
get children() {
|
|
4161
|
-
return
|
|
4301
|
+
return local.children;
|
|
4162
4302
|
}
|
|
4163
4303
|
});
|
|
4164
4304
|
}
|
|
@@ -4179,8 +4319,8 @@ const defaultProps$t = {
|
|
|
4179
4319
|
// transform intentionally has no default - handled by effectiveTransform
|
|
4180
4320
|
};
|
|
4181
4321
|
try {
|
|
4182
|
-
if (componentDefinition$
|
|
4183
|
-
Object.entries(componentDefinition$
|
|
4322
|
+
if (componentDefinition$t && componentDefinition$t.props) {
|
|
4323
|
+
Object.entries(componentDefinition$t.props).forEach(([key, config]) => {
|
|
4184
4324
|
const propConfig = config;
|
|
4185
4325
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
4186
4326
|
defaultProps$t[key] = propConfig.default;
|
|
@@ -4191,6 +4331,7 @@ try {
|
|
|
4191
4331
|
console.warn("Error extracting default props:", e);
|
|
4192
4332
|
}
|
|
4193
4333
|
function ShaderComponent$t(props) {
|
|
4334
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
4194
4335
|
const context = useShaderContext();
|
|
4195
4336
|
const {
|
|
4196
4337
|
shaderParentId: parentId,
|
|
@@ -4198,13 +4339,13 @@ function ShaderComponent$t(props) {
|
|
|
4198
4339
|
shaderUniformUpdate: parentUniformUpdate,
|
|
4199
4340
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
4200
4341
|
} = context;
|
|
4201
|
-
const instanceId = props.id || `${componentDefinition$
|
|
4342
|
+
const instanceId = props.id || `${componentDefinition$t.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4202
4343
|
const effectiveProps = createMemo(() => {
|
|
4203
4344
|
let baseProps = {
|
|
4204
4345
|
...defaultProps$t
|
|
4205
4346
|
};
|
|
4206
|
-
for (const [key, value] of Object.entries(
|
|
4207
|
-
if (
|
|
4347
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
4348
|
+
if (value !== void 0) {
|
|
4208
4349
|
baseProps[key] = value;
|
|
4209
4350
|
}
|
|
4210
4351
|
}
|
|
@@ -4217,7 +4358,7 @@ function ShaderComponent$t(props) {
|
|
|
4217
4358
|
let uniformsMap = null;
|
|
4218
4359
|
const getUniformsMap = () => {
|
|
4219
4360
|
if (!uniformsMap) {
|
|
4220
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
4361
|
+
uniformsMap = createUniformsMap(componentDefinition$t, effectiveProps(), instanceId);
|
|
4221
4362
|
}
|
|
4222
4363
|
return uniformsMap;
|
|
4223
4364
|
};
|
|
@@ -4225,7 +4366,6 @@ function ShaderComponent$t(props) {
|
|
|
4225
4366
|
...context,
|
|
4226
4367
|
shaderParentId: instanceId
|
|
4227
4368
|
}));
|
|
4228
|
-
const resolved = children(() => props.children);
|
|
4229
4369
|
let isRegistered = false;
|
|
4230
4370
|
onMount(() => {
|
|
4231
4371
|
const uniforms = getUniformsMap();
|
|
@@ -4243,7 +4383,7 @@ function ShaderComponent$t(props) {
|
|
|
4243
4383
|
renderOrder: props.renderOrder || 0,
|
|
4244
4384
|
transform: effectiveTransform()
|
|
4245
4385
|
};
|
|
4246
|
-
parentRegister(instanceId, componentDefinition$
|
|
4386
|
+
parentRegister(instanceId, componentDefinition$t.fragmentNode, parentId, metadata, uniforms, componentDefinition$t);
|
|
4247
4387
|
isRegistered = true;
|
|
4248
4388
|
} catch (error) {
|
|
4249
4389
|
console.error("Error registering shader node:", error);
|
|
@@ -4298,7 +4438,7 @@ function ShaderComponent$t(props) {
|
|
|
4298
4438
|
return childContextValue();
|
|
4299
4439
|
},
|
|
4300
4440
|
get children() {
|
|
4301
|
-
return
|
|
4441
|
+
return local.children;
|
|
4302
4442
|
}
|
|
4303
4443
|
});
|
|
4304
4444
|
}
|
|
@@ -4319,8 +4459,8 @@ const defaultProps$s = {
|
|
|
4319
4459
|
// transform intentionally has no default - handled by effectiveTransform
|
|
4320
4460
|
};
|
|
4321
4461
|
try {
|
|
4322
|
-
if (componentDefinition$
|
|
4323
|
-
Object.entries(componentDefinition$
|
|
4462
|
+
if (componentDefinition$u && componentDefinition$u.props) {
|
|
4463
|
+
Object.entries(componentDefinition$u.props).forEach(([key, config]) => {
|
|
4324
4464
|
const propConfig = config;
|
|
4325
4465
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
4326
4466
|
defaultProps$s[key] = propConfig.default;
|
|
@@ -4331,6 +4471,7 @@ try {
|
|
|
4331
4471
|
console.warn("Error extracting default props:", e);
|
|
4332
4472
|
}
|
|
4333
4473
|
function ShaderComponent$s(props) {
|
|
4474
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
4334
4475
|
const context = useShaderContext();
|
|
4335
4476
|
const {
|
|
4336
4477
|
shaderParentId: parentId,
|
|
@@ -4338,13 +4479,13 @@ function ShaderComponent$s(props) {
|
|
|
4338
4479
|
shaderUniformUpdate: parentUniformUpdate,
|
|
4339
4480
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
4340
4481
|
} = context;
|
|
4341
|
-
const instanceId = props.id || `${componentDefinition$
|
|
4482
|
+
const instanceId = props.id || `${componentDefinition$u.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4342
4483
|
const effectiveProps = createMemo(() => {
|
|
4343
4484
|
let baseProps = {
|
|
4344
4485
|
...defaultProps$s
|
|
4345
4486
|
};
|
|
4346
|
-
for (const [key, value] of Object.entries(
|
|
4347
|
-
if (
|
|
4487
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
4488
|
+
if (value !== void 0) {
|
|
4348
4489
|
baseProps[key] = value;
|
|
4349
4490
|
}
|
|
4350
4491
|
}
|
|
@@ -4357,7 +4498,7 @@ function ShaderComponent$s(props) {
|
|
|
4357
4498
|
let uniformsMap = null;
|
|
4358
4499
|
const getUniformsMap = () => {
|
|
4359
4500
|
if (!uniformsMap) {
|
|
4360
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
4501
|
+
uniformsMap = createUniformsMap(componentDefinition$u, effectiveProps(), instanceId);
|
|
4361
4502
|
}
|
|
4362
4503
|
return uniformsMap;
|
|
4363
4504
|
};
|
|
@@ -4365,7 +4506,6 @@ function ShaderComponent$s(props) {
|
|
|
4365
4506
|
...context,
|
|
4366
4507
|
shaderParentId: instanceId
|
|
4367
4508
|
}));
|
|
4368
|
-
const resolved = children(() => props.children);
|
|
4369
4509
|
let isRegistered = false;
|
|
4370
4510
|
onMount(() => {
|
|
4371
4511
|
const uniforms = getUniformsMap();
|
|
@@ -4383,7 +4523,7 @@ function ShaderComponent$s(props) {
|
|
|
4383
4523
|
renderOrder: props.renderOrder || 0,
|
|
4384
4524
|
transform: effectiveTransform()
|
|
4385
4525
|
};
|
|
4386
|
-
parentRegister(instanceId, componentDefinition$
|
|
4526
|
+
parentRegister(instanceId, componentDefinition$u.fragmentNode, parentId, metadata, uniforms, componentDefinition$u);
|
|
4387
4527
|
isRegistered = true;
|
|
4388
4528
|
} catch (error) {
|
|
4389
4529
|
console.error("Error registering shader node:", error);
|
|
@@ -4438,7 +4578,7 @@ function ShaderComponent$s(props) {
|
|
|
4438
4578
|
return childContextValue();
|
|
4439
4579
|
},
|
|
4440
4580
|
get children() {
|
|
4441
|
-
return
|
|
4581
|
+
return local.children;
|
|
4442
4582
|
}
|
|
4443
4583
|
});
|
|
4444
4584
|
}
|
|
@@ -4459,8 +4599,8 @@ const defaultProps$r = {
|
|
|
4459
4599
|
// transform intentionally has no default - handled by effectiveTransform
|
|
4460
4600
|
};
|
|
4461
4601
|
try {
|
|
4462
|
-
if (componentDefinition$
|
|
4463
|
-
Object.entries(componentDefinition$
|
|
4602
|
+
if (componentDefinition$v && componentDefinition$v.props) {
|
|
4603
|
+
Object.entries(componentDefinition$v.props).forEach(([key, config]) => {
|
|
4464
4604
|
const propConfig = config;
|
|
4465
4605
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
4466
4606
|
defaultProps$r[key] = propConfig.default;
|
|
@@ -4471,6 +4611,7 @@ try {
|
|
|
4471
4611
|
console.warn("Error extracting default props:", e);
|
|
4472
4612
|
}
|
|
4473
4613
|
function ShaderComponent$r(props) {
|
|
4614
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
4474
4615
|
const context = useShaderContext();
|
|
4475
4616
|
const {
|
|
4476
4617
|
shaderParentId: parentId,
|
|
@@ -4478,13 +4619,13 @@ function ShaderComponent$r(props) {
|
|
|
4478
4619
|
shaderUniformUpdate: parentUniformUpdate,
|
|
4479
4620
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
4480
4621
|
} = context;
|
|
4481
|
-
const instanceId = props.id || `${componentDefinition$
|
|
4622
|
+
const instanceId = props.id || `${componentDefinition$v.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4482
4623
|
const effectiveProps = createMemo(() => {
|
|
4483
4624
|
let baseProps = {
|
|
4484
4625
|
...defaultProps$r
|
|
4485
4626
|
};
|
|
4486
|
-
for (const [key, value] of Object.entries(
|
|
4487
|
-
if (
|
|
4627
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
4628
|
+
if (value !== void 0) {
|
|
4488
4629
|
baseProps[key] = value;
|
|
4489
4630
|
}
|
|
4490
4631
|
}
|
|
@@ -4497,7 +4638,7 @@ function ShaderComponent$r(props) {
|
|
|
4497
4638
|
let uniformsMap = null;
|
|
4498
4639
|
const getUniformsMap = () => {
|
|
4499
4640
|
if (!uniformsMap) {
|
|
4500
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
4641
|
+
uniformsMap = createUniformsMap(componentDefinition$v, effectiveProps(), instanceId);
|
|
4501
4642
|
}
|
|
4502
4643
|
return uniformsMap;
|
|
4503
4644
|
};
|
|
@@ -4505,7 +4646,6 @@ function ShaderComponent$r(props) {
|
|
|
4505
4646
|
...context,
|
|
4506
4647
|
shaderParentId: instanceId
|
|
4507
4648
|
}));
|
|
4508
|
-
const resolved = children(() => props.children);
|
|
4509
4649
|
let isRegistered = false;
|
|
4510
4650
|
onMount(() => {
|
|
4511
4651
|
const uniforms = getUniformsMap();
|
|
@@ -4523,7 +4663,7 @@ function ShaderComponent$r(props) {
|
|
|
4523
4663
|
renderOrder: props.renderOrder || 0,
|
|
4524
4664
|
transform: effectiveTransform()
|
|
4525
4665
|
};
|
|
4526
|
-
parentRegister(instanceId, componentDefinition$
|
|
4666
|
+
parentRegister(instanceId, componentDefinition$v.fragmentNode, parentId, metadata, uniforms, componentDefinition$v);
|
|
4527
4667
|
isRegistered = true;
|
|
4528
4668
|
} catch (error) {
|
|
4529
4669
|
console.error("Error registering shader node:", error);
|
|
@@ -4578,7 +4718,7 @@ function ShaderComponent$r(props) {
|
|
|
4578
4718
|
return childContextValue();
|
|
4579
4719
|
},
|
|
4580
4720
|
get children() {
|
|
4581
|
-
return
|
|
4721
|
+
return local.children;
|
|
4582
4722
|
}
|
|
4583
4723
|
});
|
|
4584
4724
|
}
|
|
@@ -4599,8 +4739,8 @@ const defaultProps$q = {
|
|
|
4599
4739
|
// transform intentionally has no default - handled by effectiveTransform
|
|
4600
4740
|
};
|
|
4601
4741
|
try {
|
|
4602
|
-
if (componentDefinition$
|
|
4603
|
-
Object.entries(componentDefinition$
|
|
4742
|
+
if (componentDefinition$w && componentDefinition$w.props) {
|
|
4743
|
+
Object.entries(componentDefinition$w.props).forEach(([key, config]) => {
|
|
4604
4744
|
const propConfig = config;
|
|
4605
4745
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
4606
4746
|
defaultProps$q[key] = propConfig.default;
|
|
@@ -4611,6 +4751,7 @@ try {
|
|
|
4611
4751
|
console.warn("Error extracting default props:", e);
|
|
4612
4752
|
}
|
|
4613
4753
|
function ShaderComponent$q(props) {
|
|
4754
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
4614
4755
|
const context = useShaderContext();
|
|
4615
4756
|
const {
|
|
4616
4757
|
shaderParentId: parentId,
|
|
@@ -4618,13 +4759,13 @@ function ShaderComponent$q(props) {
|
|
|
4618
4759
|
shaderUniformUpdate: parentUniformUpdate,
|
|
4619
4760
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
4620
4761
|
} = context;
|
|
4621
|
-
const instanceId = props.id || `${componentDefinition$
|
|
4762
|
+
const instanceId = props.id || `${componentDefinition$w.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4622
4763
|
const effectiveProps = createMemo(() => {
|
|
4623
4764
|
let baseProps = {
|
|
4624
4765
|
...defaultProps$q
|
|
4625
4766
|
};
|
|
4626
|
-
for (const [key, value] of Object.entries(
|
|
4627
|
-
if (
|
|
4767
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
4768
|
+
if (value !== void 0) {
|
|
4628
4769
|
baseProps[key] = value;
|
|
4629
4770
|
}
|
|
4630
4771
|
}
|
|
@@ -4637,7 +4778,7 @@ function ShaderComponent$q(props) {
|
|
|
4637
4778
|
let uniformsMap = null;
|
|
4638
4779
|
const getUniformsMap = () => {
|
|
4639
4780
|
if (!uniformsMap) {
|
|
4640
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
4781
|
+
uniformsMap = createUniformsMap(componentDefinition$w, effectiveProps(), instanceId);
|
|
4641
4782
|
}
|
|
4642
4783
|
return uniformsMap;
|
|
4643
4784
|
};
|
|
@@ -4645,7 +4786,6 @@ function ShaderComponent$q(props) {
|
|
|
4645
4786
|
...context,
|
|
4646
4787
|
shaderParentId: instanceId
|
|
4647
4788
|
}));
|
|
4648
|
-
const resolved = children(() => props.children);
|
|
4649
4789
|
let isRegistered = false;
|
|
4650
4790
|
onMount(() => {
|
|
4651
4791
|
const uniforms = getUniformsMap();
|
|
@@ -4663,7 +4803,7 @@ function ShaderComponent$q(props) {
|
|
|
4663
4803
|
renderOrder: props.renderOrder || 0,
|
|
4664
4804
|
transform: effectiveTransform()
|
|
4665
4805
|
};
|
|
4666
|
-
parentRegister(instanceId, componentDefinition$
|
|
4806
|
+
parentRegister(instanceId, componentDefinition$w.fragmentNode, parentId, metadata, uniforms, componentDefinition$w);
|
|
4667
4807
|
isRegistered = true;
|
|
4668
4808
|
} catch (error) {
|
|
4669
4809
|
console.error("Error registering shader node:", error);
|
|
@@ -4718,7 +4858,7 @@ function ShaderComponent$q(props) {
|
|
|
4718
4858
|
return childContextValue();
|
|
4719
4859
|
},
|
|
4720
4860
|
get children() {
|
|
4721
|
-
return
|
|
4861
|
+
return local.children;
|
|
4722
4862
|
}
|
|
4723
4863
|
});
|
|
4724
4864
|
}
|
|
@@ -4739,8 +4879,8 @@ const defaultProps$p = {
|
|
|
4739
4879
|
// transform intentionally has no default - handled by effectiveTransform
|
|
4740
4880
|
};
|
|
4741
4881
|
try {
|
|
4742
|
-
if (componentDefinition$
|
|
4743
|
-
Object.entries(componentDefinition$
|
|
4882
|
+
if (componentDefinition$x && componentDefinition$x.props) {
|
|
4883
|
+
Object.entries(componentDefinition$x.props).forEach(([key, config]) => {
|
|
4744
4884
|
const propConfig = config;
|
|
4745
4885
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
4746
4886
|
defaultProps$p[key] = propConfig.default;
|
|
@@ -4751,6 +4891,7 @@ try {
|
|
|
4751
4891
|
console.warn("Error extracting default props:", e);
|
|
4752
4892
|
}
|
|
4753
4893
|
function ShaderComponent$p(props) {
|
|
4894
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
4754
4895
|
const context = useShaderContext();
|
|
4755
4896
|
const {
|
|
4756
4897
|
shaderParentId: parentId,
|
|
@@ -4758,13 +4899,13 @@ function ShaderComponent$p(props) {
|
|
|
4758
4899
|
shaderUniformUpdate: parentUniformUpdate,
|
|
4759
4900
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
4760
4901
|
} = context;
|
|
4761
|
-
const instanceId = props.id || `${componentDefinition$
|
|
4902
|
+
const instanceId = props.id || `${componentDefinition$x.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4762
4903
|
const effectiveProps = createMemo(() => {
|
|
4763
4904
|
let baseProps = {
|
|
4764
4905
|
...defaultProps$p
|
|
4765
4906
|
};
|
|
4766
|
-
for (const [key, value] of Object.entries(
|
|
4767
|
-
if (
|
|
4907
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
4908
|
+
if (value !== void 0) {
|
|
4768
4909
|
baseProps[key] = value;
|
|
4769
4910
|
}
|
|
4770
4911
|
}
|
|
@@ -4777,7 +4918,7 @@ function ShaderComponent$p(props) {
|
|
|
4777
4918
|
let uniformsMap = null;
|
|
4778
4919
|
const getUniformsMap = () => {
|
|
4779
4920
|
if (!uniformsMap) {
|
|
4780
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
4921
|
+
uniformsMap = createUniformsMap(componentDefinition$x, effectiveProps(), instanceId);
|
|
4781
4922
|
}
|
|
4782
4923
|
return uniformsMap;
|
|
4783
4924
|
};
|
|
@@ -4785,7 +4926,6 @@ function ShaderComponent$p(props) {
|
|
|
4785
4926
|
...context,
|
|
4786
4927
|
shaderParentId: instanceId
|
|
4787
4928
|
}));
|
|
4788
|
-
const resolved = children(() => props.children);
|
|
4789
4929
|
let isRegistered = false;
|
|
4790
4930
|
onMount(() => {
|
|
4791
4931
|
const uniforms = getUniformsMap();
|
|
@@ -4803,7 +4943,7 @@ function ShaderComponent$p(props) {
|
|
|
4803
4943
|
renderOrder: props.renderOrder || 0,
|
|
4804
4944
|
transform: effectiveTransform()
|
|
4805
4945
|
};
|
|
4806
|
-
parentRegister(instanceId, componentDefinition$
|
|
4946
|
+
parentRegister(instanceId, componentDefinition$x.fragmentNode, parentId, metadata, uniforms, componentDefinition$x);
|
|
4807
4947
|
isRegistered = true;
|
|
4808
4948
|
} catch (error) {
|
|
4809
4949
|
console.error("Error registering shader node:", error);
|
|
@@ -4858,7 +4998,7 @@ function ShaderComponent$p(props) {
|
|
|
4858
4998
|
return childContextValue();
|
|
4859
4999
|
},
|
|
4860
5000
|
get children() {
|
|
4861
|
-
return
|
|
5001
|
+
return local.children;
|
|
4862
5002
|
}
|
|
4863
5003
|
});
|
|
4864
5004
|
}
|
|
@@ -4879,8 +5019,8 @@ const defaultProps$o = {
|
|
|
4879
5019
|
// transform intentionally has no default - handled by effectiveTransform
|
|
4880
5020
|
};
|
|
4881
5021
|
try {
|
|
4882
|
-
if (componentDefinition$
|
|
4883
|
-
Object.entries(componentDefinition$
|
|
5022
|
+
if (componentDefinition$y && componentDefinition$y.props) {
|
|
5023
|
+
Object.entries(componentDefinition$y.props).forEach(([key, config]) => {
|
|
4884
5024
|
const propConfig = config;
|
|
4885
5025
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
4886
5026
|
defaultProps$o[key] = propConfig.default;
|
|
@@ -4891,6 +5031,7 @@ try {
|
|
|
4891
5031
|
console.warn("Error extracting default props:", e);
|
|
4892
5032
|
}
|
|
4893
5033
|
function ShaderComponent$o(props) {
|
|
5034
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
4894
5035
|
const context = useShaderContext();
|
|
4895
5036
|
const {
|
|
4896
5037
|
shaderParentId: parentId,
|
|
@@ -4898,13 +5039,13 @@ function ShaderComponent$o(props) {
|
|
|
4898
5039
|
shaderUniformUpdate: parentUniformUpdate,
|
|
4899
5040
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
4900
5041
|
} = context;
|
|
4901
|
-
const instanceId = props.id || `${componentDefinition$
|
|
5042
|
+
const instanceId = props.id || `${componentDefinition$y.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4902
5043
|
const effectiveProps = createMemo(() => {
|
|
4903
5044
|
let baseProps = {
|
|
4904
5045
|
...defaultProps$o
|
|
4905
5046
|
};
|
|
4906
|
-
for (const [key, value] of Object.entries(
|
|
4907
|
-
if (
|
|
5047
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
5048
|
+
if (value !== void 0) {
|
|
4908
5049
|
baseProps[key] = value;
|
|
4909
5050
|
}
|
|
4910
5051
|
}
|
|
@@ -4917,7 +5058,7 @@ function ShaderComponent$o(props) {
|
|
|
4917
5058
|
let uniformsMap = null;
|
|
4918
5059
|
const getUniformsMap = () => {
|
|
4919
5060
|
if (!uniformsMap) {
|
|
4920
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
5061
|
+
uniformsMap = createUniformsMap(componentDefinition$y, effectiveProps(), instanceId);
|
|
4921
5062
|
}
|
|
4922
5063
|
return uniformsMap;
|
|
4923
5064
|
};
|
|
@@ -4925,7 +5066,6 @@ function ShaderComponent$o(props) {
|
|
|
4925
5066
|
...context,
|
|
4926
5067
|
shaderParentId: instanceId
|
|
4927
5068
|
}));
|
|
4928
|
-
const resolved = children(() => props.children);
|
|
4929
5069
|
let isRegistered = false;
|
|
4930
5070
|
onMount(() => {
|
|
4931
5071
|
const uniforms = getUniformsMap();
|
|
@@ -4943,7 +5083,7 @@ function ShaderComponent$o(props) {
|
|
|
4943
5083
|
renderOrder: props.renderOrder || 0,
|
|
4944
5084
|
transform: effectiveTransform()
|
|
4945
5085
|
};
|
|
4946
|
-
parentRegister(instanceId, componentDefinition$
|
|
5086
|
+
parentRegister(instanceId, componentDefinition$y.fragmentNode, parentId, metadata, uniforms, componentDefinition$y);
|
|
4947
5087
|
isRegistered = true;
|
|
4948
5088
|
} catch (error) {
|
|
4949
5089
|
console.error("Error registering shader node:", error);
|
|
@@ -4998,7 +5138,7 @@ function ShaderComponent$o(props) {
|
|
|
4998
5138
|
return childContextValue();
|
|
4999
5139
|
},
|
|
5000
5140
|
get children() {
|
|
5001
|
-
return
|
|
5141
|
+
return local.children;
|
|
5002
5142
|
}
|
|
5003
5143
|
});
|
|
5004
5144
|
}
|
|
@@ -5019,8 +5159,8 @@ const defaultProps$n = {
|
|
|
5019
5159
|
// transform intentionally has no default - handled by effectiveTransform
|
|
5020
5160
|
};
|
|
5021
5161
|
try {
|
|
5022
|
-
if (componentDefinition$
|
|
5023
|
-
Object.entries(componentDefinition$
|
|
5162
|
+
if (componentDefinition$z && componentDefinition$z.props) {
|
|
5163
|
+
Object.entries(componentDefinition$z.props).forEach(([key, config]) => {
|
|
5024
5164
|
const propConfig = config;
|
|
5025
5165
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
5026
5166
|
defaultProps$n[key] = propConfig.default;
|
|
@@ -5031,6 +5171,7 @@ try {
|
|
|
5031
5171
|
console.warn("Error extracting default props:", e);
|
|
5032
5172
|
}
|
|
5033
5173
|
function ShaderComponent$n(props) {
|
|
5174
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
5034
5175
|
const context = useShaderContext();
|
|
5035
5176
|
const {
|
|
5036
5177
|
shaderParentId: parentId,
|
|
@@ -5038,13 +5179,13 @@ function ShaderComponent$n(props) {
|
|
|
5038
5179
|
shaderUniformUpdate: parentUniformUpdate,
|
|
5039
5180
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
5040
5181
|
} = context;
|
|
5041
|
-
const instanceId = props.id || `${componentDefinition$
|
|
5182
|
+
const instanceId = props.id || `${componentDefinition$z.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5042
5183
|
const effectiveProps = createMemo(() => {
|
|
5043
5184
|
let baseProps = {
|
|
5044
5185
|
...defaultProps$n
|
|
5045
5186
|
};
|
|
5046
|
-
for (const [key, value] of Object.entries(
|
|
5047
|
-
if (
|
|
5187
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
5188
|
+
if (value !== void 0) {
|
|
5048
5189
|
baseProps[key] = value;
|
|
5049
5190
|
}
|
|
5050
5191
|
}
|
|
@@ -5057,7 +5198,7 @@ function ShaderComponent$n(props) {
|
|
|
5057
5198
|
let uniformsMap = null;
|
|
5058
5199
|
const getUniformsMap = () => {
|
|
5059
5200
|
if (!uniformsMap) {
|
|
5060
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
5201
|
+
uniformsMap = createUniformsMap(componentDefinition$z, effectiveProps(), instanceId);
|
|
5061
5202
|
}
|
|
5062
5203
|
return uniformsMap;
|
|
5063
5204
|
};
|
|
@@ -5065,7 +5206,6 @@ function ShaderComponent$n(props) {
|
|
|
5065
5206
|
...context,
|
|
5066
5207
|
shaderParentId: instanceId
|
|
5067
5208
|
}));
|
|
5068
|
-
const resolved = children(() => props.children);
|
|
5069
5209
|
let isRegistered = false;
|
|
5070
5210
|
onMount(() => {
|
|
5071
5211
|
const uniforms = getUniformsMap();
|
|
@@ -5083,7 +5223,7 @@ function ShaderComponent$n(props) {
|
|
|
5083
5223
|
renderOrder: props.renderOrder || 0,
|
|
5084
5224
|
transform: effectiveTransform()
|
|
5085
5225
|
};
|
|
5086
|
-
parentRegister(instanceId, componentDefinition$
|
|
5226
|
+
parentRegister(instanceId, componentDefinition$z.fragmentNode, parentId, metadata, uniforms, componentDefinition$z);
|
|
5087
5227
|
isRegistered = true;
|
|
5088
5228
|
} catch (error) {
|
|
5089
5229
|
console.error("Error registering shader node:", error);
|
|
@@ -5138,7 +5278,7 @@ function ShaderComponent$n(props) {
|
|
|
5138
5278
|
return childContextValue();
|
|
5139
5279
|
},
|
|
5140
5280
|
get children() {
|
|
5141
|
-
return
|
|
5281
|
+
return local.children;
|
|
5142
5282
|
}
|
|
5143
5283
|
});
|
|
5144
5284
|
}
|
|
@@ -5159,8 +5299,8 @@ const defaultProps$m = {
|
|
|
5159
5299
|
// transform intentionally has no default - handled by effectiveTransform
|
|
5160
5300
|
};
|
|
5161
5301
|
try {
|
|
5162
|
-
if (componentDefinition$
|
|
5163
|
-
Object.entries(componentDefinition$
|
|
5302
|
+
if (componentDefinition$A && componentDefinition$A.props) {
|
|
5303
|
+
Object.entries(componentDefinition$A.props).forEach(([key, config]) => {
|
|
5164
5304
|
const propConfig = config;
|
|
5165
5305
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
5166
5306
|
defaultProps$m[key] = propConfig.default;
|
|
@@ -5171,6 +5311,7 @@ try {
|
|
|
5171
5311
|
console.warn("Error extracting default props:", e);
|
|
5172
5312
|
}
|
|
5173
5313
|
function ShaderComponent$m(props) {
|
|
5314
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
5174
5315
|
const context = useShaderContext();
|
|
5175
5316
|
const {
|
|
5176
5317
|
shaderParentId: parentId,
|
|
@@ -5178,13 +5319,13 @@ function ShaderComponent$m(props) {
|
|
|
5178
5319
|
shaderUniformUpdate: parentUniformUpdate,
|
|
5179
5320
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
5180
5321
|
} = context;
|
|
5181
|
-
const instanceId = props.id || `${componentDefinition$
|
|
5322
|
+
const instanceId = props.id || `${componentDefinition$A.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5182
5323
|
const effectiveProps = createMemo(() => {
|
|
5183
5324
|
let baseProps = {
|
|
5184
5325
|
...defaultProps$m
|
|
5185
5326
|
};
|
|
5186
|
-
for (const [key, value] of Object.entries(
|
|
5187
|
-
if (
|
|
5327
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
5328
|
+
if (value !== void 0) {
|
|
5188
5329
|
baseProps[key] = value;
|
|
5189
5330
|
}
|
|
5190
5331
|
}
|
|
@@ -5197,7 +5338,7 @@ function ShaderComponent$m(props) {
|
|
|
5197
5338
|
let uniformsMap = null;
|
|
5198
5339
|
const getUniformsMap = () => {
|
|
5199
5340
|
if (!uniformsMap) {
|
|
5200
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
5341
|
+
uniformsMap = createUniformsMap(componentDefinition$A, effectiveProps(), instanceId);
|
|
5201
5342
|
}
|
|
5202
5343
|
return uniformsMap;
|
|
5203
5344
|
};
|
|
@@ -5205,7 +5346,6 @@ function ShaderComponent$m(props) {
|
|
|
5205
5346
|
...context,
|
|
5206
5347
|
shaderParentId: instanceId
|
|
5207
5348
|
}));
|
|
5208
|
-
const resolved = children(() => props.children);
|
|
5209
5349
|
let isRegistered = false;
|
|
5210
5350
|
onMount(() => {
|
|
5211
5351
|
const uniforms = getUniformsMap();
|
|
@@ -5223,7 +5363,7 @@ function ShaderComponent$m(props) {
|
|
|
5223
5363
|
renderOrder: props.renderOrder || 0,
|
|
5224
5364
|
transform: effectiveTransform()
|
|
5225
5365
|
};
|
|
5226
|
-
parentRegister(instanceId, componentDefinition$
|
|
5366
|
+
parentRegister(instanceId, componentDefinition$A.fragmentNode, parentId, metadata, uniforms, componentDefinition$A);
|
|
5227
5367
|
isRegistered = true;
|
|
5228
5368
|
} catch (error) {
|
|
5229
5369
|
console.error("Error registering shader node:", error);
|
|
@@ -5278,7 +5418,7 @@ function ShaderComponent$m(props) {
|
|
|
5278
5418
|
return childContextValue();
|
|
5279
5419
|
},
|
|
5280
5420
|
get children() {
|
|
5281
|
-
return
|
|
5421
|
+
return local.children;
|
|
5282
5422
|
}
|
|
5283
5423
|
});
|
|
5284
5424
|
}
|
|
@@ -5299,8 +5439,8 @@ const defaultProps$l = {
|
|
|
5299
5439
|
// transform intentionally has no default - handled by effectiveTransform
|
|
5300
5440
|
};
|
|
5301
5441
|
try {
|
|
5302
|
-
if (componentDefinition$
|
|
5303
|
-
Object.entries(componentDefinition$
|
|
5442
|
+
if (componentDefinition$B && componentDefinition$B.props) {
|
|
5443
|
+
Object.entries(componentDefinition$B.props).forEach(([key, config]) => {
|
|
5304
5444
|
const propConfig = config;
|
|
5305
5445
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
5306
5446
|
defaultProps$l[key] = propConfig.default;
|
|
@@ -5311,6 +5451,7 @@ try {
|
|
|
5311
5451
|
console.warn("Error extracting default props:", e);
|
|
5312
5452
|
}
|
|
5313
5453
|
function ShaderComponent$l(props) {
|
|
5454
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
5314
5455
|
const context = useShaderContext();
|
|
5315
5456
|
const {
|
|
5316
5457
|
shaderParentId: parentId,
|
|
@@ -5318,13 +5459,13 @@ function ShaderComponent$l(props) {
|
|
|
5318
5459
|
shaderUniformUpdate: parentUniformUpdate,
|
|
5319
5460
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
5320
5461
|
} = context;
|
|
5321
|
-
const instanceId = props.id || `${componentDefinition$
|
|
5462
|
+
const instanceId = props.id || `${componentDefinition$B.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5322
5463
|
const effectiveProps = createMemo(() => {
|
|
5323
5464
|
let baseProps = {
|
|
5324
5465
|
...defaultProps$l
|
|
5325
5466
|
};
|
|
5326
|
-
for (const [key, value] of Object.entries(
|
|
5327
|
-
if (
|
|
5467
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
5468
|
+
if (value !== void 0) {
|
|
5328
5469
|
baseProps[key] = value;
|
|
5329
5470
|
}
|
|
5330
5471
|
}
|
|
@@ -5337,7 +5478,7 @@ function ShaderComponent$l(props) {
|
|
|
5337
5478
|
let uniformsMap = null;
|
|
5338
5479
|
const getUniformsMap = () => {
|
|
5339
5480
|
if (!uniformsMap) {
|
|
5340
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
5481
|
+
uniformsMap = createUniformsMap(componentDefinition$B, effectiveProps(), instanceId);
|
|
5341
5482
|
}
|
|
5342
5483
|
return uniformsMap;
|
|
5343
5484
|
};
|
|
@@ -5345,7 +5486,6 @@ function ShaderComponent$l(props) {
|
|
|
5345
5486
|
...context,
|
|
5346
5487
|
shaderParentId: instanceId
|
|
5347
5488
|
}));
|
|
5348
|
-
const resolved = children(() => props.children);
|
|
5349
5489
|
let isRegistered = false;
|
|
5350
5490
|
onMount(() => {
|
|
5351
5491
|
const uniforms = getUniformsMap();
|
|
@@ -5363,7 +5503,7 @@ function ShaderComponent$l(props) {
|
|
|
5363
5503
|
renderOrder: props.renderOrder || 0,
|
|
5364
5504
|
transform: effectiveTransform()
|
|
5365
5505
|
};
|
|
5366
|
-
parentRegister(instanceId, componentDefinition$
|
|
5506
|
+
parentRegister(instanceId, componentDefinition$B.fragmentNode, parentId, metadata, uniforms, componentDefinition$B);
|
|
5367
5507
|
isRegistered = true;
|
|
5368
5508
|
} catch (error) {
|
|
5369
5509
|
console.error("Error registering shader node:", error);
|
|
@@ -5418,7 +5558,7 @@ function ShaderComponent$l(props) {
|
|
|
5418
5558
|
return childContextValue();
|
|
5419
5559
|
},
|
|
5420
5560
|
get children() {
|
|
5421
|
-
return
|
|
5561
|
+
return local.children;
|
|
5422
5562
|
}
|
|
5423
5563
|
});
|
|
5424
5564
|
}
|
|
@@ -5439,8 +5579,8 @@ const defaultProps$k = {
|
|
|
5439
5579
|
// transform intentionally has no default - handled by effectiveTransform
|
|
5440
5580
|
};
|
|
5441
5581
|
try {
|
|
5442
|
-
if (componentDefinition$
|
|
5443
|
-
Object.entries(componentDefinition$
|
|
5582
|
+
if (componentDefinition$C && componentDefinition$C.props) {
|
|
5583
|
+
Object.entries(componentDefinition$C.props).forEach(([key, config]) => {
|
|
5444
5584
|
const propConfig = config;
|
|
5445
5585
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
5446
5586
|
defaultProps$k[key] = propConfig.default;
|
|
@@ -5451,6 +5591,7 @@ try {
|
|
|
5451
5591
|
console.warn("Error extracting default props:", e);
|
|
5452
5592
|
}
|
|
5453
5593
|
function ShaderComponent$k(props) {
|
|
5594
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
5454
5595
|
const context = useShaderContext();
|
|
5455
5596
|
const {
|
|
5456
5597
|
shaderParentId: parentId,
|
|
@@ -5458,13 +5599,13 @@ function ShaderComponent$k(props) {
|
|
|
5458
5599
|
shaderUniformUpdate: parentUniformUpdate,
|
|
5459
5600
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
5460
5601
|
} = context;
|
|
5461
|
-
const instanceId = props.id || `${componentDefinition$
|
|
5602
|
+
const instanceId = props.id || `${componentDefinition$C.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5462
5603
|
const effectiveProps = createMemo(() => {
|
|
5463
5604
|
let baseProps = {
|
|
5464
5605
|
...defaultProps$k
|
|
5465
5606
|
};
|
|
5466
|
-
for (const [key, value] of Object.entries(
|
|
5467
|
-
if (
|
|
5607
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
5608
|
+
if (value !== void 0) {
|
|
5468
5609
|
baseProps[key] = value;
|
|
5469
5610
|
}
|
|
5470
5611
|
}
|
|
@@ -5477,7 +5618,7 @@ function ShaderComponent$k(props) {
|
|
|
5477
5618
|
let uniformsMap = null;
|
|
5478
5619
|
const getUniformsMap = () => {
|
|
5479
5620
|
if (!uniformsMap) {
|
|
5480
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
5621
|
+
uniformsMap = createUniformsMap(componentDefinition$C, effectiveProps(), instanceId);
|
|
5481
5622
|
}
|
|
5482
5623
|
return uniformsMap;
|
|
5483
5624
|
};
|
|
@@ -5485,7 +5626,6 @@ function ShaderComponent$k(props) {
|
|
|
5485
5626
|
...context,
|
|
5486
5627
|
shaderParentId: instanceId
|
|
5487
5628
|
}));
|
|
5488
|
-
const resolved = children(() => props.children);
|
|
5489
5629
|
let isRegistered = false;
|
|
5490
5630
|
onMount(() => {
|
|
5491
5631
|
const uniforms = getUniformsMap();
|
|
@@ -5503,7 +5643,7 @@ function ShaderComponent$k(props) {
|
|
|
5503
5643
|
renderOrder: props.renderOrder || 0,
|
|
5504
5644
|
transform: effectiveTransform()
|
|
5505
5645
|
};
|
|
5506
|
-
parentRegister(instanceId, componentDefinition$
|
|
5646
|
+
parentRegister(instanceId, componentDefinition$C.fragmentNode, parentId, metadata, uniforms, componentDefinition$C);
|
|
5507
5647
|
isRegistered = true;
|
|
5508
5648
|
} catch (error) {
|
|
5509
5649
|
console.error("Error registering shader node:", error);
|
|
@@ -5558,7 +5698,7 @@ function ShaderComponent$k(props) {
|
|
|
5558
5698
|
return childContextValue();
|
|
5559
5699
|
},
|
|
5560
5700
|
get children() {
|
|
5561
|
-
return
|
|
5701
|
+
return local.children;
|
|
5562
5702
|
}
|
|
5563
5703
|
});
|
|
5564
5704
|
}
|
|
@@ -5579,8 +5719,8 @@ const defaultProps$j = {
|
|
|
5579
5719
|
// transform intentionally has no default - handled by effectiveTransform
|
|
5580
5720
|
};
|
|
5581
5721
|
try {
|
|
5582
|
-
if (componentDefinition$
|
|
5583
|
-
Object.entries(componentDefinition$
|
|
5722
|
+
if (componentDefinition$D && componentDefinition$D.props) {
|
|
5723
|
+
Object.entries(componentDefinition$D.props).forEach(([key, config]) => {
|
|
5584
5724
|
const propConfig = config;
|
|
5585
5725
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
5586
5726
|
defaultProps$j[key] = propConfig.default;
|
|
@@ -5591,6 +5731,7 @@ try {
|
|
|
5591
5731
|
console.warn("Error extracting default props:", e);
|
|
5592
5732
|
}
|
|
5593
5733
|
function ShaderComponent$j(props) {
|
|
5734
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
5594
5735
|
const context = useShaderContext();
|
|
5595
5736
|
const {
|
|
5596
5737
|
shaderParentId: parentId,
|
|
@@ -5598,13 +5739,13 @@ function ShaderComponent$j(props) {
|
|
|
5598
5739
|
shaderUniformUpdate: parentUniformUpdate,
|
|
5599
5740
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
5600
5741
|
} = context;
|
|
5601
|
-
const instanceId = props.id || `${componentDefinition$
|
|
5742
|
+
const instanceId = props.id || `${componentDefinition$D.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5602
5743
|
const effectiveProps = createMemo(() => {
|
|
5603
5744
|
let baseProps = {
|
|
5604
5745
|
...defaultProps$j
|
|
5605
5746
|
};
|
|
5606
|
-
for (const [key, value] of Object.entries(
|
|
5607
|
-
if (
|
|
5747
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
5748
|
+
if (value !== void 0) {
|
|
5608
5749
|
baseProps[key] = value;
|
|
5609
5750
|
}
|
|
5610
5751
|
}
|
|
@@ -5617,7 +5758,7 @@ function ShaderComponent$j(props) {
|
|
|
5617
5758
|
let uniformsMap = null;
|
|
5618
5759
|
const getUniformsMap = () => {
|
|
5619
5760
|
if (!uniformsMap) {
|
|
5620
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
5761
|
+
uniformsMap = createUniformsMap(componentDefinition$D, effectiveProps(), instanceId);
|
|
5621
5762
|
}
|
|
5622
5763
|
return uniformsMap;
|
|
5623
5764
|
};
|
|
@@ -5625,7 +5766,6 @@ function ShaderComponent$j(props) {
|
|
|
5625
5766
|
...context,
|
|
5626
5767
|
shaderParentId: instanceId
|
|
5627
5768
|
}));
|
|
5628
|
-
const resolved = children(() => props.children);
|
|
5629
5769
|
let isRegistered = false;
|
|
5630
5770
|
onMount(() => {
|
|
5631
5771
|
const uniforms = getUniformsMap();
|
|
@@ -5643,7 +5783,7 @@ function ShaderComponent$j(props) {
|
|
|
5643
5783
|
renderOrder: props.renderOrder || 0,
|
|
5644
5784
|
transform: effectiveTransform()
|
|
5645
5785
|
};
|
|
5646
|
-
parentRegister(instanceId, componentDefinition$
|
|
5786
|
+
parentRegister(instanceId, componentDefinition$D.fragmentNode, parentId, metadata, uniforms, componentDefinition$D);
|
|
5647
5787
|
isRegistered = true;
|
|
5648
5788
|
} catch (error) {
|
|
5649
5789
|
console.error("Error registering shader node:", error);
|
|
@@ -5698,7 +5838,7 @@ function ShaderComponent$j(props) {
|
|
|
5698
5838
|
return childContextValue();
|
|
5699
5839
|
},
|
|
5700
5840
|
get children() {
|
|
5701
|
-
return
|
|
5841
|
+
return local.children;
|
|
5702
5842
|
}
|
|
5703
5843
|
});
|
|
5704
5844
|
}
|
|
@@ -5719,8 +5859,8 @@ const defaultProps$i = {
|
|
|
5719
5859
|
// transform intentionally has no default - handled by effectiveTransform
|
|
5720
5860
|
};
|
|
5721
5861
|
try {
|
|
5722
|
-
if (componentDefinition$
|
|
5723
|
-
Object.entries(componentDefinition$
|
|
5862
|
+
if (componentDefinition$E && componentDefinition$E.props) {
|
|
5863
|
+
Object.entries(componentDefinition$E.props).forEach(([key, config]) => {
|
|
5724
5864
|
const propConfig = config;
|
|
5725
5865
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
5726
5866
|
defaultProps$i[key] = propConfig.default;
|
|
@@ -5731,6 +5871,7 @@ try {
|
|
|
5731
5871
|
console.warn("Error extracting default props:", e);
|
|
5732
5872
|
}
|
|
5733
5873
|
function ShaderComponent$i(props) {
|
|
5874
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
5734
5875
|
const context = useShaderContext();
|
|
5735
5876
|
const {
|
|
5736
5877
|
shaderParentId: parentId,
|
|
@@ -5738,13 +5879,13 @@ function ShaderComponent$i(props) {
|
|
|
5738
5879
|
shaderUniformUpdate: parentUniformUpdate,
|
|
5739
5880
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
5740
5881
|
} = context;
|
|
5741
|
-
const instanceId = props.id || `${componentDefinition$
|
|
5882
|
+
const instanceId = props.id || `${componentDefinition$E.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5742
5883
|
const effectiveProps = createMemo(() => {
|
|
5743
5884
|
let baseProps = {
|
|
5744
5885
|
...defaultProps$i
|
|
5745
5886
|
};
|
|
5746
|
-
for (const [key, value] of Object.entries(
|
|
5747
|
-
if (
|
|
5887
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
5888
|
+
if (value !== void 0) {
|
|
5748
5889
|
baseProps[key] = value;
|
|
5749
5890
|
}
|
|
5750
5891
|
}
|
|
@@ -5757,7 +5898,7 @@ function ShaderComponent$i(props) {
|
|
|
5757
5898
|
let uniformsMap = null;
|
|
5758
5899
|
const getUniformsMap = () => {
|
|
5759
5900
|
if (!uniformsMap) {
|
|
5760
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
5901
|
+
uniformsMap = createUniformsMap(componentDefinition$E, effectiveProps(), instanceId);
|
|
5761
5902
|
}
|
|
5762
5903
|
return uniformsMap;
|
|
5763
5904
|
};
|
|
@@ -5765,7 +5906,6 @@ function ShaderComponent$i(props) {
|
|
|
5765
5906
|
...context,
|
|
5766
5907
|
shaderParentId: instanceId
|
|
5767
5908
|
}));
|
|
5768
|
-
const resolved = children(() => props.children);
|
|
5769
5909
|
let isRegistered = false;
|
|
5770
5910
|
onMount(() => {
|
|
5771
5911
|
const uniforms = getUniformsMap();
|
|
@@ -5783,7 +5923,7 @@ function ShaderComponent$i(props) {
|
|
|
5783
5923
|
renderOrder: props.renderOrder || 0,
|
|
5784
5924
|
transform: effectiveTransform()
|
|
5785
5925
|
};
|
|
5786
|
-
parentRegister(instanceId, componentDefinition$
|
|
5926
|
+
parentRegister(instanceId, componentDefinition$E.fragmentNode, parentId, metadata, uniforms, componentDefinition$E);
|
|
5787
5927
|
isRegistered = true;
|
|
5788
5928
|
} catch (error) {
|
|
5789
5929
|
console.error("Error registering shader node:", error);
|
|
@@ -5838,7 +5978,7 @@ function ShaderComponent$i(props) {
|
|
|
5838
5978
|
return childContextValue();
|
|
5839
5979
|
},
|
|
5840
5980
|
get children() {
|
|
5841
|
-
return
|
|
5981
|
+
return local.children;
|
|
5842
5982
|
}
|
|
5843
5983
|
});
|
|
5844
5984
|
}
|
|
@@ -5859,8 +5999,8 @@ const defaultProps$h = {
|
|
|
5859
5999
|
// transform intentionally has no default - handled by effectiveTransform
|
|
5860
6000
|
};
|
|
5861
6001
|
try {
|
|
5862
|
-
if (componentDefinition$
|
|
5863
|
-
Object.entries(componentDefinition$
|
|
6002
|
+
if (componentDefinition$F && componentDefinition$F.props) {
|
|
6003
|
+
Object.entries(componentDefinition$F.props).forEach(([key, config]) => {
|
|
5864
6004
|
const propConfig = config;
|
|
5865
6005
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
5866
6006
|
defaultProps$h[key] = propConfig.default;
|
|
@@ -5871,6 +6011,7 @@ try {
|
|
|
5871
6011
|
console.warn("Error extracting default props:", e);
|
|
5872
6012
|
}
|
|
5873
6013
|
function ShaderComponent$h(props) {
|
|
6014
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
5874
6015
|
const context = useShaderContext();
|
|
5875
6016
|
const {
|
|
5876
6017
|
shaderParentId: parentId,
|
|
@@ -5878,13 +6019,13 @@ function ShaderComponent$h(props) {
|
|
|
5878
6019
|
shaderUniformUpdate: parentUniformUpdate,
|
|
5879
6020
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
5880
6021
|
} = context;
|
|
5881
|
-
const instanceId = props.id || `${componentDefinition$
|
|
6022
|
+
const instanceId = props.id || `${componentDefinition$F.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5882
6023
|
const effectiveProps = createMemo(() => {
|
|
5883
6024
|
let baseProps = {
|
|
5884
6025
|
...defaultProps$h
|
|
5885
6026
|
};
|
|
5886
|
-
for (const [key, value] of Object.entries(
|
|
5887
|
-
if (
|
|
6027
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
6028
|
+
if (value !== void 0) {
|
|
5888
6029
|
baseProps[key] = value;
|
|
5889
6030
|
}
|
|
5890
6031
|
}
|
|
@@ -5897,7 +6038,7 @@ function ShaderComponent$h(props) {
|
|
|
5897
6038
|
let uniformsMap = null;
|
|
5898
6039
|
const getUniformsMap = () => {
|
|
5899
6040
|
if (!uniformsMap) {
|
|
5900
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
6041
|
+
uniformsMap = createUniformsMap(componentDefinition$F, effectiveProps(), instanceId);
|
|
5901
6042
|
}
|
|
5902
6043
|
return uniformsMap;
|
|
5903
6044
|
};
|
|
@@ -5905,7 +6046,6 @@ function ShaderComponent$h(props) {
|
|
|
5905
6046
|
...context,
|
|
5906
6047
|
shaderParentId: instanceId
|
|
5907
6048
|
}));
|
|
5908
|
-
const resolved = children(() => props.children);
|
|
5909
6049
|
let isRegistered = false;
|
|
5910
6050
|
onMount(() => {
|
|
5911
6051
|
const uniforms = getUniformsMap();
|
|
@@ -5923,7 +6063,7 @@ function ShaderComponent$h(props) {
|
|
|
5923
6063
|
renderOrder: props.renderOrder || 0,
|
|
5924
6064
|
transform: effectiveTransform()
|
|
5925
6065
|
};
|
|
5926
|
-
parentRegister(instanceId, componentDefinition$
|
|
6066
|
+
parentRegister(instanceId, componentDefinition$F.fragmentNode, parentId, metadata, uniforms, componentDefinition$F);
|
|
5927
6067
|
isRegistered = true;
|
|
5928
6068
|
} catch (error) {
|
|
5929
6069
|
console.error("Error registering shader node:", error);
|
|
@@ -5978,7 +6118,7 @@ function ShaderComponent$h(props) {
|
|
|
5978
6118
|
return childContextValue();
|
|
5979
6119
|
},
|
|
5980
6120
|
get children() {
|
|
5981
|
-
return
|
|
6121
|
+
return local.children;
|
|
5982
6122
|
}
|
|
5983
6123
|
});
|
|
5984
6124
|
}
|
|
@@ -5999,8 +6139,8 @@ const defaultProps$g = {
|
|
|
5999
6139
|
// transform intentionally has no default - handled by effectiveTransform
|
|
6000
6140
|
};
|
|
6001
6141
|
try {
|
|
6002
|
-
if (componentDefinition$
|
|
6003
|
-
Object.entries(componentDefinition$
|
|
6142
|
+
if (componentDefinition$G && componentDefinition$G.props) {
|
|
6143
|
+
Object.entries(componentDefinition$G.props).forEach(([key, config]) => {
|
|
6004
6144
|
const propConfig = config;
|
|
6005
6145
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
6006
6146
|
defaultProps$g[key] = propConfig.default;
|
|
@@ -6011,6 +6151,7 @@ try {
|
|
|
6011
6151
|
console.warn("Error extracting default props:", e);
|
|
6012
6152
|
}
|
|
6013
6153
|
function ShaderComponent$g(props) {
|
|
6154
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
6014
6155
|
const context = useShaderContext();
|
|
6015
6156
|
const {
|
|
6016
6157
|
shaderParentId: parentId,
|
|
@@ -6018,13 +6159,13 @@ function ShaderComponent$g(props) {
|
|
|
6018
6159
|
shaderUniformUpdate: parentUniformUpdate,
|
|
6019
6160
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
6020
6161
|
} = context;
|
|
6021
|
-
const instanceId = props.id || `${componentDefinition$
|
|
6162
|
+
const instanceId = props.id || `${componentDefinition$G.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6022
6163
|
const effectiveProps = createMemo(() => {
|
|
6023
6164
|
let baseProps = {
|
|
6024
6165
|
...defaultProps$g
|
|
6025
6166
|
};
|
|
6026
|
-
for (const [key, value] of Object.entries(
|
|
6027
|
-
if (
|
|
6167
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
6168
|
+
if (value !== void 0) {
|
|
6028
6169
|
baseProps[key] = value;
|
|
6029
6170
|
}
|
|
6030
6171
|
}
|
|
@@ -6037,7 +6178,7 @@ function ShaderComponent$g(props) {
|
|
|
6037
6178
|
let uniformsMap = null;
|
|
6038
6179
|
const getUniformsMap = () => {
|
|
6039
6180
|
if (!uniformsMap) {
|
|
6040
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
6181
|
+
uniformsMap = createUniformsMap(componentDefinition$G, effectiveProps(), instanceId);
|
|
6041
6182
|
}
|
|
6042
6183
|
return uniformsMap;
|
|
6043
6184
|
};
|
|
@@ -6045,7 +6186,6 @@ function ShaderComponent$g(props) {
|
|
|
6045
6186
|
...context,
|
|
6046
6187
|
shaderParentId: instanceId
|
|
6047
6188
|
}));
|
|
6048
|
-
const resolved = children(() => props.children);
|
|
6049
6189
|
let isRegistered = false;
|
|
6050
6190
|
onMount(() => {
|
|
6051
6191
|
const uniforms = getUniformsMap();
|
|
@@ -6063,7 +6203,7 @@ function ShaderComponent$g(props) {
|
|
|
6063
6203
|
renderOrder: props.renderOrder || 0,
|
|
6064
6204
|
transform: effectiveTransform()
|
|
6065
6205
|
};
|
|
6066
|
-
parentRegister(instanceId, componentDefinition$
|
|
6206
|
+
parentRegister(instanceId, componentDefinition$G.fragmentNode, parentId, metadata, uniforms, componentDefinition$G);
|
|
6067
6207
|
isRegistered = true;
|
|
6068
6208
|
} catch (error) {
|
|
6069
6209
|
console.error("Error registering shader node:", error);
|
|
@@ -6118,7 +6258,7 @@ function ShaderComponent$g(props) {
|
|
|
6118
6258
|
return childContextValue();
|
|
6119
6259
|
},
|
|
6120
6260
|
get children() {
|
|
6121
|
-
return
|
|
6261
|
+
return local.children;
|
|
6122
6262
|
}
|
|
6123
6263
|
});
|
|
6124
6264
|
}
|
|
@@ -6139,8 +6279,8 @@ const defaultProps$f = {
|
|
|
6139
6279
|
// transform intentionally has no default - handled by effectiveTransform
|
|
6140
6280
|
};
|
|
6141
6281
|
try {
|
|
6142
|
-
if (componentDefinition$
|
|
6143
|
-
Object.entries(componentDefinition$
|
|
6282
|
+
if (componentDefinition$H && componentDefinition$H.props) {
|
|
6283
|
+
Object.entries(componentDefinition$H.props).forEach(([key, config]) => {
|
|
6144
6284
|
const propConfig = config;
|
|
6145
6285
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
6146
6286
|
defaultProps$f[key] = propConfig.default;
|
|
@@ -6151,6 +6291,7 @@ try {
|
|
|
6151
6291
|
console.warn("Error extracting default props:", e);
|
|
6152
6292
|
}
|
|
6153
6293
|
function ShaderComponent$f(props) {
|
|
6294
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
6154
6295
|
const context = useShaderContext();
|
|
6155
6296
|
const {
|
|
6156
6297
|
shaderParentId: parentId,
|
|
@@ -6158,13 +6299,13 @@ function ShaderComponent$f(props) {
|
|
|
6158
6299
|
shaderUniformUpdate: parentUniformUpdate,
|
|
6159
6300
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
6160
6301
|
} = context;
|
|
6161
|
-
const instanceId = props.id || `${componentDefinition$
|
|
6302
|
+
const instanceId = props.id || `${componentDefinition$H.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6162
6303
|
const effectiveProps = createMemo(() => {
|
|
6163
6304
|
let baseProps = {
|
|
6164
6305
|
...defaultProps$f
|
|
6165
6306
|
};
|
|
6166
|
-
for (const [key, value] of Object.entries(
|
|
6167
|
-
if (
|
|
6307
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
6308
|
+
if (value !== void 0) {
|
|
6168
6309
|
baseProps[key] = value;
|
|
6169
6310
|
}
|
|
6170
6311
|
}
|
|
@@ -6177,7 +6318,7 @@ function ShaderComponent$f(props) {
|
|
|
6177
6318
|
let uniformsMap = null;
|
|
6178
6319
|
const getUniformsMap = () => {
|
|
6179
6320
|
if (!uniformsMap) {
|
|
6180
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
6321
|
+
uniformsMap = createUniformsMap(componentDefinition$H, effectiveProps(), instanceId);
|
|
6181
6322
|
}
|
|
6182
6323
|
return uniformsMap;
|
|
6183
6324
|
};
|
|
@@ -6185,7 +6326,6 @@ function ShaderComponent$f(props) {
|
|
|
6185
6326
|
...context,
|
|
6186
6327
|
shaderParentId: instanceId
|
|
6187
6328
|
}));
|
|
6188
|
-
const resolved = children(() => props.children);
|
|
6189
6329
|
let isRegistered = false;
|
|
6190
6330
|
onMount(() => {
|
|
6191
6331
|
const uniforms = getUniformsMap();
|
|
@@ -6203,7 +6343,7 @@ function ShaderComponent$f(props) {
|
|
|
6203
6343
|
renderOrder: props.renderOrder || 0,
|
|
6204
6344
|
transform: effectiveTransform()
|
|
6205
6345
|
};
|
|
6206
|
-
parentRegister(instanceId, componentDefinition$
|
|
6346
|
+
parentRegister(instanceId, componentDefinition$H.fragmentNode, parentId, metadata, uniforms, componentDefinition$H);
|
|
6207
6347
|
isRegistered = true;
|
|
6208
6348
|
} catch (error) {
|
|
6209
6349
|
console.error("Error registering shader node:", error);
|
|
@@ -6258,7 +6398,7 @@ function ShaderComponent$f(props) {
|
|
|
6258
6398
|
return childContextValue();
|
|
6259
6399
|
},
|
|
6260
6400
|
get children() {
|
|
6261
|
-
return
|
|
6401
|
+
return local.children;
|
|
6262
6402
|
}
|
|
6263
6403
|
});
|
|
6264
6404
|
}
|
|
@@ -6279,8 +6419,8 @@ const defaultProps$e = {
|
|
|
6279
6419
|
// transform intentionally has no default - handled by effectiveTransform
|
|
6280
6420
|
};
|
|
6281
6421
|
try {
|
|
6282
|
-
if (componentDefinition$
|
|
6283
|
-
Object.entries(componentDefinition$
|
|
6422
|
+
if (componentDefinition$I && componentDefinition$I.props) {
|
|
6423
|
+
Object.entries(componentDefinition$I.props).forEach(([key, config]) => {
|
|
6284
6424
|
const propConfig = config;
|
|
6285
6425
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
6286
6426
|
defaultProps$e[key] = propConfig.default;
|
|
@@ -6291,6 +6431,7 @@ try {
|
|
|
6291
6431
|
console.warn("Error extracting default props:", e);
|
|
6292
6432
|
}
|
|
6293
6433
|
function ShaderComponent$e(props) {
|
|
6434
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
6294
6435
|
const context = useShaderContext();
|
|
6295
6436
|
const {
|
|
6296
6437
|
shaderParentId: parentId,
|
|
@@ -6298,13 +6439,13 @@ function ShaderComponent$e(props) {
|
|
|
6298
6439
|
shaderUniformUpdate: parentUniformUpdate,
|
|
6299
6440
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
6300
6441
|
} = context;
|
|
6301
|
-
const instanceId = props.id || `${componentDefinition$
|
|
6442
|
+
const instanceId = props.id || `${componentDefinition$I.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6302
6443
|
const effectiveProps = createMemo(() => {
|
|
6303
6444
|
let baseProps = {
|
|
6304
6445
|
...defaultProps$e
|
|
6305
6446
|
};
|
|
6306
|
-
for (const [key, value] of Object.entries(
|
|
6307
|
-
if (
|
|
6447
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
6448
|
+
if (value !== void 0) {
|
|
6308
6449
|
baseProps[key] = value;
|
|
6309
6450
|
}
|
|
6310
6451
|
}
|
|
@@ -6317,7 +6458,7 @@ function ShaderComponent$e(props) {
|
|
|
6317
6458
|
let uniformsMap = null;
|
|
6318
6459
|
const getUniformsMap = () => {
|
|
6319
6460
|
if (!uniformsMap) {
|
|
6320
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
6461
|
+
uniformsMap = createUniformsMap(componentDefinition$I, effectiveProps(), instanceId);
|
|
6321
6462
|
}
|
|
6322
6463
|
return uniformsMap;
|
|
6323
6464
|
};
|
|
@@ -6325,7 +6466,6 @@ function ShaderComponent$e(props) {
|
|
|
6325
6466
|
...context,
|
|
6326
6467
|
shaderParentId: instanceId
|
|
6327
6468
|
}));
|
|
6328
|
-
const resolved = children(() => props.children);
|
|
6329
6469
|
let isRegistered = false;
|
|
6330
6470
|
onMount(() => {
|
|
6331
6471
|
const uniforms = getUniformsMap();
|
|
@@ -6343,7 +6483,7 @@ function ShaderComponent$e(props) {
|
|
|
6343
6483
|
renderOrder: props.renderOrder || 0,
|
|
6344
6484
|
transform: effectiveTransform()
|
|
6345
6485
|
};
|
|
6346
|
-
parentRegister(instanceId, componentDefinition$
|
|
6486
|
+
parentRegister(instanceId, componentDefinition$I.fragmentNode, parentId, metadata, uniforms, componentDefinition$I);
|
|
6347
6487
|
isRegistered = true;
|
|
6348
6488
|
} catch (error) {
|
|
6349
6489
|
console.error("Error registering shader node:", error);
|
|
@@ -6398,7 +6538,7 @@ function ShaderComponent$e(props) {
|
|
|
6398
6538
|
return childContextValue();
|
|
6399
6539
|
},
|
|
6400
6540
|
get children() {
|
|
6401
|
-
return
|
|
6541
|
+
return local.children;
|
|
6402
6542
|
}
|
|
6403
6543
|
});
|
|
6404
6544
|
}
|
|
@@ -6419,8 +6559,8 @@ const defaultProps$d = {
|
|
|
6419
6559
|
// transform intentionally has no default - handled by effectiveTransform
|
|
6420
6560
|
};
|
|
6421
6561
|
try {
|
|
6422
|
-
if (componentDefinition$
|
|
6423
|
-
Object.entries(componentDefinition$
|
|
6562
|
+
if (componentDefinition$J && componentDefinition$J.props) {
|
|
6563
|
+
Object.entries(componentDefinition$J.props).forEach(([key, config]) => {
|
|
6424
6564
|
const propConfig = config;
|
|
6425
6565
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
6426
6566
|
defaultProps$d[key] = propConfig.default;
|
|
@@ -6431,6 +6571,7 @@ try {
|
|
|
6431
6571
|
console.warn("Error extracting default props:", e);
|
|
6432
6572
|
}
|
|
6433
6573
|
function ShaderComponent$d(props) {
|
|
6574
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
6434
6575
|
const context = useShaderContext();
|
|
6435
6576
|
const {
|
|
6436
6577
|
shaderParentId: parentId,
|
|
@@ -6438,13 +6579,13 @@ function ShaderComponent$d(props) {
|
|
|
6438
6579
|
shaderUniformUpdate: parentUniformUpdate,
|
|
6439
6580
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
6440
6581
|
} = context;
|
|
6441
|
-
const instanceId = props.id || `${componentDefinition$
|
|
6582
|
+
const instanceId = props.id || `${componentDefinition$J.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6442
6583
|
const effectiveProps = createMemo(() => {
|
|
6443
6584
|
let baseProps = {
|
|
6444
6585
|
...defaultProps$d
|
|
6445
6586
|
};
|
|
6446
|
-
for (const [key, value] of Object.entries(
|
|
6447
|
-
if (
|
|
6587
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
6588
|
+
if (value !== void 0) {
|
|
6448
6589
|
baseProps[key] = value;
|
|
6449
6590
|
}
|
|
6450
6591
|
}
|
|
@@ -6457,7 +6598,7 @@ function ShaderComponent$d(props) {
|
|
|
6457
6598
|
let uniformsMap = null;
|
|
6458
6599
|
const getUniformsMap = () => {
|
|
6459
6600
|
if (!uniformsMap) {
|
|
6460
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
6601
|
+
uniformsMap = createUniformsMap(componentDefinition$J, effectiveProps(), instanceId);
|
|
6461
6602
|
}
|
|
6462
6603
|
return uniformsMap;
|
|
6463
6604
|
};
|
|
@@ -6465,7 +6606,6 @@ function ShaderComponent$d(props) {
|
|
|
6465
6606
|
...context,
|
|
6466
6607
|
shaderParentId: instanceId
|
|
6467
6608
|
}));
|
|
6468
|
-
const resolved = children(() => props.children);
|
|
6469
6609
|
let isRegistered = false;
|
|
6470
6610
|
onMount(() => {
|
|
6471
6611
|
const uniforms = getUniformsMap();
|
|
@@ -6483,7 +6623,7 @@ function ShaderComponent$d(props) {
|
|
|
6483
6623
|
renderOrder: props.renderOrder || 0,
|
|
6484
6624
|
transform: effectiveTransform()
|
|
6485
6625
|
};
|
|
6486
|
-
parentRegister(instanceId, componentDefinition$
|
|
6626
|
+
parentRegister(instanceId, componentDefinition$J.fragmentNode, parentId, metadata, uniforms, componentDefinition$J);
|
|
6487
6627
|
isRegistered = true;
|
|
6488
6628
|
} catch (error) {
|
|
6489
6629
|
console.error("Error registering shader node:", error);
|
|
@@ -6538,7 +6678,7 @@ function ShaderComponent$d(props) {
|
|
|
6538
6678
|
return childContextValue();
|
|
6539
6679
|
},
|
|
6540
6680
|
get children() {
|
|
6541
|
-
return
|
|
6681
|
+
return local.children;
|
|
6542
6682
|
}
|
|
6543
6683
|
});
|
|
6544
6684
|
}
|
|
@@ -6559,8 +6699,8 @@ const defaultProps$c = {
|
|
|
6559
6699
|
// transform intentionally has no default - handled by effectiveTransform
|
|
6560
6700
|
};
|
|
6561
6701
|
try {
|
|
6562
|
-
if (componentDefinition$
|
|
6563
|
-
Object.entries(componentDefinition$
|
|
6702
|
+
if (componentDefinition$K && componentDefinition$K.props) {
|
|
6703
|
+
Object.entries(componentDefinition$K.props).forEach(([key, config]) => {
|
|
6564
6704
|
const propConfig = config;
|
|
6565
6705
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
6566
6706
|
defaultProps$c[key] = propConfig.default;
|
|
@@ -6571,6 +6711,7 @@ try {
|
|
|
6571
6711
|
console.warn("Error extracting default props:", e);
|
|
6572
6712
|
}
|
|
6573
6713
|
function ShaderComponent$c(props) {
|
|
6714
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
6574
6715
|
const context = useShaderContext();
|
|
6575
6716
|
const {
|
|
6576
6717
|
shaderParentId: parentId,
|
|
@@ -6578,13 +6719,13 @@ function ShaderComponent$c(props) {
|
|
|
6578
6719
|
shaderUniformUpdate: parentUniformUpdate,
|
|
6579
6720
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
6580
6721
|
} = context;
|
|
6581
|
-
const instanceId = props.id || `${componentDefinition$
|
|
6722
|
+
const instanceId = props.id || `${componentDefinition$K.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6582
6723
|
const effectiveProps = createMemo(() => {
|
|
6583
6724
|
let baseProps = {
|
|
6584
6725
|
...defaultProps$c
|
|
6585
6726
|
};
|
|
6586
|
-
for (const [key, value] of Object.entries(
|
|
6587
|
-
if (
|
|
6727
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
6728
|
+
if (value !== void 0) {
|
|
6588
6729
|
baseProps[key] = value;
|
|
6589
6730
|
}
|
|
6590
6731
|
}
|
|
@@ -6597,7 +6738,7 @@ function ShaderComponent$c(props) {
|
|
|
6597
6738
|
let uniformsMap = null;
|
|
6598
6739
|
const getUniformsMap = () => {
|
|
6599
6740
|
if (!uniformsMap) {
|
|
6600
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
6741
|
+
uniformsMap = createUniformsMap(componentDefinition$K, effectiveProps(), instanceId);
|
|
6601
6742
|
}
|
|
6602
6743
|
return uniformsMap;
|
|
6603
6744
|
};
|
|
@@ -6605,7 +6746,6 @@ function ShaderComponent$c(props) {
|
|
|
6605
6746
|
...context,
|
|
6606
6747
|
shaderParentId: instanceId
|
|
6607
6748
|
}));
|
|
6608
|
-
const resolved = children(() => props.children);
|
|
6609
6749
|
let isRegistered = false;
|
|
6610
6750
|
onMount(() => {
|
|
6611
6751
|
const uniforms = getUniformsMap();
|
|
@@ -6623,7 +6763,7 @@ function ShaderComponent$c(props) {
|
|
|
6623
6763
|
renderOrder: props.renderOrder || 0,
|
|
6624
6764
|
transform: effectiveTransform()
|
|
6625
6765
|
};
|
|
6626
|
-
parentRegister(instanceId, componentDefinition$
|
|
6766
|
+
parentRegister(instanceId, componentDefinition$K.fragmentNode, parentId, metadata, uniforms, componentDefinition$K);
|
|
6627
6767
|
isRegistered = true;
|
|
6628
6768
|
} catch (error) {
|
|
6629
6769
|
console.error("Error registering shader node:", error);
|
|
@@ -6678,7 +6818,7 @@ function ShaderComponent$c(props) {
|
|
|
6678
6818
|
return childContextValue();
|
|
6679
6819
|
},
|
|
6680
6820
|
get children() {
|
|
6681
|
-
return
|
|
6821
|
+
return local.children;
|
|
6682
6822
|
}
|
|
6683
6823
|
});
|
|
6684
6824
|
}
|
|
@@ -6699,8 +6839,8 @@ const defaultProps$b = {
|
|
|
6699
6839
|
// transform intentionally has no default - handled by effectiveTransform
|
|
6700
6840
|
};
|
|
6701
6841
|
try {
|
|
6702
|
-
if (componentDefinition$
|
|
6703
|
-
Object.entries(componentDefinition$
|
|
6842
|
+
if (componentDefinition$L && componentDefinition$L.props) {
|
|
6843
|
+
Object.entries(componentDefinition$L.props).forEach(([key, config]) => {
|
|
6704
6844
|
const propConfig = config;
|
|
6705
6845
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
6706
6846
|
defaultProps$b[key] = propConfig.default;
|
|
@@ -6711,6 +6851,7 @@ try {
|
|
|
6711
6851
|
console.warn("Error extracting default props:", e);
|
|
6712
6852
|
}
|
|
6713
6853
|
function ShaderComponent$b(props) {
|
|
6854
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
6714
6855
|
const context = useShaderContext();
|
|
6715
6856
|
const {
|
|
6716
6857
|
shaderParentId: parentId,
|
|
@@ -6718,13 +6859,13 @@ function ShaderComponent$b(props) {
|
|
|
6718
6859
|
shaderUniformUpdate: parentUniformUpdate,
|
|
6719
6860
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
6720
6861
|
} = context;
|
|
6721
|
-
const instanceId = props.id || `${componentDefinition$
|
|
6862
|
+
const instanceId = props.id || `${componentDefinition$L.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6722
6863
|
const effectiveProps = createMemo(() => {
|
|
6723
6864
|
let baseProps = {
|
|
6724
6865
|
...defaultProps$b
|
|
6725
6866
|
};
|
|
6726
|
-
for (const [key, value] of Object.entries(
|
|
6727
|
-
if (
|
|
6867
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
6868
|
+
if (value !== void 0) {
|
|
6728
6869
|
baseProps[key] = value;
|
|
6729
6870
|
}
|
|
6730
6871
|
}
|
|
@@ -6737,7 +6878,7 @@ function ShaderComponent$b(props) {
|
|
|
6737
6878
|
let uniformsMap = null;
|
|
6738
6879
|
const getUniformsMap = () => {
|
|
6739
6880
|
if (!uniformsMap) {
|
|
6740
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
6881
|
+
uniformsMap = createUniformsMap(componentDefinition$L, effectiveProps(), instanceId);
|
|
6741
6882
|
}
|
|
6742
6883
|
return uniformsMap;
|
|
6743
6884
|
};
|
|
@@ -6745,7 +6886,6 @@ function ShaderComponent$b(props) {
|
|
|
6745
6886
|
...context,
|
|
6746
6887
|
shaderParentId: instanceId
|
|
6747
6888
|
}));
|
|
6748
|
-
const resolved = children(() => props.children);
|
|
6749
6889
|
let isRegistered = false;
|
|
6750
6890
|
onMount(() => {
|
|
6751
6891
|
const uniforms = getUniformsMap();
|
|
@@ -6763,7 +6903,7 @@ function ShaderComponent$b(props) {
|
|
|
6763
6903
|
renderOrder: props.renderOrder || 0,
|
|
6764
6904
|
transform: effectiveTransform()
|
|
6765
6905
|
};
|
|
6766
|
-
parentRegister(instanceId, componentDefinition$
|
|
6906
|
+
parentRegister(instanceId, componentDefinition$L.fragmentNode, parentId, metadata, uniforms, componentDefinition$L);
|
|
6767
6907
|
isRegistered = true;
|
|
6768
6908
|
} catch (error) {
|
|
6769
6909
|
console.error("Error registering shader node:", error);
|
|
@@ -6818,7 +6958,7 @@ function ShaderComponent$b(props) {
|
|
|
6818
6958
|
return childContextValue();
|
|
6819
6959
|
},
|
|
6820
6960
|
get children() {
|
|
6821
|
-
return
|
|
6961
|
+
return local.children;
|
|
6822
6962
|
}
|
|
6823
6963
|
});
|
|
6824
6964
|
}
|
|
@@ -6839,8 +6979,8 @@ const defaultProps$a = {
|
|
|
6839
6979
|
// transform intentionally has no default - handled by effectiveTransform
|
|
6840
6980
|
};
|
|
6841
6981
|
try {
|
|
6842
|
-
if (componentDefinition$
|
|
6843
|
-
Object.entries(componentDefinition$
|
|
6982
|
+
if (componentDefinition$M && componentDefinition$M.props) {
|
|
6983
|
+
Object.entries(componentDefinition$M.props).forEach(([key, config]) => {
|
|
6844
6984
|
const propConfig = config;
|
|
6845
6985
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
6846
6986
|
defaultProps$a[key] = propConfig.default;
|
|
@@ -6851,6 +6991,7 @@ try {
|
|
|
6851
6991
|
console.warn("Error extracting default props:", e);
|
|
6852
6992
|
}
|
|
6853
6993
|
function ShaderComponent$a(props) {
|
|
6994
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
6854
6995
|
const context = useShaderContext();
|
|
6855
6996
|
const {
|
|
6856
6997
|
shaderParentId: parentId,
|
|
@@ -6858,13 +6999,13 @@ function ShaderComponent$a(props) {
|
|
|
6858
6999
|
shaderUniformUpdate: parentUniformUpdate,
|
|
6859
7000
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
6860
7001
|
} = context;
|
|
6861
|
-
const instanceId = props.id || `${componentDefinition$
|
|
7002
|
+
const instanceId = props.id || `${componentDefinition$M.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6862
7003
|
const effectiveProps = createMemo(() => {
|
|
6863
7004
|
let baseProps = {
|
|
6864
7005
|
...defaultProps$a
|
|
6865
7006
|
};
|
|
6866
|
-
for (const [key, value] of Object.entries(
|
|
6867
|
-
if (
|
|
7007
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
7008
|
+
if (value !== void 0) {
|
|
6868
7009
|
baseProps[key] = value;
|
|
6869
7010
|
}
|
|
6870
7011
|
}
|
|
@@ -6877,7 +7018,7 @@ function ShaderComponent$a(props) {
|
|
|
6877
7018
|
let uniformsMap = null;
|
|
6878
7019
|
const getUniformsMap = () => {
|
|
6879
7020
|
if (!uniformsMap) {
|
|
6880
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
7021
|
+
uniformsMap = createUniformsMap(componentDefinition$M, effectiveProps(), instanceId);
|
|
6881
7022
|
}
|
|
6882
7023
|
return uniformsMap;
|
|
6883
7024
|
};
|
|
@@ -6885,7 +7026,6 @@ function ShaderComponent$a(props) {
|
|
|
6885
7026
|
...context,
|
|
6886
7027
|
shaderParentId: instanceId
|
|
6887
7028
|
}));
|
|
6888
|
-
const resolved = children(() => props.children);
|
|
6889
7029
|
let isRegistered = false;
|
|
6890
7030
|
onMount(() => {
|
|
6891
7031
|
const uniforms = getUniformsMap();
|
|
@@ -6903,7 +7043,7 @@ function ShaderComponent$a(props) {
|
|
|
6903
7043
|
renderOrder: props.renderOrder || 0,
|
|
6904
7044
|
transform: effectiveTransform()
|
|
6905
7045
|
};
|
|
6906
|
-
parentRegister(instanceId, componentDefinition$
|
|
7046
|
+
parentRegister(instanceId, componentDefinition$M.fragmentNode, parentId, metadata, uniforms, componentDefinition$M);
|
|
6907
7047
|
isRegistered = true;
|
|
6908
7048
|
} catch (error) {
|
|
6909
7049
|
console.error("Error registering shader node:", error);
|
|
@@ -6958,7 +7098,7 @@ function ShaderComponent$a(props) {
|
|
|
6958
7098
|
return childContextValue();
|
|
6959
7099
|
},
|
|
6960
7100
|
get children() {
|
|
6961
|
-
return
|
|
7101
|
+
return local.children;
|
|
6962
7102
|
}
|
|
6963
7103
|
});
|
|
6964
7104
|
}
|
|
@@ -6979,8 +7119,8 @@ const defaultProps$9 = {
|
|
|
6979
7119
|
// transform intentionally has no default - handled by effectiveTransform
|
|
6980
7120
|
};
|
|
6981
7121
|
try {
|
|
6982
|
-
if (componentDefinition$
|
|
6983
|
-
Object.entries(componentDefinition$
|
|
7122
|
+
if (componentDefinition$N && componentDefinition$N.props) {
|
|
7123
|
+
Object.entries(componentDefinition$N.props).forEach(([key, config]) => {
|
|
6984
7124
|
const propConfig = config;
|
|
6985
7125
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
6986
7126
|
defaultProps$9[key] = propConfig.default;
|
|
@@ -6991,6 +7131,7 @@ try {
|
|
|
6991
7131
|
console.warn("Error extracting default props:", e);
|
|
6992
7132
|
}
|
|
6993
7133
|
function ShaderComponent$9(props) {
|
|
7134
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
6994
7135
|
const context = useShaderContext();
|
|
6995
7136
|
const {
|
|
6996
7137
|
shaderParentId: parentId,
|
|
@@ -6998,13 +7139,13 @@ function ShaderComponent$9(props) {
|
|
|
6998
7139
|
shaderUniformUpdate: parentUniformUpdate,
|
|
6999
7140
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
7000
7141
|
} = context;
|
|
7001
|
-
const instanceId = props.id || `${componentDefinition$
|
|
7142
|
+
const instanceId = props.id || `${componentDefinition$N.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7002
7143
|
const effectiveProps = createMemo(() => {
|
|
7003
7144
|
let baseProps = {
|
|
7004
7145
|
...defaultProps$9
|
|
7005
7146
|
};
|
|
7006
|
-
for (const [key, value] of Object.entries(
|
|
7007
|
-
if (
|
|
7147
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
7148
|
+
if (value !== void 0) {
|
|
7008
7149
|
baseProps[key] = value;
|
|
7009
7150
|
}
|
|
7010
7151
|
}
|
|
@@ -7017,7 +7158,7 @@ function ShaderComponent$9(props) {
|
|
|
7017
7158
|
let uniformsMap = null;
|
|
7018
7159
|
const getUniformsMap = () => {
|
|
7019
7160
|
if (!uniformsMap) {
|
|
7020
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
7161
|
+
uniformsMap = createUniformsMap(componentDefinition$N, effectiveProps(), instanceId);
|
|
7021
7162
|
}
|
|
7022
7163
|
return uniformsMap;
|
|
7023
7164
|
};
|
|
@@ -7025,7 +7166,6 @@ function ShaderComponent$9(props) {
|
|
|
7025
7166
|
...context,
|
|
7026
7167
|
shaderParentId: instanceId
|
|
7027
7168
|
}));
|
|
7028
|
-
const resolved = children(() => props.children);
|
|
7029
7169
|
let isRegistered = false;
|
|
7030
7170
|
onMount(() => {
|
|
7031
7171
|
const uniforms = getUniformsMap();
|
|
@@ -7043,7 +7183,7 @@ function ShaderComponent$9(props) {
|
|
|
7043
7183
|
renderOrder: props.renderOrder || 0,
|
|
7044
7184
|
transform: effectiveTransform()
|
|
7045
7185
|
};
|
|
7046
|
-
parentRegister(instanceId, componentDefinition$
|
|
7186
|
+
parentRegister(instanceId, componentDefinition$N.fragmentNode, parentId, metadata, uniforms, componentDefinition$N);
|
|
7047
7187
|
isRegistered = true;
|
|
7048
7188
|
} catch (error) {
|
|
7049
7189
|
console.error("Error registering shader node:", error);
|
|
@@ -7098,7 +7238,7 @@ function ShaderComponent$9(props) {
|
|
|
7098
7238
|
return childContextValue();
|
|
7099
7239
|
},
|
|
7100
7240
|
get children() {
|
|
7101
|
-
return
|
|
7241
|
+
return local.children;
|
|
7102
7242
|
}
|
|
7103
7243
|
});
|
|
7104
7244
|
}
|
|
@@ -7119,8 +7259,8 @@ const defaultProps$8 = {
|
|
|
7119
7259
|
// transform intentionally has no default - handled by effectiveTransform
|
|
7120
7260
|
};
|
|
7121
7261
|
try {
|
|
7122
|
-
if (componentDefinition$
|
|
7123
|
-
Object.entries(componentDefinition$
|
|
7262
|
+
if (componentDefinition$O && componentDefinition$O.props) {
|
|
7263
|
+
Object.entries(componentDefinition$O.props).forEach(([key, config]) => {
|
|
7124
7264
|
const propConfig = config;
|
|
7125
7265
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
7126
7266
|
defaultProps$8[key] = propConfig.default;
|
|
@@ -7131,6 +7271,7 @@ try {
|
|
|
7131
7271
|
console.warn("Error extracting default props:", e);
|
|
7132
7272
|
}
|
|
7133
7273
|
function ShaderComponent$8(props) {
|
|
7274
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
7134
7275
|
const context = useShaderContext();
|
|
7135
7276
|
const {
|
|
7136
7277
|
shaderParentId: parentId,
|
|
@@ -7138,13 +7279,13 @@ function ShaderComponent$8(props) {
|
|
|
7138
7279
|
shaderUniformUpdate: parentUniformUpdate,
|
|
7139
7280
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
7140
7281
|
} = context;
|
|
7141
|
-
const instanceId = props.id || `${componentDefinition$
|
|
7282
|
+
const instanceId = props.id || `${componentDefinition$O.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7142
7283
|
const effectiveProps = createMemo(() => {
|
|
7143
7284
|
let baseProps = {
|
|
7144
7285
|
...defaultProps$8
|
|
7145
7286
|
};
|
|
7146
|
-
for (const [key, value] of Object.entries(
|
|
7147
|
-
if (
|
|
7287
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
7288
|
+
if (value !== void 0) {
|
|
7148
7289
|
baseProps[key] = value;
|
|
7149
7290
|
}
|
|
7150
7291
|
}
|
|
@@ -7157,7 +7298,7 @@ function ShaderComponent$8(props) {
|
|
|
7157
7298
|
let uniformsMap = null;
|
|
7158
7299
|
const getUniformsMap = () => {
|
|
7159
7300
|
if (!uniformsMap) {
|
|
7160
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
7301
|
+
uniformsMap = createUniformsMap(componentDefinition$O, effectiveProps(), instanceId);
|
|
7161
7302
|
}
|
|
7162
7303
|
return uniformsMap;
|
|
7163
7304
|
};
|
|
@@ -7165,7 +7306,6 @@ function ShaderComponent$8(props) {
|
|
|
7165
7306
|
...context,
|
|
7166
7307
|
shaderParentId: instanceId
|
|
7167
7308
|
}));
|
|
7168
|
-
const resolved = children(() => props.children);
|
|
7169
7309
|
let isRegistered = false;
|
|
7170
7310
|
onMount(() => {
|
|
7171
7311
|
const uniforms = getUniformsMap();
|
|
@@ -7183,7 +7323,7 @@ function ShaderComponent$8(props) {
|
|
|
7183
7323
|
renderOrder: props.renderOrder || 0,
|
|
7184
7324
|
transform: effectiveTransform()
|
|
7185
7325
|
};
|
|
7186
|
-
parentRegister(instanceId, componentDefinition$
|
|
7326
|
+
parentRegister(instanceId, componentDefinition$O.fragmentNode, parentId, metadata, uniforms, componentDefinition$O);
|
|
7187
7327
|
isRegistered = true;
|
|
7188
7328
|
} catch (error) {
|
|
7189
7329
|
console.error("Error registering shader node:", error);
|
|
@@ -7238,7 +7378,7 @@ function ShaderComponent$8(props) {
|
|
|
7238
7378
|
return childContextValue();
|
|
7239
7379
|
},
|
|
7240
7380
|
get children() {
|
|
7241
|
-
return
|
|
7381
|
+
return local.children;
|
|
7242
7382
|
}
|
|
7243
7383
|
});
|
|
7244
7384
|
}
|
|
@@ -7259,8 +7399,8 @@ const defaultProps$7 = {
|
|
|
7259
7399
|
// transform intentionally has no default - handled by effectiveTransform
|
|
7260
7400
|
};
|
|
7261
7401
|
try {
|
|
7262
|
-
if (componentDefinition$
|
|
7263
|
-
Object.entries(componentDefinition$
|
|
7402
|
+
if (componentDefinition$P && componentDefinition$P.props) {
|
|
7403
|
+
Object.entries(componentDefinition$P.props).forEach(([key, config]) => {
|
|
7264
7404
|
const propConfig = config;
|
|
7265
7405
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
7266
7406
|
defaultProps$7[key] = propConfig.default;
|
|
@@ -7271,6 +7411,7 @@ try {
|
|
|
7271
7411
|
console.warn("Error extracting default props:", e);
|
|
7272
7412
|
}
|
|
7273
7413
|
function ShaderComponent$7(props) {
|
|
7414
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
7274
7415
|
const context = useShaderContext();
|
|
7275
7416
|
const {
|
|
7276
7417
|
shaderParentId: parentId,
|
|
@@ -7278,13 +7419,13 @@ function ShaderComponent$7(props) {
|
|
|
7278
7419
|
shaderUniformUpdate: parentUniformUpdate,
|
|
7279
7420
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
7280
7421
|
} = context;
|
|
7281
|
-
const instanceId = props.id || `${componentDefinition$
|
|
7422
|
+
const instanceId = props.id || `${componentDefinition$P.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7282
7423
|
const effectiveProps = createMemo(() => {
|
|
7283
7424
|
let baseProps = {
|
|
7284
7425
|
...defaultProps$7
|
|
7285
7426
|
};
|
|
7286
|
-
for (const [key, value] of Object.entries(
|
|
7287
|
-
if (
|
|
7427
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
7428
|
+
if (value !== void 0) {
|
|
7288
7429
|
baseProps[key] = value;
|
|
7289
7430
|
}
|
|
7290
7431
|
}
|
|
@@ -7297,7 +7438,7 @@ function ShaderComponent$7(props) {
|
|
|
7297
7438
|
let uniformsMap = null;
|
|
7298
7439
|
const getUniformsMap = () => {
|
|
7299
7440
|
if (!uniformsMap) {
|
|
7300
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
7441
|
+
uniformsMap = createUniformsMap(componentDefinition$P, effectiveProps(), instanceId);
|
|
7301
7442
|
}
|
|
7302
7443
|
return uniformsMap;
|
|
7303
7444
|
};
|
|
@@ -7305,7 +7446,6 @@ function ShaderComponent$7(props) {
|
|
|
7305
7446
|
...context,
|
|
7306
7447
|
shaderParentId: instanceId
|
|
7307
7448
|
}));
|
|
7308
|
-
const resolved = children(() => props.children);
|
|
7309
7449
|
let isRegistered = false;
|
|
7310
7450
|
onMount(() => {
|
|
7311
7451
|
const uniforms = getUniformsMap();
|
|
@@ -7323,7 +7463,7 @@ function ShaderComponent$7(props) {
|
|
|
7323
7463
|
renderOrder: props.renderOrder || 0,
|
|
7324
7464
|
transform: effectiveTransform()
|
|
7325
7465
|
};
|
|
7326
|
-
parentRegister(instanceId, componentDefinition$
|
|
7466
|
+
parentRegister(instanceId, componentDefinition$P.fragmentNode, parentId, metadata, uniforms, componentDefinition$P);
|
|
7327
7467
|
isRegistered = true;
|
|
7328
7468
|
} catch (error) {
|
|
7329
7469
|
console.error("Error registering shader node:", error);
|
|
@@ -7378,7 +7518,7 @@ function ShaderComponent$7(props) {
|
|
|
7378
7518
|
return childContextValue();
|
|
7379
7519
|
},
|
|
7380
7520
|
get children() {
|
|
7381
|
-
return
|
|
7521
|
+
return local.children;
|
|
7382
7522
|
}
|
|
7383
7523
|
});
|
|
7384
7524
|
}
|
|
@@ -7399,8 +7539,8 @@ const defaultProps$6 = {
|
|
|
7399
7539
|
// transform intentionally has no default - handled by effectiveTransform
|
|
7400
7540
|
};
|
|
7401
7541
|
try {
|
|
7402
|
-
if (componentDefinition$
|
|
7403
|
-
Object.entries(componentDefinition$
|
|
7542
|
+
if (componentDefinition$Q && componentDefinition$Q.props) {
|
|
7543
|
+
Object.entries(componentDefinition$Q.props).forEach(([key, config]) => {
|
|
7404
7544
|
const propConfig = config;
|
|
7405
7545
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
7406
7546
|
defaultProps$6[key] = propConfig.default;
|
|
@@ -7411,6 +7551,7 @@ try {
|
|
|
7411
7551
|
console.warn("Error extracting default props:", e);
|
|
7412
7552
|
}
|
|
7413
7553
|
function ShaderComponent$6(props) {
|
|
7554
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
7414
7555
|
const context = useShaderContext();
|
|
7415
7556
|
const {
|
|
7416
7557
|
shaderParentId: parentId,
|
|
@@ -7418,13 +7559,13 @@ function ShaderComponent$6(props) {
|
|
|
7418
7559
|
shaderUniformUpdate: parentUniformUpdate,
|
|
7419
7560
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
7420
7561
|
} = context;
|
|
7421
|
-
const instanceId = props.id || `${componentDefinition$
|
|
7562
|
+
const instanceId = props.id || `${componentDefinition$Q.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7422
7563
|
const effectiveProps = createMemo(() => {
|
|
7423
7564
|
let baseProps = {
|
|
7424
7565
|
...defaultProps$6
|
|
7425
7566
|
};
|
|
7426
|
-
for (const [key, value] of Object.entries(
|
|
7427
|
-
if (
|
|
7567
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
7568
|
+
if (value !== void 0) {
|
|
7428
7569
|
baseProps[key] = value;
|
|
7429
7570
|
}
|
|
7430
7571
|
}
|
|
@@ -7437,7 +7578,7 @@ function ShaderComponent$6(props) {
|
|
|
7437
7578
|
let uniformsMap = null;
|
|
7438
7579
|
const getUniformsMap = () => {
|
|
7439
7580
|
if (!uniformsMap) {
|
|
7440
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
7581
|
+
uniformsMap = createUniformsMap(componentDefinition$Q, effectiveProps(), instanceId);
|
|
7441
7582
|
}
|
|
7442
7583
|
return uniformsMap;
|
|
7443
7584
|
};
|
|
@@ -7445,7 +7586,6 @@ function ShaderComponent$6(props) {
|
|
|
7445
7586
|
...context,
|
|
7446
7587
|
shaderParentId: instanceId
|
|
7447
7588
|
}));
|
|
7448
|
-
const resolved = children(() => props.children);
|
|
7449
7589
|
let isRegistered = false;
|
|
7450
7590
|
onMount(() => {
|
|
7451
7591
|
const uniforms = getUniformsMap();
|
|
@@ -7463,7 +7603,7 @@ function ShaderComponent$6(props) {
|
|
|
7463
7603
|
renderOrder: props.renderOrder || 0,
|
|
7464
7604
|
transform: effectiveTransform()
|
|
7465
7605
|
};
|
|
7466
|
-
parentRegister(instanceId, componentDefinition$
|
|
7606
|
+
parentRegister(instanceId, componentDefinition$Q.fragmentNode, parentId, metadata, uniforms, componentDefinition$Q);
|
|
7467
7607
|
isRegistered = true;
|
|
7468
7608
|
} catch (error) {
|
|
7469
7609
|
console.error("Error registering shader node:", error);
|
|
@@ -7518,7 +7658,7 @@ function ShaderComponent$6(props) {
|
|
|
7518
7658
|
return childContextValue();
|
|
7519
7659
|
},
|
|
7520
7660
|
get children() {
|
|
7521
|
-
return
|
|
7661
|
+
return local.children;
|
|
7522
7662
|
}
|
|
7523
7663
|
});
|
|
7524
7664
|
}
|
|
@@ -7539,8 +7679,8 @@ const defaultProps$5 = {
|
|
|
7539
7679
|
// transform intentionally has no default - handled by effectiveTransform
|
|
7540
7680
|
};
|
|
7541
7681
|
try {
|
|
7542
|
-
if (componentDefinition$
|
|
7543
|
-
Object.entries(componentDefinition$
|
|
7682
|
+
if (componentDefinition$R && componentDefinition$R.props) {
|
|
7683
|
+
Object.entries(componentDefinition$R.props).forEach(([key, config]) => {
|
|
7544
7684
|
const propConfig = config;
|
|
7545
7685
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
7546
7686
|
defaultProps$5[key] = propConfig.default;
|
|
@@ -7551,6 +7691,7 @@ try {
|
|
|
7551
7691
|
console.warn("Error extracting default props:", e);
|
|
7552
7692
|
}
|
|
7553
7693
|
function ShaderComponent$5(props) {
|
|
7694
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
7554
7695
|
const context = useShaderContext();
|
|
7555
7696
|
const {
|
|
7556
7697
|
shaderParentId: parentId,
|
|
@@ -7558,13 +7699,13 @@ function ShaderComponent$5(props) {
|
|
|
7558
7699
|
shaderUniformUpdate: parentUniformUpdate,
|
|
7559
7700
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
7560
7701
|
} = context;
|
|
7561
|
-
const instanceId = props.id || `${componentDefinition$
|
|
7702
|
+
const instanceId = props.id || `${componentDefinition$R.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7562
7703
|
const effectiveProps = createMemo(() => {
|
|
7563
7704
|
let baseProps = {
|
|
7564
7705
|
...defaultProps$5
|
|
7565
7706
|
};
|
|
7566
|
-
for (const [key, value] of Object.entries(
|
|
7567
|
-
if (
|
|
7707
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
7708
|
+
if (value !== void 0) {
|
|
7568
7709
|
baseProps[key] = value;
|
|
7569
7710
|
}
|
|
7570
7711
|
}
|
|
@@ -7577,7 +7718,7 @@ function ShaderComponent$5(props) {
|
|
|
7577
7718
|
let uniformsMap = null;
|
|
7578
7719
|
const getUniformsMap = () => {
|
|
7579
7720
|
if (!uniformsMap) {
|
|
7580
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
7721
|
+
uniformsMap = createUniformsMap(componentDefinition$R, effectiveProps(), instanceId);
|
|
7581
7722
|
}
|
|
7582
7723
|
return uniformsMap;
|
|
7583
7724
|
};
|
|
@@ -7585,7 +7726,6 @@ function ShaderComponent$5(props) {
|
|
|
7585
7726
|
...context,
|
|
7586
7727
|
shaderParentId: instanceId
|
|
7587
7728
|
}));
|
|
7588
|
-
const resolved = children(() => props.children);
|
|
7589
7729
|
let isRegistered = false;
|
|
7590
7730
|
onMount(() => {
|
|
7591
7731
|
const uniforms = getUniformsMap();
|
|
@@ -7603,7 +7743,7 @@ function ShaderComponent$5(props) {
|
|
|
7603
7743
|
renderOrder: props.renderOrder || 0,
|
|
7604
7744
|
transform: effectiveTransform()
|
|
7605
7745
|
};
|
|
7606
|
-
parentRegister(instanceId, componentDefinition$
|
|
7746
|
+
parentRegister(instanceId, componentDefinition$R.fragmentNode, parentId, metadata, uniforms, componentDefinition$R);
|
|
7607
7747
|
isRegistered = true;
|
|
7608
7748
|
} catch (error) {
|
|
7609
7749
|
console.error("Error registering shader node:", error);
|
|
@@ -7658,7 +7798,7 @@ function ShaderComponent$5(props) {
|
|
|
7658
7798
|
return childContextValue();
|
|
7659
7799
|
},
|
|
7660
7800
|
get children() {
|
|
7661
|
-
return
|
|
7801
|
+
return local.children;
|
|
7662
7802
|
}
|
|
7663
7803
|
});
|
|
7664
7804
|
}
|
|
@@ -7679,8 +7819,8 @@ const defaultProps$4 = {
|
|
|
7679
7819
|
// transform intentionally has no default - handled by effectiveTransform
|
|
7680
7820
|
};
|
|
7681
7821
|
try {
|
|
7682
|
-
if (componentDefinition$
|
|
7683
|
-
Object.entries(componentDefinition$
|
|
7822
|
+
if (componentDefinition$S && componentDefinition$S.props) {
|
|
7823
|
+
Object.entries(componentDefinition$S.props).forEach(([key, config]) => {
|
|
7684
7824
|
const propConfig = config;
|
|
7685
7825
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
7686
7826
|
defaultProps$4[key] = propConfig.default;
|
|
@@ -7691,6 +7831,7 @@ try {
|
|
|
7691
7831
|
console.warn("Error extracting default props:", e);
|
|
7692
7832
|
}
|
|
7693
7833
|
function ShaderComponent$4(props) {
|
|
7834
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
7694
7835
|
const context = useShaderContext();
|
|
7695
7836
|
const {
|
|
7696
7837
|
shaderParentId: parentId,
|
|
@@ -7698,13 +7839,13 @@ function ShaderComponent$4(props) {
|
|
|
7698
7839
|
shaderUniformUpdate: parentUniformUpdate,
|
|
7699
7840
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
7700
7841
|
} = context;
|
|
7701
|
-
const instanceId = props.id || `${componentDefinition$
|
|
7842
|
+
const instanceId = props.id || `${componentDefinition$S.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7702
7843
|
const effectiveProps = createMemo(() => {
|
|
7703
7844
|
let baseProps = {
|
|
7704
7845
|
...defaultProps$4
|
|
7705
7846
|
};
|
|
7706
|
-
for (const [key, value] of Object.entries(
|
|
7707
|
-
if (
|
|
7847
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
7848
|
+
if (value !== void 0) {
|
|
7708
7849
|
baseProps[key] = value;
|
|
7709
7850
|
}
|
|
7710
7851
|
}
|
|
@@ -7717,7 +7858,7 @@ function ShaderComponent$4(props) {
|
|
|
7717
7858
|
let uniformsMap = null;
|
|
7718
7859
|
const getUniformsMap = () => {
|
|
7719
7860
|
if (!uniformsMap) {
|
|
7720
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
7861
|
+
uniformsMap = createUniformsMap(componentDefinition$S, effectiveProps(), instanceId);
|
|
7721
7862
|
}
|
|
7722
7863
|
return uniformsMap;
|
|
7723
7864
|
};
|
|
@@ -7725,7 +7866,6 @@ function ShaderComponent$4(props) {
|
|
|
7725
7866
|
...context,
|
|
7726
7867
|
shaderParentId: instanceId
|
|
7727
7868
|
}));
|
|
7728
|
-
const resolved = children(() => props.children);
|
|
7729
7869
|
let isRegistered = false;
|
|
7730
7870
|
onMount(() => {
|
|
7731
7871
|
const uniforms = getUniformsMap();
|
|
@@ -7743,7 +7883,7 @@ function ShaderComponent$4(props) {
|
|
|
7743
7883
|
renderOrder: props.renderOrder || 0,
|
|
7744
7884
|
transform: effectiveTransform()
|
|
7745
7885
|
};
|
|
7746
|
-
parentRegister(instanceId, componentDefinition$
|
|
7886
|
+
parentRegister(instanceId, componentDefinition$S.fragmentNode, parentId, metadata, uniforms, componentDefinition$S);
|
|
7747
7887
|
isRegistered = true;
|
|
7748
7888
|
} catch (error) {
|
|
7749
7889
|
console.error("Error registering shader node:", error);
|
|
@@ -7798,7 +7938,7 @@ function ShaderComponent$4(props) {
|
|
|
7798
7938
|
return childContextValue();
|
|
7799
7939
|
},
|
|
7800
7940
|
get children() {
|
|
7801
|
-
return
|
|
7941
|
+
return local.children;
|
|
7802
7942
|
}
|
|
7803
7943
|
});
|
|
7804
7944
|
}
|
|
@@ -7819,8 +7959,8 @@ const defaultProps$3 = {
|
|
|
7819
7959
|
// transform intentionally has no default - handled by effectiveTransform
|
|
7820
7960
|
};
|
|
7821
7961
|
try {
|
|
7822
|
-
if (componentDefinition$
|
|
7823
|
-
Object.entries(componentDefinition$
|
|
7962
|
+
if (componentDefinition$T && componentDefinition$T.props) {
|
|
7963
|
+
Object.entries(componentDefinition$T.props).forEach(([key, config]) => {
|
|
7824
7964
|
const propConfig = config;
|
|
7825
7965
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
7826
7966
|
defaultProps$3[key] = propConfig.default;
|
|
@@ -7831,6 +7971,7 @@ try {
|
|
|
7831
7971
|
console.warn("Error extracting default props:", e);
|
|
7832
7972
|
}
|
|
7833
7973
|
function ShaderComponent$3(props) {
|
|
7974
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
7834
7975
|
const context = useShaderContext();
|
|
7835
7976
|
const {
|
|
7836
7977
|
shaderParentId: parentId,
|
|
@@ -7838,13 +7979,13 @@ function ShaderComponent$3(props) {
|
|
|
7838
7979
|
shaderUniformUpdate: parentUniformUpdate,
|
|
7839
7980
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
7840
7981
|
} = context;
|
|
7841
|
-
const instanceId = props.id || `${componentDefinition$
|
|
7982
|
+
const instanceId = props.id || `${componentDefinition$T.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7842
7983
|
const effectiveProps = createMemo(() => {
|
|
7843
7984
|
let baseProps = {
|
|
7844
7985
|
...defaultProps$3
|
|
7845
7986
|
};
|
|
7846
|
-
for (const [key, value] of Object.entries(
|
|
7847
|
-
if (
|
|
7987
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
7988
|
+
if (value !== void 0) {
|
|
7848
7989
|
baseProps[key] = value;
|
|
7849
7990
|
}
|
|
7850
7991
|
}
|
|
@@ -7857,7 +7998,7 @@ function ShaderComponent$3(props) {
|
|
|
7857
7998
|
let uniformsMap = null;
|
|
7858
7999
|
const getUniformsMap = () => {
|
|
7859
8000
|
if (!uniformsMap) {
|
|
7860
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
8001
|
+
uniformsMap = createUniformsMap(componentDefinition$T, effectiveProps(), instanceId);
|
|
7861
8002
|
}
|
|
7862
8003
|
return uniformsMap;
|
|
7863
8004
|
};
|
|
@@ -7865,7 +8006,6 @@ function ShaderComponent$3(props) {
|
|
|
7865
8006
|
...context,
|
|
7866
8007
|
shaderParentId: instanceId
|
|
7867
8008
|
}));
|
|
7868
|
-
const resolved = children(() => props.children);
|
|
7869
8009
|
let isRegistered = false;
|
|
7870
8010
|
onMount(() => {
|
|
7871
8011
|
const uniforms = getUniformsMap();
|
|
@@ -7883,7 +8023,7 @@ function ShaderComponent$3(props) {
|
|
|
7883
8023
|
renderOrder: props.renderOrder || 0,
|
|
7884
8024
|
transform: effectiveTransform()
|
|
7885
8025
|
};
|
|
7886
|
-
parentRegister(instanceId, componentDefinition$
|
|
8026
|
+
parentRegister(instanceId, componentDefinition$T.fragmentNode, parentId, metadata, uniforms, componentDefinition$T);
|
|
7887
8027
|
isRegistered = true;
|
|
7888
8028
|
} catch (error) {
|
|
7889
8029
|
console.error("Error registering shader node:", error);
|
|
@@ -7938,7 +8078,7 @@ function ShaderComponent$3(props) {
|
|
|
7938
8078
|
return childContextValue();
|
|
7939
8079
|
},
|
|
7940
8080
|
get children() {
|
|
7941
|
-
return
|
|
8081
|
+
return local.children;
|
|
7942
8082
|
}
|
|
7943
8083
|
});
|
|
7944
8084
|
}
|
|
@@ -7959,8 +8099,8 @@ const defaultProps$2 = {
|
|
|
7959
8099
|
// transform intentionally has no default - handled by effectiveTransform
|
|
7960
8100
|
};
|
|
7961
8101
|
try {
|
|
7962
|
-
if (componentDefinition$
|
|
7963
|
-
Object.entries(componentDefinition$
|
|
8102
|
+
if (componentDefinition$U && componentDefinition$U.props) {
|
|
8103
|
+
Object.entries(componentDefinition$U.props).forEach(([key, config]) => {
|
|
7964
8104
|
const propConfig = config;
|
|
7965
8105
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
7966
8106
|
defaultProps$2[key] = propConfig.default;
|
|
@@ -7971,6 +8111,7 @@ try {
|
|
|
7971
8111
|
console.warn("Error extracting default props:", e);
|
|
7972
8112
|
}
|
|
7973
8113
|
function ShaderComponent$2(props) {
|
|
8114
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
7974
8115
|
const context = useShaderContext();
|
|
7975
8116
|
const {
|
|
7976
8117
|
shaderParentId: parentId,
|
|
@@ -7978,13 +8119,13 @@ function ShaderComponent$2(props) {
|
|
|
7978
8119
|
shaderUniformUpdate: parentUniformUpdate,
|
|
7979
8120
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
7980
8121
|
} = context;
|
|
7981
|
-
const instanceId = props.id || `${componentDefinition$
|
|
8122
|
+
const instanceId = props.id || `${componentDefinition$U.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7982
8123
|
const effectiveProps = createMemo(() => {
|
|
7983
8124
|
let baseProps = {
|
|
7984
8125
|
...defaultProps$2
|
|
7985
8126
|
};
|
|
7986
|
-
for (const [key, value] of Object.entries(
|
|
7987
|
-
if (
|
|
8127
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
8128
|
+
if (value !== void 0) {
|
|
7988
8129
|
baseProps[key] = value;
|
|
7989
8130
|
}
|
|
7990
8131
|
}
|
|
@@ -7997,7 +8138,7 @@ function ShaderComponent$2(props) {
|
|
|
7997
8138
|
let uniformsMap = null;
|
|
7998
8139
|
const getUniformsMap = () => {
|
|
7999
8140
|
if (!uniformsMap) {
|
|
8000
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
8141
|
+
uniformsMap = createUniformsMap(componentDefinition$U, effectiveProps(), instanceId);
|
|
8001
8142
|
}
|
|
8002
8143
|
return uniformsMap;
|
|
8003
8144
|
};
|
|
@@ -8005,7 +8146,6 @@ function ShaderComponent$2(props) {
|
|
|
8005
8146
|
...context,
|
|
8006
8147
|
shaderParentId: instanceId
|
|
8007
8148
|
}));
|
|
8008
|
-
const resolved = children(() => props.children);
|
|
8009
8149
|
let isRegistered = false;
|
|
8010
8150
|
onMount(() => {
|
|
8011
8151
|
const uniforms = getUniformsMap();
|
|
@@ -8023,7 +8163,7 @@ function ShaderComponent$2(props) {
|
|
|
8023
8163
|
renderOrder: props.renderOrder || 0,
|
|
8024
8164
|
transform: effectiveTransform()
|
|
8025
8165
|
};
|
|
8026
|
-
parentRegister(instanceId, componentDefinition$
|
|
8166
|
+
parentRegister(instanceId, componentDefinition$U.fragmentNode, parentId, metadata, uniforms, componentDefinition$U);
|
|
8027
8167
|
isRegistered = true;
|
|
8028
8168
|
} catch (error) {
|
|
8029
8169
|
console.error("Error registering shader node:", error);
|
|
@@ -8078,7 +8218,7 @@ function ShaderComponent$2(props) {
|
|
|
8078
8218
|
return childContextValue();
|
|
8079
8219
|
},
|
|
8080
8220
|
get children() {
|
|
8081
|
-
return
|
|
8221
|
+
return local.children;
|
|
8082
8222
|
}
|
|
8083
8223
|
});
|
|
8084
8224
|
}
|
|
@@ -8099,8 +8239,8 @@ const defaultProps$1 = {
|
|
|
8099
8239
|
// transform intentionally has no default - handled by effectiveTransform
|
|
8100
8240
|
};
|
|
8101
8241
|
try {
|
|
8102
|
-
if (componentDefinition$
|
|
8103
|
-
Object.entries(componentDefinition$
|
|
8242
|
+
if (componentDefinition$V && componentDefinition$V.props) {
|
|
8243
|
+
Object.entries(componentDefinition$V.props).forEach(([key, config]) => {
|
|
8104
8244
|
const propConfig = config;
|
|
8105
8245
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
8106
8246
|
defaultProps$1[key] = propConfig.default;
|
|
@@ -8111,6 +8251,7 @@ try {
|
|
|
8111
8251
|
console.warn("Error extracting default props:", e);
|
|
8112
8252
|
}
|
|
8113
8253
|
function ShaderComponent$1(props) {
|
|
8254
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
8114
8255
|
const context = useShaderContext();
|
|
8115
8256
|
const {
|
|
8116
8257
|
shaderParentId: parentId,
|
|
@@ -8118,13 +8259,13 @@ function ShaderComponent$1(props) {
|
|
|
8118
8259
|
shaderUniformUpdate: parentUniformUpdate,
|
|
8119
8260
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
8120
8261
|
} = context;
|
|
8121
|
-
const instanceId = props.id || `${componentDefinition$
|
|
8262
|
+
const instanceId = props.id || `${componentDefinition$V.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
8122
8263
|
const effectiveProps = createMemo(() => {
|
|
8123
8264
|
let baseProps = {
|
|
8124
8265
|
...defaultProps$1
|
|
8125
8266
|
};
|
|
8126
|
-
for (const [key, value] of Object.entries(
|
|
8127
|
-
if (
|
|
8267
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
8268
|
+
if (value !== void 0) {
|
|
8128
8269
|
baseProps[key] = value;
|
|
8129
8270
|
}
|
|
8130
8271
|
}
|
|
@@ -8137,7 +8278,7 @@ function ShaderComponent$1(props) {
|
|
|
8137
8278
|
let uniformsMap = null;
|
|
8138
8279
|
const getUniformsMap = () => {
|
|
8139
8280
|
if (!uniformsMap) {
|
|
8140
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
8281
|
+
uniformsMap = createUniformsMap(componentDefinition$V, effectiveProps(), instanceId);
|
|
8141
8282
|
}
|
|
8142
8283
|
return uniformsMap;
|
|
8143
8284
|
};
|
|
@@ -8145,7 +8286,6 @@ function ShaderComponent$1(props) {
|
|
|
8145
8286
|
...context,
|
|
8146
8287
|
shaderParentId: instanceId
|
|
8147
8288
|
}));
|
|
8148
|
-
const resolved = children(() => props.children);
|
|
8149
8289
|
let isRegistered = false;
|
|
8150
8290
|
onMount(() => {
|
|
8151
8291
|
const uniforms = getUniformsMap();
|
|
@@ -8163,7 +8303,7 @@ function ShaderComponent$1(props) {
|
|
|
8163
8303
|
renderOrder: props.renderOrder || 0,
|
|
8164
8304
|
transform: effectiveTransform()
|
|
8165
8305
|
};
|
|
8166
|
-
parentRegister(instanceId, componentDefinition$
|
|
8306
|
+
parentRegister(instanceId, componentDefinition$V.fragmentNode, parentId, metadata, uniforms, componentDefinition$V);
|
|
8167
8307
|
isRegistered = true;
|
|
8168
8308
|
} catch (error) {
|
|
8169
8309
|
console.error("Error registering shader node:", error);
|
|
@@ -8218,7 +8358,7 @@ function ShaderComponent$1(props) {
|
|
|
8218
8358
|
return childContextValue();
|
|
8219
8359
|
},
|
|
8220
8360
|
get children() {
|
|
8221
|
-
return
|
|
8361
|
+
return local.children;
|
|
8222
8362
|
}
|
|
8223
8363
|
});
|
|
8224
8364
|
}
|
|
@@ -8239,8 +8379,8 @@ const defaultProps = {
|
|
|
8239
8379
|
// transform intentionally has no default - handled by effectiveTransform
|
|
8240
8380
|
};
|
|
8241
8381
|
try {
|
|
8242
|
-
if (componentDefinition$
|
|
8243
|
-
Object.entries(componentDefinition$
|
|
8382
|
+
if (componentDefinition$W && componentDefinition$W.props) {
|
|
8383
|
+
Object.entries(componentDefinition$W.props).forEach(([key, config]) => {
|
|
8244
8384
|
const propConfig = config;
|
|
8245
8385
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
8246
8386
|
defaultProps[key] = propConfig.default;
|
|
@@ -8251,6 +8391,7 @@ try {
|
|
|
8251
8391
|
console.warn("Error extracting default props:", e);
|
|
8252
8392
|
}
|
|
8253
8393
|
function ShaderComponent(props) {
|
|
8394
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
8254
8395
|
const context = useShaderContext();
|
|
8255
8396
|
const {
|
|
8256
8397
|
shaderParentId: parentId,
|
|
@@ -8258,13 +8399,13 @@ function ShaderComponent(props) {
|
|
|
8258
8399
|
shaderUniformUpdate: parentUniformUpdate,
|
|
8259
8400
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
8260
8401
|
} = context;
|
|
8261
|
-
const instanceId = props.id || `${componentDefinition$
|
|
8402
|
+
const instanceId = props.id || `${componentDefinition$W.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
8262
8403
|
const effectiveProps = createMemo(() => {
|
|
8263
8404
|
let baseProps = {
|
|
8264
8405
|
...defaultProps
|
|
8265
8406
|
};
|
|
8266
|
-
for (const [key, value] of Object.entries(
|
|
8267
|
-
if (
|
|
8407
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
8408
|
+
if (value !== void 0) {
|
|
8268
8409
|
baseProps[key] = value;
|
|
8269
8410
|
}
|
|
8270
8411
|
}
|
|
@@ -8277,7 +8418,7 @@ function ShaderComponent(props) {
|
|
|
8277
8418
|
let uniformsMap = null;
|
|
8278
8419
|
const getUniformsMap = () => {
|
|
8279
8420
|
if (!uniformsMap) {
|
|
8280
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
8421
|
+
uniformsMap = createUniformsMap(componentDefinition$W, effectiveProps(), instanceId);
|
|
8281
8422
|
}
|
|
8282
8423
|
return uniformsMap;
|
|
8283
8424
|
};
|
|
@@ -8285,7 +8426,6 @@ function ShaderComponent(props) {
|
|
|
8285
8426
|
...context,
|
|
8286
8427
|
shaderParentId: instanceId
|
|
8287
8428
|
}));
|
|
8288
|
-
const resolved = children(() => props.children);
|
|
8289
8429
|
let isRegistered = false;
|
|
8290
8430
|
onMount(() => {
|
|
8291
8431
|
const uniforms = getUniformsMap();
|
|
@@ -8303,7 +8443,7 @@ function ShaderComponent(props) {
|
|
|
8303
8443
|
renderOrder: props.renderOrder || 0,
|
|
8304
8444
|
transform: effectiveTransform()
|
|
8305
8445
|
};
|
|
8306
|
-
parentRegister(instanceId, componentDefinition$
|
|
8446
|
+
parentRegister(instanceId, componentDefinition$W.fragmentNode, parentId, metadata, uniforms, componentDefinition$W);
|
|
8307
8447
|
isRegistered = true;
|
|
8308
8448
|
} catch (error) {
|
|
8309
8449
|
console.error("Error registering shader node:", error);
|
|
@@ -8358,65 +8498,66 @@ function ShaderComponent(props) {
|
|
|
8358
8498
|
return childContextValue();
|
|
8359
8499
|
},
|
|
8360
8500
|
get children() {
|
|
8361
|
-
return
|
|
8501
|
+
return local.children;
|
|
8362
8502
|
}
|
|
8363
8503
|
});
|
|
8364
8504
|
}
|
|
8365
8505
|
export {
|
|
8366
|
-
ShaderComponent$
|
|
8367
|
-
ShaderComponent$
|
|
8368
|
-
ShaderComponent$
|
|
8369
|
-
ShaderComponent$
|
|
8370
|
-
ShaderComponent$
|
|
8371
|
-
ShaderComponent$
|
|
8372
|
-
ShaderComponent$
|
|
8373
|
-
ShaderComponent$
|
|
8374
|
-
ShaderComponent$
|
|
8375
|
-
ShaderComponent$
|
|
8376
|
-
ShaderComponent$
|
|
8377
|
-
ShaderComponent$
|
|
8378
|
-
ShaderComponent$
|
|
8379
|
-
ShaderComponent$
|
|
8380
|
-
ShaderComponent$
|
|
8381
|
-
ShaderComponent$
|
|
8382
|
-
ShaderComponent$
|
|
8383
|
-
ShaderComponent$
|
|
8384
|
-
ShaderComponent$
|
|
8385
|
-
ShaderComponent$
|
|
8386
|
-
ShaderComponent$
|
|
8387
|
-
ShaderComponent$
|
|
8388
|
-
ShaderComponent$
|
|
8389
|
-
ShaderComponent$
|
|
8390
|
-
ShaderComponent$
|
|
8391
|
-
ShaderComponent$
|
|
8392
|
-
ShaderComponent$
|
|
8393
|
-
ShaderComponent$
|
|
8394
|
-
ShaderComponent$
|
|
8395
|
-
ShaderComponent$
|
|
8396
|
-
ShaderComponent$
|
|
8397
|
-
ShaderComponent$
|
|
8398
|
-
ShaderComponent$
|
|
8399
|
-
ShaderComponent$
|
|
8400
|
-
ShaderComponent$
|
|
8401
|
-
ShaderComponent$
|
|
8402
|
-
ShaderComponent$
|
|
8403
|
-
ShaderComponent$
|
|
8404
|
-
ShaderComponent$
|
|
8405
|
-
ShaderComponent$
|
|
8406
|
-
ShaderComponent$
|
|
8407
|
-
ShaderComponent$
|
|
8408
|
-
ShaderComponent$
|
|
8506
|
+
ShaderComponent$W as AngularBlur,
|
|
8507
|
+
ShaderComponent$V as Ascii,
|
|
8508
|
+
ShaderComponent$U as Beam,
|
|
8509
|
+
ShaderComponent$T as Blob,
|
|
8510
|
+
ShaderComponent$S as Blur,
|
|
8511
|
+
ShaderComponent$R as BrightnessContrast,
|
|
8512
|
+
ShaderComponent$Q as Bulge,
|
|
8513
|
+
ShaderComponent$P as CRTScreen,
|
|
8514
|
+
ShaderComponent$O as ChannelBlur,
|
|
8515
|
+
ShaderComponent$N as Checkerboard,
|
|
8516
|
+
ShaderComponent$M as ChromaFlow,
|
|
8517
|
+
ShaderComponent$L as ChromaticAberration,
|
|
8518
|
+
ShaderComponent$K as Circle,
|
|
8519
|
+
ShaderComponent$J as CursorTrail,
|
|
8520
|
+
ShaderComponent$I as DiffuseBlur,
|
|
8521
|
+
ShaderComponent$H as Dither,
|
|
8522
|
+
ShaderComponent$G as DotGrid,
|
|
8523
|
+
ShaderComponent$F as Duotone,
|
|
8524
|
+
ShaderComponent$E as FilmGrain,
|
|
8525
|
+
ShaderComponent$D as FloatingParticles,
|
|
8526
|
+
ShaderComponent$C as GlassTiles,
|
|
8527
|
+
ShaderComponent$B as Glow,
|
|
8528
|
+
ShaderComponent$A as Godrays,
|
|
8529
|
+
ShaderComponent$z as Grayscale,
|
|
8530
|
+
ShaderComponent$y as Grid,
|
|
8531
|
+
ShaderComponent$x as GridDistortion,
|
|
8532
|
+
ShaderComponent$w as Group,
|
|
8533
|
+
ShaderComponent$v as Halftone,
|
|
8534
|
+
ShaderComponent$u as HueShift,
|
|
8535
|
+
ShaderComponent$t as ImageTexture,
|
|
8536
|
+
ShaderComponent$s as Invert,
|
|
8537
|
+
ShaderComponent$r as LinearBlur,
|
|
8538
|
+
ShaderComponent$q as LinearGradient,
|
|
8539
|
+
ShaderComponent$p as Liquify,
|
|
8540
|
+
ShaderComponent$o as Perspective,
|
|
8541
|
+
ShaderComponent$n as Pixelate,
|
|
8542
|
+
ShaderComponent$m as PolarCoordinates,
|
|
8543
|
+
ShaderComponent$l as Posterize,
|
|
8544
|
+
ShaderComponent$k as ProgressiveBlur,
|
|
8545
|
+
ShaderComponent$j as RadialGradient,
|
|
8546
|
+
ShaderComponent$i as RectangularCoordinates,
|
|
8547
|
+
ShaderComponent$h as Ripples,
|
|
8548
|
+
ShaderComponent$g as Saturation,
|
|
8409
8549
|
Shader,
|
|
8410
|
-
ShaderComponent$
|
|
8411
|
-
ShaderComponent$
|
|
8412
|
-
ShaderComponent$
|
|
8413
|
-
ShaderComponent$
|
|
8414
|
-
ShaderComponent$
|
|
8415
|
-
ShaderComponent$
|
|
8416
|
-
ShaderComponent$
|
|
8417
|
-
ShaderComponent$
|
|
8418
|
-
ShaderComponent$
|
|
8419
|
-
ShaderComponent$
|
|
8550
|
+
ShaderComponent$f as Sharpness,
|
|
8551
|
+
ShaderComponent$e as SimplexNoise,
|
|
8552
|
+
ShaderComponent$d as SineWave,
|
|
8553
|
+
ShaderComponent$c as SolidColor,
|
|
8554
|
+
ShaderComponent$b as Spherize,
|
|
8555
|
+
ShaderComponent$a as Spiral,
|
|
8556
|
+
ShaderComponent$9 as Strands,
|
|
8557
|
+
ShaderComponent$8 as Stretch,
|
|
8558
|
+
ShaderComponent$7 as Swirl,
|
|
8559
|
+
ShaderComponent$6 as TiltShift,
|
|
8560
|
+
ShaderComponent$5 as Tint,
|
|
8420
8561
|
ShaderComponent$4 as Tritone,
|
|
8421
8562
|
ShaderComponent$3 as Twirl,
|
|
8422
8563
|
ShaderComponent$2 as Vibrance,
|