shaders 2.2.41 → 2.2.42
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/Shatter-COjV2jLy.js +299 -0
- package/dist/core/index.js +41 -39
- package/dist/core/shaderRegistry.d.ts.map +1 -1
- package/dist/core/shaders/Shatter/index.d.ts +70 -0
- package/dist/core/shaders/Shatter/index.d.ts.map +1 -0
- package/dist/core/shaders/Shatter/index.js +4 -0
- package/dist/core/shaders/SimplexNoise/index.js +1 -1
- package/dist/core/shaders/SineWave/index.js +1 -1
- package/dist/core/shaders/SolidColor/index.js +1 -1
- package/dist/core/shaders/Spherize/index.js +1 -1
- package/dist/core/shaders/Spiral/index.js +1 -1
- package/dist/core/shaders/Strands/index.js +1 -1
- package/dist/core/shaders/Stretch/index.js +1 -1
- package/dist/core/shaders/Stripes/index.js +1 -1
- package/dist/core/shaders/Swirl/index.js +1 -1
- package/dist/core/shaders/TiltShift/index.js +1 -1
- package/dist/core/shaders/Tint/index.js +1 -1
- package/dist/core/shaders/Tritone/index.js +1 -1
- package/dist/core/shaders/Twirl/index.js +1 -1
- package/dist/core/shaders/Vibrance/index.js +1 -1
- package/dist/core/shaders/WaveDistortion/index.js +1 -1
- package/dist/core/shaders/ZoomBlur/index.js +1 -1
- package/dist/react/components/Shatter.d.ts +31 -0
- package/dist/react/components/Shatter.d.ts.map +1 -0
- package/dist/react/{generatePresetCode-K6ZAneRr.js → generatePresetCode-BrkW1bEe.js} +14 -0
- package/dist/react/index.d.ts +1 -0
- package/dist/react/index.d.ts.map +1 -1
- package/dist/react/index.js +563 -424
- package/dist/react/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/react/utils/generatePresetCode.js +1 -1
- package/dist/registry.js +246 -0
- package/dist/solid/components/Shatter.d.ts +28 -0
- package/dist/solid/components/Shatter.d.ts.map +1 -0
- package/dist/solid/index.d.ts +1 -0
- package/dist/solid/index.d.ts.map +1 -1
- package/dist/solid/index.js +502 -360
- package/dist/solid/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/solid/utils/generatePresetCode.js +14 -0
- package/dist/svelte/components/Shatter.svelte.d.ts +19 -0
- package/dist/svelte/{generatePresetCode-x1dhDaQ3.js → generatePresetCode-bx7z5wvC.js} +14 -0
- package/dist/svelte/index.d.ts +1 -0
- package/dist/svelte/index.js +145 -34
- package/dist/svelte/utils/generatePresetCode.js +1 -1
- package/dist/vue/components/Shatter.vue.d.ts +57 -0
- package/dist/vue/components/Shatter.vue.d.ts.map +1 -0
- package/dist/vue/{generatePresetCode-BaNcX5ua.js → generatePresetCode-_7ZzqQPH.js} +14 -0
- package/dist/vue/index.d.ts +1 -0
- package/dist/vue/index.d.ts.map +1 -1
- package/dist/vue/index.js +259 -130
- 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/{SimplexNoise-CMMeggo6.js → SimplexNoise-Ce79jgYM.js} +0 -0
- /package/dist/core/{SineWave-DVVLqHPw.js → SineWave-Cv2gOU8a.js} +0 -0
- /package/dist/core/{SolidColor-zYROg_aE.js → SolidColor-DFkDBFq3.js} +0 -0
- /package/dist/core/{Spherize-tsKMpSaS.js → Spherize-R-s4pX9t.js} +0 -0
- /package/dist/core/{Spiral-DDyVSeG_.js → Spiral-W4dALX1z.js} +0 -0
- /package/dist/core/{Strands-B9vY4uA7.js → Strands-DtN5POfO.js} +0 -0
- /package/dist/core/{Stretch-BhHjbcqd.js → Stretch-BzvP_hdu.js} +0 -0
- /package/dist/core/{Stripes-TdCUOh07.js → Stripes-BbNFX05u.js} +0 -0
- /package/dist/core/{Swirl-m1-Mnzj5.js → Swirl-CfsYsr4X.js} +0 -0
- /package/dist/core/{TiltShift-C_NUqKZF.js → TiltShift-B6gbm7Z8.js} +0 -0
- /package/dist/core/{Tint-ChKku9xR.js → Tint-CpnitsHw.js} +0 -0
- /package/dist/core/{Tritone-D-NcV7N-.js → Tritone-DzvSKVfR.js} +0 -0
- /package/dist/core/{Twirl-Cqzll6nW.js → Twirl-BXH4uAd6.js} +0 -0
- /package/dist/core/{Vibrance-CxunJkcb.js → Vibrance-ByN9bRgU.js} +0 -0
- /package/dist/core/{WaveDistortion-UQZKCfKh.js → WaveDistortion-BA1PyqYH.js} +0 -0
- /package/dist/core/{ZoomBlur-DqKYdlmm.js → ZoomBlur-CTrw7HxX.js} +0 -0
package/dist/solid/index.js
CHANGED
|
@@ -47,22 +47,23 @@ import { componentDefinition as componentDefinition$E } from "../core/shaders/Re
|
|
|
47
47
|
import { componentDefinition as componentDefinition$F } from "../core/shaders/Ripples/index.js";
|
|
48
48
|
import { componentDefinition as componentDefinition$G } from "../core/shaders/Saturation/index.js";
|
|
49
49
|
import { componentDefinition as componentDefinition$H } from "../core/shaders/Sharpness/index.js";
|
|
50
|
-
import { componentDefinition as componentDefinition$I } from "../core/shaders/
|
|
51
|
-
import { componentDefinition as componentDefinition$J } from "../core/shaders/
|
|
52
|
-
import { componentDefinition as componentDefinition$K } from "../core/shaders/
|
|
53
|
-
import { componentDefinition as componentDefinition$L } from "../core/shaders/
|
|
54
|
-
import { componentDefinition as componentDefinition$M } from "../core/shaders/
|
|
55
|
-
import { componentDefinition as componentDefinition$N } from "../core/shaders/
|
|
56
|
-
import { componentDefinition as componentDefinition$O } from "../core/shaders/
|
|
57
|
-
import { componentDefinition as componentDefinition$P } from "../core/shaders/
|
|
58
|
-
import { componentDefinition as componentDefinition$Q } from "../core/shaders/
|
|
59
|
-
import { componentDefinition as componentDefinition$R } from "../core/shaders/
|
|
60
|
-
import { componentDefinition as componentDefinition$S } from "../core/shaders/
|
|
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/
|
|
64
|
-
import { componentDefinition as componentDefinition$W } from "../core/shaders/
|
|
65
|
-
import { componentDefinition as componentDefinition$X } from "../core/shaders/
|
|
50
|
+
import { componentDefinition as componentDefinition$I } from "../core/shaders/Shatter/index.js";
|
|
51
|
+
import { componentDefinition as componentDefinition$J } from "../core/shaders/SimplexNoise/index.js";
|
|
52
|
+
import { componentDefinition as componentDefinition$K } from "../core/shaders/SineWave/index.js";
|
|
53
|
+
import { componentDefinition as componentDefinition$L } from "../core/shaders/SolidColor/index.js";
|
|
54
|
+
import { componentDefinition as componentDefinition$M } from "../core/shaders/Spherize/index.js";
|
|
55
|
+
import { componentDefinition as componentDefinition$N } from "../core/shaders/Spiral/index.js";
|
|
56
|
+
import { componentDefinition as componentDefinition$O } from "../core/shaders/Strands/index.js";
|
|
57
|
+
import { componentDefinition as componentDefinition$P } from "../core/shaders/Stretch/index.js";
|
|
58
|
+
import { componentDefinition as componentDefinition$Q } from "../core/shaders/Stripes/index.js";
|
|
59
|
+
import { componentDefinition as componentDefinition$R } from "../core/shaders/Swirl/index.js";
|
|
60
|
+
import { componentDefinition as componentDefinition$S } from "../core/shaders/TiltShift/index.js";
|
|
61
|
+
import { componentDefinition as componentDefinition$T } from "../core/shaders/Tint/index.js";
|
|
62
|
+
import { componentDefinition as componentDefinition$U } from "../core/shaders/Tritone/index.js";
|
|
63
|
+
import { componentDefinition as componentDefinition$V } from "../core/shaders/Twirl/index.js";
|
|
64
|
+
import { componentDefinition as componentDefinition$W } from "../core/shaders/Vibrance/index.js";
|
|
65
|
+
import { componentDefinition as componentDefinition$X } from "../core/shaders/WaveDistortion/index.js";
|
|
66
|
+
import { componentDefinition as componentDefinition$Y } from "../core/shaders/ZoomBlur/index.js";
|
|
66
67
|
import { generatePresetCode } from "./utils/generatePresetCode.js";
|
|
67
68
|
var _tmpl$ = /* @__PURE__ */ template(`<div><canvas data-renderer=shaders style=width:100%;height:100%;display:block>`);
|
|
68
69
|
const ShaderContext = createContext();
|
|
@@ -243,7 +244,7 @@ function useShaderContext() {
|
|
|
243
244
|
}
|
|
244
245
|
return ctx;
|
|
245
246
|
}
|
|
246
|
-
const DEFAULT_TRANSFORM$
|
|
247
|
+
const DEFAULT_TRANSFORM$Y = {
|
|
247
248
|
offsetX: 0,
|
|
248
249
|
offsetY: 0,
|
|
249
250
|
rotation: 0,
|
|
@@ -252,7 +253,7 @@ const DEFAULT_TRANSFORM$X = {
|
|
|
252
253
|
anchorY: 0.5,
|
|
253
254
|
edges: "transparent"
|
|
254
255
|
};
|
|
255
|
-
const defaultProps$
|
|
256
|
+
const defaultProps$Y = {
|
|
256
257
|
blendMode: "normal",
|
|
257
258
|
renderOrder: 0,
|
|
258
259
|
visible: true
|
|
@@ -262,6 +263,146 @@ const defaultProps$X = {
|
|
|
262
263
|
try {
|
|
263
264
|
if (componentDefinition && componentDefinition.props) {
|
|
264
265
|
Object.entries(componentDefinition.props).forEach(([key, config]) => {
|
|
266
|
+
const propConfig = config;
|
|
267
|
+
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
268
|
+
defaultProps$Y[key] = propConfig.default;
|
|
269
|
+
}
|
|
270
|
+
});
|
|
271
|
+
}
|
|
272
|
+
} catch (e) {
|
|
273
|
+
console.warn("Error extracting default props:", e);
|
|
274
|
+
}
|
|
275
|
+
function ShaderComponent$Y(props) {
|
|
276
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
277
|
+
const context = useShaderContext();
|
|
278
|
+
const {
|
|
279
|
+
shaderParentId: parentId,
|
|
280
|
+
shaderNodeRegister: parentRegister,
|
|
281
|
+
shaderUniformUpdate: parentUniformUpdate,
|
|
282
|
+
shaderMetadataUpdate: parentMetadataUpdate
|
|
283
|
+
} = context;
|
|
284
|
+
const instanceId = props.id || `${componentDefinition.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
285
|
+
const effectiveProps = createMemo(() => {
|
|
286
|
+
let baseProps = {
|
|
287
|
+
...defaultProps$Y
|
|
288
|
+
};
|
|
289
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
290
|
+
if (value !== void 0) {
|
|
291
|
+
baseProps[key] = value;
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
return baseProps;
|
|
295
|
+
});
|
|
296
|
+
const effectiveTransform = createMemo(() => ({
|
|
297
|
+
...DEFAULT_TRANSFORM$Y,
|
|
298
|
+
...props.transform
|
|
299
|
+
}));
|
|
300
|
+
let uniformsMap = null;
|
|
301
|
+
const getUniformsMap = () => {
|
|
302
|
+
if (!uniformsMap) {
|
|
303
|
+
uniformsMap = createUniformsMap(componentDefinition, effectiveProps(), instanceId);
|
|
304
|
+
}
|
|
305
|
+
return uniformsMap;
|
|
306
|
+
};
|
|
307
|
+
const childContextValue = createMemo(() => ({
|
|
308
|
+
...context,
|
|
309
|
+
shaderParentId: instanceId
|
|
310
|
+
}));
|
|
311
|
+
let isRegistered = false;
|
|
312
|
+
onMount(() => {
|
|
313
|
+
const uniforms = getUniformsMap();
|
|
314
|
+
if (!uniforms) return;
|
|
315
|
+
try {
|
|
316
|
+
const metadata = {
|
|
317
|
+
blendMode: props.blendMode || "normal",
|
|
318
|
+
opacity: props.opacity,
|
|
319
|
+
visible: props.visible === false ? false : true,
|
|
320
|
+
id: props.id,
|
|
321
|
+
mask: props.maskSource ? {
|
|
322
|
+
source: props.maskSource,
|
|
323
|
+
type: props.maskType || "alpha"
|
|
324
|
+
} : void 0,
|
|
325
|
+
renderOrder: props.renderOrder || 0,
|
|
326
|
+
transform: effectiveTransform()
|
|
327
|
+
};
|
|
328
|
+
parentRegister(instanceId, componentDefinition.fragmentNode, parentId, metadata, uniforms, componentDefinition);
|
|
329
|
+
isRegistered = true;
|
|
330
|
+
} catch (error) {
|
|
331
|
+
console.error("Error registering shader node:", error);
|
|
332
|
+
}
|
|
333
|
+
});
|
|
334
|
+
onCleanup(() => {
|
|
335
|
+
isRegistered = false;
|
|
336
|
+
parentRegister(instanceId, null, null, null, null);
|
|
337
|
+
});
|
|
338
|
+
createEffect(() => {
|
|
339
|
+
if (!isRegistered) return;
|
|
340
|
+
const uniforms = getUniformsMap();
|
|
341
|
+
if (!uniforms) return;
|
|
342
|
+
try {
|
|
343
|
+
const props_snapshot = effectiveProps();
|
|
344
|
+
Object.entries(uniforms).forEach(([propName, uniformData]) => {
|
|
345
|
+
if (!uniformData || typeof uniformData !== "object") return;
|
|
346
|
+
const {
|
|
347
|
+
uniform
|
|
348
|
+
} = uniformData;
|
|
349
|
+
if ((uniform == null ? void 0 : uniform.value) !== void 0 && propName in props_snapshot) {
|
|
350
|
+
const newValue = props_snapshot[propName];
|
|
351
|
+
parentUniformUpdate(instanceId, propName, newValue);
|
|
352
|
+
}
|
|
353
|
+
});
|
|
354
|
+
} catch (error) {
|
|
355
|
+
console.error("Error updating uniforms:", error);
|
|
356
|
+
}
|
|
357
|
+
});
|
|
358
|
+
createEffect(() => {
|
|
359
|
+
if (!isRegistered) return;
|
|
360
|
+
try {
|
|
361
|
+
const metadata = {
|
|
362
|
+
blendMode: props.blendMode || "normal",
|
|
363
|
+
opacity: props.opacity,
|
|
364
|
+
visible: props.visible === false ? false : true,
|
|
365
|
+
id: props.id,
|
|
366
|
+
mask: props.maskSource ? {
|
|
367
|
+
source: props.maskSource,
|
|
368
|
+
type: props.maskType || "alpha"
|
|
369
|
+
} : void 0,
|
|
370
|
+
renderOrder: props.renderOrder || 0,
|
|
371
|
+
transform: effectiveTransform()
|
|
372
|
+
};
|
|
373
|
+
parentMetadataUpdate(instanceId, metadata);
|
|
374
|
+
} catch (error) {
|
|
375
|
+
console.error("Error updating metadata:", error);
|
|
376
|
+
}
|
|
377
|
+
});
|
|
378
|
+
return createComponent(ShaderContext.Provider, {
|
|
379
|
+
get value() {
|
|
380
|
+
return childContextValue();
|
|
381
|
+
},
|
|
382
|
+
get children() {
|
|
383
|
+
return local.children;
|
|
384
|
+
}
|
|
385
|
+
});
|
|
386
|
+
}
|
|
387
|
+
const DEFAULT_TRANSFORM$X = {
|
|
388
|
+
offsetX: 0,
|
|
389
|
+
offsetY: 0,
|
|
390
|
+
rotation: 0,
|
|
391
|
+
scale: 1,
|
|
392
|
+
anchorX: 0.5,
|
|
393
|
+
anchorY: 0.5,
|
|
394
|
+
edges: "transparent"
|
|
395
|
+
};
|
|
396
|
+
const defaultProps$X = {
|
|
397
|
+
blendMode: "normal",
|
|
398
|
+
renderOrder: 0,
|
|
399
|
+
visible: true
|
|
400
|
+
// opacity intentionally has no default - handled by renderer
|
|
401
|
+
// transform intentionally has no default - handled by effectiveTransform
|
|
402
|
+
};
|
|
403
|
+
try {
|
|
404
|
+
if (componentDefinition$1 && componentDefinition$1.props) {
|
|
405
|
+
Object.entries(componentDefinition$1.props).forEach(([key, config]) => {
|
|
265
406
|
const propConfig = config;
|
|
266
407
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
267
408
|
defaultProps$X[key] = propConfig.default;
|
|
@@ -280,7 +421,7 @@ function ShaderComponent$X(props) {
|
|
|
280
421
|
shaderUniformUpdate: parentUniformUpdate,
|
|
281
422
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
282
423
|
} = context;
|
|
283
|
-
const instanceId = props.id || `${componentDefinition.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
424
|
+
const instanceId = props.id || `${componentDefinition$1.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
284
425
|
const effectiveProps = createMemo(() => {
|
|
285
426
|
let baseProps = {
|
|
286
427
|
...defaultProps$X
|
|
@@ -299,7 +440,7 @@ function ShaderComponent$X(props) {
|
|
|
299
440
|
let uniformsMap = null;
|
|
300
441
|
const getUniformsMap = () => {
|
|
301
442
|
if (!uniformsMap) {
|
|
302
|
-
uniformsMap = createUniformsMap(componentDefinition, effectiveProps(), instanceId);
|
|
443
|
+
uniformsMap = createUniformsMap(componentDefinition$1, effectiveProps(), instanceId);
|
|
303
444
|
}
|
|
304
445
|
return uniformsMap;
|
|
305
446
|
};
|
|
@@ -324,7 +465,7 @@ function ShaderComponent$X(props) {
|
|
|
324
465
|
renderOrder: props.renderOrder || 0,
|
|
325
466
|
transform: effectiveTransform()
|
|
326
467
|
};
|
|
327
|
-
parentRegister(instanceId, componentDefinition.fragmentNode, parentId, metadata, uniforms, componentDefinition);
|
|
468
|
+
parentRegister(instanceId, componentDefinition$1.fragmentNode, parentId, metadata, uniforms, componentDefinition$1);
|
|
328
469
|
isRegistered = true;
|
|
329
470
|
} catch (error) {
|
|
330
471
|
console.error("Error registering shader node:", error);
|
|
@@ -400,8 +541,8 @@ const defaultProps$W = {
|
|
|
400
541
|
// transform intentionally has no default - handled by effectiveTransform
|
|
401
542
|
};
|
|
402
543
|
try {
|
|
403
|
-
if (componentDefinition$
|
|
404
|
-
Object.entries(componentDefinition$
|
|
544
|
+
if (componentDefinition$2 && componentDefinition$2.props) {
|
|
545
|
+
Object.entries(componentDefinition$2.props).forEach(([key, config]) => {
|
|
405
546
|
const propConfig = config;
|
|
406
547
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
407
548
|
defaultProps$W[key] = propConfig.default;
|
|
@@ -420,7 +561,7 @@ function ShaderComponent$W(props) {
|
|
|
420
561
|
shaderUniformUpdate: parentUniformUpdate,
|
|
421
562
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
422
563
|
} = context;
|
|
423
|
-
const instanceId = props.id || `${componentDefinition$
|
|
564
|
+
const instanceId = props.id || `${componentDefinition$2.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
424
565
|
const effectiveProps = createMemo(() => {
|
|
425
566
|
let baseProps = {
|
|
426
567
|
...defaultProps$W
|
|
@@ -439,7 +580,7 @@ function ShaderComponent$W(props) {
|
|
|
439
580
|
let uniformsMap = null;
|
|
440
581
|
const getUniformsMap = () => {
|
|
441
582
|
if (!uniformsMap) {
|
|
442
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
583
|
+
uniformsMap = createUniformsMap(componentDefinition$2, effectiveProps(), instanceId);
|
|
443
584
|
}
|
|
444
585
|
return uniformsMap;
|
|
445
586
|
};
|
|
@@ -464,7 +605,7 @@ function ShaderComponent$W(props) {
|
|
|
464
605
|
renderOrder: props.renderOrder || 0,
|
|
465
606
|
transform: effectiveTransform()
|
|
466
607
|
};
|
|
467
|
-
parentRegister(instanceId, componentDefinition$
|
|
608
|
+
parentRegister(instanceId, componentDefinition$2.fragmentNode, parentId, metadata, uniforms, componentDefinition$2);
|
|
468
609
|
isRegistered = true;
|
|
469
610
|
} catch (error) {
|
|
470
611
|
console.error("Error registering shader node:", error);
|
|
@@ -540,8 +681,8 @@ const defaultProps$V = {
|
|
|
540
681
|
// transform intentionally has no default - handled by effectiveTransform
|
|
541
682
|
};
|
|
542
683
|
try {
|
|
543
|
-
if (componentDefinition$
|
|
544
|
-
Object.entries(componentDefinition$
|
|
684
|
+
if (componentDefinition$3 && componentDefinition$3.props) {
|
|
685
|
+
Object.entries(componentDefinition$3.props).forEach(([key, config]) => {
|
|
545
686
|
const propConfig = config;
|
|
546
687
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
547
688
|
defaultProps$V[key] = propConfig.default;
|
|
@@ -560,7 +701,7 @@ function ShaderComponent$V(props) {
|
|
|
560
701
|
shaderUniformUpdate: parentUniformUpdate,
|
|
561
702
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
562
703
|
} = context;
|
|
563
|
-
const instanceId = props.id || `${componentDefinition$
|
|
704
|
+
const instanceId = props.id || `${componentDefinition$3.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
564
705
|
const effectiveProps = createMemo(() => {
|
|
565
706
|
let baseProps = {
|
|
566
707
|
...defaultProps$V
|
|
@@ -579,7 +720,7 @@ function ShaderComponent$V(props) {
|
|
|
579
720
|
let uniformsMap = null;
|
|
580
721
|
const getUniformsMap = () => {
|
|
581
722
|
if (!uniformsMap) {
|
|
582
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
723
|
+
uniformsMap = createUniformsMap(componentDefinition$3, effectiveProps(), instanceId);
|
|
583
724
|
}
|
|
584
725
|
return uniformsMap;
|
|
585
726
|
};
|
|
@@ -604,7 +745,7 @@ function ShaderComponent$V(props) {
|
|
|
604
745
|
renderOrder: props.renderOrder || 0,
|
|
605
746
|
transform: effectiveTransform()
|
|
606
747
|
};
|
|
607
|
-
parentRegister(instanceId, componentDefinition$
|
|
748
|
+
parentRegister(instanceId, componentDefinition$3.fragmentNode, parentId, metadata, uniforms, componentDefinition$3);
|
|
608
749
|
isRegistered = true;
|
|
609
750
|
} catch (error) {
|
|
610
751
|
console.error("Error registering shader node:", error);
|
|
@@ -680,8 +821,8 @@ const defaultProps$U = {
|
|
|
680
821
|
// transform intentionally has no default - handled by effectiveTransform
|
|
681
822
|
};
|
|
682
823
|
try {
|
|
683
|
-
if (componentDefinition$
|
|
684
|
-
Object.entries(componentDefinition$
|
|
824
|
+
if (componentDefinition$4 && componentDefinition$4.props) {
|
|
825
|
+
Object.entries(componentDefinition$4.props).forEach(([key, config]) => {
|
|
685
826
|
const propConfig = config;
|
|
686
827
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
687
828
|
defaultProps$U[key] = propConfig.default;
|
|
@@ -700,7 +841,7 @@ function ShaderComponent$U(props) {
|
|
|
700
841
|
shaderUniformUpdate: parentUniformUpdate,
|
|
701
842
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
702
843
|
} = context;
|
|
703
|
-
const instanceId = props.id || `${componentDefinition$
|
|
844
|
+
const instanceId = props.id || `${componentDefinition$4.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
704
845
|
const effectiveProps = createMemo(() => {
|
|
705
846
|
let baseProps = {
|
|
706
847
|
...defaultProps$U
|
|
@@ -719,7 +860,7 @@ function ShaderComponent$U(props) {
|
|
|
719
860
|
let uniformsMap = null;
|
|
720
861
|
const getUniformsMap = () => {
|
|
721
862
|
if (!uniformsMap) {
|
|
722
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
863
|
+
uniformsMap = createUniformsMap(componentDefinition$4, effectiveProps(), instanceId);
|
|
723
864
|
}
|
|
724
865
|
return uniformsMap;
|
|
725
866
|
};
|
|
@@ -744,7 +885,7 @@ function ShaderComponent$U(props) {
|
|
|
744
885
|
renderOrder: props.renderOrder || 0,
|
|
745
886
|
transform: effectiveTransform()
|
|
746
887
|
};
|
|
747
|
-
parentRegister(instanceId, componentDefinition$
|
|
888
|
+
parentRegister(instanceId, componentDefinition$4.fragmentNode, parentId, metadata, uniforms, componentDefinition$4);
|
|
748
889
|
isRegistered = true;
|
|
749
890
|
} catch (error) {
|
|
750
891
|
console.error("Error registering shader node:", error);
|
|
@@ -820,8 +961,8 @@ const defaultProps$T = {
|
|
|
820
961
|
// transform intentionally has no default - handled by effectiveTransform
|
|
821
962
|
};
|
|
822
963
|
try {
|
|
823
|
-
if (componentDefinition$
|
|
824
|
-
Object.entries(componentDefinition$
|
|
964
|
+
if (componentDefinition$5 && componentDefinition$5.props) {
|
|
965
|
+
Object.entries(componentDefinition$5.props).forEach(([key, config]) => {
|
|
825
966
|
const propConfig = config;
|
|
826
967
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
827
968
|
defaultProps$T[key] = propConfig.default;
|
|
@@ -840,7 +981,7 @@ function ShaderComponent$T(props) {
|
|
|
840
981
|
shaderUniformUpdate: parentUniformUpdate,
|
|
841
982
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
842
983
|
} = context;
|
|
843
|
-
const instanceId = props.id || `${componentDefinition$
|
|
984
|
+
const instanceId = props.id || `${componentDefinition$5.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
844
985
|
const effectiveProps = createMemo(() => {
|
|
845
986
|
let baseProps = {
|
|
846
987
|
...defaultProps$T
|
|
@@ -859,7 +1000,7 @@ function ShaderComponent$T(props) {
|
|
|
859
1000
|
let uniformsMap = null;
|
|
860
1001
|
const getUniformsMap = () => {
|
|
861
1002
|
if (!uniformsMap) {
|
|
862
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
1003
|
+
uniformsMap = createUniformsMap(componentDefinition$5, effectiveProps(), instanceId);
|
|
863
1004
|
}
|
|
864
1005
|
return uniformsMap;
|
|
865
1006
|
};
|
|
@@ -884,7 +1025,7 @@ function ShaderComponent$T(props) {
|
|
|
884
1025
|
renderOrder: props.renderOrder || 0,
|
|
885
1026
|
transform: effectiveTransform()
|
|
886
1027
|
};
|
|
887
|
-
parentRegister(instanceId, componentDefinition$
|
|
1028
|
+
parentRegister(instanceId, componentDefinition$5.fragmentNode, parentId, metadata, uniforms, componentDefinition$5);
|
|
888
1029
|
isRegistered = true;
|
|
889
1030
|
} catch (error) {
|
|
890
1031
|
console.error("Error registering shader node:", error);
|
|
@@ -960,8 +1101,8 @@ const defaultProps$S = {
|
|
|
960
1101
|
// transform intentionally has no default - handled by effectiveTransform
|
|
961
1102
|
};
|
|
962
1103
|
try {
|
|
963
|
-
if (componentDefinition$
|
|
964
|
-
Object.entries(componentDefinition$
|
|
1104
|
+
if (componentDefinition$6 && componentDefinition$6.props) {
|
|
1105
|
+
Object.entries(componentDefinition$6.props).forEach(([key, config]) => {
|
|
965
1106
|
const propConfig = config;
|
|
966
1107
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
967
1108
|
defaultProps$S[key] = propConfig.default;
|
|
@@ -980,7 +1121,7 @@ function ShaderComponent$S(props) {
|
|
|
980
1121
|
shaderUniformUpdate: parentUniformUpdate,
|
|
981
1122
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
982
1123
|
} = context;
|
|
983
|
-
const instanceId = props.id || `${componentDefinition$
|
|
1124
|
+
const instanceId = props.id || `${componentDefinition$6.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
984
1125
|
const effectiveProps = createMemo(() => {
|
|
985
1126
|
let baseProps = {
|
|
986
1127
|
...defaultProps$S
|
|
@@ -999,7 +1140,7 @@ function ShaderComponent$S(props) {
|
|
|
999
1140
|
let uniformsMap = null;
|
|
1000
1141
|
const getUniformsMap = () => {
|
|
1001
1142
|
if (!uniformsMap) {
|
|
1002
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
1143
|
+
uniformsMap = createUniformsMap(componentDefinition$6, effectiveProps(), instanceId);
|
|
1003
1144
|
}
|
|
1004
1145
|
return uniformsMap;
|
|
1005
1146
|
};
|
|
@@ -1024,7 +1165,7 @@ function ShaderComponent$S(props) {
|
|
|
1024
1165
|
renderOrder: props.renderOrder || 0,
|
|
1025
1166
|
transform: effectiveTransform()
|
|
1026
1167
|
};
|
|
1027
|
-
parentRegister(instanceId, componentDefinition$
|
|
1168
|
+
parentRegister(instanceId, componentDefinition$6.fragmentNode, parentId, metadata, uniforms, componentDefinition$6);
|
|
1028
1169
|
isRegistered = true;
|
|
1029
1170
|
} catch (error) {
|
|
1030
1171
|
console.error("Error registering shader node:", error);
|
|
@@ -1100,8 +1241,8 @@ const defaultProps$R = {
|
|
|
1100
1241
|
// transform intentionally has no default - handled by effectiveTransform
|
|
1101
1242
|
};
|
|
1102
1243
|
try {
|
|
1103
|
-
if (componentDefinition$
|
|
1104
|
-
Object.entries(componentDefinition$
|
|
1244
|
+
if (componentDefinition$7 && componentDefinition$7.props) {
|
|
1245
|
+
Object.entries(componentDefinition$7.props).forEach(([key, config]) => {
|
|
1105
1246
|
const propConfig = config;
|
|
1106
1247
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
1107
1248
|
defaultProps$R[key] = propConfig.default;
|
|
@@ -1120,7 +1261,7 @@ function ShaderComponent$R(props) {
|
|
|
1120
1261
|
shaderUniformUpdate: parentUniformUpdate,
|
|
1121
1262
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
1122
1263
|
} = context;
|
|
1123
|
-
const instanceId = props.id || `${componentDefinition$
|
|
1264
|
+
const instanceId = props.id || `${componentDefinition$7.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1124
1265
|
const effectiveProps = createMemo(() => {
|
|
1125
1266
|
let baseProps = {
|
|
1126
1267
|
...defaultProps$R
|
|
@@ -1139,7 +1280,7 @@ function ShaderComponent$R(props) {
|
|
|
1139
1280
|
let uniformsMap = null;
|
|
1140
1281
|
const getUniformsMap = () => {
|
|
1141
1282
|
if (!uniformsMap) {
|
|
1142
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
1283
|
+
uniformsMap = createUniformsMap(componentDefinition$7, effectiveProps(), instanceId);
|
|
1143
1284
|
}
|
|
1144
1285
|
return uniformsMap;
|
|
1145
1286
|
};
|
|
@@ -1164,7 +1305,7 @@ function ShaderComponent$R(props) {
|
|
|
1164
1305
|
renderOrder: props.renderOrder || 0,
|
|
1165
1306
|
transform: effectiveTransform()
|
|
1166
1307
|
};
|
|
1167
|
-
parentRegister(instanceId, componentDefinition$
|
|
1308
|
+
parentRegister(instanceId, componentDefinition$7.fragmentNode, parentId, metadata, uniforms, componentDefinition$7);
|
|
1168
1309
|
isRegistered = true;
|
|
1169
1310
|
} catch (error) {
|
|
1170
1311
|
console.error("Error registering shader node:", error);
|
|
@@ -1240,8 +1381,8 @@ const defaultProps$Q = {
|
|
|
1240
1381
|
// transform intentionally has no default - handled by effectiveTransform
|
|
1241
1382
|
};
|
|
1242
1383
|
try {
|
|
1243
|
-
if (componentDefinition$
|
|
1244
|
-
Object.entries(componentDefinition$
|
|
1384
|
+
if (componentDefinition$8 && componentDefinition$8.props) {
|
|
1385
|
+
Object.entries(componentDefinition$8.props).forEach(([key, config]) => {
|
|
1245
1386
|
const propConfig = config;
|
|
1246
1387
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
1247
1388
|
defaultProps$Q[key] = propConfig.default;
|
|
@@ -1260,7 +1401,7 @@ function ShaderComponent$Q(props) {
|
|
|
1260
1401
|
shaderUniformUpdate: parentUniformUpdate,
|
|
1261
1402
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
1262
1403
|
} = context;
|
|
1263
|
-
const instanceId = props.id || `${componentDefinition$
|
|
1404
|
+
const instanceId = props.id || `${componentDefinition$8.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1264
1405
|
const effectiveProps = createMemo(() => {
|
|
1265
1406
|
let baseProps = {
|
|
1266
1407
|
...defaultProps$Q
|
|
@@ -1279,7 +1420,7 @@ function ShaderComponent$Q(props) {
|
|
|
1279
1420
|
let uniformsMap = null;
|
|
1280
1421
|
const getUniformsMap = () => {
|
|
1281
1422
|
if (!uniformsMap) {
|
|
1282
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
1423
|
+
uniformsMap = createUniformsMap(componentDefinition$8, effectiveProps(), instanceId);
|
|
1283
1424
|
}
|
|
1284
1425
|
return uniformsMap;
|
|
1285
1426
|
};
|
|
@@ -1304,7 +1445,7 @@ function ShaderComponent$Q(props) {
|
|
|
1304
1445
|
renderOrder: props.renderOrder || 0,
|
|
1305
1446
|
transform: effectiveTransform()
|
|
1306
1447
|
};
|
|
1307
|
-
parentRegister(instanceId, componentDefinition$
|
|
1448
|
+
parentRegister(instanceId, componentDefinition$8.fragmentNode, parentId, metadata, uniforms, componentDefinition$8);
|
|
1308
1449
|
isRegistered = true;
|
|
1309
1450
|
} catch (error) {
|
|
1310
1451
|
console.error("Error registering shader node:", error);
|
|
@@ -1380,8 +1521,8 @@ const defaultProps$P = {
|
|
|
1380
1521
|
// transform intentionally has no default - handled by effectiveTransform
|
|
1381
1522
|
};
|
|
1382
1523
|
try {
|
|
1383
|
-
if (componentDefinition$
|
|
1384
|
-
Object.entries(componentDefinition$
|
|
1524
|
+
if (componentDefinition$9 && componentDefinition$9.props) {
|
|
1525
|
+
Object.entries(componentDefinition$9.props).forEach(([key, config]) => {
|
|
1385
1526
|
const propConfig = config;
|
|
1386
1527
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
1387
1528
|
defaultProps$P[key] = propConfig.default;
|
|
@@ -1400,7 +1541,7 @@ function ShaderComponent$P(props) {
|
|
|
1400
1541
|
shaderUniformUpdate: parentUniformUpdate,
|
|
1401
1542
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
1402
1543
|
} = context;
|
|
1403
|
-
const instanceId = props.id || `${componentDefinition$
|
|
1544
|
+
const instanceId = props.id || `${componentDefinition$9.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1404
1545
|
const effectiveProps = createMemo(() => {
|
|
1405
1546
|
let baseProps = {
|
|
1406
1547
|
...defaultProps$P
|
|
@@ -1419,7 +1560,7 @@ function ShaderComponent$P(props) {
|
|
|
1419
1560
|
let uniformsMap = null;
|
|
1420
1561
|
const getUniformsMap = () => {
|
|
1421
1562
|
if (!uniformsMap) {
|
|
1422
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
1563
|
+
uniformsMap = createUniformsMap(componentDefinition$9, effectiveProps(), instanceId);
|
|
1423
1564
|
}
|
|
1424
1565
|
return uniformsMap;
|
|
1425
1566
|
};
|
|
@@ -1444,7 +1585,7 @@ function ShaderComponent$P(props) {
|
|
|
1444
1585
|
renderOrder: props.renderOrder || 0,
|
|
1445
1586
|
transform: effectiveTransform()
|
|
1446
1587
|
};
|
|
1447
|
-
parentRegister(instanceId, componentDefinition$
|
|
1588
|
+
parentRegister(instanceId, componentDefinition$9.fragmentNode, parentId, metadata, uniforms, componentDefinition$9);
|
|
1448
1589
|
isRegistered = true;
|
|
1449
1590
|
} catch (error) {
|
|
1450
1591
|
console.error("Error registering shader node:", error);
|
|
@@ -1520,8 +1661,8 @@ const defaultProps$O = {
|
|
|
1520
1661
|
// transform intentionally has no default - handled by effectiveTransform
|
|
1521
1662
|
};
|
|
1522
1663
|
try {
|
|
1523
|
-
if (componentDefinition$
|
|
1524
|
-
Object.entries(componentDefinition$
|
|
1664
|
+
if (componentDefinition$a && componentDefinition$a.props) {
|
|
1665
|
+
Object.entries(componentDefinition$a.props).forEach(([key, config]) => {
|
|
1525
1666
|
const propConfig = config;
|
|
1526
1667
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
1527
1668
|
defaultProps$O[key] = propConfig.default;
|
|
@@ -1540,7 +1681,7 @@ function ShaderComponent$O(props) {
|
|
|
1540
1681
|
shaderUniformUpdate: parentUniformUpdate,
|
|
1541
1682
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
1542
1683
|
} = context;
|
|
1543
|
-
const instanceId = props.id || `${componentDefinition$
|
|
1684
|
+
const instanceId = props.id || `${componentDefinition$a.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1544
1685
|
const effectiveProps = createMemo(() => {
|
|
1545
1686
|
let baseProps = {
|
|
1546
1687
|
...defaultProps$O
|
|
@@ -1559,7 +1700,7 @@ function ShaderComponent$O(props) {
|
|
|
1559
1700
|
let uniformsMap = null;
|
|
1560
1701
|
const getUniformsMap = () => {
|
|
1561
1702
|
if (!uniformsMap) {
|
|
1562
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
1703
|
+
uniformsMap = createUniformsMap(componentDefinition$a, effectiveProps(), instanceId);
|
|
1563
1704
|
}
|
|
1564
1705
|
return uniformsMap;
|
|
1565
1706
|
};
|
|
@@ -1584,7 +1725,7 @@ function ShaderComponent$O(props) {
|
|
|
1584
1725
|
renderOrder: props.renderOrder || 0,
|
|
1585
1726
|
transform: effectiveTransform()
|
|
1586
1727
|
};
|
|
1587
|
-
parentRegister(instanceId, componentDefinition$
|
|
1728
|
+
parentRegister(instanceId, componentDefinition$a.fragmentNode, parentId, metadata, uniforms, componentDefinition$a);
|
|
1588
1729
|
isRegistered = true;
|
|
1589
1730
|
} catch (error) {
|
|
1590
1731
|
console.error("Error registering shader node:", error);
|
|
@@ -1660,8 +1801,8 @@ const defaultProps$N = {
|
|
|
1660
1801
|
// transform intentionally has no default - handled by effectiveTransform
|
|
1661
1802
|
};
|
|
1662
1803
|
try {
|
|
1663
|
-
if (componentDefinition$
|
|
1664
|
-
Object.entries(componentDefinition$
|
|
1804
|
+
if (componentDefinition$b && componentDefinition$b.props) {
|
|
1805
|
+
Object.entries(componentDefinition$b.props).forEach(([key, config]) => {
|
|
1665
1806
|
const propConfig = config;
|
|
1666
1807
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
1667
1808
|
defaultProps$N[key] = propConfig.default;
|
|
@@ -1680,7 +1821,7 @@ function ShaderComponent$N(props) {
|
|
|
1680
1821
|
shaderUniformUpdate: parentUniformUpdate,
|
|
1681
1822
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
1682
1823
|
} = context;
|
|
1683
|
-
const instanceId = props.id || `${componentDefinition$
|
|
1824
|
+
const instanceId = props.id || `${componentDefinition$b.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1684
1825
|
const effectiveProps = createMemo(() => {
|
|
1685
1826
|
let baseProps = {
|
|
1686
1827
|
...defaultProps$N
|
|
@@ -1699,7 +1840,7 @@ function ShaderComponent$N(props) {
|
|
|
1699
1840
|
let uniformsMap = null;
|
|
1700
1841
|
const getUniformsMap = () => {
|
|
1701
1842
|
if (!uniformsMap) {
|
|
1702
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
1843
|
+
uniformsMap = createUniformsMap(componentDefinition$b, effectiveProps(), instanceId);
|
|
1703
1844
|
}
|
|
1704
1845
|
return uniformsMap;
|
|
1705
1846
|
};
|
|
@@ -1724,7 +1865,7 @@ function ShaderComponent$N(props) {
|
|
|
1724
1865
|
renderOrder: props.renderOrder || 0,
|
|
1725
1866
|
transform: effectiveTransform()
|
|
1726
1867
|
};
|
|
1727
|
-
parentRegister(instanceId, componentDefinition$
|
|
1868
|
+
parentRegister(instanceId, componentDefinition$b.fragmentNode, parentId, metadata, uniforms, componentDefinition$b);
|
|
1728
1869
|
isRegistered = true;
|
|
1729
1870
|
} catch (error) {
|
|
1730
1871
|
console.error("Error registering shader node:", error);
|
|
@@ -1800,8 +1941,8 @@ const defaultProps$M = {
|
|
|
1800
1941
|
// transform intentionally has no default - handled by effectiveTransform
|
|
1801
1942
|
};
|
|
1802
1943
|
try {
|
|
1803
|
-
if (componentDefinition$
|
|
1804
|
-
Object.entries(componentDefinition$
|
|
1944
|
+
if (componentDefinition$c && componentDefinition$c.props) {
|
|
1945
|
+
Object.entries(componentDefinition$c.props).forEach(([key, config]) => {
|
|
1805
1946
|
const propConfig = config;
|
|
1806
1947
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
1807
1948
|
defaultProps$M[key] = propConfig.default;
|
|
@@ -1820,7 +1961,7 @@ function ShaderComponent$M(props) {
|
|
|
1820
1961
|
shaderUniformUpdate: parentUniformUpdate,
|
|
1821
1962
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
1822
1963
|
} = context;
|
|
1823
|
-
const instanceId = props.id || `${componentDefinition$
|
|
1964
|
+
const instanceId = props.id || `${componentDefinition$c.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1824
1965
|
const effectiveProps = createMemo(() => {
|
|
1825
1966
|
let baseProps = {
|
|
1826
1967
|
...defaultProps$M
|
|
@@ -1839,7 +1980,7 @@ function ShaderComponent$M(props) {
|
|
|
1839
1980
|
let uniformsMap = null;
|
|
1840
1981
|
const getUniformsMap = () => {
|
|
1841
1982
|
if (!uniformsMap) {
|
|
1842
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
1983
|
+
uniformsMap = createUniformsMap(componentDefinition$c, effectiveProps(), instanceId);
|
|
1843
1984
|
}
|
|
1844
1985
|
return uniformsMap;
|
|
1845
1986
|
};
|
|
@@ -1864,7 +2005,7 @@ function ShaderComponent$M(props) {
|
|
|
1864
2005
|
renderOrder: props.renderOrder || 0,
|
|
1865
2006
|
transform: effectiveTransform()
|
|
1866
2007
|
};
|
|
1867
|
-
parentRegister(instanceId, componentDefinition$
|
|
2008
|
+
parentRegister(instanceId, componentDefinition$c.fragmentNode, parentId, metadata, uniforms, componentDefinition$c);
|
|
1868
2009
|
isRegistered = true;
|
|
1869
2010
|
} catch (error) {
|
|
1870
2011
|
console.error("Error registering shader node:", error);
|
|
@@ -1940,8 +2081,8 @@ const defaultProps$L = {
|
|
|
1940
2081
|
// transform intentionally has no default - handled by effectiveTransform
|
|
1941
2082
|
};
|
|
1942
2083
|
try {
|
|
1943
|
-
if (componentDefinition$
|
|
1944
|
-
Object.entries(componentDefinition$
|
|
2084
|
+
if (componentDefinition$d && componentDefinition$d.props) {
|
|
2085
|
+
Object.entries(componentDefinition$d.props).forEach(([key, config]) => {
|
|
1945
2086
|
const propConfig = config;
|
|
1946
2087
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
1947
2088
|
defaultProps$L[key] = propConfig.default;
|
|
@@ -1960,7 +2101,7 @@ function ShaderComponent$L(props) {
|
|
|
1960
2101
|
shaderUniformUpdate: parentUniformUpdate,
|
|
1961
2102
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
1962
2103
|
} = context;
|
|
1963
|
-
const instanceId = props.id || `${componentDefinition$
|
|
2104
|
+
const instanceId = props.id || `${componentDefinition$d.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1964
2105
|
const effectiveProps = createMemo(() => {
|
|
1965
2106
|
let baseProps = {
|
|
1966
2107
|
...defaultProps$L
|
|
@@ -1979,7 +2120,7 @@ function ShaderComponent$L(props) {
|
|
|
1979
2120
|
let uniformsMap = null;
|
|
1980
2121
|
const getUniformsMap = () => {
|
|
1981
2122
|
if (!uniformsMap) {
|
|
1982
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
2123
|
+
uniformsMap = createUniformsMap(componentDefinition$d, effectiveProps(), instanceId);
|
|
1983
2124
|
}
|
|
1984
2125
|
return uniformsMap;
|
|
1985
2126
|
};
|
|
@@ -2004,7 +2145,7 @@ function ShaderComponent$L(props) {
|
|
|
2004
2145
|
renderOrder: props.renderOrder || 0,
|
|
2005
2146
|
transform: effectiveTransform()
|
|
2006
2147
|
};
|
|
2007
|
-
parentRegister(instanceId, componentDefinition$
|
|
2148
|
+
parentRegister(instanceId, componentDefinition$d.fragmentNode, parentId, metadata, uniforms, componentDefinition$d);
|
|
2008
2149
|
isRegistered = true;
|
|
2009
2150
|
} catch (error) {
|
|
2010
2151
|
console.error("Error registering shader node:", error);
|
|
@@ -2080,8 +2221,8 @@ const defaultProps$K = {
|
|
|
2080
2221
|
// transform intentionally has no default - handled by effectiveTransform
|
|
2081
2222
|
};
|
|
2082
2223
|
try {
|
|
2083
|
-
if (componentDefinition$
|
|
2084
|
-
Object.entries(componentDefinition$
|
|
2224
|
+
if (componentDefinition$e && componentDefinition$e.props) {
|
|
2225
|
+
Object.entries(componentDefinition$e.props).forEach(([key, config]) => {
|
|
2085
2226
|
const propConfig = config;
|
|
2086
2227
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
2087
2228
|
defaultProps$K[key] = propConfig.default;
|
|
@@ -2100,7 +2241,7 @@ function ShaderComponent$K(props) {
|
|
|
2100
2241
|
shaderUniformUpdate: parentUniformUpdate,
|
|
2101
2242
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
2102
2243
|
} = context;
|
|
2103
|
-
const instanceId = props.id || `${componentDefinition$
|
|
2244
|
+
const instanceId = props.id || `${componentDefinition$e.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2104
2245
|
const effectiveProps = createMemo(() => {
|
|
2105
2246
|
let baseProps = {
|
|
2106
2247
|
...defaultProps$K
|
|
@@ -2119,7 +2260,7 @@ function ShaderComponent$K(props) {
|
|
|
2119
2260
|
let uniformsMap = null;
|
|
2120
2261
|
const getUniformsMap = () => {
|
|
2121
2262
|
if (!uniformsMap) {
|
|
2122
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
2263
|
+
uniformsMap = createUniformsMap(componentDefinition$e, effectiveProps(), instanceId);
|
|
2123
2264
|
}
|
|
2124
2265
|
return uniformsMap;
|
|
2125
2266
|
};
|
|
@@ -2144,7 +2285,7 @@ function ShaderComponent$K(props) {
|
|
|
2144
2285
|
renderOrder: props.renderOrder || 0,
|
|
2145
2286
|
transform: effectiveTransform()
|
|
2146
2287
|
};
|
|
2147
|
-
parentRegister(instanceId, componentDefinition$
|
|
2288
|
+
parentRegister(instanceId, componentDefinition$e.fragmentNode, parentId, metadata, uniforms, componentDefinition$e);
|
|
2148
2289
|
isRegistered = true;
|
|
2149
2290
|
} catch (error) {
|
|
2150
2291
|
console.error("Error registering shader node:", error);
|
|
@@ -2220,8 +2361,8 @@ const defaultProps$J = {
|
|
|
2220
2361
|
// transform intentionally has no default - handled by effectiveTransform
|
|
2221
2362
|
};
|
|
2222
2363
|
try {
|
|
2223
|
-
if (componentDefinition$
|
|
2224
|
-
Object.entries(componentDefinition$
|
|
2364
|
+
if (componentDefinition$f && componentDefinition$f.props) {
|
|
2365
|
+
Object.entries(componentDefinition$f.props).forEach(([key, config]) => {
|
|
2225
2366
|
const propConfig = config;
|
|
2226
2367
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
2227
2368
|
defaultProps$J[key] = propConfig.default;
|
|
@@ -2240,7 +2381,7 @@ function ShaderComponent$J(props) {
|
|
|
2240
2381
|
shaderUniformUpdate: parentUniformUpdate,
|
|
2241
2382
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
2242
2383
|
} = context;
|
|
2243
|
-
const instanceId = props.id || `${componentDefinition$
|
|
2384
|
+
const instanceId = props.id || `${componentDefinition$f.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2244
2385
|
const effectiveProps = createMemo(() => {
|
|
2245
2386
|
let baseProps = {
|
|
2246
2387
|
...defaultProps$J
|
|
@@ -2259,7 +2400,7 @@ function ShaderComponent$J(props) {
|
|
|
2259
2400
|
let uniformsMap = null;
|
|
2260
2401
|
const getUniformsMap = () => {
|
|
2261
2402
|
if (!uniformsMap) {
|
|
2262
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
2403
|
+
uniformsMap = createUniformsMap(componentDefinition$f, effectiveProps(), instanceId);
|
|
2263
2404
|
}
|
|
2264
2405
|
return uniformsMap;
|
|
2265
2406
|
};
|
|
@@ -2284,7 +2425,7 @@ function ShaderComponent$J(props) {
|
|
|
2284
2425
|
renderOrder: props.renderOrder || 0,
|
|
2285
2426
|
transform: effectiveTransform()
|
|
2286
2427
|
};
|
|
2287
|
-
parentRegister(instanceId, componentDefinition$
|
|
2428
|
+
parentRegister(instanceId, componentDefinition$f.fragmentNode, parentId, metadata, uniforms, componentDefinition$f);
|
|
2288
2429
|
isRegistered = true;
|
|
2289
2430
|
} catch (error) {
|
|
2290
2431
|
console.error("Error registering shader node:", error);
|
|
@@ -2360,8 +2501,8 @@ const defaultProps$I = {
|
|
|
2360
2501
|
// transform intentionally has no default - handled by effectiveTransform
|
|
2361
2502
|
};
|
|
2362
2503
|
try {
|
|
2363
|
-
if (componentDefinition$
|
|
2364
|
-
Object.entries(componentDefinition$
|
|
2504
|
+
if (componentDefinition$g && componentDefinition$g.props) {
|
|
2505
|
+
Object.entries(componentDefinition$g.props).forEach(([key, config]) => {
|
|
2365
2506
|
const propConfig = config;
|
|
2366
2507
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
2367
2508
|
defaultProps$I[key] = propConfig.default;
|
|
@@ -2380,7 +2521,7 @@ function ShaderComponent$I(props) {
|
|
|
2380
2521
|
shaderUniformUpdate: parentUniformUpdate,
|
|
2381
2522
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
2382
2523
|
} = context;
|
|
2383
|
-
const instanceId = props.id || `${componentDefinition$
|
|
2524
|
+
const instanceId = props.id || `${componentDefinition$g.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2384
2525
|
const effectiveProps = createMemo(() => {
|
|
2385
2526
|
let baseProps = {
|
|
2386
2527
|
...defaultProps$I
|
|
@@ -2399,7 +2540,7 @@ function ShaderComponent$I(props) {
|
|
|
2399
2540
|
let uniformsMap = null;
|
|
2400
2541
|
const getUniformsMap = () => {
|
|
2401
2542
|
if (!uniformsMap) {
|
|
2402
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
2543
|
+
uniformsMap = createUniformsMap(componentDefinition$g, effectiveProps(), instanceId);
|
|
2403
2544
|
}
|
|
2404
2545
|
return uniformsMap;
|
|
2405
2546
|
};
|
|
@@ -2424,7 +2565,7 @@ function ShaderComponent$I(props) {
|
|
|
2424
2565
|
renderOrder: props.renderOrder || 0,
|
|
2425
2566
|
transform: effectiveTransform()
|
|
2426
2567
|
};
|
|
2427
|
-
parentRegister(instanceId, componentDefinition$
|
|
2568
|
+
parentRegister(instanceId, componentDefinition$g.fragmentNode, parentId, metadata, uniforms, componentDefinition$g);
|
|
2428
2569
|
isRegistered = true;
|
|
2429
2570
|
} catch (error) {
|
|
2430
2571
|
console.error("Error registering shader node:", error);
|
|
@@ -2500,8 +2641,8 @@ const defaultProps$H = {
|
|
|
2500
2641
|
// transform intentionally has no default - handled by effectiveTransform
|
|
2501
2642
|
};
|
|
2502
2643
|
try {
|
|
2503
|
-
if (componentDefinition$
|
|
2504
|
-
Object.entries(componentDefinition$
|
|
2644
|
+
if (componentDefinition$h && componentDefinition$h.props) {
|
|
2645
|
+
Object.entries(componentDefinition$h.props).forEach(([key, config]) => {
|
|
2505
2646
|
const propConfig = config;
|
|
2506
2647
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
2507
2648
|
defaultProps$H[key] = propConfig.default;
|
|
@@ -2520,7 +2661,7 @@ function ShaderComponent$H(props) {
|
|
|
2520
2661
|
shaderUniformUpdate: parentUniformUpdate,
|
|
2521
2662
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
2522
2663
|
} = context;
|
|
2523
|
-
const instanceId = props.id || `${componentDefinition$
|
|
2664
|
+
const instanceId = props.id || `${componentDefinition$h.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2524
2665
|
const effectiveProps = createMemo(() => {
|
|
2525
2666
|
let baseProps = {
|
|
2526
2667
|
...defaultProps$H
|
|
@@ -2539,7 +2680,7 @@ function ShaderComponent$H(props) {
|
|
|
2539
2680
|
let uniformsMap = null;
|
|
2540
2681
|
const getUniformsMap = () => {
|
|
2541
2682
|
if (!uniformsMap) {
|
|
2542
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
2683
|
+
uniformsMap = createUniformsMap(componentDefinition$h, effectiveProps(), instanceId);
|
|
2543
2684
|
}
|
|
2544
2685
|
return uniformsMap;
|
|
2545
2686
|
};
|
|
@@ -2564,7 +2705,7 @@ function ShaderComponent$H(props) {
|
|
|
2564
2705
|
renderOrder: props.renderOrder || 0,
|
|
2565
2706
|
transform: effectiveTransform()
|
|
2566
2707
|
};
|
|
2567
|
-
parentRegister(instanceId, componentDefinition$
|
|
2708
|
+
parentRegister(instanceId, componentDefinition$h.fragmentNode, parentId, metadata, uniforms, componentDefinition$h);
|
|
2568
2709
|
isRegistered = true;
|
|
2569
2710
|
} catch (error) {
|
|
2570
2711
|
console.error("Error registering shader node:", error);
|
|
@@ -2640,8 +2781,8 @@ const defaultProps$G = {
|
|
|
2640
2781
|
// transform intentionally has no default - handled by effectiveTransform
|
|
2641
2782
|
};
|
|
2642
2783
|
try {
|
|
2643
|
-
if (componentDefinition$
|
|
2644
|
-
Object.entries(componentDefinition$
|
|
2784
|
+
if (componentDefinition$i && componentDefinition$i.props) {
|
|
2785
|
+
Object.entries(componentDefinition$i.props).forEach(([key, config]) => {
|
|
2645
2786
|
const propConfig = config;
|
|
2646
2787
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
2647
2788
|
defaultProps$G[key] = propConfig.default;
|
|
@@ -2660,7 +2801,7 @@ function ShaderComponent$G(props) {
|
|
|
2660
2801
|
shaderUniformUpdate: parentUniformUpdate,
|
|
2661
2802
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
2662
2803
|
} = context;
|
|
2663
|
-
const instanceId = props.id || `${componentDefinition$
|
|
2804
|
+
const instanceId = props.id || `${componentDefinition$i.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2664
2805
|
const effectiveProps = createMemo(() => {
|
|
2665
2806
|
let baseProps = {
|
|
2666
2807
|
...defaultProps$G
|
|
@@ -2679,7 +2820,7 @@ function ShaderComponent$G(props) {
|
|
|
2679
2820
|
let uniformsMap = null;
|
|
2680
2821
|
const getUniformsMap = () => {
|
|
2681
2822
|
if (!uniformsMap) {
|
|
2682
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
2823
|
+
uniformsMap = createUniformsMap(componentDefinition$i, effectiveProps(), instanceId);
|
|
2683
2824
|
}
|
|
2684
2825
|
return uniformsMap;
|
|
2685
2826
|
};
|
|
@@ -2704,7 +2845,7 @@ function ShaderComponent$G(props) {
|
|
|
2704
2845
|
renderOrder: props.renderOrder || 0,
|
|
2705
2846
|
transform: effectiveTransform()
|
|
2706
2847
|
};
|
|
2707
|
-
parentRegister(instanceId, componentDefinition$
|
|
2848
|
+
parentRegister(instanceId, componentDefinition$i.fragmentNode, parentId, metadata, uniforms, componentDefinition$i);
|
|
2708
2849
|
isRegistered = true;
|
|
2709
2850
|
} catch (error) {
|
|
2710
2851
|
console.error("Error registering shader node:", error);
|
|
@@ -2780,8 +2921,8 @@ const defaultProps$F = {
|
|
|
2780
2921
|
// transform intentionally has no default - handled by effectiveTransform
|
|
2781
2922
|
};
|
|
2782
2923
|
try {
|
|
2783
|
-
if (componentDefinition$
|
|
2784
|
-
Object.entries(componentDefinition$
|
|
2924
|
+
if (componentDefinition$j && componentDefinition$j.props) {
|
|
2925
|
+
Object.entries(componentDefinition$j.props).forEach(([key, config]) => {
|
|
2785
2926
|
const propConfig = config;
|
|
2786
2927
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
2787
2928
|
defaultProps$F[key] = propConfig.default;
|
|
@@ -2800,7 +2941,7 @@ function ShaderComponent$F(props) {
|
|
|
2800
2941
|
shaderUniformUpdate: parentUniformUpdate,
|
|
2801
2942
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
2802
2943
|
} = context;
|
|
2803
|
-
const instanceId = props.id || `${componentDefinition$
|
|
2944
|
+
const instanceId = props.id || `${componentDefinition$j.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2804
2945
|
const effectiveProps = createMemo(() => {
|
|
2805
2946
|
let baseProps = {
|
|
2806
2947
|
...defaultProps$F
|
|
@@ -2819,7 +2960,7 @@ function ShaderComponent$F(props) {
|
|
|
2819
2960
|
let uniformsMap = null;
|
|
2820
2961
|
const getUniformsMap = () => {
|
|
2821
2962
|
if (!uniformsMap) {
|
|
2822
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
2963
|
+
uniformsMap = createUniformsMap(componentDefinition$j, effectiveProps(), instanceId);
|
|
2823
2964
|
}
|
|
2824
2965
|
return uniformsMap;
|
|
2825
2966
|
};
|
|
@@ -2844,7 +2985,7 @@ function ShaderComponent$F(props) {
|
|
|
2844
2985
|
renderOrder: props.renderOrder || 0,
|
|
2845
2986
|
transform: effectiveTransform()
|
|
2846
2987
|
};
|
|
2847
|
-
parentRegister(instanceId, componentDefinition$
|
|
2988
|
+
parentRegister(instanceId, componentDefinition$j.fragmentNode, parentId, metadata, uniforms, componentDefinition$j);
|
|
2848
2989
|
isRegistered = true;
|
|
2849
2990
|
} catch (error) {
|
|
2850
2991
|
console.error("Error registering shader node:", error);
|
|
@@ -2920,8 +3061,8 @@ const defaultProps$E = {
|
|
|
2920
3061
|
// transform intentionally has no default - handled by effectiveTransform
|
|
2921
3062
|
};
|
|
2922
3063
|
try {
|
|
2923
|
-
if (componentDefinition$
|
|
2924
|
-
Object.entries(componentDefinition$
|
|
3064
|
+
if (componentDefinition$k && componentDefinition$k.props) {
|
|
3065
|
+
Object.entries(componentDefinition$k.props).forEach(([key, config]) => {
|
|
2925
3066
|
const propConfig = config;
|
|
2926
3067
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
2927
3068
|
defaultProps$E[key] = propConfig.default;
|
|
@@ -2940,7 +3081,7 @@ function ShaderComponent$E(props) {
|
|
|
2940
3081
|
shaderUniformUpdate: parentUniformUpdate,
|
|
2941
3082
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
2942
3083
|
} = context;
|
|
2943
|
-
const instanceId = props.id || `${componentDefinition$
|
|
3084
|
+
const instanceId = props.id || `${componentDefinition$k.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2944
3085
|
const effectiveProps = createMemo(() => {
|
|
2945
3086
|
let baseProps = {
|
|
2946
3087
|
...defaultProps$E
|
|
@@ -2959,7 +3100,7 @@ function ShaderComponent$E(props) {
|
|
|
2959
3100
|
let uniformsMap = null;
|
|
2960
3101
|
const getUniformsMap = () => {
|
|
2961
3102
|
if (!uniformsMap) {
|
|
2962
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
3103
|
+
uniformsMap = createUniformsMap(componentDefinition$k, effectiveProps(), instanceId);
|
|
2963
3104
|
}
|
|
2964
3105
|
return uniformsMap;
|
|
2965
3106
|
};
|
|
@@ -2984,7 +3125,7 @@ function ShaderComponent$E(props) {
|
|
|
2984
3125
|
renderOrder: props.renderOrder || 0,
|
|
2985
3126
|
transform: effectiveTransform()
|
|
2986
3127
|
};
|
|
2987
|
-
parentRegister(instanceId, componentDefinition$
|
|
3128
|
+
parentRegister(instanceId, componentDefinition$k.fragmentNode, parentId, metadata, uniforms, componentDefinition$k);
|
|
2988
3129
|
isRegistered = true;
|
|
2989
3130
|
} catch (error) {
|
|
2990
3131
|
console.error("Error registering shader node:", error);
|
|
@@ -3060,8 +3201,8 @@ const defaultProps$D = {
|
|
|
3060
3201
|
// transform intentionally has no default - handled by effectiveTransform
|
|
3061
3202
|
};
|
|
3062
3203
|
try {
|
|
3063
|
-
if (componentDefinition$
|
|
3064
|
-
Object.entries(componentDefinition$
|
|
3204
|
+
if (componentDefinition$l && componentDefinition$l.props) {
|
|
3205
|
+
Object.entries(componentDefinition$l.props).forEach(([key, config]) => {
|
|
3065
3206
|
const propConfig = config;
|
|
3066
3207
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
3067
3208
|
defaultProps$D[key] = propConfig.default;
|
|
@@ -3080,7 +3221,7 @@ function ShaderComponent$D(props) {
|
|
|
3080
3221
|
shaderUniformUpdate: parentUniformUpdate,
|
|
3081
3222
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
3082
3223
|
} = context;
|
|
3083
|
-
const instanceId = props.id || `${componentDefinition$
|
|
3224
|
+
const instanceId = props.id || `${componentDefinition$l.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3084
3225
|
const effectiveProps = createMemo(() => {
|
|
3085
3226
|
let baseProps = {
|
|
3086
3227
|
...defaultProps$D
|
|
@@ -3099,7 +3240,7 @@ function ShaderComponent$D(props) {
|
|
|
3099
3240
|
let uniformsMap = null;
|
|
3100
3241
|
const getUniformsMap = () => {
|
|
3101
3242
|
if (!uniformsMap) {
|
|
3102
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
3243
|
+
uniformsMap = createUniformsMap(componentDefinition$l, effectiveProps(), instanceId);
|
|
3103
3244
|
}
|
|
3104
3245
|
return uniformsMap;
|
|
3105
3246
|
};
|
|
@@ -3124,7 +3265,7 @@ function ShaderComponent$D(props) {
|
|
|
3124
3265
|
renderOrder: props.renderOrder || 0,
|
|
3125
3266
|
transform: effectiveTransform()
|
|
3126
3267
|
};
|
|
3127
|
-
parentRegister(instanceId, componentDefinition$
|
|
3268
|
+
parentRegister(instanceId, componentDefinition$l.fragmentNode, parentId, metadata, uniforms, componentDefinition$l);
|
|
3128
3269
|
isRegistered = true;
|
|
3129
3270
|
} catch (error) {
|
|
3130
3271
|
console.error("Error registering shader node:", error);
|
|
@@ -3200,8 +3341,8 @@ const defaultProps$C = {
|
|
|
3200
3341
|
// transform intentionally has no default - handled by effectiveTransform
|
|
3201
3342
|
};
|
|
3202
3343
|
try {
|
|
3203
|
-
if (componentDefinition$
|
|
3204
|
-
Object.entries(componentDefinition$
|
|
3344
|
+
if (componentDefinition$m && componentDefinition$m.props) {
|
|
3345
|
+
Object.entries(componentDefinition$m.props).forEach(([key, config]) => {
|
|
3205
3346
|
const propConfig = config;
|
|
3206
3347
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
3207
3348
|
defaultProps$C[key] = propConfig.default;
|
|
@@ -3220,7 +3361,7 @@ function ShaderComponent$C(props) {
|
|
|
3220
3361
|
shaderUniformUpdate: parentUniformUpdate,
|
|
3221
3362
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
3222
3363
|
} = context;
|
|
3223
|
-
const instanceId = props.id || `${componentDefinition$
|
|
3364
|
+
const instanceId = props.id || `${componentDefinition$m.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3224
3365
|
const effectiveProps = createMemo(() => {
|
|
3225
3366
|
let baseProps = {
|
|
3226
3367
|
...defaultProps$C
|
|
@@ -3239,7 +3380,7 @@ function ShaderComponent$C(props) {
|
|
|
3239
3380
|
let uniformsMap = null;
|
|
3240
3381
|
const getUniformsMap = () => {
|
|
3241
3382
|
if (!uniformsMap) {
|
|
3242
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
3383
|
+
uniformsMap = createUniformsMap(componentDefinition$m, effectiveProps(), instanceId);
|
|
3243
3384
|
}
|
|
3244
3385
|
return uniformsMap;
|
|
3245
3386
|
};
|
|
@@ -3264,7 +3405,7 @@ function ShaderComponent$C(props) {
|
|
|
3264
3405
|
renderOrder: props.renderOrder || 0,
|
|
3265
3406
|
transform: effectiveTransform()
|
|
3266
3407
|
};
|
|
3267
|
-
parentRegister(instanceId, componentDefinition$
|
|
3408
|
+
parentRegister(instanceId, componentDefinition$m.fragmentNode, parentId, metadata, uniforms, componentDefinition$m);
|
|
3268
3409
|
isRegistered = true;
|
|
3269
3410
|
} catch (error) {
|
|
3270
3411
|
console.error("Error registering shader node:", error);
|
|
@@ -3340,8 +3481,8 @@ const defaultProps$B = {
|
|
|
3340
3481
|
// transform intentionally has no default - handled by effectiveTransform
|
|
3341
3482
|
};
|
|
3342
3483
|
try {
|
|
3343
|
-
if (componentDefinition$
|
|
3344
|
-
Object.entries(componentDefinition$
|
|
3484
|
+
if (componentDefinition$n && componentDefinition$n.props) {
|
|
3485
|
+
Object.entries(componentDefinition$n.props).forEach(([key, config]) => {
|
|
3345
3486
|
const propConfig = config;
|
|
3346
3487
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
3347
3488
|
defaultProps$B[key] = propConfig.default;
|
|
@@ -3360,7 +3501,7 @@ function ShaderComponent$B(props) {
|
|
|
3360
3501
|
shaderUniformUpdate: parentUniformUpdate,
|
|
3361
3502
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
3362
3503
|
} = context;
|
|
3363
|
-
const instanceId = props.id || `${componentDefinition$
|
|
3504
|
+
const instanceId = props.id || `${componentDefinition$n.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3364
3505
|
const effectiveProps = createMemo(() => {
|
|
3365
3506
|
let baseProps = {
|
|
3366
3507
|
...defaultProps$B
|
|
@@ -3379,7 +3520,7 @@ function ShaderComponent$B(props) {
|
|
|
3379
3520
|
let uniformsMap = null;
|
|
3380
3521
|
const getUniformsMap = () => {
|
|
3381
3522
|
if (!uniformsMap) {
|
|
3382
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
3523
|
+
uniformsMap = createUniformsMap(componentDefinition$n, effectiveProps(), instanceId);
|
|
3383
3524
|
}
|
|
3384
3525
|
return uniformsMap;
|
|
3385
3526
|
};
|
|
@@ -3404,7 +3545,7 @@ function ShaderComponent$B(props) {
|
|
|
3404
3545
|
renderOrder: props.renderOrder || 0,
|
|
3405
3546
|
transform: effectiveTransform()
|
|
3406
3547
|
};
|
|
3407
|
-
parentRegister(instanceId, componentDefinition$
|
|
3548
|
+
parentRegister(instanceId, componentDefinition$n.fragmentNode, parentId, metadata, uniforms, componentDefinition$n);
|
|
3408
3549
|
isRegistered = true;
|
|
3409
3550
|
} catch (error) {
|
|
3410
3551
|
console.error("Error registering shader node:", error);
|
|
@@ -3480,8 +3621,8 @@ const defaultProps$A = {
|
|
|
3480
3621
|
// transform intentionally has no default - handled by effectiveTransform
|
|
3481
3622
|
};
|
|
3482
3623
|
try {
|
|
3483
|
-
if (componentDefinition$
|
|
3484
|
-
Object.entries(componentDefinition$
|
|
3624
|
+
if (componentDefinition$o && componentDefinition$o.props) {
|
|
3625
|
+
Object.entries(componentDefinition$o.props).forEach(([key, config]) => {
|
|
3485
3626
|
const propConfig = config;
|
|
3486
3627
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
3487
3628
|
defaultProps$A[key] = propConfig.default;
|
|
@@ -3500,7 +3641,7 @@ function ShaderComponent$A(props) {
|
|
|
3500
3641
|
shaderUniformUpdate: parentUniformUpdate,
|
|
3501
3642
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
3502
3643
|
} = context;
|
|
3503
|
-
const instanceId = props.id || `${componentDefinition$
|
|
3644
|
+
const instanceId = props.id || `${componentDefinition$o.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3504
3645
|
const effectiveProps = createMemo(() => {
|
|
3505
3646
|
let baseProps = {
|
|
3506
3647
|
...defaultProps$A
|
|
@@ -3519,7 +3660,7 @@ function ShaderComponent$A(props) {
|
|
|
3519
3660
|
let uniformsMap = null;
|
|
3520
3661
|
const getUniformsMap = () => {
|
|
3521
3662
|
if (!uniformsMap) {
|
|
3522
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
3663
|
+
uniformsMap = createUniformsMap(componentDefinition$o, effectiveProps(), instanceId);
|
|
3523
3664
|
}
|
|
3524
3665
|
return uniformsMap;
|
|
3525
3666
|
};
|
|
@@ -3544,7 +3685,7 @@ function ShaderComponent$A(props) {
|
|
|
3544
3685
|
renderOrder: props.renderOrder || 0,
|
|
3545
3686
|
transform: effectiveTransform()
|
|
3546
3687
|
};
|
|
3547
|
-
parentRegister(instanceId, componentDefinition$
|
|
3688
|
+
parentRegister(instanceId, componentDefinition$o.fragmentNode, parentId, metadata, uniforms, componentDefinition$o);
|
|
3548
3689
|
isRegistered = true;
|
|
3549
3690
|
} catch (error) {
|
|
3550
3691
|
console.error("Error registering shader node:", error);
|
|
@@ -3620,8 +3761,8 @@ const defaultProps$z = {
|
|
|
3620
3761
|
// transform intentionally has no default - handled by effectiveTransform
|
|
3621
3762
|
};
|
|
3622
3763
|
try {
|
|
3623
|
-
if (componentDefinition$
|
|
3624
|
-
Object.entries(componentDefinition$
|
|
3764
|
+
if (componentDefinition$p && componentDefinition$p.props) {
|
|
3765
|
+
Object.entries(componentDefinition$p.props).forEach(([key, config]) => {
|
|
3625
3766
|
const propConfig = config;
|
|
3626
3767
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
3627
3768
|
defaultProps$z[key] = propConfig.default;
|
|
@@ -3640,7 +3781,7 @@ function ShaderComponent$z(props) {
|
|
|
3640
3781
|
shaderUniformUpdate: parentUniformUpdate,
|
|
3641
3782
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
3642
3783
|
} = context;
|
|
3643
|
-
const instanceId = props.id || `${componentDefinition$
|
|
3784
|
+
const instanceId = props.id || `${componentDefinition$p.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3644
3785
|
const effectiveProps = createMemo(() => {
|
|
3645
3786
|
let baseProps = {
|
|
3646
3787
|
...defaultProps$z
|
|
@@ -3659,7 +3800,7 @@ function ShaderComponent$z(props) {
|
|
|
3659
3800
|
let uniformsMap = null;
|
|
3660
3801
|
const getUniformsMap = () => {
|
|
3661
3802
|
if (!uniformsMap) {
|
|
3662
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
3803
|
+
uniformsMap = createUniformsMap(componentDefinition$p, effectiveProps(), instanceId);
|
|
3663
3804
|
}
|
|
3664
3805
|
return uniformsMap;
|
|
3665
3806
|
};
|
|
@@ -3684,7 +3825,7 @@ function ShaderComponent$z(props) {
|
|
|
3684
3825
|
renderOrder: props.renderOrder || 0,
|
|
3685
3826
|
transform: effectiveTransform()
|
|
3686
3827
|
};
|
|
3687
|
-
parentRegister(instanceId, componentDefinition$
|
|
3828
|
+
parentRegister(instanceId, componentDefinition$p.fragmentNode, parentId, metadata, uniforms, componentDefinition$p);
|
|
3688
3829
|
isRegistered = true;
|
|
3689
3830
|
} catch (error) {
|
|
3690
3831
|
console.error("Error registering shader node:", error);
|
|
@@ -3760,8 +3901,8 @@ const defaultProps$y = {
|
|
|
3760
3901
|
// transform intentionally has no default - handled by effectiveTransform
|
|
3761
3902
|
};
|
|
3762
3903
|
try {
|
|
3763
|
-
if (componentDefinition$
|
|
3764
|
-
Object.entries(componentDefinition$
|
|
3904
|
+
if (componentDefinition$q && componentDefinition$q.props) {
|
|
3905
|
+
Object.entries(componentDefinition$q.props).forEach(([key, config]) => {
|
|
3765
3906
|
const propConfig = config;
|
|
3766
3907
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
3767
3908
|
defaultProps$y[key] = propConfig.default;
|
|
@@ -3780,7 +3921,7 @@ function ShaderComponent$y(props) {
|
|
|
3780
3921
|
shaderUniformUpdate: parentUniformUpdate,
|
|
3781
3922
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
3782
3923
|
} = context;
|
|
3783
|
-
const instanceId = props.id || `${componentDefinition$
|
|
3924
|
+
const instanceId = props.id || `${componentDefinition$q.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3784
3925
|
const effectiveProps = createMemo(() => {
|
|
3785
3926
|
let baseProps = {
|
|
3786
3927
|
...defaultProps$y
|
|
@@ -3799,7 +3940,7 @@ function ShaderComponent$y(props) {
|
|
|
3799
3940
|
let uniformsMap = null;
|
|
3800
3941
|
const getUniformsMap = () => {
|
|
3801
3942
|
if (!uniformsMap) {
|
|
3802
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
3943
|
+
uniformsMap = createUniformsMap(componentDefinition$q, effectiveProps(), instanceId);
|
|
3803
3944
|
}
|
|
3804
3945
|
return uniformsMap;
|
|
3805
3946
|
};
|
|
@@ -3824,7 +3965,7 @@ function ShaderComponent$y(props) {
|
|
|
3824
3965
|
renderOrder: props.renderOrder || 0,
|
|
3825
3966
|
transform: effectiveTransform()
|
|
3826
3967
|
};
|
|
3827
|
-
parentRegister(instanceId, componentDefinition$
|
|
3968
|
+
parentRegister(instanceId, componentDefinition$q.fragmentNode, parentId, metadata, uniforms, componentDefinition$q);
|
|
3828
3969
|
isRegistered = true;
|
|
3829
3970
|
} catch (error) {
|
|
3830
3971
|
console.error("Error registering shader node:", error);
|
|
@@ -3900,8 +4041,8 @@ const defaultProps$x = {
|
|
|
3900
4041
|
// transform intentionally has no default - handled by effectiveTransform
|
|
3901
4042
|
};
|
|
3902
4043
|
try {
|
|
3903
|
-
if (componentDefinition$
|
|
3904
|
-
Object.entries(componentDefinition$
|
|
4044
|
+
if (componentDefinition$r && componentDefinition$r.props) {
|
|
4045
|
+
Object.entries(componentDefinition$r.props).forEach(([key, config]) => {
|
|
3905
4046
|
const propConfig = config;
|
|
3906
4047
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
3907
4048
|
defaultProps$x[key] = propConfig.default;
|
|
@@ -3920,7 +4061,7 @@ function ShaderComponent$x(props) {
|
|
|
3920
4061
|
shaderUniformUpdate: parentUniformUpdate,
|
|
3921
4062
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
3922
4063
|
} = context;
|
|
3923
|
-
const instanceId = props.id || `${componentDefinition$
|
|
4064
|
+
const instanceId = props.id || `${componentDefinition$r.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3924
4065
|
const effectiveProps = createMemo(() => {
|
|
3925
4066
|
let baseProps = {
|
|
3926
4067
|
...defaultProps$x
|
|
@@ -3939,7 +4080,7 @@ function ShaderComponent$x(props) {
|
|
|
3939
4080
|
let uniformsMap = null;
|
|
3940
4081
|
const getUniformsMap = () => {
|
|
3941
4082
|
if (!uniformsMap) {
|
|
3942
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
4083
|
+
uniformsMap = createUniformsMap(componentDefinition$r, effectiveProps(), instanceId);
|
|
3943
4084
|
}
|
|
3944
4085
|
return uniformsMap;
|
|
3945
4086
|
};
|
|
@@ -3964,7 +4105,7 @@ function ShaderComponent$x(props) {
|
|
|
3964
4105
|
renderOrder: props.renderOrder || 0,
|
|
3965
4106
|
transform: effectiveTransform()
|
|
3966
4107
|
};
|
|
3967
|
-
parentRegister(instanceId, componentDefinition$
|
|
4108
|
+
parentRegister(instanceId, componentDefinition$r.fragmentNode, parentId, metadata, uniforms, componentDefinition$r);
|
|
3968
4109
|
isRegistered = true;
|
|
3969
4110
|
} catch (error) {
|
|
3970
4111
|
console.error("Error registering shader node:", error);
|
|
@@ -4040,8 +4181,8 @@ const defaultProps$w = {
|
|
|
4040
4181
|
// transform intentionally has no default - handled by effectiveTransform
|
|
4041
4182
|
};
|
|
4042
4183
|
try {
|
|
4043
|
-
if (componentDefinition$
|
|
4044
|
-
Object.entries(componentDefinition$
|
|
4184
|
+
if (componentDefinition$s && componentDefinition$s.props) {
|
|
4185
|
+
Object.entries(componentDefinition$s.props).forEach(([key, config]) => {
|
|
4045
4186
|
const propConfig = config;
|
|
4046
4187
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
4047
4188
|
defaultProps$w[key] = propConfig.default;
|
|
@@ -4060,7 +4201,7 @@ function ShaderComponent$w(props) {
|
|
|
4060
4201
|
shaderUniformUpdate: parentUniformUpdate,
|
|
4061
4202
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
4062
4203
|
} = context;
|
|
4063
|
-
const instanceId = props.id || `${componentDefinition$
|
|
4204
|
+
const instanceId = props.id || `${componentDefinition$s.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4064
4205
|
const effectiveProps = createMemo(() => {
|
|
4065
4206
|
let baseProps = {
|
|
4066
4207
|
...defaultProps$w
|
|
@@ -4079,7 +4220,7 @@ function ShaderComponent$w(props) {
|
|
|
4079
4220
|
let uniformsMap = null;
|
|
4080
4221
|
const getUniformsMap = () => {
|
|
4081
4222
|
if (!uniformsMap) {
|
|
4082
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
4223
|
+
uniformsMap = createUniformsMap(componentDefinition$s, effectiveProps(), instanceId);
|
|
4083
4224
|
}
|
|
4084
4225
|
return uniformsMap;
|
|
4085
4226
|
};
|
|
@@ -4104,7 +4245,7 @@ function ShaderComponent$w(props) {
|
|
|
4104
4245
|
renderOrder: props.renderOrder || 0,
|
|
4105
4246
|
transform: effectiveTransform()
|
|
4106
4247
|
};
|
|
4107
|
-
parentRegister(instanceId, componentDefinition$
|
|
4248
|
+
parentRegister(instanceId, componentDefinition$s.fragmentNode, parentId, metadata, uniforms, componentDefinition$s);
|
|
4108
4249
|
isRegistered = true;
|
|
4109
4250
|
} catch (error) {
|
|
4110
4251
|
console.error("Error registering shader node:", error);
|
|
@@ -4180,8 +4321,8 @@ const defaultProps$v = {
|
|
|
4180
4321
|
// transform intentionally has no default - handled by effectiveTransform
|
|
4181
4322
|
};
|
|
4182
4323
|
try {
|
|
4183
|
-
if (componentDefinition$
|
|
4184
|
-
Object.entries(componentDefinition$
|
|
4324
|
+
if (componentDefinition$t && componentDefinition$t.props) {
|
|
4325
|
+
Object.entries(componentDefinition$t.props).forEach(([key, config]) => {
|
|
4185
4326
|
const propConfig = config;
|
|
4186
4327
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
4187
4328
|
defaultProps$v[key] = propConfig.default;
|
|
@@ -4200,7 +4341,7 @@ function ShaderComponent$v(props) {
|
|
|
4200
4341
|
shaderUniformUpdate: parentUniformUpdate,
|
|
4201
4342
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
4202
4343
|
} = context;
|
|
4203
|
-
const instanceId = props.id || `${componentDefinition$
|
|
4344
|
+
const instanceId = props.id || `${componentDefinition$t.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4204
4345
|
const effectiveProps = createMemo(() => {
|
|
4205
4346
|
let baseProps = {
|
|
4206
4347
|
...defaultProps$v
|
|
@@ -4219,7 +4360,7 @@ function ShaderComponent$v(props) {
|
|
|
4219
4360
|
let uniformsMap = null;
|
|
4220
4361
|
const getUniformsMap = () => {
|
|
4221
4362
|
if (!uniformsMap) {
|
|
4222
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
4363
|
+
uniformsMap = createUniformsMap(componentDefinition$t, effectiveProps(), instanceId);
|
|
4223
4364
|
}
|
|
4224
4365
|
return uniformsMap;
|
|
4225
4366
|
};
|
|
@@ -4244,7 +4385,7 @@ function ShaderComponent$v(props) {
|
|
|
4244
4385
|
renderOrder: props.renderOrder || 0,
|
|
4245
4386
|
transform: effectiveTransform()
|
|
4246
4387
|
};
|
|
4247
|
-
parentRegister(instanceId, componentDefinition$
|
|
4388
|
+
parentRegister(instanceId, componentDefinition$t.fragmentNode, parentId, metadata, uniforms, componentDefinition$t);
|
|
4248
4389
|
isRegistered = true;
|
|
4249
4390
|
} catch (error) {
|
|
4250
4391
|
console.error("Error registering shader node:", error);
|
|
@@ -4320,8 +4461,8 @@ const defaultProps$u = {
|
|
|
4320
4461
|
// transform intentionally has no default - handled by effectiveTransform
|
|
4321
4462
|
};
|
|
4322
4463
|
try {
|
|
4323
|
-
if (componentDefinition$
|
|
4324
|
-
Object.entries(componentDefinition$
|
|
4464
|
+
if (componentDefinition$u && componentDefinition$u.props) {
|
|
4465
|
+
Object.entries(componentDefinition$u.props).forEach(([key, config]) => {
|
|
4325
4466
|
const propConfig = config;
|
|
4326
4467
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
4327
4468
|
defaultProps$u[key] = propConfig.default;
|
|
@@ -4340,7 +4481,7 @@ function ShaderComponent$u(props) {
|
|
|
4340
4481
|
shaderUniformUpdate: parentUniformUpdate,
|
|
4341
4482
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
4342
4483
|
} = context;
|
|
4343
|
-
const instanceId = props.id || `${componentDefinition$
|
|
4484
|
+
const instanceId = props.id || `${componentDefinition$u.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4344
4485
|
const effectiveProps = createMemo(() => {
|
|
4345
4486
|
let baseProps = {
|
|
4346
4487
|
...defaultProps$u
|
|
@@ -4359,7 +4500,7 @@ function ShaderComponent$u(props) {
|
|
|
4359
4500
|
let uniformsMap = null;
|
|
4360
4501
|
const getUniformsMap = () => {
|
|
4361
4502
|
if (!uniformsMap) {
|
|
4362
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
4503
|
+
uniformsMap = createUniformsMap(componentDefinition$u, effectiveProps(), instanceId);
|
|
4363
4504
|
}
|
|
4364
4505
|
return uniformsMap;
|
|
4365
4506
|
};
|
|
@@ -4384,7 +4525,7 @@ function ShaderComponent$u(props) {
|
|
|
4384
4525
|
renderOrder: props.renderOrder || 0,
|
|
4385
4526
|
transform: effectiveTransform()
|
|
4386
4527
|
};
|
|
4387
|
-
parentRegister(instanceId, componentDefinition$
|
|
4528
|
+
parentRegister(instanceId, componentDefinition$u.fragmentNode, parentId, metadata, uniforms, componentDefinition$u);
|
|
4388
4529
|
isRegistered = true;
|
|
4389
4530
|
} catch (error) {
|
|
4390
4531
|
console.error("Error registering shader node:", error);
|
|
@@ -4460,8 +4601,8 @@ const defaultProps$t = {
|
|
|
4460
4601
|
// transform intentionally has no default - handled by effectiveTransform
|
|
4461
4602
|
};
|
|
4462
4603
|
try {
|
|
4463
|
-
if (componentDefinition$
|
|
4464
|
-
Object.entries(componentDefinition$
|
|
4604
|
+
if (componentDefinition$v && componentDefinition$v.props) {
|
|
4605
|
+
Object.entries(componentDefinition$v.props).forEach(([key, config]) => {
|
|
4465
4606
|
const propConfig = config;
|
|
4466
4607
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
4467
4608
|
defaultProps$t[key] = propConfig.default;
|
|
@@ -4480,7 +4621,7 @@ function ShaderComponent$t(props) {
|
|
|
4480
4621
|
shaderUniformUpdate: parentUniformUpdate,
|
|
4481
4622
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
4482
4623
|
} = context;
|
|
4483
|
-
const instanceId = props.id || `${componentDefinition$
|
|
4624
|
+
const instanceId = props.id || `${componentDefinition$v.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4484
4625
|
const effectiveProps = createMemo(() => {
|
|
4485
4626
|
let baseProps = {
|
|
4486
4627
|
...defaultProps$t
|
|
@@ -4499,7 +4640,7 @@ function ShaderComponent$t(props) {
|
|
|
4499
4640
|
let uniformsMap = null;
|
|
4500
4641
|
const getUniformsMap = () => {
|
|
4501
4642
|
if (!uniformsMap) {
|
|
4502
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
4643
|
+
uniformsMap = createUniformsMap(componentDefinition$v, effectiveProps(), instanceId);
|
|
4503
4644
|
}
|
|
4504
4645
|
return uniformsMap;
|
|
4505
4646
|
};
|
|
@@ -4524,7 +4665,7 @@ function ShaderComponent$t(props) {
|
|
|
4524
4665
|
renderOrder: props.renderOrder || 0,
|
|
4525
4666
|
transform: effectiveTransform()
|
|
4526
4667
|
};
|
|
4527
|
-
parentRegister(instanceId, componentDefinition$
|
|
4668
|
+
parentRegister(instanceId, componentDefinition$v.fragmentNode, parentId, metadata, uniforms, componentDefinition$v);
|
|
4528
4669
|
isRegistered = true;
|
|
4529
4670
|
} catch (error) {
|
|
4530
4671
|
console.error("Error registering shader node:", error);
|
|
@@ -4600,8 +4741,8 @@ const defaultProps$s = {
|
|
|
4600
4741
|
// transform intentionally has no default - handled by effectiveTransform
|
|
4601
4742
|
};
|
|
4602
4743
|
try {
|
|
4603
|
-
if (componentDefinition$
|
|
4604
|
-
Object.entries(componentDefinition$
|
|
4744
|
+
if (componentDefinition$w && componentDefinition$w.props) {
|
|
4745
|
+
Object.entries(componentDefinition$w.props).forEach(([key, config]) => {
|
|
4605
4746
|
const propConfig = config;
|
|
4606
4747
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
4607
4748
|
defaultProps$s[key] = propConfig.default;
|
|
@@ -4620,7 +4761,7 @@ function ShaderComponent$s(props) {
|
|
|
4620
4761
|
shaderUniformUpdate: parentUniformUpdate,
|
|
4621
4762
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
4622
4763
|
} = context;
|
|
4623
|
-
const instanceId = props.id || `${componentDefinition$
|
|
4764
|
+
const instanceId = props.id || `${componentDefinition$w.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4624
4765
|
const effectiveProps = createMemo(() => {
|
|
4625
4766
|
let baseProps = {
|
|
4626
4767
|
...defaultProps$s
|
|
@@ -4639,7 +4780,7 @@ function ShaderComponent$s(props) {
|
|
|
4639
4780
|
let uniformsMap = null;
|
|
4640
4781
|
const getUniformsMap = () => {
|
|
4641
4782
|
if (!uniformsMap) {
|
|
4642
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
4783
|
+
uniformsMap = createUniformsMap(componentDefinition$w, effectiveProps(), instanceId);
|
|
4643
4784
|
}
|
|
4644
4785
|
return uniformsMap;
|
|
4645
4786
|
};
|
|
@@ -4664,7 +4805,7 @@ function ShaderComponent$s(props) {
|
|
|
4664
4805
|
renderOrder: props.renderOrder || 0,
|
|
4665
4806
|
transform: effectiveTransform()
|
|
4666
4807
|
};
|
|
4667
|
-
parentRegister(instanceId, componentDefinition$
|
|
4808
|
+
parentRegister(instanceId, componentDefinition$w.fragmentNode, parentId, metadata, uniforms, componentDefinition$w);
|
|
4668
4809
|
isRegistered = true;
|
|
4669
4810
|
} catch (error) {
|
|
4670
4811
|
console.error("Error registering shader node:", error);
|
|
@@ -4740,8 +4881,8 @@ const defaultProps$r = {
|
|
|
4740
4881
|
// transform intentionally has no default - handled by effectiveTransform
|
|
4741
4882
|
};
|
|
4742
4883
|
try {
|
|
4743
|
-
if (componentDefinition$
|
|
4744
|
-
Object.entries(componentDefinition$
|
|
4884
|
+
if (componentDefinition$x && componentDefinition$x.props) {
|
|
4885
|
+
Object.entries(componentDefinition$x.props).forEach(([key, config]) => {
|
|
4745
4886
|
const propConfig = config;
|
|
4746
4887
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
4747
4888
|
defaultProps$r[key] = propConfig.default;
|
|
@@ -4760,7 +4901,7 @@ function ShaderComponent$r(props) {
|
|
|
4760
4901
|
shaderUniformUpdate: parentUniformUpdate,
|
|
4761
4902
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
4762
4903
|
} = context;
|
|
4763
|
-
const instanceId = props.id || `${componentDefinition$
|
|
4904
|
+
const instanceId = props.id || `${componentDefinition$x.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4764
4905
|
const effectiveProps = createMemo(() => {
|
|
4765
4906
|
let baseProps = {
|
|
4766
4907
|
...defaultProps$r
|
|
@@ -4779,7 +4920,7 @@ function ShaderComponent$r(props) {
|
|
|
4779
4920
|
let uniformsMap = null;
|
|
4780
4921
|
const getUniformsMap = () => {
|
|
4781
4922
|
if (!uniformsMap) {
|
|
4782
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
4923
|
+
uniformsMap = createUniformsMap(componentDefinition$x, effectiveProps(), instanceId);
|
|
4783
4924
|
}
|
|
4784
4925
|
return uniformsMap;
|
|
4785
4926
|
};
|
|
@@ -4804,7 +4945,7 @@ function ShaderComponent$r(props) {
|
|
|
4804
4945
|
renderOrder: props.renderOrder || 0,
|
|
4805
4946
|
transform: effectiveTransform()
|
|
4806
4947
|
};
|
|
4807
|
-
parentRegister(instanceId, componentDefinition$
|
|
4948
|
+
parentRegister(instanceId, componentDefinition$x.fragmentNode, parentId, metadata, uniforms, componentDefinition$x);
|
|
4808
4949
|
isRegistered = true;
|
|
4809
4950
|
} catch (error) {
|
|
4810
4951
|
console.error("Error registering shader node:", error);
|
|
@@ -4880,8 +5021,8 @@ const defaultProps$q = {
|
|
|
4880
5021
|
// transform intentionally has no default - handled by effectiveTransform
|
|
4881
5022
|
};
|
|
4882
5023
|
try {
|
|
4883
|
-
if (componentDefinition$
|
|
4884
|
-
Object.entries(componentDefinition$
|
|
5024
|
+
if (componentDefinition$y && componentDefinition$y.props) {
|
|
5025
|
+
Object.entries(componentDefinition$y.props).forEach(([key, config]) => {
|
|
4885
5026
|
const propConfig = config;
|
|
4886
5027
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
4887
5028
|
defaultProps$q[key] = propConfig.default;
|
|
@@ -4900,7 +5041,7 @@ function ShaderComponent$q(props) {
|
|
|
4900
5041
|
shaderUniformUpdate: parentUniformUpdate,
|
|
4901
5042
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
4902
5043
|
} = context;
|
|
4903
|
-
const instanceId = props.id || `${componentDefinition$
|
|
5044
|
+
const instanceId = props.id || `${componentDefinition$y.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4904
5045
|
const effectiveProps = createMemo(() => {
|
|
4905
5046
|
let baseProps = {
|
|
4906
5047
|
...defaultProps$q
|
|
@@ -4919,7 +5060,7 @@ function ShaderComponent$q(props) {
|
|
|
4919
5060
|
let uniformsMap = null;
|
|
4920
5061
|
const getUniformsMap = () => {
|
|
4921
5062
|
if (!uniformsMap) {
|
|
4922
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
5063
|
+
uniformsMap = createUniformsMap(componentDefinition$y, effectiveProps(), instanceId);
|
|
4923
5064
|
}
|
|
4924
5065
|
return uniformsMap;
|
|
4925
5066
|
};
|
|
@@ -4944,7 +5085,7 @@ function ShaderComponent$q(props) {
|
|
|
4944
5085
|
renderOrder: props.renderOrder || 0,
|
|
4945
5086
|
transform: effectiveTransform()
|
|
4946
5087
|
};
|
|
4947
|
-
parentRegister(instanceId, componentDefinition$
|
|
5088
|
+
parentRegister(instanceId, componentDefinition$y.fragmentNode, parentId, metadata, uniforms, componentDefinition$y);
|
|
4948
5089
|
isRegistered = true;
|
|
4949
5090
|
} catch (error) {
|
|
4950
5091
|
console.error("Error registering shader node:", error);
|
|
@@ -5020,8 +5161,8 @@ const defaultProps$p = {
|
|
|
5020
5161
|
// transform intentionally has no default - handled by effectiveTransform
|
|
5021
5162
|
};
|
|
5022
5163
|
try {
|
|
5023
|
-
if (componentDefinition$
|
|
5024
|
-
Object.entries(componentDefinition$
|
|
5164
|
+
if (componentDefinition$z && componentDefinition$z.props) {
|
|
5165
|
+
Object.entries(componentDefinition$z.props).forEach(([key, config]) => {
|
|
5025
5166
|
const propConfig = config;
|
|
5026
5167
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
5027
5168
|
defaultProps$p[key] = propConfig.default;
|
|
@@ -5040,7 +5181,7 @@ function ShaderComponent$p(props) {
|
|
|
5040
5181
|
shaderUniformUpdate: parentUniformUpdate,
|
|
5041
5182
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
5042
5183
|
} = context;
|
|
5043
|
-
const instanceId = props.id || `${componentDefinition$
|
|
5184
|
+
const instanceId = props.id || `${componentDefinition$z.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5044
5185
|
const effectiveProps = createMemo(() => {
|
|
5045
5186
|
let baseProps = {
|
|
5046
5187
|
...defaultProps$p
|
|
@@ -5059,7 +5200,7 @@ function ShaderComponent$p(props) {
|
|
|
5059
5200
|
let uniformsMap = null;
|
|
5060
5201
|
const getUniformsMap = () => {
|
|
5061
5202
|
if (!uniformsMap) {
|
|
5062
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
5203
|
+
uniformsMap = createUniformsMap(componentDefinition$z, effectiveProps(), instanceId);
|
|
5063
5204
|
}
|
|
5064
5205
|
return uniformsMap;
|
|
5065
5206
|
};
|
|
@@ -5084,7 +5225,7 @@ function ShaderComponent$p(props) {
|
|
|
5084
5225
|
renderOrder: props.renderOrder || 0,
|
|
5085
5226
|
transform: effectiveTransform()
|
|
5086
5227
|
};
|
|
5087
|
-
parentRegister(instanceId, componentDefinition$
|
|
5228
|
+
parentRegister(instanceId, componentDefinition$z.fragmentNode, parentId, metadata, uniforms, componentDefinition$z);
|
|
5088
5229
|
isRegistered = true;
|
|
5089
5230
|
} catch (error) {
|
|
5090
5231
|
console.error("Error registering shader node:", error);
|
|
@@ -5160,8 +5301,8 @@ const defaultProps$o = {
|
|
|
5160
5301
|
// transform intentionally has no default - handled by effectiveTransform
|
|
5161
5302
|
};
|
|
5162
5303
|
try {
|
|
5163
|
-
if (componentDefinition$
|
|
5164
|
-
Object.entries(componentDefinition$
|
|
5304
|
+
if (componentDefinition$A && componentDefinition$A.props) {
|
|
5305
|
+
Object.entries(componentDefinition$A.props).forEach(([key, config]) => {
|
|
5165
5306
|
const propConfig = config;
|
|
5166
5307
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
5167
5308
|
defaultProps$o[key] = propConfig.default;
|
|
@@ -5180,7 +5321,7 @@ function ShaderComponent$o(props) {
|
|
|
5180
5321
|
shaderUniformUpdate: parentUniformUpdate,
|
|
5181
5322
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
5182
5323
|
} = context;
|
|
5183
|
-
const instanceId = props.id || `${componentDefinition$
|
|
5324
|
+
const instanceId = props.id || `${componentDefinition$A.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5184
5325
|
const effectiveProps = createMemo(() => {
|
|
5185
5326
|
let baseProps = {
|
|
5186
5327
|
...defaultProps$o
|
|
@@ -5199,7 +5340,7 @@ function ShaderComponent$o(props) {
|
|
|
5199
5340
|
let uniformsMap = null;
|
|
5200
5341
|
const getUniformsMap = () => {
|
|
5201
5342
|
if (!uniformsMap) {
|
|
5202
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
5343
|
+
uniformsMap = createUniformsMap(componentDefinition$A, effectiveProps(), instanceId);
|
|
5203
5344
|
}
|
|
5204
5345
|
return uniformsMap;
|
|
5205
5346
|
};
|
|
@@ -5224,7 +5365,7 @@ function ShaderComponent$o(props) {
|
|
|
5224
5365
|
renderOrder: props.renderOrder || 0,
|
|
5225
5366
|
transform: effectiveTransform()
|
|
5226
5367
|
};
|
|
5227
|
-
parentRegister(instanceId, componentDefinition$
|
|
5368
|
+
parentRegister(instanceId, componentDefinition$A.fragmentNode, parentId, metadata, uniforms, componentDefinition$A);
|
|
5228
5369
|
isRegistered = true;
|
|
5229
5370
|
} catch (error) {
|
|
5230
5371
|
console.error("Error registering shader node:", error);
|
|
@@ -5300,8 +5441,8 @@ const defaultProps$n = {
|
|
|
5300
5441
|
// transform intentionally has no default - handled by effectiveTransform
|
|
5301
5442
|
};
|
|
5302
5443
|
try {
|
|
5303
|
-
if (componentDefinition$
|
|
5304
|
-
Object.entries(componentDefinition$
|
|
5444
|
+
if (componentDefinition$B && componentDefinition$B.props) {
|
|
5445
|
+
Object.entries(componentDefinition$B.props).forEach(([key, config]) => {
|
|
5305
5446
|
const propConfig = config;
|
|
5306
5447
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
5307
5448
|
defaultProps$n[key] = propConfig.default;
|
|
@@ -5320,7 +5461,7 @@ function ShaderComponent$n(props) {
|
|
|
5320
5461
|
shaderUniformUpdate: parentUniformUpdate,
|
|
5321
5462
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
5322
5463
|
} = context;
|
|
5323
|
-
const instanceId = props.id || `${componentDefinition$
|
|
5464
|
+
const instanceId = props.id || `${componentDefinition$B.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5324
5465
|
const effectiveProps = createMemo(() => {
|
|
5325
5466
|
let baseProps = {
|
|
5326
5467
|
...defaultProps$n
|
|
@@ -5339,7 +5480,7 @@ function ShaderComponent$n(props) {
|
|
|
5339
5480
|
let uniformsMap = null;
|
|
5340
5481
|
const getUniformsMap = () => {
|
|
5341
5482
|
if (!uniformsMap) {
|
|
5342
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
5483
|
+
uniformsMap = createUniformsMap(componentDefinition$B, effectiveProps(), instanceId);
|
|
5343
5484
|
}
|
|
5344
5485
|
return uniformsMap;
|
|
5345
5486
|
};
|
|
@@ -5364,7 +5505,7 @@ function ShaderComponent$n(props) {
|
|
|
5364
5505
|
renderOrder: props.renderOrder || 0,
|
|
5365
5506
|
transform: effectiveTransform()
|
|
5366
5507
|
};
|
|
5367
|
-
parentRegister(instanceId, componentDefinition$
|
|
5508
|
+
parentRegister(instanceId, componentDefinition$B.fragmentNode, parentId, metadata, uniforms, componentDefinition$B);
|
|
5368
5509
|
isRegistered = true;
|
|
5369
5510
|
} catch (error) {
|
|
5370
5511
|
console.error("Error registering shader node:", error);
|
|
@@ -5440,8 +5581,8 @@ const defaultProps$m = {
|
|
|
5440
5581
|
// transform intentionally has no default - handled by effectiveTransform
|
|
5441
5582
|
};
|
|
5442
5583
|
try {
|
|
5443
|
-
if (componentDefinition$
|
|
5444
|
-
Object.entries(componentDefinition$
|
|
5584
|
+
if (componentDefinition$C && componentDefinition$C.props) {
|
|
5585
|
+
Object.entries(componentDefinition$C.props).forEach(([key, config]) => {
|
|
5445
5586
|
const propConfig = config;
|
|
5446
5587
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
5447
5588
|
defaultProps$m[key] = propConfig.default;
|
|
@@ -5460,7 +5601,7 @@ function ShaderComponent$m(props) {
|
|
|
5460
5601
|
shaderUniformUpdate: parentUniformUpdate,
|
|
5461
5602
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
5462
5603
|
} = context;
|
|
5463
|
-
const instanceId = props.id || `${componentDefinition$
|
|
5604
|
+
const instanceId = props.id || `${componentDefinition$C.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5464
5605
|
const effectiveProps = createMemo(() => {
|
|
5465
5606
|
let baseProps = {
|
|
5466
5607
|
...defaultProps$m
|
|
@@ -5479,7 +5620,7 @@ function ShaderComponent$m(props) {
|
|
|
5479
5620
|
let uniformsMap = null;
|
|
5480
5621
|
const getUniformsMap = () => {
|
|
5481
5622
|
if (!uniformsMap) {
|
|
5482
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
5623
|
+
uniformsMap = createUniformsMap(componentDefinition$C, effectiveProps(), instanceId);
|
|
5483
5624
|
}
|
|
5484
5625
|
return uniformsMap;
|
|
5485
5626
|
};
|
|
@@ -5504,7 +5645,7 @@ function ShaderComponent$m(props) {
|
|
|
5504
5645
|
renderOrder: props.renderOrder || 0,
|
|
5505
5646
|
transform: effectiveTransform()
|
|
5506
5647
|
};
|
|
5507
|
-
parentRegister(instanceId, componentDefinition$
|
|
5648
|
+
parentRegister(instanceId, componentDefinition$C.fragmentNode, parentId, metadata, uniforms, componentDefinition$C);
|
|
5508
5649
|
isRegistered = true;
|
|
5509
5650
|
} catch (error) {
|
|
5510
5651
|
console.error("Error registering shader node:", error);
|
|
@@ -5580,8 +5721,8 @@ const defaultProps$l = {
|
|
|
5580
5721
|
// transform intentionally has no default - handled by effectiveTransform
|
|
5581
5722
|
};
|
|
5582
5723
|
try {
|
|
5583
|
-
if (componentDefinition$
|
|
5584
|
-
Object.entries(componentDefinition$
|
|
5724
|
+
if (componentDefinition$D && componentDefinition$D.props) {
|
|
5725
|
+
Object.entries(componentDefinition$D.props).forEach(([key, config]) => {
|
|
5585
5726
|
const propConfig = config;
|
|
5586
5727
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
5587
5728
|
defaultProps$l[key] = propConfig.default;
|
|
@@ -5600,7 +5741,7 @@ function ShaderComponent$l(props) {
|
|
|
5600
5741
|
shaderUniformUpdate: parentUniformUpdate,
|
|
5601
5742
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
5602
5743
|
} = context;
|
|
5603
|
-
const instanceId = props.id || `${componentDefinition$
|
|
5744
|
+
const instanceId = props.id || `${componentDefinition$D.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5604
5745
|
const effectiveProps = createMemo(() => {
|
|
5605
5746
|
let baseProps = {
|
|
5606
5747
|
...defaultProps$l
|
|
@@ -5619,7 +5760,7 @@ function ShaderComponent$l(props) {
|
|
|
5619
5760
|
let uniformsMap = null;
|
|
5620
5761
|
const getUniformsMap = () => {
|
|
5621
5762
|
if (!uniformsMap) {
|
|
5622
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
5763
|
+
uniformsMap = createUniformsMap(componentDefinition$D, effectiveProps(), instanceId);
|
|
5623
5764
|
}
|
|
5624
5765
|
return uniformsMap;
|
|
5625
5766
|
};
|
|
@@ -5644,7 +5785,7 @@ function ShaderComponent$l(props) {
|
|
|
5644
5785
|
renderOrder: props.renderOrder || 0,
|
|
5645
5786
|
transform: effectiveTransform()
|
|
5646
5787
|
};
|
|
5647
|
-
parentRegister(instanceId, componentDefinition$
|
|
5788
|
+
parentRegister(instanceId, componentDefinition$D.fragmentNode, parentId, metadata, uniforms, componentDefinition$D);
|
|
5648
5789
|
isRegistered = true;
|
|
5649
5790
|
} catch (error) {
|
|
5650
5791
|
console.error("Error registering shader node:", error);
|
|
@@ -5720,8 +5861,8 @@ const defaultProps$k = {
|
|
|
5720
5861
|
// transform intentionally has no default - handled by effectiveTransform
|
|
5721
5862
|
};
|
|
5722
5863
|
try {
|
|
5723
|
-
if (componentDefinition$
|
|
5724
|
-
Object.entries(componentDefinition$
|
|
5864
|
+
if (componentDefinition$E && componentDefinition$E.props) {
|
|
5865
|
+
Object.entries(componentDefinition$E.props).forEach(([key, config]) => {
|
|
5725
5866
|
const propConfig = config;
|
|
5726
5867
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
5727
5868
|
defaultProps$k[key] = propConfig.default;
|
|
@@ -5740,7 +5881,7 @@ function ShaderComponent$k(props) {
|
|
|
5740
5881
|
shaderUniformUpdate: parentUniformUpdate,
|
|
5741
5882
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
5742
5883
|
} = context;
|
|
5743
|
-
const instanceId = props.id || `${componentDefinition$
|
|
5884
|
+
const instanceId = props.id || `${componentDefinition$E.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5744
5885
|
const effectiveProps = createMemo(() => {
|
|
5745
5886
|
let baseProps = {
|
|
5746
5887
|
...defaultProps$k
|
|
@@ -5759,7 +5900,7 @@ function ShaderComponent$k(props) {
|
|
|
5759
5900
|
let uniformsMap = null;
|
|
5760
5901
|
const getUniformsMap = () => {
|
|
5761
5902
|
if (!uniformsMap) {
|
|
5762
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
5903
|
+
uniformsMap = createUniformsMap(componentDefinition$E, effectiveProps(), instanceId);
|
|
5763
5904
|
}
|
|
5764
5905
|
return uniformsMap;
|
|
5765
5906
|
};
|
|
@@ -5784,7 +5925,7 @@ function ShaderComponent$k(props) {
|
|
|
5784
5925
|
renderOrder: props.renderOrder || 0,
|
|
5785
5926
|
transform: effectiveTransform()
|
|
5786
5927
|
};
|
|
5787
|
-
parentRegister(instanceId, componentDefinition$
|
|
5928
|
+
parentRegister(instanceId, componentDefinition$E.fragmentNode, parentId, metadata, uniforms, componentDefinition$E);
|
|
5788
5929
|
isRegistered = true;
|
|
5789
5930
|
} catch (error) {
|
|
5790
5931
|
console.error("Error registering shader node:", error);
|
|
@@ -5860,8 +6001,8 @@ const defaultProps$j = {
|
|
|
5860
6001
|
// transform intentionally has no default - handled by effectiveTransform
|
|
5861
6002
|
};
|
|
5862
6003
|
try {
|
|
5863
|
-
if (componentDefinition$
|
|
5864
|
-
Object.entries(componentDefinition$
|
|
6004
|
+
if (componentDefinition$F && componentDefinition$F.props) {
|
|
6005
|
+
Object.entries(componentDefinition$F.props).forEach(([key, config]) => {
|
|
5865
6006
|
const propConfig = config;
|
|
5866
6007
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
5867
6008
|
defaultProps$j[key] = propConfig.default;
|
|
@@ -5880,7 +6021,7 @@ function ShaderComponent$j(props) {
|
|
|
5880
6021
|
shaderUniformUpdate: parentUniformUpdate,
|
|
5881
6022
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
5882
6023
|
} = context;
|
|
5883
|
-
const instanceId = props.id || `${componentDefinition$
|
|
6024
|
+
const instanceId = props.id || `${componentDefinition$F.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5884
6025
|
const effectiveProps = createMemo(() => {
|
|
5885
6026
|
let baseProps = {
|
|
5886
6027
|
...defaultProps$j
|
|
@@ -5899,7 +6040,7 @@ function ShaderComponent$j(props) {
|
|
|
5899
6040
|
let uniformsMap = null;
|
|
5900
6041
|
const getUniformsMap = () => {
|
|
5901
6042
|
if (!uniformsMap) {
|
|
5902
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
6043
|
+
uniformsMap = createUniformsMap(componentDefinition$F, effectiveProps(), instanceId);
|
|
5903
6044
|
}
|
|
5904
6045
|
return uniformsMap;
|
|
5905
6046
|
};
|
|
@@ -5924,7 +6065,7 @@ function ShaderComponent$j(props) {
|
|
|
5924
6065
|
renderOrder: props.renderOrder || 0,
|
|
5925
6066
|
transform: effectiveTransform()
|
|
5926
6067
|
};
|
|
5927
|
-
parentRegister(instanceId, componentDefinition$
|
|
6068
|
+
parentRegister(instanceId, componentDefinition$F.fragmentNode, parentId, metadata, uniforms, componentDefinition$F);
|
|
5928
6069
|
isRegistered = true;
|
|
5929
6070
|
} catch (error) {
|
|
5930
6071
|
console.error("Error registering shader node:", error);
|
|
@@ -6000,8 +6141,8 @@ const defaultProps$i = {
|
|
|
6000
6141
|
// transform intentionally has no default - handled by effectiveTransform
|
|
6001
6142
|
};
|
|
6002
6143
|
try {
|
|
6003
|
-
if (componentDefinition$
|
|
6004
|
-
Object.entries(componentDefinition$
|
|
6144
|
+
if (componentDefinition$G && componentDefinition$G.props) {
|
|
6145
|
+
Object.entries(componentDefinition$G.props).forEach(([key, config]) => {
|
|
6005
6146
|
const propConfig = config;
|
|
6006
6147
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
6007
6148
|
defaultProps$i[key] = propConfig.default;
|
|
@@ -6020,7 +6161,7 @@ function ShaderComponent$i(props) {
|
|
|
6020
6161
|
shaderUniformUpdate: parentUniformUpdate,
|
|
6021
6162
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
6022
6163
|
} = context;
|
|
6023
|
-
const instanceId = props.id || `${componentDefinition$
|
|
6164
|
+
const instanceId = props.id || `${componentDefinition$G.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6024
6165
|
const effectiveProps = createMemo(() => {
|
|
6025
6166
|
let baseProps = {
|
|
6026
6167
|
...defaultProps$i
|
|
@@ -6039,7 +6180,7 @@ function ShaderComponent$i(props) {
|
|
|
6039
6180
|
let uniformsMap = null;
|
|
6040
6181
|
const getUniformsMap = () => {
|
|
6041
6182
|
if (!uniformsMap) {
|
|
6042
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
6183
|
+
uniformsMap = createUniformsMap(componentDefinition$G, effectiveProps(), instanceId);
|
|
6043
6184
|
}
|
|
6044
6185
|
return uniformsMap;
|
|
6045
6186
|
};
|
|
@@ -6064,7 +6205,7 @@ function ShaderComponent$i(props) {
|
|
|
6064
6205
|
renderOrder: props.renderOrder || 0,
|
|
6065
6206
|
transform: effectiveTransform()
|
|
6066
6207
|
};
|
|
6067
|
-
parentRegister(instanceId, componentDefinition$
|
|
6208
|
+
parentRegister(instanceId, componentDefinition$G.fragmentNode, parentId, metadata, uniforms, componentDefinition$G);
|
|
6068
6209
|
isRegistered = true;
|
|
6069
6210
|
} catch (error) {
|
|
6070
6211
|
console.error("Error registering shader node:", error);
|
|
@@ -6140,8 +6281,8 @@ const defaultProps$h = {
|
|
|
6140
6281
|
// transform intentionally has no default - handled by effectiveTransform
|
|
6141
6282
|
};
|
|
6142
6283
|
try {
|
|
6143
|
-
if (componentDefinition$
|
|
6144
|
-
Object.entries(componentDefinition$
|
|
6284
|
+
if (componentDefinition$H && componentDefinition$H.props) {
|
|
6285
|
+
Object.entries(componentDefinition$H.props).forEach(([key, config]) => {
|
|
6145
6286
|
const propConfig = config;
|
|
6146
6287
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
6147
6288
|
defaultProps$h[key] = propConfig.default;
|
|
@@ -6160,7 +6301,7 @@ function ShaderComponent$h(props) {
|
|
|
6160
6301
|
shaderUniformUpdate: parentUniformUpdate,
|
|
6161
6302
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
6162
6303
|
} = context;
|
|
6163
|
-
const instanceId = props.id || `${componentDefinition$
|
|
6304
|
+
const instanceId = props.id || `${componentDefinition$H.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6164
6305
|
const effectiveProps = createMemo(() => {
|
|
6165
6306
|
let baseProps = {
|
|
6166
6307
|
...defaultProps$h
|
|
@@ -6179,7 +6320,7 @@ function ShaderComponent$h(props) {
|
|
|
6179
6320
|
let uniformsMap = null;
|
|
6180
6321
|
const getUniformsMap = () => {
|
|
6181
6322
|
if (!uniformsMap) {
|
|
6182
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
6323
|
+
uniformsMap = createUniformsMap(componentDefinition$H, effectiveProps(), instanceId);
|
|
6183
6324
|
}
|
|
6184
6325
|
return uniformsMap;
|
|
6185
6326
|
};
|
|
@@ -6204,7 +6345,7 @@ function ShaderComponent$h(props) {
|
|
|
6204
6345
|
renderOrder: props.renderOrder || 0,
|
|
6205
6346
|
transform: effectiveTransform()
|
|
6206
6347
|
};
|
|
6207
|
-
parentRegister(instanceId, componentDefinition$
|
|
6348
|
+
parentRegister(instanceId, componentDefinition$H.fragmentNode, parentId, metadata, uniforms, componentDefinition$H);
|
|
6208
6349
|
isRegistered = true;
|
|
6209
6350
|
} catch (error) {
|
|
6210
6351
|
console.error("Error registering shader node:", error);
|
|
@@ -6280,8 +6421,8 @@ const defaultProps$g = {
|
|
|
6280
6421
|
// transform intentionally has no default - handled by effectiveTransform
|
|
6281
6422
|
};
|
|
6282
6423
|
try {
|
|
6283
|
-
if (componentDefinition$
|
|
6284
|
-
Object.entries(componentDefinition$
|
|
6424
|
+
if (componentDefinition$I && componentDefinition$I.props) {
|
|
6425
|
+
Object.entries(componentDefinition$I.props).forEach(([key, config]) => {
|
|
6285
6426
|
const propConfig = config;
|
|
6286
6427
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
6287
6428
|
defaultProps$g[key] = propConfig.default;
|
|
@@ -6300,7 +6441,7 @@ function ShaderComponent$g(props) {
|
|
|
6300
6441
|
shaderUniformUpdate: parentUniformUpdate,
|
|
6301
6442
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
6302
6443
|
} = context;
|
|
6303
|
-
const instanceId = props.id || `${componentDefinition$
|
|
6444
|
+
const instanceId = props.id || `${componentDefinition$I.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6304
6445
|
const effectiveProps = createMemo(() => {
|
|
6305
6446
|
let baseProps = {
|
|
6306
6447
|
...defaultProps$g
|
|
@@ -6319,7 +6460,7 @@ function ShaderComponent$g(props) {
|
|
|
6319
6460
|
let uniformsMap = null;
|
|
6320
6461
|
const getUniformsMap = () => {
|
|
6321
6462
|
if (!uniformsMap) {
|
|
6322
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
6463
|
+
uniformsMap = createUniformsMap(componentDefinition$I, effectiveProps(), instanceId);
|
|
6323
6464
|
}
|
|
6324
6465
|
return uniformsMap;
|
|
6325
6466
|
};
|
|
@@ -6344,7 +6485,7 @@ function ShaderComponent$g(props) {
|
|
|
6344
6485
|
renderOrder: props.renderOrder || 0,
|
|
6345
6486
|
transform: effectiveTransform()
|
|
6346
6487
|
};
|
|
6347
|
-
parentRegister(instanceId, componentDefinition$
|
|
6488
|
+
parentRegister(instanceId, componentDefinition$I.fragmentNode, parentId, metadata, uniforms, componentDefinition$I);
|
|
6348
6489
|
isRegistered = true;
|
|
6349
6490
|
} catch (error) {
|
|
6350
6491
|
console.error("Error registering shader node:", error);
|
|
@@ -6420,8 +6561,8 @@ const defaultProps$f = {
|
|
|
6420
6561
|
// transform intentionally has no default - handled by effectiveTransform
|
|
6421
6562
|
};
|
|
6422
6563
|
try {
|
|
6423
|
-
if (componentDefinition$
|
|
6424
|
-
Object.entries(componentDefinition$
|
|
6564
|
+
if (componentDefinition$J && componentDefinition$J.props) {
|
|
6565
|
+
Object.entries(componentDefinition$J.props).forEach(([key, config]) => {
|
|
6425
6566
|
const propConfig = config;
|
|
6426
6567
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
6427
6568
|
defaultProps$f[key] = propConfig.default;
|
|
@@ -6440,7 +6581,7 @@ function ShaderComponent$f(props) {
|
|
|
6440
6581
|
shaderUniformUpdate: parentUniformUpdate,
|
|
6441
6582
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
6442
6583
|
} = context;
|
|
6443
|
-
const instanceId = props.id || `${componentDefinition$
|
|
6584
|
+
const instanceId = props.id || `${componentDefinition$J.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6444
6585
|
const effectiveProps = createMemo(() => {
|
|
6445
6586
|
let baseProps = {
|
|
6446
6587
|
...defaultProps$f
|
|
@@ -6459,7 +6600,7 @@ function ShaderComponent$f(props) {
|
|
|
6459
6600
|
let uniformsMap = null;
|
|
6460
6601
|
const getUniformsMap = () => {
|
|
6461
6602
|
if (!uniformsMap) {
|
|
6462
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
6603
|
+
uniformsMap = createUniformsMap(componentDefinition$J, effectiveProps(), instanceId);
|
|
6463
6604
|
}
|
|
6464
6605
|
return uniformsMap;
|
|
6465
6606
|
};
|
|
@@ -6484,7 +6625,7 @@ function ShaderComponent$f(props) {
|
|
|
6484
6625
|
renderOrder: props.renderOrder || 0,
|
|
6485
6626
|
transform: effectiveTransform()
|
|
6486
6627
|
};
|
|
6487
|
-
parentRegister(instanceId, componentDefinition$
|
|
6628
|
+
parentRegister(instanceId, componentDefinition$J.fragmentNode, parentId, metadata, uniforms, componentDefinition$J);
|
|
6488
6629
|
isRegistered = true;
|
|
6489
6630
|
} catch (error) {
|
|
6490
6631
|
console.error("Error registering shader node:", error);
|
|
@@ -6560,8 +6701,8 @@ const defaultProps$e = {
|
|
|
6560
6701
|
// transform intentionally has no default - handled by effectiveTransform
|
|
6561
6702
|
};
|
|
6562
6703
|
try {
|
|
6563
|
-
if (componentDefinition$
|
|
6564
|
-
Object.entries(componentDefinition$
|
|
6704
|
+
if (componentDefinition$K && componentDefinition$K.props) {
|
|
6705
|
+
Object.entries(componentDefinition$K.props).forEach(([key, config]) => {
|
|
6565
6706
|
const propConfig = config;
|
|
6566
6707
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
6567
6708
|
defaultProps$e[key] = propConfig.default;
|
|
@@ -6580,7 +6721,7 @@ function ShaderComponent$e(props) {
|
|
|
6580
6721
|
shaderUniformUpdate: parentUniformUpdate,
|
|
6581
6722
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
6582
6723
|
} = context;
|
|
6583
|
-
const instanceId = props.id || `${componentDefinition$
|
|
6724
|
+
const instanceId = props.id || `${componentDefinition$K.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6584
6725
|
const effectiveProps = createMemo(() => {
|
|
6585
6726
|
let baseProps = {
|
|
6586
6727
|
...defaultProps$e
|
|
@@ -6599,7 +6740,7 @@ function ShaderComponent$e(props) {
|
|
|
6599
6740
|
let uniformsMap = null;
|
|
6600
6741
|
const getUniformsMap = () => {
|
|
6601
6742
|
if (!uniformsMap) {
|
|
6602
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
6743
|
+
uniformsMap = createUniformsMap(componentDefinition$K, effectiveProps(), instanceId);
|
|
6603
6744
|
}
|
|
6604
6745
|
return uniformsMap;
|
|
6605
6746
|
};
|
|
@@ -6624,7 +6765,7 @@ function ShaderComponent$e(props) {
|
|
|
6624
6765
|
renderOrder: props.renderOrder || 0,
|
|
6625
6766
|
transform: effectiveTransform()
|
|
6626
6767
|
};
|
|
6627
|
-
parentRegister(instanceId, componentDefinition$
|
|
6768
|
+
parentRegister(instanceId, componentDefinition$K.fragmentNode, parentId, metadata, uniforms, componentDefinition$K);
|
|
6628
6769
|
isRegistered = true;
|
|
6629
6770
|
} catch (error) {
|
|
6630
6771
|
console.error("Error registering shader node:", error);
|
|
@@ -6700,8 +6841,8 @@ const defaultProps$d = {
|
|
|
6700
6841
|
// transform intentionally has no default - handled by effectiveTransform
|
|
6701
6842
|
};
|
|
6702
6843
|
try {
|
|
6703
|
-
if (componentDefinition$
|
|
6704
|
-
Object.entries(componentDefinition$
|
|
6844
|
+
if (componentDefinition$L && componentDefinition$L.props) {
|
|
6845
|
+
Object.entries(componentDefinition$L.props).forEach(([key, config]) => {
|
|
6705
6846
|
const propConfig = config;
|
|
6706
6847
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
6707
6848
|
defaultProps$d[key] = propConfig.default;
|
|
@@ -6720,7 +6861,7 @@ function ShaderComponent$d(props) {
|
|
|
6720
6861
|
shaderUniformUpdate: parentUniformUpdate,
|
|
6721
6862
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
6722
6863
|
} = context;
|
|
6723
|
-
const instanceId = props.id || `${componentDefinition$
|
|
6864
|
+
const instanceId = props.id || `${componentDefinition$L.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6724
6865
|
const effectiveProps = createMemo(() => {
|
|
6725
6866
|
let baseProps = {
|
|
6726
6867
|
...defaultProps$d
|
|
@@ -6739,7 +6880,7 @@ function ShaderComponent$d(props) {
|
|
|
6739
6880
|
let uniformsMap = null;
|
|
6740
6881
|
const getUniformsMap = () => {
|
|
6741
6882
|
if (!uniformsMap) {
|
|
6742
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
6883
|
+
uniformsMap = createUniformsMap(componentDefinition$L, effectiveProps(), instanceId);
|
|
6743
6884
|
}
|
|
6744
6885
|
return uniformsMap;
|
|
6745
6886
|
};
|
|
@@ -6764,7 +6905,7 @@ function ShaderComponent$d(props) {
|
|
|
6764
6905
|
renderOrder: props.renderOrder || 0,
|
|
6765
6906
|
transform: effectiveTransform()
|
|
6766
6907
|
};
|
|
6767
|
-
parentRegister(instanceId, componentDefinition$
|
|
6908
|
+
parentRegister(instanceId, componentDefinition$L.fragmentNode, parentId, metadata, uniforms, componentDefinition$L);
|
|
6768
6909
|
isRegistered = true;
|
|
6769
6910
|
} catch (error) {
|
|
6770
6911
|
console.error("Error registering shader node:", error);
|
|
@@ -6840,8 +6981,8 @@ const defaultProps$c = {
|
|
|
6840
6981
|
// transform intentionally has no default - handled by effectiveTransform
|
|
6841
6982
|
};
|
|
6842
6983
|
try {
|
|
6843
|
-
if (componentDefinition$
|
|
6844
|
-
Object.entries(componentDefinition$
|
|
6984
|
+
if (componentDefinition$M && componentDefinition$M.props) {
|
|
6985
|
+
Object.entries(componentDefinition$M.props).forEach(([key, config]) => {
|
|
6845
6986
|
const propConfig = config;
|
|
6846
6987
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
6847
6988
|
defaultProps$c[key] = propConfig.default;
|
|
@@ -6860,7 +7001,7 @@ function ShaderComponent$c(props) {
|
|
|
6860
7001
|
shaderUniformUpdate: parentUniformUpdate,
|
|
6861
7002
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
6862
7003
|
} = context;
|
|
6863
|
-
const instanceId = props.id || `${componentDefinition$
|
|
7004
|
+
const instanceId = props.id || `${componentDefinition$M.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6864
7005
|
const effectiveProps = createMemo(() => {
|
|
6865
7006
|
let baseProps = {
|
|
6866
7007
|
...defaultProps$c
|
|
@@ -6879,7 +7020,7 @@ function ShaderComponent$c(props) {
|
|
|
6879
7020
|
let uniformsMap = null;
|
|
6880
7021
|
const getUniformsMap = () => {
|
|
6881
7022
|
if (!uniformsMap) {
|
|
6882
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
7023
|
+
uniformsMap = createUniformsMap(componentDefinition$M, effectiveProps(), instanceId);
|
|
6883
7024
|
}
|
|
6884
7025
|
return uniformsMap;
|
|
6885
7026
|
};
|
|
@@ -6904,7 +7045,7 @@ function ShaderComponent$c(props) {
|
|
|
6904
7045
|
renderOrder: props.renderOrder || 0,
|
|
6905
7046
|
transform: effectiveTransform()
|
|
6906
7047
|
};
|
|
6907
|
-
parentRegister(instanceId, componentDefinition$
|
|
7048
|
+
parentRegister(instanceId, componentDefinition$M.fragmentNode, parentId, metadata, uniforms, componentDefinition$M);
|
|
6908
7049
|
isRegistered = true;
|
|
6909
7050
|
} catch (error) {
|
|
6910
7051
|
console.error("Error registering shader node:", error);
|
|
@@ -6980,8 +7121,8 @@ const defaultProps$b = {
|
|
|
6980
7121
|
// transform intentionally has no default - handled by effectiveTransform
|
|
6981
7122
|
};
|
|
6982
7123
|
try {
|
|
6983
|
-
if (componentDefinition$
|
|
6984
|
-
Object.entries(componentDefinition$
|
|
7124
|
+
if (componentDefinition$N && componentDefinition$N.props) {
|
|
7125
|
+
Object.entries(componentDefinition$N.props).forEach(([key, config]) => {
|
|
6985
7126
|
const propConfig = config;
|
|
6986
7127
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
6987
7128
|
defaultProps$b[key] = propConfig.default;
|
|
@@ -7000,7 +7141,7 @@ function ShaderComponent$b(props) {
|
|
|
7000
7141
|
shaderUniformUpdate: parentUniformUpdate,
|
|
7001
7142
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
7002
7143
|
} = context;
|
|
7003
|
-
const instanceId = props.id || `${componentDefinition$
|
|
7144
|
+
const instanceId = props.id || `${componentDefinition$N.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7004
7145
|
const effectiveProps = createMemo(() => {
|
|
7005
7146
|
let baseProps = {
|
|
7006
7147
|
...defaultProps$b
|
|
@@ -7019,7 +7160,7 @@ function ShaderComponent$b(props) {
|
|
|
7019
7160
|
let uniformsMap = null;
|
|
7020
7161
|
const getUniformsMap = () => {
|
|
7021
7162
|
if (!uniformsMap) {
|
|
7022
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
7163
|
+
uniformsMap = createUniformsMap(componentDefinition$N, effectiveProps(), instanceId);
|
|
7023
7164
|
}
|
|
7024
7165
|
return uniformsMap;
|
|
7025
7166
|
};
|
|
@@ -7044,7 +7185,7 @@ function ShaderComponent$b(props) {
|
|
|
7044
7185
|
renderOrder: props.renderOrder || 0,
|
|
7045
7186
|
transform: effectiveTransform()
|
|
7046
7187
|
};
|
|
7047
|
-
parentRegister(instanceId, componentDefinition$
|
|
7188
|
+
parentRegister(instanceId, componentDefinition$N.fragmentNode, parentId, metadata, uniforms, componentDefinition$N);
|
|
7048
7189
|
isRegistered = true;
|
|
7049
7190
|
} catch (error) {
|
|
7050
7191
|
console.error("Error registering shader node:", error);
|
|
@@ -7120,8 +7261,8 @@ const defaultProps$a = {
|
|
|
7120
7261
|
// transform intentionally has no default - handled by effectiveTransform
|
|
7121
7262
|
};
|
|
7122
7263
|
try {
|
|
7123
|
-
if (componentDefinition$
|
|
7124
|
-
Object.entries(componentDefinition$
|
|
7264
|
+
if (componentDefinition$O && componentDefinition$O.props) {
|
|
7265
|
+
Object.entries(componentDefinition$O.props).forEach(([key, config]) => {
|
|
7125
7266
|
const propConfig = config;
|
|
7126
7267
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
7127
7268
|
defaultProps$a[key] = propConfig.default;
|
|
@@ -7140,7 +7281,7 @@ function ShaderComponent$a(props) {
|
|
|
7140
7281
|
shaderUniformUpdate: parentUniformUpdate,
|
|
7141
7282
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
7142
7283
|
} = context;
|
|
7143
|
-
const instanceId = props.id || `${componentDefinition$
|
|
7284
|
+
const instanceId = props.id || `${componentDefinition$O.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7144
7285
|
const effectiveProps = createMemo(() => {
|
|
7145
7286
|
let baseProps = {
|
|
7146
7287
|
...defaultProps$a
|
|
@@ -7159,7 +7300,7 @@ function ShaderComponent$a(props) {
|
|
|
7159
7300
|
let uniformsMap = null;
|
|
7160
7301
|
const getUniformsMap = () => {
|
|
7161
7302
|
if (!uniformsMap) {
|
|
7162
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
7303
|
+
uniformsMap = createUniformsMap(componentDefinition$O, effectiveProps(), instanceId);
|
|
7163
7304
|
}
|
|
7164
7305
|
return uniformsMap;
|
|
7165
7306
|
};
|
|
@@ -7184,7 +7325,7 @@ function ShaderComponent$a(props) {
|
|
|
7184
7325
|
renderOrder: props.renderOrder || 0,
|
|
7185
7326
|
transform: effectiveTransform()
|
|
7186
7327
|
};
|
|
7187
|
-
parentRegister(instanceId, componentDefinition$
|
|
7328
|
+
parentRegister(instanceId, componentDefinition$O.fragmentNode, parentId, metadata, uniforms, componentDefinition$O);
|
|
7188
7329
|
isRegistered = true;
|
|
7189
7330
|
} catch (error) {
|
|
7190
7331
|
console.error("Error registering shader node:", error);
|
|
@@ -7260,8 +7401,8 @@ const defaultProps$9 = {
|
|
|
7260
7401
|
// transform intentionally has no default - handled by effectiveTransform
|
|
7261
7402
|
};
|
|
7262
7403
|
try {
|
|
7263
|
-
if (componentDefinition$
|
|
7264
|
-
Object.entries(componentDefinition$
|
|
7404
|
+
if (componentDefinition$P && componentDefinition$P.props) {
|
|
7405
|
+
Object.entries(componentDefinition$P.props).forEach(([key, config]) => {
|
|
7265
7406
|
const propConfig = config;
|
|
7266
7407
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
7267
7408
|
defaultProps$9[key] = propConfig.default;
|
|
@@ -7280,7 +7421,7 @@ function ShaderComponent$9(props) {
|
|
|
7280
7421
|
shaderUniformUpdate: parentUniformUpdate,
|
|
7281
7422
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
7282
7423
|
} = context;
|
|
7283
|
-
const instanceId = props.id || `${componentDefinition$
|
|
7424
|
+
const instanceId = props.id || `${componentDefinition$P.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7284
7425
|
const effectiveProps = createMemo(() => {
|
|
7285
7426
|
let baseProps = {
|
|
7286
7427
|
...defaultProps$9
|
|
@@ -7299,7 +7440,7 @@ function ShaderComponent$9(props) {
|
|
|
7299
7440
|
let uniformsMap = null;
|
|
7300
7441
|
const getUniformsMap = () => {
|
|
7301
7442
|
if (!uniformsMap) {
|
|
7302
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
7443
|
+
uniformsMap = createUniformsMap(componentDefinition$P, effectiveProps(), instanceId);
|
|
7303
7444
|
}
|
|
7304
7445
|
return uniformsMap;
|
|
7305
7446
|
};
|
|
@@ -7324,7 +7465,7 @@ function ShaderComponent$9(props) {
|
|
|
7324
7465
|
renderOrder: props.renderOrder || 0,
|
|
7325
7466
|
transform: effectiveTransform()
|
|
7326
7467
|
};
|
|
7327
|
-
parentRegister(instanceId, componentDefinition$
|
|
7468
|
+
parentRegister(instanceId, componentDefinition$P.fragmentNode, parentId, metadata, uniforms, componentDefinition$P);
|
|
7328
7469
|
isRegistered = true;
|
|
7329
7470
|
} catch (error) {
|
|
7330
7471
|
console.error("Error registering shader node:", error);
|
|
@@ -7400,8 +7541,8 @@ const defaultProps$8 = {
|
|
|
7400
7541
|
// transform intentionally has no default - handled by effectiveTransform
|
|
7401
7542
|
};
|
|
7402
7543
|
try {
|
|
7403
|
-
if (componentDefinition$
|
|
7404
|
-
Object.entries(componentDefinition$
|
|
7544
|
+
if (componentDefinition$Q && componentDefinition$Q.props) {
|
|
7545
|
+
Object.entries(componentDefinition$Q.props).forEach(([key, config]) => {
|
|
7405
7546
|
const propConfig = config;
|
|
7406
7547
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
7407
7548
|
defaultProps$8[key] = propConfig.default;
|
|
@@ -7420,7 +7561,7 @@ function ShaderComponent$8(props) {
|
|
|
7420
7561
|
shaderUniformUpdate: parentUniformUpdate,
|
|
7421
7562
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
7422
7563
|
} = context;
|
|
7423
|
-
const instanceId = props.id || `${componentDefinition$
|
|
7564
|
+
const instanceId = props.id || `${componentDefinition$Q.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7424
7565
|
const effectiveProps = createMemo(() => {
|
|
7425
7566
|
let baseProps = {
|
|
7426
7567
|
...defaultProps$8
|
|
@@ -7439,7 +7580,7 @@ function ShaderComponent$8(props) {
|
|
|
7439
7580
|
let uniformsMap = null;
|
|
7440
7581
|
const getUniformsMap = () => {
|
|
7441
7582
|
if (!uniformsMap) {
|
|
7442
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
7583
|
+
uniformsMap = createUniformsMap(componentDefinition$Q, effectiveProps(), instanceId);
|
|
7443
7584
|
}
|
|
7444
7585
|
return uniformsMap;
|
|
7445
7586
|
};
|
|
@@ -7464,7 +7605,7 @@ function ShaderComponent$8(props) {
|
|
|
7464
7605
|
renderOrder: props.renderOrder || 0,
|
|
7465
7606
|
transform: effectiveTransform()
|
|
7466
7607
|
};
|
|
7467
|
-
parentRegister(instanceId, componentDefinition$
|
|
7608
|
+
parentRegister(instanceId, componentDefinition$Q.fragmentNode, parentId, metadata, uniforms, componentDefinition$Q);
|
|
7468
7609
|
isRegistered = true;
|
|
7469
7610
|
} catch (error) {
|
|
7470
7611
|
console.error("Error registering shader node:", error);
|
|
@@ -7540,8 +7681,8 @@ const defaultProps$7 = {
|
|
|
7540
7681
|
// transform intentionally has no default - handled by effectiveTransform
|
|
7541
7682
|
};
|
|
7542
7683
|
try {
|
|
7543
|
-
if (componentDefinition$
|
|
7544
|
-
Object.entries(componentDefinition$
|
|
7684
|
+
if (componentDefinition$R && componentDefinition$R.props) {
|
|
7685
|
+
Object.entries(componentDefinition$R.props).forEach(([key, config]) => {
|
|
7545
7686
|
const propConfig = config;
|
|
7546
7687
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
7547
7688
|
defaultProps$7[key] = propConfig.default;
|
|
@@ -7560,7 +7701,7 @@ function ShaderComponent$7(props) {
|
|
|
7560
7701
|
shaderUniformUpdate: parentUniformUpdate,
|
|
7561
7702
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
7562
7703
|
} = context;
|
|
7563
|
-
const instanceId = props.id || `${componentDefinition$
|
|
7704
|
+
const instanceId = props.id || `${componentDefinition$R.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7564
7705
|
const effectiveProps = createMemo(() => {
|
|
7565
7706
|
let baseProps = {
|
|
7566
7707
|
...defaultProps$7
|
|
@@ -7579,7 +7720,7 @@ function ShaderComponent$7(props) {
|
|
|
7579
7720
|
let uniformsMap = null;
|
|
7580
7721
|
const getUniformsMap = () => {
|
|
7581
7722
|
if (!uniformsMap) {
|
|
7582
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
7723
|
+
uniformsMap = createUniformsMap(componentDefinition$R, effectiveProps(), instanceId);
|
|
7583
7724
|
}
|
|
7584
7725
|
return uniformsMap;
|
|
7585
7726
|
};
|
|
@@ -7604,7 +7745,7 @@ function ShaderComponent$7(props) {
|
|
|
7604
7745
|
renderOrder: props.renderOrder || 0,
|
|
7605
7746
|
transform: effectiveTransform()
|
|
7606
7747
|
};
|
|
7607
|
-
parentRegister(instanceId, componentDefinition$
|
|
7748
|
+
parentRegister(instanceId, componentDefinition$R.fragmentNode, parentId, metadata, uniforms, componentDefinition$R);
|
|
7608
7749
|
isRegistered = true;
|
|
7609
7750
|
} catch (error) {
|
|
7610
7751
|
console.error("Error registering shader node:", error);
|
|
@@ -7680,8 +7821,8 @@ const defaultProps$6 = {
|
|
|
7680
7821
|
// transform intentionally has no default - handled by effectiveTransform
|
|
7681
7822
|
};
|
|
7682
7823
|
try {
|
|
7683
|
-
if (componentDefinition$
|
|
7684
|
-
Object.entries(componentDefinition$
|
|
7824
|
+
if (componentDefinition$S && componentDefinition$S.props) {
|
|
7825
|
+
Object.entries(componentDefinition$S.props).forEach(([key, config]) => {
|
|
7685
7826
|
const propConfig = config;
|
|
7686
7827
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
7687
7828
|
defaultProps$6[key] = propConfig.default;
|
|
@@ -7700,7 +7841,7 @@ function ShaderComponent$6(props) {
|
|
|
7700
7841
|
shaderUniformUpdate: parentUniformUpdate,
|
|
7701
7842
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
7702
7843
|
} = context;
|
|
7703
|
-
const instanceId = props.id || `${componentDefinition$
|
|
7844
|
+
const instanceId = props.id || `${componentDefinition$S.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7704
7845
|
const effectiveProps = createMemo(() => {
|
|
7705
7846
|
let baseProps = {
|
|
7706
7847
|
...defaultProps$6
|
|
@@ -7719,7 +7860,7 @@ function ShaderComponent$6(props) {
|
|
|
7719
7860
|
let uniformsMap = null;
|
|
7720
7861
|
const getUniformsMap = () => {
|
|
7721
7862
|
if (!uniformsMap) {
|
|
7722
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
7863
|
+
uniformsMap = createUniformsMap(componentDefinition$S, effectiveProps(), instanceId);
|
|
7723
7864
|
}
|
|
7724
7865
|
return uniformsMap;
|
|
7725
7866
|
};
|
|
@@ -7744,7 +7885,7 @@ function ShaderComponent$6(props) {
|
|
|
7744
7885
|
renderOrder: props.renderOrder || 0,
|
|
7745
7886
|
transform: effectiveTransform()
|
|
7746
7887
|
};
|
|
7747
|
-
parentRegister(instanceId, componentDefinition$
|
|
7888
|
+
parentRegister(instanceId, componentDefinition$S.fragmentNode, parentId, metadata, uniforms, componentDefinition$S);
|
|
7748
7889
|
isRegistered = true;
|
|
7749
7890
|
} catch (error) {
|
|
7750
7891
|
console.error("Error registering shader node:", error);
|
|
@@ -7820,8 +7961,8 @@ const defaultProps$5 = {
|
|
|
7820
7961
|
// transform intentionally has no default - handled by effectiveTransform
|
|
7821
7962
|
};
|
|
7822
7963
|
try {
|
|
7823
|
-
if (componentDefinition$
|
|
7824
|
-
Object.entries(componentDefinition$
|
|
7964
|
+
if (componentDefinition$T && componentDefinition$T.props) {
|
|
7965
|
+
Object.entries(componentDefinition$T.props).forEach(([key, config]) => {
|
|
7825
7966
|
const propConfig = config;
|
|
7826
7967
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
7827
7968
|
defaultProps$5[key] = propConfig.default;
|
|
@@ -7840,7 +7981,7 @@ function ShaderComponent$5(props) {
|
|
|
7840
7981
|
shaderUniformUpdate: parentUniformUpdate,
|
|
7841
7982
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
7842
7983
|
} = context;
|
|
7843
|
-
const instanceId = props.id || `${componentDefinition$
|
|
7984
|
+
const instanceId = props.id || `${componentDefinition$T.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7844
7985
|
const effectiveProps = createMemo(() => {
|
|
7845
7986
|
let baseProps = {
|
|
7846
7987
|
...defaultProps$5
|
|
@@ -7859,7 +8000,7 @@ function ShaderComponent$5(props) {
|
|
|
7859
8000
|
let uniformsMap = null;
|
|
7860
8001
|
const getUniformsMap = () => {
|
|
7861
8002
|
if (!uniformsMap) {
|
|
7862
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
8003
|
+
uniformsMap = createUniformsMap(componentDefinition$T, effectiveProps(), instanceId);
|
|
7863
8004
|
}
|
|
7864
8005
|
return uniformsMap;
|
|
7865
8006
|
};
|
|
@@ -7884,7 +8025,7 @@ function ShaderComponent$5(props) {
|
|
|
7884
8025
|
renderOrder: props.renderOrder || 0,
|
|
7885
8026
|
transform: effectiveTransform()
|
|
7886
8027
|
};
|
|
7887
|
-
parentRegister(instanceId, componentDefinition$
|
|
8028
|
+
parentRegister(instanceId, componentDefinition$T.fragmentNode, parentId, metadata, uniforms, componentDefinition$T);
|
|
7888
8029
|
isRegistered = true;
|
|
7889
8030
|
} catch (error) {
|
|
7890
8031
|
console.error("Error registering shader node:", error);
|
|
@@ -7960,8 +8101,8 @@ const defaultProps$4 = {
|
|
|
7960
8101
|
// transform intentionally has no default - handled by effectiveTransform
|
|
7961
8102
|
};
|
|
7962
8103
|
try {
|
|
7963
|
-
if (componentDefinition$
|
|
7964
|
-
Object.entries(componentDefinition$
|
|
8104
|
+
if (componentDefinition$U && componentDefinition$U.props) {
|
|
8105
|
+
Object.entries(componentDefinition$U.props).forEach(([key, config]) => {
|
|
7965
8106
|
const propConfig = config;
|
|
7966
8107
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
7967
8108
|
defaultProps$4[key] = propConfig.default;
|
|
@@ -7980,7 +8121,7 @@ function ShaderComponent$4(props) {
|
|
|
7980
8121
|
shaderUniformUpdate: parentUniformUpdate,
|
|
7981
8122
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
7982
8123
|
} = context;
|
|
7983
|
-
const instanceId = props.id || `${componentDefinition$
|
|
8124
|
+
const instanceId = props.id || `${componentDefinition$U.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7984
8125
|
const effectiveProps = createMemo(() => {
|
|
7985
8126
|
let baseProps = {
|
|
7986
8127
|
...defaultProps$4
|
|
@@ -7999,7 +8140,7 @@ function ShaderComponent$4(props) {
|
|
|
7999
8140
|
let uniformsMap = null;
|
|
8000
8141
|
const getUniformsMap = () => {
|
|
8001
8142
|
if (!uniformsMap) {
|
|
8002
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
8143
|
+
uniformsMap = createUniformsMap(componentDefinition$U, effectiveProps(), instanceId);
|
|
8003
8144
|
}
|
|
8004
8145
|
return uniformsMap;
|
|
8005
8146
|
};
|
|
@@ -8024,7 +8165,7 @@ function ShaderComponent$4(props) {
|
|
|
8024
8165
|
renderOrder: props.renderOrder || 0,
|
|
8025
8166
|
transform: effectiveTransform()
|
|
8026
8167
|
};
|
|
8027
|
-
parentRegister(instanceId, componentDefinition$
|
|
8168
|
+
parentRegister(instanceId, componentDefinition$U.fragmentNode, parentId, metadata, uniforms, componentDefinition$U);
|
|
8028
8169
|
isRegistered = true;
|
|
8029
8170
|
} catch (error) {
|
|
8030
8171
|
console.error("Error registering shader node:", error);
|
|
@@ -8100,8 +8241,8 @@ const defaultProps$3 = {
|
|
|
8100
8241
|
// transform intentionally has no default - handled by effectiveTransform
|
|
8101
8242
|
};
|
|
8102
8243
|
try {
|
|
8103
|
-
if (componentDefinition$
|
|
8104
|
-
Object.entries(componentDefinition$
|
|
8244
|
+
if (componentDefinition$V && componentDefinition$V.props) {
|
|
8245
|
+
Object.entries(componentDefinition$V.props).forEach(([key, config]) => {
|
|
8105
8246
|
const propConfig = config;
|
|
8106
8247
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
8107
8248
|
defaultProps$3[key] = propConfig.default;
|
|
@@ -8120,7 +8261,7 @@ function ShaderComponent$3(props) {
|
|
|
8120
8261
|
shaderUniformUpdate: parentUniformUpdate,
|
|
8121
8262
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
8122
8263
|
} = context;
|
|
8123
|
-
const instanceId = props.id || `${componentDefinition$
|
|
8264
|
+
const instanceId = props.id || `${componentDefinition$V.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
8124
8265
|
const effectiveProps = createMemo(() => {
|
|
8125
8266
|
let baseProps = {
|
|
8126
8267
|
...defaultProps$3
|
|
@@ -8139,7 +8280,7 @@ function ShaderComponent$3(props) {
|
|
|
8139
8280
|
let uniformsMap = null;
|
|
8140
8281
|
const getUniformsMap = () => {
|
|
8141
8282
|
if (!uniformsMap) {
|
|
8142
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
8283
|
+
uniformsMap = createUniformsMap(componentDefinition$V, effectiveProps(), instanceId);
|
|
8143
8284
|
}
|
|
8144
8285
|
return uniformsMap;
|
|
8145
8286
|
};
|
|
@@ -8164,7 +8305,7 @@ function ShaderComponent$3(props) {
|
|
|
8164
8305
|
renderOrder: props.renderOrder || 0,
|
|
8165
8306
|
transform: effectiveTransform()
|
|
8166
8307
|
};
|
|
8167
|
-
parentRegister(instanceId, componentDefinition$
|
|
8308
|
+
parentRegister(instanceId, componentDefinition$V.fragmentNode, parentId, metadata, uniforms, componentDefinition$V);
|
|
8168
8309
|
isRegistered = true;
|
|
8169
8310
|
} catch (error) {
|
|
8170
8311
|
console.error("Error registering shader node:", error);
|
|
@@ -8240,8 +8381,8 @@ const defaultProps$2 = {
|
|
|
8240
8381
|
// transform intentionally has no default - handled by effectiveTransform
|
|
8241
8382
|
};
|
|
8242
8383
|
try {
|
|
8243
|
-
if (componentDefinition$
|
|
8244
|
-
Object.entries(componentDefinition$
|
|
8384
|
+
if (componentDefinition$W && componentDefinition$W.props) {
|
|
8385
|
+
Object.entries(componentDefinition$W.props).forEach(([key, config]) => {
|
|
8245
8386
|
const propConfig = config;
|
|
8246
8387
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
8247
8388
|
defaultProps$2[key] = propConfig.default;
|
|
@@ -8260,7 +8401,7 @@ function ShaderComponent$2(props) {
|
|
|
8260
8401
|
shaderUniformUpdate: parentUniformUpdate,
|
|
8261
8402
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
8262
8403
|
} = context;
|
|
8263
|
-
const instanceId = props.id || `${componentDefinition$
|
|
8404
|
+
const instanceId = props.id || `${componentDefinition$W.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
8264
8405
|
const effectiveProps = createMemo(() => {
|
|
8265
8406
|
let baseProps = {
|
|
8266
8407
|
...defaultProps$2
|
|
@@ -8279,7 +8420,7 @@ function ShaderComponent$2(props) {
|
|
|
8279
8420
|
let uniformsMap = null;
|
|
8280
8421
|
const getUniformsMap = () => {
|
|
8281
8422
|
if (!uniformsMap) {
|
|
8282
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
8423
|
+
uniformsMap = createUniformsMap(componentDefinition$W, effectiveProps(), instanceId);
|
|
8283
8424
|
}
|
|
8284
8425
|
return uniformsMap;
|
|
8285
8426
|
};
|
|
@@ -8304,7 +8445,7 @@ function ShaderComponent$2(props) {
|
|
|
8304
8445
|
renderOrder: props.renderOrder || 0,
|
|
8305
8446
|
transform: effectiveTransform()
|
|
8306
8447
|
};
|
|
8307
|
-
parentRegister(instanceId, componentDefinition$
|
|
8448
|
+
parentRegister(instanceId, componentDefinition$W.fragmentNode, parentId, metadata, uniforms, componentDefinition$W);
|
|
8308
8449
|
isRegistered = true;
|
|
8309
8450
|
} catch (error) {
|
|
8310
8451
|
console.error("Error registering shader node:", error);
|
|
@@ -8380,8 +8521,8 @@ const defaultProps$1 = {
|
|
|
8380
8521
|
// transform intentionally has no default - handled by effectiveTransform
|
|
8381
8522
|
};
|
|
8382
8523
|
try {
|
|
8383
|
-
if (componentDefinition$
|
|
8384
|
-
Object.entries(componentDefinition$
|
|
8524
|
+
if (componentDefinition$X && componentDefinition$X.props) {
|
|
8525
|
+
Object.entries(componentDefinition$X.props).forEach(([key, config]) => {
|
|
8385
8526
|
const propConfig = config;
|
|
8386
8527
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
8387
8528
|
defaultProps$1[key] = propConfig.default;
|
|
@@ -8400,7 +8541,7 @@ function ShaderComponent$1(props) {
|
|
|
8400
8541
|
shaderUniformUpdate: parentUniformUpdate,
|
|
8401
8542
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
8402
8543
|
} = context;
|
|
8403
|
-
const instanceId = props.id || `${componentDefinition$
|
|
8544
|
+
const instanceId = props.id || `${componentDefinition$X.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
8404
8545
|
const effectiveProps = createMemo(() => {
|
|
8405
8546
|
let baseProps = {
|
|
8406
8547
|
...defaultProps$1
|
|
@@ -8419,7 +8560,7 @@ function ShaderComponent$1(props) {
|
|
|
8419
8560
|
let uniformsMap = null;
|
|
8420
8561
|
const getUniformsMap = () => {
|
|
8421
8562
|
if (!uniformsMap) {
|
|
8422
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
8563
|
+
uniformsMap = createUniformsMap(componentDefinition$X, effectiveProps(), instanceId);
|
|
8423
8564
|
}
|
|
8424
8565
|
return uniformsMap;
|
|
8425
8566
|
};
|
|
@@ -8444,7 +8585,7 @@ function ShaderComponent$1(props) {
|
|
|
8444
8585
|
renderOrder: props.renderOrder || 0,
|
|
8445
8586
|
transform: effectiveTransform()
|
|
8446
8587
|
};
|
|
8447
|
-
parentRegister(instanceId, componentDefinition$
|
|
8588
|
+
parentRegister(instanceId, componentDefinition$X.fragmentNode, parentId, metadata, uniforms, componentDefinition$X);
|
|
8448
8589
|
isRegistered = true;
|
|
8449
8590
|
} catch (error) {
|
|
8450
8591
|
console.error("Error registering shader node:", error);
|
|
@@ -8520,8 +8661,8 @@ const defaultProps = {
|
|
|
8520
8661
|
// transform intentionally has no default - handled by effectiveTransform
|
|
8521
8662
|
};
|
|
8522
8663
|
try {
|
|
8523
|
-
if (componentDefinition$
|
|
8524
|
-
Object.entries(componentDefinition$
|
|
8664
|
+
if (componentDefinition$Y && componentDefinition$Y.props) {
|
|
8665
|
+
Object.entries(componentDefinition$Y.props).forEach(([key, config]) => {
|
|
8525
8666
|
const propConfig = config;
|
|
8526
8667
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
8527
8668
|
defaultProps[key] = propConfig.default;
|
|
@@ -8540,7 +8681,7 @@ function ShaderComponent(props) {
|
|
|
8540
8681
|
shaderUniformUpdate: parentUniformUpdate,
|
|
8541
8682
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
8542
8683
|
} = context;
|
|
8543
|
-
const instanceId = props.id || `${componentDefinition$
|
|
8684
|
+
const instanceId = props.id || `${componentDefinition$Y.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
8544
8685
|
const effectiveProps = createMemo(() => {
|
|
8545
8686
|
let baseProps = {
|
|
8546
8687
|
...defaultProps
|
|
@@ -8559,7 +8700,7 @@ function ShaderComponent(props) {
|
|
|
8559
8700
|
let uniformsMap = null;
|
|
8560
8701
|
const getUniformsMap = () => {
|
|
8561
8702
|
if (!uniformsMap) {
|
|
8562
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
8703
|
+
uniformsMap = createUniformsMap(componentDefinition$Y, effectiveProps(), instanceId);
|
|
8563
8704
|
}
|
|
8564
8705
|
return uniformsMap;
|
|
8565
8706
|
};
|
|
@@ -8584,7 +8725,7 @@ function ShaderComponent(props) {
|
|
|
8584
8725
|
renderOrder: props.renderOrder || 0,
|
|
8585
8726
|
transform: effectiveTransform()
|
|
8586
8727
|
};
|
|
8587
|
-
parentRegister(instanceId, componentDefinition$
|
|
8728
|
+
parentRegister(instanceId, componentDefinition$Y.fragmentNode, parentId, metadata, uniforms, componentDefinition$Y);
|
|
8588
8729
|
isRegistered = true;
|
|
8589
8730
|
} catch (error) {
|
|
8590
8731
|
console.error("Error registering shader node:", error);
|
|
@@ -8644,51 +8785,52 @@ function ShaderComponent(props) {
|
|
|
8644
8785
|
});
|
|
8645
8786
|
}
|
|
8646
8787
|
export {
|
|
8647
|
-
ShaderComponent$
|
|
8648
|
-
ShaderComponent$
|
|
8649
|
-
ShaderComponent$
|
|
8650
|
-
ShaderComponent$
|
|
8651
|
-
ShaderComponent$
|
|
8652
|
-
ShaderComponent$
|
|
8653
|
-
ShaderComponent$
|
|
8654
|
-
ShaderComponent$
|
|
8655
|
-
ShaderComponent$
|
|
8656
|
-
ShaderComponent$
|
|
8657
|
-
ShaderComponent$
|
|
8658
|
-
ShaderComponent$
|
|
8659
|
-
ShaderComponent$
|
|
8660
|
-
ShaderComponent$
|
|
8661
|
-
ShaderComponent$
|
|
8662
|
-
ShaderComponent$
|
|
8663
|
-
ShaderComponent$
|
|
8664
|
-
ShaderComponent$
|
|
8665
|
-
ShaderComponent$
|
|
8666
|
-
ShaderComponent$
|
|
8667
|
-
ShaderComponent$
|
|
8668
|
-
ShaderComponent$
|
|
8669
|
-
ShaderComponent$
|
|
8670
|
-
ShaderComponent$
|
|
8671
|
-
ShaderComponent$
|
|
8672
|
-
ShaderComponent$
|
|
8673
|
-
ShaderComponent$
|
|
8674
|
-
ShaderComponent$
|
|
8675
|
-
ShaderComponent$
|
|
8676
|
-
ShaderComponent$
|
|
8677
|
-
ShaderComponent$
|
|
8678
|
-
ShaderComponent$
|
|
8679
|
-
ShaderComponent$
|
|
8680
|
-
ShaderComponent$
|
|
8681
|
-
ShaderComponent$
|
|
8682
|
-
ShaderComponent$
|
|
8683
|
-
ShaderComponent$
|
|
8684
|
-
ShaderComponent$
|
|
8685
|
-
ShaderComponent$
|
|
8686
|
-
ShaderComponent$
|
|
8687
|
-
ShaderComponent$
|
|
8688
|
-
ShaderComponent$
|
|
8689
|
-
ShaderComponent$
|
|
8788
|
+
ShaderComponent$Y as AngularBlur,
|
|
8789
|
+
ShaderComponent$X as Ascii,
|
|
8790
|
+
ShaderComponent$W as Beam,
|
|
8791
|
+
ShaderComponent$V as Blob,
|
|
8792
|
+
ShaderComponent$U as Blur,
|
|
8793
|
+
ShaderComponent$T as BrightnessContrast,
|
|
8794
|
+
ShaderComponent$S as Bulge,
|
|
8795
|
+
ShaderComponent$R as CRTScreen,
|
|
8796
|
+
ShaderComponent$Q as ChannelBlur,
|
|
8797
|
+
ShaderComponent$P as Checkerboard,
|
|
8798
|
+
ShaderComponent$O as ChromaFlow,
|
|
8799
|
+
ShaderComponent$N as ChromaticAberration,
|
|
8800
|
+
ShaderComponent$M as Circle,
|
|
8801
|
+
ShaderComponent$L as CursorTrail,
|
|
8802
|
+
ShaderComponent$K as DiffuseBlur,
|
|
8803
|
+
ShaderComponent$J as Dither,
|
|
8804
|
+
ShaderComponent$I as DotGrid,
|
|
8805
|
+
ShaderComponent$H as Duotone,
|
|
8806
|
+
ShaderComponent$G as FilmGrain,
|
|
8807
|
+
ShaderComponent$F as FloatingParticles,
|
|
8808
|
+
ShaderComponent$E as GlassTiles,
|
|
8809
|
+
ShaderComponent$D as Glow,
|
|
8810
|
+
ShaderComponent$C as Godrays,
|
|
8811
|
+
ShaderComponent$B as Grayscale,
|
|
8812
|
+
ShaderComponent$A as Grid,
|
|
8813
|
+
ShaderComponent$z as GridDistortion,
|
|
8814
|
+
ShaderComponent$y as Group,
|
|
8815
|
+
ShaderComponent$x as Halftone,
|
|
8816
|
+
ShaderComponent$w as HueShift,
|
|
8817
|
+
ShaderComponent$v as ImageTexture,
|
|
8818
|
+
ShaderComponent$u as Invert,
|
|
8819
|
+
ShaderComponent$t as LinearBlur,
|
|
8820
|
+
ShaderComponent$s as LinearGradient,
|
|
8821
|
+
ShaderComponent$r as Liquify,
|
|
8822
|
+
ShaderComponent$q as Perspective,
|
|
8823
|
+
ShaderComponent$p as Pixelate,
|
|
8824
|
+
ShaderComponent$o as PolarCoordinates,
|
|
8825
|
+
ShaderComponent$n as Posterize,
|
|
8826
|
+
ShaderComponent$m as ProgressiveBlur,
|
|
8827
|
+
ShaderComponent$l as RadialGradient,
|
|
8828
|
+
ShaderComponent$k as RectangularCoordinates,
|
|
8829
|
+
ShaderComponent$j as Ripples,
|
|
8830
|
+
ShaderComponent$i as Saturation,
|
|
8690
8831
|
Shader,
|
|
8691
|
-
ShaderComponent$
|
|
8832
|
+
ShaderComponent$h as Sharpness,
|
|
8833
|
+
ShaderComponent$g as Shatter,
|
|
8692
8834
|
ShaderComponent$f as SimplexNoise,
|
|
8693
8835
|
ShaderComponent$e as SineWave,
|
|
8694
8836
|
ShaderComponent$d as SolidColor,
|