shaders 2.2.42 → 2.2.43
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/WebcamTexture-D4Uv7Plz.js +168 -0
- package/dist/core/index.js +11 -9
- package/dist/core/shaderRegistry.d.ts.map +1 -1
- package/dist/core/shaders/WebcamTexture/index.d.ts +21 -0
- package/dist/core/shaders/WebcamTexture/index.d.ts.map +1 -0
- package/dist/core/shaders/WebcamTexture/index.js +2 -0
- package/dist/core/shaders/ZoomBlur/index.js +1 -1
- package/dist/react/components/WebcamTexture.d.ts +31 -0
- package/dist/react/components/WebcamTexture.d.ts.map +1 -0
- package/dist/react/{generatePresetCode-BrkW1bEe.js → generatePresetCode-D0yiVxb4.js} +7 -0
- package/dist/react/index.d.ts +1 -0
- package/dist/react/index.d.ts.map +1 -1
- package/dist/react/index.js +570 -431
- package/dist/react/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/react/utils/generatePresetCode.js +1 -1
- package/dist/registry.js +91 -0
- package/dist/solid/components/WebcamTexture.d.ts +28 -0
- package/dist/solid/components/WebcamTexture.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 +508 -366
- package/dist/solid/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/solid/utils/generatePresetCode.js +7 -0
- package/dist/svelte/components/WebcamTexture.svelte.d.ts +19 -0
- package/dist/svelte/{generatePresetCode-bx7z5wvC.js → generatePresetCode-DUGaV_ym.js} +7 -0
- package/dist/svelte/index.d.ts +1 -0
- package/dist/svelte/index.js +115 -4
- package/dist/svelte/utils/generatePresetCode.js +1 -1
- package/dist/vue/components/WebcamTexture.vue.d.ts +57 -0
- package/dist/vue/components/WebcamTexture.vue.d.ts.map +1 -0
- package/dist/vue/{generatePresetCode-_7ZzqQPH.js → generatePresetCode-CShQ8TLw.js} +7 -0
- package/dist/vue/index.d.ts +1 -0
- package/dist/vue/index.d.ts.map +1 -1
- package/dist/vue/index.js +131 -9
- 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/{ZoomBlur-CTrw7HxX.js → ZoomBlur-CIkkDBIo.js} +0 -0
package/dist/solid/index.js
CHANGED
|
@@ -63,7 +63,8 @@ import { componentDefinition as componentDefinition$U } from "../core/shaders/Tr
|
|
|
63
63
|
import { componentDefinition as componentDefinition$V } from "../core/shaders/Twirl/index.js";
|
|
64
64
|
import { componentDefinition as componentDefinition$W } from "../core/shaders/Vibrance/index.js";
|
|
65
65
|
import { componentDefinition as componentDefinition$X } from "../core/shaders/WaveDistortion/index.js";
|
|
66
|
-
import { componentDefinition as componentDefinition$Y } from "../core/shaders/
|
|
66
|
+
import { componentDefinition as componentDefinition$Y } from "../core/shaders/WebcamTexture/index.js";
|
|
67
|
+
import { componentDefinition as componentDefinition$Z } from "../core/shaders/ZoomBlur/index.js";
|
|
67
68
|
import { generatePresetCode } from "./utils/generatePresetCode.js";
|
|
68
69
|
var _tmpl$ = /* @__PURE__ */ template(`<div><canvas data-renderer=shaders style=width:100%;height:100%;display:block>`);
|
|
69
70
|
const ShaderContext = createContext();
|
|
@@ -244,7 +245,7 @@ function useShaderContext() {
|
|
|
244
245
|
}
|
|
245
246
|
return ctx;
|
|
246
247
|
}
|
|
247
|
-
const DEFAULT_TRANSFORM$
|
|
248
|
+
const DEFAULT_TRANSFORM$Z = {
|
|
248
249
|
offsetX: 0,
|
|
249
250
|
offsetY: 0,
|
|
250
251
|
rotation: 0,
|
|
@@ -253,7 +254,7 @@ const DEFAULT_TRANSFORM$Y = {
|
|
|
253
254
|
anchorY: 0.5,
|
|
254
255
|
edges: "transparent"
|
|
255
256
|
};
|
|
256
|
-
const defaultProps$
|
|
257
|
+
const defaultProps$Z = {
|
|
257
258
|
blendMode: "normal",
|
|
258
259
|
renderOrder: 0,
|
|
259
260
|
visible: true
|
|
@@ -263,6 +264,146 @@ const defaultProps$Y = {
|
|
|
263
264
|
try {
|
|
264
265
|
if (componentDefinition && componentDefinition.props) {
|
|
265
266
|
Object.entries(componentDefinition.props).forEach(([key, config]) => {
|
|
267
|
+
const propConfig = config;
|
|
268
|
+
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
269
|
+
defaultProps$Z[key] = propConfig.default;
|
|
270
|
+
}
|
|
271
|
+
});
|
|
272
|
+
}
|
|
273
|
+
} catch (e) {
|
|
274
|
+
console.warn("Error extracting default props:", e);
|
|
275
|
+
}
|
|
276
|
+
function ShaderComponent$Z(props) {
|
|
277
|
+
const [local, otherProps] = splitProps(props, ["children"]);
|
|
278
|
+
const context = useShaderContext();
|
|
279
|
+
const {
|
|
280
|
+
shaderParentId: parentId,
|
|
281
|
+
shaderNodeRegister: parentRegister,
|
|
282
|
+
shaderUniformUpdate: parentUniformUpdate,
|
|
283
|
+
shaderMetadataUpdate: parentMetadataUpdate
|
|
284
|
+
} = context;
|
|
285
|
+
const instanceId = props.id || `${componentDefinition.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
286
|
+
const effectiveProps = createMemo(() => {
|
|
287
|
+
let baseProps = {
|
|
288
|
+
...defaultProps$Z
|
|
289
|
+
};
|
|
290
|
+
for (const [key, value] of Object.entries(otherProps)) {
|
|
291
|
+
if (value !== void 0) {
|
|
292
|
+
baseProps[key] = value;
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
return baseProps;
|
|
296
|
+
});
|
|
297
|
+
const effectiveTransform = createMemo(() => ({
|
|
298
|
+
...DEFAULT_TRANSFORM$Z,
|
|
299
|
+
...props.transform
|
|
300
|
+
}));
|
|
301
|
+
let uniformsMap = null;
|
|
302
|
+
const getUniformsMap = () => {
|
|
303
|
+
if (!uniformsMap) {
|
|
304
|
+
uniformsMap = createUniformsMap(componentDefinition, effectiveProps(), instanceId);
|
|
305
|
+
}
|
|
306
|
+
return uniformsMap;
|
|
307
|
+
};
|
|
308
|
+
const childContextValue = createMemo(() => ({
|
|
309
|
+
...context,
|
|
310
|
+
shaderParentId: instanceId
|
|
311
|
+
}));
|
|
312
|
+
let isRegistered = false;
|
|
313
|
+
onMount(() => {
|
|
314
|
+
const uniforms = getUniformsMap();
|
|
315
|
+
if (!uniforms) return;
|
|
316
|
+
try {
|
|
317
|
+
const metadata = {
|
|
318
|
+
blendMode: props.blendMode || "normal",
|
|
319
|
+
opacity: props.opacity,
|
|
320
|
+
visible: props.visible === false ? false : true,
|
|
321
|
+
id: props.id,
|
|
322
|
+
mask: props.maskSource ? {
|
|
323
|
+
source: props.maskSource,
|
|
324
|
+
type: props.maskType || "alpha"
|
|
325
|
+
} : void 0,
|
|
326
|
+
renderOrder: props.renderOrder || 0,
|
|
327
|
+
transform: effectiveTransform()
|
|
328
|
+
};
|
|
329
|
+
parentRegister(instanceId, componentDefinition.fragmentNode, parentId, metadata, uniforms, componentDefinition);
|
|
330
|
+
isRegistered = true;
|
|
331
|
+
} catch (error) {
|
|
332
|
+
console.error("Error registering shader node:", error);
|
|
333
|
+
}
|
|
334
|
+
});
|
|
335
|
+
onCleanup(() => {
|
|
336
|
+
isRegistered = false;
|
|
337
|
+
parentRegister(instanceId, null, null, null, null);
|
|
338
|
+
});
|
|
339
|
+
createEffect(() => {
|
|
340
|
+
if (!isRegistered) return;
|
|
341
|
+
const uniforms = getUniformsMap();
|
|
342
|
+
if (!uniforms) return;
|
|
343
|
+
try {
|
|
344
|
+
const props_snapshot = effectiveProps();
|
|
345
|
+
Object.entries(uniforms).forEach(([propName, uniformData]) => {
|
|
346
|
+
if (!uniformData || typeof uniformData !== "object") return;
|
|
347
|
+
const {
|
|
348
|
+
uniform
|
|
349
|
+
} = uniformData;
|
|
350
|
+
if ((uniform == null ? void 0 : uniform.value) !== void 0 && propName in props_snapshot) {
|
|
351
|
+
const newValue = props_snapshot[propName];
|
|
352
|
+
parentUniformUpdate(instanceId, propName, newValue);
|
|
353
|
+
}
|
|
354
|
+
});
|
|
355
|
+
} catch (error) {
|
|
356
|
+
console.error("Error updating uniforms:", error);
|
|
357
|
+
}
|
|
358
|
+
});
|
|
359
|
+
createEffect(() => {
|
|
360
|
+
if (!isRegistered) return;
|
|
361
|
+
try {
|
|
362
|
+
const metadata = {
|
|
363
|
+
blendMode: props.blendMode || "normal",
|
|
364
|
+
opacity: props.opacity,
|
|
365
|
+
visible: props.visible === false ? false : true,
|
|
366
|
+
id: props.id,
|
|
367
|
+
mask: props.maskSource ? {
|
|
368
|
+
source: props.maskSource,
|
|
369
|
+
type: props.maskType || "alpha"
|
|
370
|
+
} : void 0,
|
|
371
|
+
renderOrder: props.renderOrder || 0,
|
|
372
|
+
transform: effectiveTransform()
|
|
373
|
+
};
|
|
374
|
+
parentMetadataUpdate(instanceId, metadata);
|
|
375
|
+
} catch (error) {
|
|
376
|
+
console.error("Error updating metadata:", error);
|
|
377
|
+
}
|
|
378
|
+
});
|
|
379
|
+
return createComponent(ShaderContext.Provider, {
|
|
380
|
+
get value() {
|
|
381
|
+
return childContextValue();
|
|
382
|
+
},
|
|
383
|
+
get children() {
|
|
384
|
+
return local.children;
|
|
385
|
+
}
|
|
386
|
+
});
|
|
387
|
+
}
|
|
388
|
+
const DEFAULT_TRANSFORM$Y = {
|
|
389
|
+
offsetX: 0,
|
|
390
|
+
offsetY: 0,
|
|
391
|
+
rotation: 0,
|
|
392
|
+
scale: 1,
|
|
393
|
+
anchorX: 0.5,
|
|
394
|
+
anchorY: 0.5,
|
|
395
|
+
edges: "transparent"
|
|
396
|
+
};
|
|
397
|
+
const defaultProps$Y = {
|
|
398
|
+
blendMode: "normal",
|
|
399
|
+
renderOrder: 0,
|
|
400
|
+
visible: true
|
|
401
|
+
// opacity intentionally has no default - handled by renderer
|
|
402
|
+
// transform intentionally has no default - handled by effectiveTransform
|
|
403
|
+
};
|
|
404
|
+
try {
|
|
405
|
+
if (componentDefinition$1 && componentDefinition$1.props) {
|
|
406
|
+
Object.entries(componentDefinition$1.props).forEach(([key, config]) => {
|
|
266
407
|
const propConfig = config;
|
|
267
408
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
268
409
|
defaultProps$Y[key] = propConfig.default;
|
|
@@ -281,7 +422,7 @@ function ShaderComponent$Y(props) {
|
|
|
281
422
|
shaderUniformUpdate: parentUniformUpdate,
|
|
282
423
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
283
424
|
} = context;
|
|
284
|
-
const instanceId = props.id || `${componentDefinition.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
425
|
+
const instanceId = props.id || `${componentDefinition$1.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
285
426
|
const effectiveProps = createMemo(() => {
|
|
286
427
|
let baseProps = {
|
|
287
428
|
...defaultProps$Y
|
|
@@ -300,7 +441,7 @@ function ShaderComponent$Y(props) {
|
|
|
300
441
|
let uniformsMap = null;
|
|
301
442
|
const getUniformsMap = () => {
|
|
302
443
|
if (!uniformsMap) {
|
|
303
|
-
uniformsMap = createUniformsMap(componentDefinition, effectiveProps(), instanceId);
|
|
444
|
+
uniformsMap = createUniformsMap(componentDefinition$1, effectiveProps(), instanceId);
|
|
304
445
|
}
|
|
305
446
|
return uniformsMap;
|
|
306
447
|
};
|
|
@@ -325,7 +466,7 @@ function ShaderComponent$Y(props) {
|
|
|
325
466
|
renderOrder: props.renderOrder || 0,
|
|
326
467
|
transform: effectiveTransform()
|
|
327
468
|
};
|
|
328
|
-
parentRegister(instanceId, componentDefinition.fragmentNode, parentId, metadata, uniforms, componentDefinition);
|
|
469
|
+
parentRegister(instanceId, componentDefinition$1.fragmentNode, parentId, metadata, uniforms, componentDefinition$1);
|
|
329
470
|
isRegistered = true;
|
|
330
471
|
} catch (error) {
|
|
331
472
|
console.error("Error registering shader node:", error);
|
|
@@ -401,8 +542,8 @@ const defaultProps$X = {
|
|
|
401
542
|
// transform intentionally has no default - handled by effectiveTransform
|
|
402
543
|
};
|
|
403
544
|
try {
|
|
404
|
-
if (componentDefinition$
|
|
405
|
-
Object.entries(componentDefinition$
|
|
545
|
+
if (componentDefinition$2 && componentDefinition$2.props) {
|
|
546
|
+
Object.entries(componentDefinition$2.props).forEach(([key, config]) => {
|
|
406
547
|
const propConfig = config;
|
|
407
548
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
408
549
|
defaultProps$X[key] = propConfig.default;
|
|
@@ -421,7 +562,7 @@ function ShaderComponent$X(props) {
|
|
|
421
562
|
shaderUniformUpdate: parentUniformUpdate,
|
|
422
563
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
423
564
|
} = context;
|
|
424
|
-
const instanceId = props.id || `${componentDefinition$
|
|
565
|
+
const instanceId = props.id || `${componentDefinition$2.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
425
566
|
const effectiveProps = createMemo(() => {
|
|
426
567
|
let baseProps = {
|
|
427
568
|
...defaultProps$X
|
|
@@ -440,7 +581,7 @@ function ShaderComponent$X(props) {
|
|
|
440
581
|
let uniformsMap = null;
|
|
441
582
|
const getUniformsMap = () => {
|
|
442
583
|
if (!uniformsMap) {
|
|
443
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
584
|
+
uniformsMap = createUniformsMap(componentDefinition$2, effectiveProps(), instanceId);
|
|
444
585
|
}
|
|
445
586
|
return uniformsMap;
|
|
446
587
|
};
|
|
@@ -465,7 +606,7 @@ function ShaderComponent$X(props) {
|
|
|
465
606
|
renderOrder: props.renderOrder || 0,
|
|
466
607
|
transform: effectiveTransform()
|
|
467
608
|
};
|
|
468
|
-
parentRegister(instanceId, componentDefinition$
|
|
609
|
+
parentRegister(instanceId, componentDefinition$2.fragmentNode, parentId, metadata, uniforms, componentDefinition$2);
|
|
469
610
|
isRegistered = true;
|
|
470
611
|
} catch (error) {
|
|
471
612
|
console.error("Error registering shader node:", error);
|
|
@@ -541,8 +682,8 @@ const defaultProps$W = {
|
|
|
541
682
|
// transform intentionally has no default - handled by effectiveTransform
|
|
542
683
|
};
|
|
543
684
|
try {
|
|
544
|
-
if (componentDefinition$
|
|
545
|
-
Object.entries(componentDefinition$
|
|
685
|
+
if (componentDefinition$3 && componentDefinition$3.props) {
|
|
686
|
+
Object.entries(componentDefinition$3.props).forEach(([key, config]) => {
|
|
546
687
|
const propConfig = config;
|
|
547
688
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
548
689
|
defaultProps$W[key] = propConfig.default;
|
|
@@ -561,7 +702,7 @@ function ShaderComponent$W(props) {
|
|
|
561
702
|
shaderUniformUpdate: parentUniformUpdate,
|
|
562
703
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
563
704
|
} = context;
|
|
564
|
-
const instanceId = props.id || `${componentDefinition$
|
|
705
|
+
const instanceId = props.id || `${componentDefinition$3.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
565
706
|
const effectiveProps = createMemo(() => {
|
|
566
707
|
let baseProps = {
|
|
567
708
|
...defaultProps$W
|
|
@@ -580,7 +721,7 @@ function ShaderComponent$W(props) {
|
|
|
580
721
|
let uniformsMap = null;
|
|
581
722
|
const getUniformsMap = () => {
|
|
582
723
|
if (!uniformsMap) {
|
|
583
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
724
|
+
uniformsMap = createUniformsMap(componentDefinition$3, effectiveProps(), instanceId);
|
|
584
725
|
}
|
|
585
726
|
return uniformsMap;
|
|
586
727
|
};
|
|
@@ -605,7 +746,7 @@ function ShaderComponent$W(props) {
|
|
|
605
746
|
renderOrder: props.renderOrder || 0,
|
|
606
747
|
transform: effectiveTransform()
|
|
607
748
|
};
|
|
608
|
-
parentRegister(instanceId, componentDefinition$
|
|
749
|
+
parentRegister(instanceId, componentDefinition$3.fragmentNode, parentId, metadata, uniforms, componentDefinition$3);
|
|
609
750
|
isRegistered = true;
|
|
610
751
|
} catch (error) {
|
|
611
752
|
console.error("Error registering shader node:", error);
|
|
@@ -681,8 +822,8 @@ const defaultProps$V = {
|
|
|
681
822
|
// transform intentionally has no default - handled by effectiveTransform
|
|
682
823
|
};
|
|
683
824
|
try {
|
|
684
|
-
if (componentDefinition$
|
|
685
|
-
Object.entries(componentDefinition$
|
|
825
|
+
if (componentDefinition$4 && componentDefinition$4.props) {
|
|
826
|
+
Object.entries(componentDefinition$4.props).forEach(([key, config]) => {
|
|
686
827
|
const propConfig = config;
|
|
687
828
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
688
829
|
defaultProps$V[key] = propConfig.default;
|
|
@@ -701,7 +842,7 @@ function ShaderComponent$V(props) {
|
|
|
701
842
|
shaderUniformUpdate: parentUniformUpdate,
|
|
702
843
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
703
844
|
} = context;
|
|
704
|
-
const instanceId = props.id || `${componentDefinition$
|
|
845
|
+
const instanceId = props.id || `${componentDefinition$4.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
705
846
|
const effectiveProps = createMemo(() => {
|
|
706
847
|
let baseProps = {
|
|
707
848
|
...defaultProps$V
|
|
@@ -720,7 +861,7 @@ function ShaderComponent$V(props) {
|
|
|
720
861
|
let uniformsMap = null;
|
|
721
862
|
const getUniformsMap = () => {
|
|
722
863
|
if (!uniformsMap) {
|
|
723
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
864
|
+
uniformsMap = createUniformsMap(componentDefinition$4, effectiveProps(), instanceId);
|
|
724
865
|
}
|
|
725
866
|
return uniformsMap;
|
|
726
867
|
};
|
|
@@ -745,7 +886,7 @@ function ShaderComponent$V(props) {
|
|
|
745
886
|
renderOrder: props.renderOrder || 0,
|
|
746
887
|
transform: effectiveTransform()
|
|
747
888
|
};
|
|
748
|
-
parentRegister(instanceId, componentDefinition$
|
|
889
|
+
parentRegister(instanceId, componentDefinition$4.fragmentNode, parentId, metadata, uniforms, componentDefinition$4);
|
|
749
890
|
isRegistered = true;
|
|
750
891
|
} catch (error) {
|
|
751
892
|
console.error("Error registering shader node:", error);
|
|
@@ -821,8 +962,8 @@ const defaultProps$U = {
|
|
|
821
962
|
// transform intentionally has no default - handled by effectiveTransform
|
|
822
963
|
};
|
|
823
964
|
try {
|
|
824
|
-
if (componentDefinition$
|
|
825
|
-
Object.entries(componentDefinition$
|
|
965
|
+
if (componentDefinition$5 && componentDefinition$5.props) {
|
|
966
|
+
Object.entries(componentDefinition$5.props).forEach(([key, config]) => {
|
|
826
967
|
const propConfig = config;
|
|
827
968
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
828
969
|
defaultProps$U[key] = propConfig.default;
|
|
@@ -841,7 +982,7 @@ function ShaderComponent$U(props) {
|
|
|
841
982
|
shaderUniformUpdate: parentUniformUpdate,
|
|
842
983
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
843
984
|
} = context;
|
|
844
|
-
const instanceId = props.id || `${componentDefinition$
|
|
985
|
+
const instanceId = props.id || `${componentDefinition$5.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
845
986
|
const effectiveProps = createMemo(() => {
|
|
846
987
|
let baseProps = {
|
|
847
988
|
...defaultProps$U
|
|
@@ -860,7 +1001,7 @@ function ShaderComponent$U(props) {
|
|
|
860
1001
|
let uniformsMap = null;
|
|
861
1002
|
const getUniformsMap = () => {
|
|
862
1003
|
if (!uniformsMap) {
|
|
863
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
1004
|
+
uniformsMap = createUniformsMap(componentDefinition$5, effectiveProps(), instanceId);
|
|
864
1005
|
}
|
|
865
1006
|
return uniformsMap;
|
|
866
1007
|
};
|
|
@@ -885,7 +1026,7 @@ function ShaderComponent$U(props) {
|
|
|
885
1026
|
renderOrder: props.renderOrder || 0,
|
|
886
1027
|
transform: effectiveTransform()
|
|
887
1028
|
};
|
|
888
|
-
parentRegister(instanceId, componentDefinition$
|
|
1029
|
+
parentRegister(instanceId, componentDefinition$5.fragmentNode, parentId, metadata, uniforms, componentDefinition$5);
|
|
889
1030
|
isRegistered = true;
|
|
890
1031
|
} catch (error) {
|
|
891
1032
|
console.error("Error registering shader node:", error);
|
|
@@ -961,8 +1102,8 @@ const defaultProps$T = {
|
|
|
961
1102
|
// transform intentionally has no default - handled by effectiveTransform
|
|
962
1103
|
};
|
|
963
1104
|
try {
|
|
964
|
-
if (componentDefinition$
|
|
965
|
-
Object.entries(componentDefinition$
|
|
1105
|
+
if (componentDefinition$6 && componentDefinition$6.props) {
|
|
1106
|
+
Object.entries(componentDefinition$6.props).forEach(([key, config]) => {
|
|
966
1107
|
const propConfig = config;
|
|
967
1108
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
968
1109
|
defaultProps$T[key] = propConfig.default;
|
|
@@ -981,7 +1122,7 @@ function ShaderComponent$T(props) {
|
|
|
981
1122
|
shaderUniformUpdate: parentUniformUpdate,
|
|
982
1123
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
983
1124
|
} = context;
|
|
984
|
-
const instanceId = props.id || `${componentDefinition$
|
|
1125
|
+
const instanceId = props.id || `${componentDefinition$6.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
985
1126
|
const effectiveProps = createMemo(() => {
|
|
986
1127
|
let baseProps = {
|
|
987
1128
|
...defaultProps$T
|
|
@@ -1000,7 +1141,7 @@ function ShaderComponent$T(props) {
|
|
|
1000
1141
|
let uniformsMap = null;
|
|
1001
1142
|
const getUniformsMap = () => {
|
|
1002
1143
|
if (!uniformsMap) {
|
|
1003
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
1144
|
+
uniformsMap = createUniformsMap(componentDefinition$6, effectiveProps(), instanceId);
|
|
1004
1145
|
}
|
|
1005
1146
|
return uniformsMap;
|
|
1006
1147
|
};
|
|
@@ -1025,7 +1166,7 @@ function ShaderComponent$T(props) {
|
|
|
1025
1166
|
renderOrder: props.renderOrder || 0,
|
|
1026
1167
|
transform: effectiveTransform()
|
|
1027
1168
|
};
|
|
1028
|
-
parentRegister(instanceId, componentDefinition$
|
|
1169
|
+
parentRegister(instanceId, componentDefinition$6.fragmentNode, parentId, metadata, uniforms, componentDefinition$6);
|
|
1029
1170
|
isRegistered = true;
|
|
1030
1171
|
} catch (error) {
|
|
1031
1172
|
console.error("Error registering shader node:", error);
|
|
@@ -1101,8 +1242,8 @@ const defaultProps$S = {
|
|
|
1101
1242
|
// transform intentionally has no default - handled by effectiveTransform
|
|
1102
1243
|
};
|
|
1103
1244
|
try {
|
|
1104
|
-
if (componentDefinition$
|
|
1105
|
-
Object.entries(componentDefinition$
|
|
1245
|
+
if (componentDefinition$7 && componentDefinition$7.props) {
|
|
1246
|
+
Object.entries(componentDefinition$7.props).forEach(([key, config]) => {
|
|
1106
1247
|
const propConfig = config;
|
|
1107
1248
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
1108
1249
|
defaultProps$S[key] = propConfig.default;
|
|
@@ -1121,7 +1262,7 @@ function ShaderComponent$S(props) {
|
|
|
1121
1262
|
shaderUniformUpdate: parentUniformUpdate,
|
|
1122
1263
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
1123
1264
|
} = context;
|
|
1124
|
-
const instanceId = props.id || `${componentDefinition$
|
|
1265
|
+
const instanceId = props.id || `${componentDefinition$7.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1125
1266
|
const effectiveProps = createMemo(() => {
|
|
1126
1267
|
let baseProps = {
|
|
1127
1268
|
...defaultProps$S
|
|
@@ -1140,7 +1281,7 @@ function ShaderComponent$S(props) {
|
|
|
1140
1281
|
let uniformsMap = null;
|
|
1141
1282
|
const getUniformsMap = () => {
|
|
1142
1283
|
if (!uniformsMap) {
|
|
1143
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
1284
|
+
uniformsMap = createUniformsMap(componentDefinition$7, effectiveProps(), instanceId);
|
|
1144
1285
|
}
|
|
1145
1286
|
return uniformsMap;
|
|
1146
1287
|
};
|
|
@@ -1165,7 +1306,7 @@ function ShaderComponent$S(props) {
|
|
|
1165
1306
|
renderOrder: props.renderOrder || 0,
|
|
1166
1307
|
transform: effectiveTransform()
|
|
1167
1308
|
};
|
|
1168
|
-
parentRegister(instanceId, componentDefinition$
|
|
1309
|
+
parentRegister(instanceId, componentDefinition$7.fragmentNode, parentId, metadata, uniforms, componentDefinition$7);
|
|
1169
1310
|
isRegistered = true;
|
|
1170
1311
|
} catch (error) {
|
|
1171
1312
|
console.error("Error registering shader node:", error);
|
|
@@ -1241,8 +1382,8 @@ const defaultProps$R = {
|
|
|
1241
1382
|
// transform intentionally has no default - handled by effectiveTransform
|
|
1242
1383
|
};
|
|
1243
1384
|
try {
|
|
1244
|
-
if (componentDefinition$
|
|
1245
|
-
Object.entries(componentDefinition$
|
|
1385
|
+
if (componentDefinition$8 && componentDefinition$8.props) {
|
|
1386
|
+
Object.entries(componentDefinition$8.props).forEach(([key, config]) => {
|
|
1246
1387
|
const propConfig = config;
|
|
1247
1388
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
1248
1389
|
defaultProps$R[key] = propConfig.default;
|
|
@@ -1261,7 +1402,7 @@ function ShaderComponent$R(props) {
|
|
|
1261
1402
|
shaderUniformUpdate: parentUniformUpdate,
|
|
1262
1403
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
1263
1404
|
} = context;
|
|
1264
|
-
const instanceId = props.id || `${componentDefinition$
|
|
1405
|
+
const instanceId = props.id || `${componentDefinition$8.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1265
1406
|
const effectiveProps = createMemo(() => {
|
|
1266
1407
|
let baseProps = {
|
|
1267
1408
|
...defaultProps$R
|
|
@@ -1280,7 +1421,7 @@ function ShaderComponent$R(props) {
|
|
|
1280
1421
|
let uniformsMap = null;
|
|
1281
1422
|
const getUniformsMap = () => {
|
|
1282
1423
|
if (!uniformsMap) {
|
|
1283
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
1424
|
+
uniformsMap = createUniformsMap(componentDefinition$8, effectiveProps(), instanceId);
|
|
1284
1425
|
}
|
|
1285
1426
|
return uniformsMap;
|
|
1286
1427
|
};
|
|
@@ -1305,7 +1446,7 @@ function ShaderComponent$R(props) {
|
|
|
1305
1446
|
renderOrder: props.renderOrder || 0,
|
|
1306
1447
|
transform: effectiveTransform()
|
|
1307
1448
|
};
|
|
1308
|
-
parentRegister(instanceId, componentDefinition$
|
|
1449
|
+
parentRegister(instanceId, componentDefinition$8.fragmentNode, parentId, metadata, uniforms, componentDefinition$8);
|
|
1309
1450
|
isRegistered = true;
|
|
1310
1451
|
} catch (error) {
|
|
1311
1452
|
console.error("Error registering shader node:", error);
|
|
@@ -1381,8 +1522,8 @@ const defaultProps$Q = {
|
|
|
1381
1522
|
// transform intentionally has no default - handled by effectiveTransform
|
|
1382
1523
|
};
|
|
1383
1524
|
try {
|
|
1384
|
-
if (componentDefinition$
|
|
1385
|
-
Object.entries(componentDefinition$
|
|
1525
|
+
if (componentDefinition$9 && componentDefinition$9.props) {
|
|
1526
|
+
Object.entries(componentDefinition$9.props).forEach(([key, config]) => {
|
|
1386
1527
|
const propConfig = config;
|
|
1387
1528
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
1388
1529
|
defaultProps$Q[key] = propConfig.default;
|
|
@@ -1401,7 +1542,7 @@ function ShaderComponent$Q(props) {
|
|
|
1401
1542
|
shaderUniformUpdate: parentUniformUpdate,
|
|
1402
1543
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
1403
1544
|
} = context;
|
|
1404
|
-
const instanceId = props.id || `${componentDefinition$
|
|
1545
|
+
const instanceId = props.id || `${componentDefinition$9.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1405
1546
|
const effectiveProps = createMemo(() => {
|
|
1406
1547
|
let baseProps = {
|
|
1407
1548
|
...defaultProps$Q
|
|
@@ -1420,7 +1561,7 @@ function ShaderComponent$Q(props) {
|
|
|
1420
1561
|
let uniformsMap = null;
|
|
1421
1562
|
const getUniformsMap = () => {
|
|
1422
1563
|
if (!uniformsMap) {
|
|
1423
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
1564
|
+
uniformsMap = createUniformsMap(componentDefinition$9, effectiveProps(), instanceId);
|
|
1424
1565
|
}
|
|
1425
1566
|
return uniformsMap;
|
|
1426
1567
|
};
|
|
@@ -1445,7 +1586,7 @@ function ShaderComponent$Q(props) {
|
|
|
1445
1586
|
renderOrder: props.renderOrder || 0,
|
|
1446
1587
|
transform: effectiveTransform()
|
|
1447
1588
|
};
|
|
1448
|
-
parentRegister(instanceId, componentDefinition$
|
|
1589
|
+
parentRegister(instanceId, componentDefinition$9.fragmentNode, parentId, metadata, uniforms, componentDefinition$9);
|
|
1449
1590
|
isRegistered = true;
|
|
1450
1591
|
} catch (error) {
|
|
1451
1592
|
console.error("Error registering shader node:", error);
|
|
@@ -1521,8 +1662,8 @@ const defaultProps$P = {
|
|
|
1521
1662
|
// transform intentionally has no default - handled by effectiveTransform
|
|
1522
1663
|
};
|
|
1523
1664
|
try {
|
|
1524
|
-
if (componentDefinition$
|
|
1525
|
-
Object.entries(componentDefinition$
|
|
1665
|
+
if (componentDefinition$a && componentDefinition$a.props) {
|
|
1666
|
+
Object.entries(componentDefinition$a.props).forEach(([key, config]) => {
|
|
1526
1667
|
const propConfig = config;
|
|
1527
1668
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
1528
1669
|
defaultProps$P[key] = propConfig.default;
|
|
@@ -1541,7 +1682,7 @@ function ShaderComponent$P(props) {
|
|
|
1541
1682
|
shaderUniformUpdate: parentUniformUpdate,
|
|
1542
1683
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
1543
1684
|
} = context;
|
|
1544
|
-
const instanceId = props.id || `${componentDefinition$
|
|
1685
|
+
const instanceId = props.id || `${componentDefinition$a.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1545
1686
|
const effectiveProps = createMemo(() => {
|
|
1546
1687
|
let baseProps = {
|
|
1547
1688
|
...defaultProps$P
|
|
@@ -1560,7 +1701,7 @@ function ShaderComponent$P(props) {
|
|
|
1560
1701
|
let uniformsMap = null;
|
|
1561
1702
|
const getUniformsMap = () => {
|
|
1562
1703
|
if (!uniformsMap) {
|
|
1563
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
1704
|
+
uniformsMap = createUniformsMap(componentDefinition$a, effectiveProps(), instanceId);
|
|
1564
1705
|
}
|
|
1565
1706
|
return uniformsMap;
|
|
1566
1707
|
};
|
|
@@ -1585,7 +1726,7 @@ function ShaderComponent$P(props) {
|
|
|
1585
1726
|
renderOrder: props.renderOrder || 0,
|
|
1586
1727
|
transform: effectiveTransform()
|
|
1587
1728
|
};
|
|
1588
|
-
parentRegister(instanceId, componentDefinition$
|
|
1729
|
+
parentRegister(instanceId, componentDefinition$a.fragmentNode, parentId, metadata, uniforms, componentDefinition$a);
|
|
1589
1730
|
isRegistered = true;
|
|
1590
1731
|
} catch (error) {
|
|
1591
1732
|
console.error("Error registering shader node:", error);
|
|
@@ -1661,8 +1802,8 @@ const defaultProps$O = {
|
|
|
1661
1802
|
// transform intentionally has no default - handled by effectiveTransform
|
|
1662
1803
|
};
|
|
1663
1804
|
try {
|
|
1664
|
-
if (componentDefinition$
|
|
1665
|
-
Object.entries(componentDefinition$
|
|
1805
|
+
if (componentDefinition$b && componentDefinition$b.props) {
|
|
1806
|
+
Object.entries(componentDefinition$b.props).forEach(([key, config]) => {
|
|
1666
1807
|
const propConfig = config;
|
|
1667
1808
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
1668
1809
|
defaultProps$O[key] = propConfig.default;
|
|
@@ -1681,7 +1822,7 @@ function ShaderComponent$O(props) {
|
|
|
1681
1822
|
shaderUniformUpdate: parentUniformUpdate,
|
|
1682
1823
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
1683
1824
|
} = context;
|
|
1684
|
-
const instanceId = props.id || `${componentDefinition$
|
|
1825
|
+
const instanceId = props.id || `${componentDefinition$b.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1685
1826
|
const effectiveProps = createMemo(() => {
|
|
1686
1827
|
let baseProps = {
|
|
1687
1828
|
...defaultProps$O
|
|
@@ -1700,7 +1841,7 @@ function ShaderComponent$O(props) {
|
|
|
1700
1841
|
let uniformsMap = null;
|
|
1701
1842
|
const getUniformsMap = () => {
|
|
1702
1843
|
if (!uniformsMap) {
|
|
1703
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
1844
|
+
uniformsMap = createUniformsMap(componentDefinition$b, effectiveProps(), instanceId);
|
|
1704
1845
|
}
|
|
1705
1846
|
return uniformsMap;
|
|
1706
1847
|
};
|
|
@@ -1725,7 +1866,7 @@ function ShaderComponent$O(props) {
|
|
|
1725
1866
|
renderOrder: props.renderOrder || 0,
|
|
1726
1867
|
transform: effectiveTransform()
|
|
1727
1868
|
};
|
|
1728
|
-
parentRegister(instanceId, componentDefinition$
|
|
1869
|
+
parentRegister(instanceId, componentDefinition$b.fragmentNode, parentId, metadata, uniforms, componentDefinition$b);
|
|
1729
1870
|
isRegistered = true;
|
|
1730
1871
|
} catch (error) {
|
|
1731
1872
|
console.error("Error registering shader node:", error);
|
|
@@ -1801,8 +1942,8 @@ const defaultProps$N = {
|
|
|
1801
1942
|
// transform intentionally has no default - handled by effectiveTransform
|
|
1802
1943
|
};
|
|
1803
1944
|
try {
|
|
1804
|
-
if (componentDefinition$
|
|
1805
|
-
Object.entries(componentDefinition$
|
|
1945
|
+
if (componentDefinition$c && componentDefinition$c.props) {
|
|
1946
|
+
Object.entries(componentDefinition$c.props).forEach(([key, config]) => {
|
|
1806
1947
|
const propConfig = config;
|
|
1807
1948
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
1808
1949
|
defaultProps$N[key] = propConfig.default;
|
|
@@ -1821,7 +1962,7 @@ function ShaderComponent$N(props) {
|
|
|
1821
1962
|
shaderUniformUpdate: parentUniformUpdate,
|
|
1822
1963
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
1823
1964
|
} = context;
|
|
1824
|
-
const instanceId = props.id || `${componentDefinition$
|
|
1965
|
+
const instanceId = props.id || `${componentDefinition$c.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1825
1966
|
const effectiveProps = createMemo(() => {
|
|
1826
1967
|
let baseProps = {
|
|
1827
1968
|
...defaultProps$N
|
|
@@ -1840,7 +1981,7 @@ function ShaderComponent$N(props) {
|
|
|
1840
1981
|
let uniformsMap = null;
|
|
1841
1982
|
const getUniformsMap = () => {
|
|
1842
1983
|
if (!uniformsMap) {
|
|
1843
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
1984
|
+
uniformsMap = createUniformsMap(componentDefinition$c, effectiveProps(), instanceId);
|
|
1844
1985
|
}
|
|
1845
1986
|
return uniformsMap;
|
|
1846
1987
|
};
|
|
@@ -1865,7 +2006,7 @@ function ShaderComponent$N(props) {
|
|
|
1865
2006
|
renderOrder: props.renderOrder || 0,
|
|
1866
2007
|
transform: effectiveTransform()
|
|
1867
2008
|
};
|
|
1868
|
-
parentRegister(instanceId, componentDefinition$
|
|
2009
|
+
parentRegister(instanceId, componentDefinition$c.fragmentNode, parentId, metadata, uniforms, componentDefinition$c);
|
|
1869
2010
|
isRegistered = true;
|
|
1870
2011
|
} catch (error) {
|
|
1871
2012
|
console.error("Error registering shader node:", error);
|
|
@@ -1941,8 +2082,8 @@ const defaultProps$M = {
|
|
|
1941
2082
|
// transform intentionally has no default - handled by effectiveTransform
|
|
1942
2083
|
};
|
|
1943
2084
|
try {
|
|
1944
|
-
if (componentDefinition$
|
|
1945
|
-
Object.entries(componentDefinition$
|
|
2085
|
+
if (componentDefinition$d && componentDefinition$d.props) {
|
|
2086
|
+
Object.entries(componentDefinition$d.props).forEach(([key, config]) => {
|
|
1946
2087
|
const propConfig = config;
|
|
1947
2088
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
1948
2089
|
defaultProps$M[key] = propConfig.default;
|
|
@@ -1961,7 +2102,7 @@ function ShaderComponent$M(props) {
|
|
|
1961
2102
|
shaderUniformUpdate: parentUniformUpdate,
|
|
1962
2103
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
1963
2104
|
} = context;
|
|
1964
|
-
const instanceId = props.id || `${componentDefinition$
|
|
2105
|
+
const instanceId = props.id || `${componentDefinition$d.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1965
2106
|
const effectiveProps = createMemo(() => {
|
|
1966
2107
|
let baseProps = {
|
|
1967
2108
|
...defaultProps$M
|
|
@@ -1980,7 +2121,7 @@ function ShaderComponent$M(props) {
|
|
|
1980
2121
|
let uniformsMap = null;
|
|
1981
2122
|
const getUniformsMap = () => {
|
|
1982
2123
|
if (!uniformsMap) {
|
|
1983
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
2124
|
+
uniformsMap = createUniformsMap(componentDefinition$d, effectiveProps(), instanceId);
|
|
1984
2125
|
}
|
|
1985
2126
|
return uniformsMap;
|
|
1986
2127
|
};
|
|
@@ -2005,7 +2146,7 @@ function ShaderComponent$M(props) {
|
|
|
2005
2146
|
renderOrder: props.renderOrder || 0,
|
|
2006
2147
|
transform: effectiveTransform()
|
|
2007
2148
|
};
|
|
2008
|
-
parentRegister(instanceId, componentDefinition$
|
|
2149
|
+
parentRegister(instanceId, componentDefinition$d.fragmentNode, parentId, metadata, uniforms, componentDefinition$d);
|
|
2009
2150
|
isRegistered = true;
|
|
2010
2151
|
} catch (error) {
|
|
2011
2152
|
console.error("Error registering shader node:", error);
|
|
@@ -2081,8 +2222,8 @@ const defaultProps$L = {
|
|
|
2081
2222
|
// transform intentionally has no default - handled by effectiveTransform
|
|
2082
2223
|
};
|
|
2083
2224
|
try {
|
|
2084
|
-
if (componentDefinition$
|
|
2085
|
-
Object.entries(componentDefinition$
|
|
2225
|
+
if (componentDefinition$e && componentDefinition$e.props) {
|
|
2226
|
+
Object.entries(componentDefinition$e.props).forEach(([key, config]) => {
|
|
2086
2227
|
const propConfig = config;
|
|
2087
2228
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
2088
2229
|
defaultProps$L[key] = propConfig.default;
|
|
@@ -2101,7 +2242,7 @@ function ShaderComponent$L(props) {
|
|
|
2101
2242
|
shaderUniformUpdate: parentUniformUpdate,
|
|
2102
2243
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
2103
2244
|
} = context;
|
|
2104
|
-
const instanceId = props.id || `${componentDefinition$
|
|
2245
|
+
const instanceId = props.id || `${componentDefinition$e.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2105
2246
|
const effectiveProps = createMemo(() => {
|
|
2106
2247
|
let baseProps = {
|
|
2107
2248
|
...defaultProps$L
|
|
@@ -2120,7 +2261,7 @@ function ShaderComponent$L(props) {
|
|
|
2120
2261
|
let uniformsMap = null;
|
|
2121
2262
|
const getUniformsMap = () => {
|
|
2122
2263
|
if (!uniformsMap) {
|
|
2123
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
2264
|
+
uniformsMap = createUniformsMap(componentDefinition$e, effectiveProps(), instanceId);
|
|
2124
2265
|
}
|
|
2125
2266
|
return uniformsMap;
|
|
2126
2267
|
};
|
|
@@ -2145,7 +2286,7 @@ function ShaderComponent$L(props) {
|
|
|
2145
2286
|
renderOrder: props.renderOrder || 0,
|
|
2146
2287
|
transform: effectiveTransform()
|
|
2147
2288
|
};
|
|
2148
|
-
parentRegister(instanceId, componentDefinition$
|
|
2289
|
+
parentRegister(instanceId, componentDefinition$e.fragmentNode, parentId, metadata, uniforms, componentDefinition$e);
|
|
2149
2290
|
isRegistered = true;
|
|
2150
2291
|
} catch (error) {
|
|
2151
2292
|
console.error("Error registering shader node:", error);
|
|
@@ -2221,8 +2362,8 @@ const defaultProps$K = {
|
|
|
2221
2362
|
// transform intentionally has no default - handled by effectiveTransform
|
|
2222
2363
|
};
|
|
2223
2364
|
try {
|
|
2224
|
-
if (componentDefinition$
|
|
2225
|
-
Object.entries(componentDefinition$
|
|
2365
|
+
if (componentDefinition$f && componentDefinition$f.props) {
|
|
2366
|
+
Object.entries(componentDefinition$f.props).forEach(([key, config]) => {
|
|
2226
2367
|
const propConfig = config;
|
|
2227
2368
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
2228
2369
|
defaultProps$K[key] = propConfig.default;
|
|
@@ -2241,7 +2382,7 @@ function ShaderComponent$K(props) {
|
|
|
2241
2382
|
shaderUniformUpdate: parentUniformUpdate,
|
|
2242
2383
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
2243
2384
|
} = context;
|
|
2244
|
-
const instanceId = props.id || `${componentDefinition$
|
|
2385
|
+
const instanceId = props.id || `${componentDefinition$f.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2245
2386
|
const effectiveProps = createMemo(() => {
|
|
2246
2387
|
let baseProps = {
|
|
2247
2388
|
...defaultProps$K
|
|
@@ -2260,7 +2401,7 @@ function ShaderComponent$K(props) {
|
|
|
2260
2401
|
let uniformsMap = null;
|
|
2261
2402
|
const getUniformsMap = () => {
|
|
2262
2403
|
if (!uniformsMap) {
|
|
2263
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
2404
|
+
uniformsMap = createUniformsMap(componentDefinition$f, effectiveProps(), instanceId);
|
|
2264
2405
|
}
|
|
2265
2406
|
return uniformsMap;
|
|
2266
2407
|
};
|
|
@@ -2285,7 +2426,7 @@ function ShaderComponent$K(props) {
|
|
|
2285
2426
|
renderOrder: props.renderOrder || 0,
|
|
2286
2427
|
transform: effectiveTransform()
|
|
2287
2428
|
};
|
|
2288
|
-
parentRegister(instanceId, componentDefinition$
|
|
2429
|
+
parentRegister(instanceId, componentDefinition$f.fragmentNode, parentId, metadata, uniforms, componentDefinition$f);
|
|
2289
2430
|
isRegistered = true;
|
|
2290
2431
|
} catch (error) {
|
|
2291
2432
|
console.error("Error registering shader node:", error);
|
|
@@ -2361,8 +2502,8 @@ const defaultProps$J = {
|
|
|
2361
2502
|
// transform intentionally has no default - handled by effectiveTransform
|
|
2362
2503
|
};
|
|
2363
2504
|
try {
|
|
2364
|
-
if (componentDefinition$
|
|
2365
|
-
Object.entries(componentDefinition$
|
|
2505
|
+
if (componentDefinition$g && componentDefinition$g.props) {
|
|
2506
|
+
Object.entries(componentDefinition$g.props).forEach(([key, config]) => {
|
|
2366
2507
|
const propConfig = config;
|
|
2367
2508
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
2368
2509
|
defaultProps$J[key] = propConfig.default;
|
|
@@ -2381,7 +2522,7 @@ function ShaderComponent$J(props) {
|
|
|
2381
2522
|
shaderUniformUpdate: parentUniformUpdate,
|
|
2382
2523
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
2383
2524
|
} = context;
|
|
2384
|
-
const instanceId = props.id || `${componentDefinition$
|
|
2525
|
+
const instanceId = props.id || `${componentDefinition$g.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2385
2526
|
const effectiveProps = createMemo(() => {
|
|
2386
2527
|
let baseProps = {
|
|
2387
2528
|
...defaultProps$J
|
|
@@ -2400,7 +2541,7 @@ function ShaderComponent$J(props) {
|
|
|
2400
2541
|
let uniformsMap = null;
|
|
2401
2542
|
const getUniformsMap = () => {
|
|
2402
2543
|
if (!uniformsMap) {
|
|
2403
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
2544
|
+
uniformsMap = createUniformsMap(componentDefinition$g, effectiveProps(), instanceId);
|
|
2404
2545
|
}
|
|
2405
2546
|
return uniformsMap;
|
|
2406
2547
|
};
|
|
@@ -2425,7 +2566,7 @@ function ShaderComponent$J(props) {
|
|
|
2425
2566
|
renderOrder: props.renderOrder || 0,
|
|
2426
2567
|
transform: effectiveTransform()
|
|
2427
2568
|
};
|
|
2428
|
-
parentRegister(instanceId, componentDefinition$
|
|
2569
|
+
parentRegister(instanceId, componentDefinition$g.fragmentNode, parentId, metadata, uniforms, componentDefinition$g);
|
|
2429
2570
|
isRegistered = true;
|
|
2430
2571
|
} catch (error) {
|
|
2431
2572
|
console.error("Error registering shader node:", error);
|
|
@@ -2501,8 +2642,8 @@ const defaultProps$I = {
|
|
|
2501
2642
|
// transform intentionally has no default - handled by effectiveTransform
|
|
2502
2643
|
};
|
|
2503
2644
|
try {
|
|
2504
|
-
if (componentDefinition$
|
|
2505
|
-
Object.entries(componentDefinition$
|
|
2645
|
+
if (componentDefinition$h && componentDefinition$h.props) {
|
|
2646
|
+
Object.entries(componentDefinition$h.props).forEach(([key, config]) => {
|
|
2506
2647
|
const propConfig = config;
|
|
2507
2648
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
2508
2649
|
defaultProps$I[key] = propConfig.default;
|
|
@@ -2521,7 +2662,7 @@ function ShaderComponent$I(props) {
|
|
|
2521
2662
|
shaderUniformUpdate: parentUniformUpdate,
|
|
2522
2663
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
2523
2664
|
} = context;
|
|
2524
|
-
const instanceId = props.id || `${componentDefinition$
|
|
2665
|
+
const instanceId = props.id || `${componentDefinition$h.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2525
2666
|
const effectiveProps = createMemo(() => {
|
|
2526
2667
|
let baseProps = {
|
|
2527
2668
|
...defaultProps$I
|
|
@@ -2540,7 +2681,7 @@ function ShaderComponent$I(props) {
|
|
|
2540
2681
|
let uniformsMap = null;
|
|
2541
2682
|
const getUniformsMap = () => {
|
|
2542
2683
|
if (!uniformsMap) {
|
|
2543
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
2684
|
+
uniformsMap = createUniformsMap(componentDefinition$h, effectiveProps(), instanceId);
|
|
2544
2685
|
}
|
|
2545
2686
|
return uniformsMap;
|
|
2546
2687
|
};
|
|
@@ -2565,7 +2706,7 @@ function ShaderComponent$I(props) {
|
|
|
2565
2706
|
renderOrder: props.renderOrder || 0,
|
|
2566
2707
|
transform: effectiveTransform()
|
|
2567
2708
|
};
|
|
2568
|
-
parentRegister(instanceId, componentDefinition$
|
|
2709
|
+
parentRegister(instanceId, componentDefinition$h.fragmentNode, parentId, metadata, uniforms, componentDefinition$h);
|
|
2569
2710
|
isRegistered = true;
|
|
2570
2711
|
} catch (error) {
|
|
2571
2712
|
console.error("Error registering shader node:", error);
|
|
@@ -2641,8 +2782,8 @@ const defaultProps$H = {
|
|
|
2641
2782
|
// transform intentionally has no default - handled by effectiveTransform
|
|
2642
2783
|
};
|
|
2643
2784
|
try {
|
|
2644
|
-
if (componentDefinition$
|
|
2645
|
-
Object.entries(componentDefinition$
|
|
2785
|
+
if (componentDefinition$i && componentDefinition$i.props) {
|
|
2786
|
+
Object.entries(componentDefinition$i.props).forEach(([key, config]) => {
|
|
2646
2787
|
const propConfig = config;
|
|
2647
2788
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
2648
2789
|
defaultProps$H[key] = propConfig.default;
|
|
@@ -2661,7 +2802,7 @@ function ShaderComponent$H(props) {
|
|
|
2661
2802
|
shaderUniformUpdate: parentUniformUpdate,
|
|
2662
2803
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
2663
2804
|
} = context;
|
|
2664
|
-
const instanceId = props.id || `${componentDefinition$
|
|
2805
|
+
const instanceId = props.id || `${componentDefinition$i.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2665
2806
|
const effectiveProps = createMemo(() => {
|
|
2666
2807
|
let baseProps = {
|
|
2667
2808
|
...defaultProps$H
|
|
@@ -2680,7 +2821,7 @@ function ShaderComponent$H(props) {
|
|
|
2680
2821
|
let uniformsMap = null;
|
|
2681
2822
|
const getUniformsMap = () => {
|
|
2682
2823
|
if (!uniformsMap) {
|
|
2683
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
2824
|
+
uniformsMap = createUniformsMap(componentDefinition$i, effectiveProps(), instanceId);
|
|
2684
2825
|
}
|
|
2685
2826
|
return uniformsMap;
|
|
2686
2827
|
};
|
|
@@ -2705,7 +2846,7 @@ function ShaderComponent$H(props) {
|
|
|
2705
2846
|
renderOrder: props.renderOrder || 0,
|
|
2706
2847
|
transform: effectiveTransform()
|
|
2707
2848
|
};
|
|
2708
|
-
parentRegister(instanceId, componentDefinition$
|
|
2849
|
+
parentRegister(instanceId, componentDefinition$i.fragmentNode, parentId, metadata, uniforms, componentDefinition$i);
|
|
2709
2850
|
isRegistered = true;
|
|
2710
2851
|
} catch (error) {
|
|
2711
2852
|
console.error("Error registering shader node:", error);
|
|
@@ -2781,8 +2922,8 @@ const defaultProps$G = {
|
|
|
2781
2922
|
// transform intentionally has no default - handled by effectiveTransform
|
|
2782
2923
|
};
|
|
2783
2924
|
try {
|
|
2784
|
-
if (componentDefinition$
|
|
2785
|
-
Object.entries(componentDefinition$
|
|
2925
|
+
if (componentDefinition$j && componentDefinition$j.props) {
|
|
2926
|
+
Object.entries(componentDefinition$j.props).forEach(([key, config]) => {
|
|
2786
2927
|
const propConfig = config;
|
|
2787
2928
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
2788
2929
|
defaultProps$G[key] = propConfig.default;
|
|
@@ -2801,7 +2942,7 @@ function ShaderComponent$G(props) {
|
|
|
2801
2942
|
shaderUniformUpdate: parentUniformUpdate,
|
|
2802
2943
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
2803
2944
|
} = context;
|
|
2804
|
-
const instanceId = props.id || `${componentDefinition$
|
|
2945
|
+
const instanceId = props.id || `${componentDefinition$j.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2805
2946
|
const effectiveProps = createMemo(() => {
|
|
2806
2947
|
let baseProps = {
|
|
2807
2948
|
...defaultProps$G
|
|
@@ -2820,7 +2961,7 @@ function ShaderComponent$G(props) {
|
|
|
2820
2961
|
let uniformsMap = null;
|
|
2821
2962
|
const getUniformsMap = () => {
|
|
2822
2963
|
if (!uniformsMap) {
|
|
2823
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
2964
|
+
uniformsMap = createUniformsMap(componentDefinition$j, effectiveProps(), instanceId);
|
|
2824
2965
|
}
|
|
2825
2966
|
return uniformsMap;
|
|
2826
2967
|
};
|
|
@@ -2845,7 +2986,7 @@ function ShaderComponent$G(props) {
|
|
|
2845
2986
|
renderOrder: props.renderOrder || 0,
|
|
2846
2987
|
transform: effectiveTransform()
|
|
2847
2988
|
};
|
|
2848
|
-
parentRegister(instanceId, componentDefinition$
|
|
2989
|
+
parentRegister(instanceId, componentDefinition$j.fragmentNode, parentId, metadata, uniforms, componentDefinition$j);
|
|
2849
2990
|
isRegistered = true;
|
|
2850
2991
|
} catch (error) {
|
|
2851
2992
|
console.error("Error registering shader node:", error);
|
|
@@ -2921,8 +3062,8 @@ const defaultProps$F = {
|
|
|
2921
3062
|
// transform intentionally has no default - handled by effectiveTransform
|
|
2922
3063
|
};
|
|
2923
3064
|
try {
|
|
2924
|
-
if (componentDefinition$
|
|
2925
|
-
Object.entries(componentDefinition$
|
|
3065
|
+
if (componentDefinition$k && componentDefinition$k.props) {
|
|
3066
|
+
Object.entries(componentDefinition$k.props).forEach(([key, config]) => {
|
|
2926
3067
|
const propConfig = config;
|
|
2927
3068
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
2928
3069
|
defaultProps$F[key] = propConfig.default;
|
|
@@ -2941,7 +3082,7 @@ function ShaderComponent$F(props) {
|
|
|
2941
3082
|
shaderUniformUpdate: parentUniformUpdate,
|
|
2942
3083
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
2943
3084
|
} = context;
|
|
2944
|
-
const instanceId = props.id || `${componentDefinition$
|
|
3085
|
+
const instanceId = props.id || `${componentDefinition$k.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2945
3086
|
const effectiveProps = createMemo(() => {
|
|
2946
3087
|
let baseProps = {
|
|
2947
3088
|
...defaultProps$F
|
|
@@ -2960,7 +3101,7 @@ function ShaderComponent$F(props) {
|
|
|
2960
3101
|
let uniformsMap = null;
|
|
2961
3102
|
const getUniformsMap = () => {
|
|
2962
3103
|
if (!uniformsMap) {
|
|
2963
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
3104
|
+
uniformsMap = createUniformsMap(componentDefinition$k, effectiveProps(), instanceId);
|
|
2964
3105
|
}
|
|
2965
3106
|
return uniformsMap;
|
|
2966
3107
|
};
|
|
@@ -2985,7 +3126,7 @@ function ShaderComponent$F(props) {
|
|
|
2985
3126
|
renderOrder: props.renderOrder || 0,
|
|
2986
3127
|
transform: effectiveTransform()
|
|
2987
3128
|
};
|
|
2988
|
-
parentRegister(instanceId, componentDefinition$
|
|
3129
|
+
parentRegister(instanceId, componentDefinition$k.fragmentNode, parentId, metadata, uniforms, componentDefinition$k);
|
|
2989
3130
|
isRegistered = true;
|
|
2990
3131
|
} catch (error) {
|
|
2991
3132
|
console.error("Error registering shader node:", error);
|
|
@@ -3061,8 +3202,8 @@ const defaultProps$E = {
|
|
|
3061
3202
|
// transform intentionally has no default - handled by effectiveTransform
|
|
3062
3203
|
};
|
|
3063
3204
|
try {
|
|
3064
|
-
if (componentDefinition$
|
|
3065
|
-
Object.entries(componentDefinition$
|
|
3205
|
+
if (componentDefinition$l && componentDefinition$l.props) {
|
|
3206
|
+
Object.entries(componentDefinition$l.props).forEach(([key, config]) => {
|
|
3066
3207
|
const propConfig = config;
|
|
3067
3208
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
3068
3209
|
defaultProps$E[key] = propConfig.default;
|
|
@@ -3081,7 +3222,7 @@ function ShaderComponent$E(props) {
|
|
|
3081
3222
|
shaderUniformUpdate: parentUniformUpdate,
|
|
3082
3223
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
3083
3224
|
} = context;
|
|
3084
|
-
const instanceId = props.id || `${componentDefinition$
|
|
3225
|
+
const instanceId = props.id || `${componentDefinition$l.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3085
3226
|
const effectiveProps = createMemo(() => {
|
|
3086
3227
|
let baseProps = {
|
|
3087
3228
|
...defaultProps$E
|
|
@@ -3100,7 +3241,7 @@ function ShaderComponent$E(props) {
|
|
|
3100
3241
|
let uniformsMap = null;
|
|
3101
3242
|
const getUniformsMap = () => {
|
|
3102
3243
|
if (!uniformsMap) {
|
|
3103
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
3244
|
+
uniformsMap = createUniformsMap(componentDefinition$l, effectiveProps(), instanceId);
|
|
3104
3245
|
}
|
|
3105
3246
|
return uniformsMap;
|
|
3106
3247
|
};
|
|
@@ -3125,7 +3266,7 @@ function ShaderComponent$E(props) {
|
|
|
3125
3266
|
renderOrder: props.renderOrder || 0,
|
|
3126
3267
|
transform: effectiveTransform()
|
|
3127
3268
|
};
|
|
3128
|
-
parentRegister(instanceId, componentDefinition$
|
|
3269
|
+
parentRegister(instanceId, componentDefinition$l.fragmentNode, parentId, metadata, uniforms, componentDefinition$l);
|
|
3129
3270
|
isRegistered = true;
|
|
3130
3271
|
} catch (error) {
|
|
3131
3272
|
console.error("Error registering shader node:", error);
|
|
@@ -3201,8 +3342,8 @@ const defaultProps$D = {
|
|
|
3201
3342
|
// transform intentionally has no default - handled by effectiveTransform
|
|
3202
3343
|
};
|
|
3203
3344
|
try {
|
|
3204
|
-
if (componentDefinition$
|
|
3205
|
-
Object.entries(componentDefinition$
|
|
3345
|
+
if (componentDefinition$m && componentDefinition$m.props) {
|
|
3346
|
+
Object.entries(componentDefinition$m.props).forEach(([key, config]) => {
|
|
3206
3347
|
const propConfig = config;
|
|
3207
3348
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
3208
3349
|
defaultProps$D[key] = propConfig.default;
|
|
@@ -3221,7 +3362,7 @@ function ShaderComponent$D(props) {
|
|
|
3221
3362
|
shaderUniformUpdate: parentUniformUpdate,
|
|
3222
3363
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
3223
3364
|
} = context;
|
|
3224
|
-
const instanceId = props.id || `${componentDefinition$
|
|
3365
|
+
const instanceId = props.id || `${componentDefinition$m.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3225
3366
|
const effectiveProps = createMemo(() => {
|
|
3226
3367
|
let baseProps = {
|
|
3227
3368
|
...defaultProps$D
|
|
@@ -3240,7 +3381,7 @@ function ShaderComponent$D(props) {
|
|
|
3240
3381
|
let uniformsMap = null;
|
|
3241
3382
|
const getUniformsMap = () => {
|
|
3242
3383
|
if (!uniformsMap) {
|
|
3243
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
3384
|
+
uniformsMap = createUniformsMap(componentDefinition$m, effectiveProps(), instanceId);
|
|
3244
3385
|
}
|
|
3245
3386
|
return uniformsMap;
|
|
3246
3387
|
};
|
|
@@ -3265,7 +3406,7 @@ function ShaderComponent$D(props) {
|
|
|
3265
3406
|
renderOrder: props.renderOrder || 0,
|
|
3266
3407
|
transform: effectiveTransform()
|
|
3267
3408
|
};
|
|
3268
|
-
parentRegister(instanceId, componentDefinition$
|
|
3409
|
+
parentRegister(instanceId, componentDefinition$m.fragmentNode, parentId, metadata, uniforms, componentDefinition$m);
|
|
3269
3410
|
isRegistered = true;
|
|
3270
3411
|
} catch (error) {
|
|
3271
3412
|
console.error("Error registering shader node:", error);
|
|
@@ -3341,8 +3482,8 @@ const defaultProps$C = {
|
|
|
3341
3482
|
// transform intentionally has no default - handled by effectiveTransform
|
|
3342
3483
|
};
|
|
3343
3484
|
try {
|
|
3344
|
-
if (componentDefinition$
|
|
3345
|
-
Object.entries(componentDefinition$
|
|
3485
|
+
if (componentDefinition$n && componentDefinition$n.props) {
|
|
3486
|
+
Object.entries(componentDefinition$n.props).forEach(([key, config]) => {
|
|
3346
3487
|
const propConfig = config;
|
|
3347
3488
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
3348
3489
|
defaultProps$C[key] = propConfig.default;
|
|
@@ -3361,7 +3502,7 @@ function ShaderComponent$C(props) {
|
|
|
3361
3502
|
shaderUniformUpdate: parentUniformUpdate,
|
|
3362
3503
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
3363
3504
|
} = context;
|
|
3364
|
-
const instanceId = props.id || `${componentDefinition$
|
|
3505
|
+
const instanceId = props.id || `${componentDefinition$n.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3365
3506
|
const effectiveProps = createMemo(() => {
|
|
3366
3507
|
let baseProps = {
|
|
3367
3508
|
...defaultProps$C
|
|
@@ -3380,7 +3521,7 @@ function ShaderComponent$C(props) {
|
|
|
3380
3521
|
let uniformsMap = null;
|
|
3381
3522
|
const getUniformsMap = () => {
|
|
3382
3523
|
if (!uniformsMap) {
|
|
3383
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
3524
|
+
uniformsMap = createUniformsMap(componentDefinition$n, effectiveProps(), instanceId);
|
|
3384
3525
|
}
|
|
3385
3526
|
return uniformsMap;
|
|
3386
3527
|
};
|
|
@@ -3405,7 +3546,7 @@ function ShaderComponent$C(props) {
|
|
|
3405
3546
|
renderOrder: props.renderOrder || 0,
|
|
3406
3547
|
transform: effectiveTransform()
|
|
3407
3548
|
};
|
|
3408
|
-
parentRegister(instanceId, componentDefinition$
|
|
3549
|
+
parentRegister(instanceId, componentDefinition$n.fragmentNode, parentId, metadata, uniforms, componentDefinition$n);
|
|
3409
3550
|
isRegistered = true;
|
|
3410
3551
|
} catch (error) {
|
|
3411
3552
|
console.error("Error registering shader node:", error);
|
|
@@ -3481,8 +3622,8 @@ const defaultProps$B = {
|
|
|
3481
3622
|
// transform intentionally has no default - handled by effectiveTransform
|
|
3482
3623
|
};
|
|
3483
3624
|
try {
|
|
3484
|
-
if (componentDefinition$
|
|
3485
|
-
Object.entries(componentDefinition$
|
|
3625
|
+
if (componentDefinition$o && componentDefinition$o.props) {
|
|
3626
|
+
Object.entries(componentDefinition$o.props).forEach(([key, config]) => {
|
|
3486
3627
|
const propConfig = config;
|
|
3487
3628
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
3488
3629
|
defaultProps$B[key] = propConfig.default;
|
|
@@ -3501,7 +3642,7 @@ function ShaderComponent$B(props) {
|
|
|
3501
3642
|
shaderUniformUpdate: parentUniformUpdate,
|
|
3502
3643
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
3503
3644
|
} = context;
|
|
3504
|
-
const instanceId = props.id || `${componentDefinition$
|
|
3645
|
+
const instanceId = props.id || `${componentDefinition$o.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3505
3646
|
const effectiveProps = createMemo(() => {
|
|
3506
3647
|
let baseProps = {
|
|
3507
3648
|
...defaultProps$B
|
|
@@ -3520,7 +3661,7 @@ function ShaderComponent$B(props) {
|
|
|
3520
3661
|
let uniformsMap = null;
|
|
3521
3662
|
const getUniformsMap = () => {
|
|
3522
3663
|
if (!uniformsMap) {
|
|
3523
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
3664
|
+
uniformsMap = createUniformsMap(componentDefinition$o, effectiveProps(), instanceId);
|
|
3524
3665
|
}
|
|
3525
3666
|
return uniformsMap;
|
|
3526
3667
|
};
|
|
@@ -3545,7 +3686,7 @@ function ShaderComponent$B(props) {
|
|
|
3545
3686
|
renderOrder: props.renderOrder || 0,
|
|
3546
3687
|
transform: effectiveTransform()
|
|
3547
3688
|
};
|
|
3548
|
-
parentRegister(instanceId, componentDefinition$
|
|
3689
|
+
parentRegister(instanceId, componentDefinition$o.fragmentNode, parentId, metadata, uniforms, componentDefinition$o);
|
|
3549
3690
|
isRegistered = true;
|
|
3550
3691
|
} catch (error) {
|
|
3551
3692
|
console.error("Error registering shader node:", error);
|
|
@@ -3621,8 +3762,8 @@ const defaultProps$A = {
|
|
|
3621
3762
|
// transform intentionally has no default - handled by effectiveTransform
|
|
3622
3763
|
};
|
|
3623
3764
|
try {
|
|
3624
|
-
if (componentDefinition$
|
|
3625
|
-
Object.entries(componentDefinition$
|
|
3765
|
+
if (componentDefinition$p && componentDefinition$p.props) {
|
|
3766
|
+
Object.entries(componentDefinition$p.props).forEach(([key, config]) => {
|
|
3626
3767
|
const propConfig = config;
|
|
3627
3768
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
3628
3769
|
defaultProps$A[key] = propConfig.default;
|
|
@@ -3641,7 +3782,7 @@ function ShaderComponent$A(props) {
|
|
|
3641
3782
|
shaderUniformUpdate: parentUniformUpdate,
|
|
3642
3783
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
3643
3784
|
} = context;
|
|
3644
|
-
const instanceId = props.id || `${componentDefinition$
|
|
3785
|
+
const instanceId = props.id || `${componentDefinition$p.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3645
3786
|
const effectiveProps = createMemo(() => {
|
|
3646
3787
|
let baseProps = {
|
|
3647
3788
|
...defaultProps$A
|
|
@@ -3660,7 +3801,7 @@ function ShaderComponent$A(props) {
|
|
|
3660
3801
|
let uniformsMap = null;
|
|
3661
3802
|
const getUniformsMap = () => {
|
|
3662
3803
|
if (!uniformsMap) {
|
|
3663
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
3804
|
+
uniformsMap = createUniformsMap(componentDefinition$p, effectiveProps(), instanceId);
|
|
3664
3805
|
}
|
|
3665
3806
|
return uniformsMap;
|
|
3666
3807
|
};
|
|
@@ -3685,7 +3826,7 @@ function ShaderComponent$A(props) {
|
|
|
3685
3826
|
renderOrder: props.renderOrder || 0,
|
|
3686
3827
|
transform: effectiveTransform()
|
|
3687
3828
|
};
|
|
3688
|
-
parentRegister(instanceId, componentDefinition$
|
|
3829
|
+
parentRegister(instanceId, componentDefinition$p.fragmentNode, parentId, metadata, uniforms, componentDefinition$p);
|
|
3689
3830
|
isRegistered = true;
|
|
3690
3831
|
} catch (error) {
|
|
3691
3832
|
console.error("Error registering shader node:", error);
|
|
@@ -3761,8 +3902,8 @@ const defaultProps$z = {
|
|
|
3761
3902
|
// transform intentionally has no default - handled by effectiveTransform
|
|
3762
3903
|
};
|
|
3763
3904
|
try {
|
|
3764
|
-
if (componentDefinition$
|
|
3765
|
-
Object.entries(componentDefinition$
|
|
3905
|
+
if (componentDefinition$q && componentDefinition$q.props) {
|
|
3906
|
+
Object.entries(componentDefinition$q.props).forEach(([key, config]) => {
|
|
3766
3907
|
const propConfig = config;
|
|
3767
3908
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
3768
3909
|
defaultProps$z[key] = propConfig.default;
|
|
@@ -3781,7 +3922,7 @@ function ShaderComponent$z(props) {
|
|
|
3781
3922
|
shaderUniformUpdate: parentUniformUpdate,
|
|
3782
3923
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
3783
3924
|
} = context;
|
|
3784
|
-
const instanceId = props.id || `${componentDefinition$
|
|
3925
|
+
const instanceId = props.id || `${componentDefinition$q.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3785
3926
|
const effectiveProps = createMemo(() => {
|
|
3786
3927
|
let baseProps = {
|
|
3787
3928
|
...defaultProps$z
|
|
@@ -3800,7 +3941,7 @@ function ShaderComponent$z(props) {
|
|
|
3800
3941
|
let uniformsMap = null;
|
|
3801
3942
|
const getUniformsMap = () => {
|
|
3802
3943
|
if (!uniformsMap) {
|
|
3803
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
3944
|
+
uniformsMap = createUniformsMap(componentDefinition$q, effectiveProps(), instanceId);
|
|
3804
3945
|
}
|
|
3805
3946
|
return uniformsMap;
|
|
3806
3947
|
};
|
|
@@ -3825,7 +3966,7 @@ function ShaderComponent$z(props) {
|
|
|
3825
3966
|
renderOrder: props.renderOrder || 0,
|
|
3826
3967
|
transform: effectiveTransform()
|
|
3827
3968
|
};
|
|
3828
|
-
parentRegister(instanceId, componentDefinition$
|
|
3969
|
+
parentRegister(instanceId, componentDefinition$q.fragmentNode, parentId, metadata, uniforms, componentDefinition$q);
|
|
3829
3970
|
isRegistered = true;
|
|
3830
3971
|
} catch (error) {
|
|
3831
3972
|
console.error("Error registering shader node:", error);
|
|
@@ -3901,8 +4042,8 @@ const defaultProps$y = {
|
|
|
3901
4042
|
// transform intentionally has no default - handled by effectiveTransform
|
|
3902
4043
|
};
|
|
3903
4044
|
try {
|
|
3904
|
-
if (componentDefinition$
|
|
3905
|
-
Object.entries(componentDefinition$
|
|
4045
|
+
if (componentDefinition$r && componentDefinition$r.props) {
|
|
4046
|
+
Object.entries(componentDefinition$r.props).forEach(([key, config]) => {
|
|
3906
4047
|
const propConfig = config;
|
|
3907
4048
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
3908
4049
|
defaultProps$y[key] = propConfig.default;
|
|
@@ -3921,7 +4062,7 @@ function ShaderComponent$y(props) {
|
|
|
3921
4062
|
shaderUniformUpdate: parentUniformUpdate,
|
|
3922
4063
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
3923
4064
|
} = context;
|
|
3924
|
-
const instanceId = props.id || `${componentDefinition$
|
|
4065
|
+
const instanceId = props.id || `${componentDefinition$r.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3925
4066
|
const effectiveProps = createMemo(() => {
|
|
3926
4067
|
let baseProps = {
|
|
3927
4068
|
...defaultProps$y
|
|
@@ -3940,7 +4081,7 @@ function ShaderComponent$y(props) {
|
|
|
3940
4081
|
let uniformsMap = null;
|
|
3941
4082
|
const getUniformsMap = () => {
|
|
3942
4083
|
if (!uniformsMap) {
|
|
3943
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
4084
|
+
uniformsMap = createUniformsMap(componentDefinition$r, effectiveProps(), instanceId);
|
|
3944
4085
|
}
|
|
3945
4086
|
return uniformsMap;
|
|
3946
4087
|
};
|
|
@@ -3965,7 +4106,7 @@ function ShaderComponent$y(props) {
|
|
|
3965
4106
|
renderOrder: props.renderOrder || 0,
|
|
3966
4107
|
transform: effectiveTransform()
|
|
3967
4108
|
};
|
|
3968
|
-
parentRegister(instanceId, componentDefinition$
|
|
4109
|
+
parentRegister(instanceId, componentDefinition$r.fragmentNode, parentId, metadata, uniforms, componentDefinition$r);
|
|
3969
4110
|
isRegistered = true;
|
|
3970
4111
|
} catch (error) {
|
|
3971
4112
|
console.error("Error registering shader node:", error);
|
|
@@ -4041,8 +4182,8 @@ const defaultProps$x = {
|
|
|
4041
4182
|
// transform intentionally has no default - handled by effectiveTransform
|
|
4042
4183
|
};
|
|
4043
4184
|
try {
|
|
4044
|
-
if (componentDefinition$
|
|
4045
|
-
Object.entries(componentDefinition$
|
|
4185
|
+
if (componentDefinition$s && componentDefinition$s.props) {
|
|
4186
|
+
Object.entries(componentDefinition$s.props).forEach(([key, config]) => {
|
|
4046
4187
|
const propConfig = config;
|
|
4047
4188
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
4048
4189
|
defaultProps$x[key] = propConfig.default;
|
|
@@ -4061,7 +4202,7 @@ function ShaderComponent$x(props) {
|
|
|
4061
4202
|
shaderUniformUpdate: parentUniformUpdate,
|
|
4062
4203
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
4063
4204
|
} = context;
|
|
4064
|
-
const instanceId = props.id || `${componentDefinition$
|
|
4205
|
+
const instanceId = props.id || `${componentDefinition$s.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4065
4206
|
const effectiveProps = createMemo(() => {
|
|
4066
4207
|
let baseProps = {
|
|
4067
4208
|
...defaultProps$x
|
|
@@ -4080,7 +4221,7 @@ function ShaderComponent$x(props) {
|
|
|
4080
4221
|
let uniformsMap = null;
|
|
4081
4222
|
const getUniformsMap = () => {
|
|
4082
4223
|
if (!uniformsMap) {
|
|
4083
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
4224
|
+
uniformsMap = createUniformsMap(componentDefinition$s, effectiveProps(), instanceId);
|
|
4084
4225
|
}
|
|
4085
4226
|
return uniformsMap;
|
|
4086
4227
|
};
|
|
@@ -4105,7 +4246,7 @@ function ShaderComponent$x(props) {
|
|
|
4105
4246
|
renderOrder: props.renderOrder || 0,
|
|
4106
4247
|
transform: effectiveTransform()
|
|
4107
4248
|
};
|
|
4108
|
-
parentRegister(instanceId, componentDefinition$
|
|
4249
|
+
parentRegister(instanceId, componentDefinition$s.fragmentNode, parentId, metadata, uniforms, componentDefinition$s);
|
|
4109
4250
|
isRegistered = true;
|
|
4110
4251
|
} catch (error) {
|
|
4111
4252
|
console.error("Error registering shader node:", error);
|
|
@@ -4181,8 +4322,8 @@ const defaultProps$w = {
|
|
|
4181
4322
|
// transform intentionally has no default - handled by effectiveTransform
|
|
4182
4323
|
};
|
|
4183
4324
|
try {
|
|
4184
|
-
if (componentDefinition$
|
|
4185
|
-
Object.entries(componentDefinition$
|
|
4325
|
+
if (componentDefinition$t && componentDefinition$t.props) {
|
|
4326
|
+
Object.entries(componentDefinition$t.props).forEach(([key, config]) => {
|
|
4186
4327
|
const propConfig = config;
|
|
4187
4328
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
4188
4329
|
defaultProps$w[key] = propConfig.default;
|
|
@@ -4201,7 +4342,7 @@ function ShaderComponent$w(props) {
|
|
|
4201
4342
|
shaderUniformUpdate: parentUniformUpdate,
|
|
4202
4343
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
4203
4344
|
} = context;
|
|
4204
|
-
const instanceId = props.id || `${componentDefinition$
|
|
4345
|
+
const instanceId = props.id || `${componentDefinition$t.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4205
4346
|
const effectiveProps = createMemo(() => {
|
|
4206
4347
|
let baseProps = {
|
|
4207
4348
|
...defaultProps$w
|
|
@@ -4220,7 +4361,7 @@ function ShaderComponent$w(props) {
|
|
|
4220
4361
|
let uniformsMap = null;
|
|
4221
4362
|
const getUniformsMap = () => {
|
|
4222
4363
|
if (!uniformsMap) {
|
|
4223
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
4364
|
+
uniformsMap = createUniformsMap(componentDefinition$t, effectiveProps(), instanceId);
|
|
4224
4365
|
}
|
|
4225
4366
|
return uniformsMap;
|
|
4226
4367
|
};
|
|
@@ -4245,7 +4386,7 @@ function ShaderComponent$w(props) {
|
|
|
4245
4386
|
renderOrder: props.renderOrder || 0,
|
|
4246
4387
|
transform: effectiveTransform()
|
|
4247
4388
|
};
|
|
4248
|
-
parentRegister(instanceId, componentDefinition$
|
|
4389
|
+
parentRegister(instanceId, componentDefinition$t.fragmentNode, parentId, metadata, uniforms, componentDefinition$t);
|
|
4249
4390
|
isRegistered = true;
|
|
4250
4391
|
} catch (error) {
|
|
4251
4392
|
console.error("Error registering shader node:", error);
|
|
@@ -4321,8 +4462,8 @@ const defaultProps$v = {
|
|
|
4321
4462
|
// transform intentionally has no default - handled by effectiveTransform
|
|
4322
4463
|
};
|
|
4323
4464
|
try {
|
|
4324
|
-
if (componentDefinition$
|
|
4325
|
-
Object.entries(componentDefinition$
|
|
4465
|
+
if (componentDefinition$u && componentDefinition$u.props) {
|
|
4466
|
+
Object.entries(componentDefinition$u.props).forEach(([key, config]) => {
|
|
4326
4467
|
const propConfig = config;
|
|
4327
4468
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
4328
4469
|
defaultProps$v[key] = propConfig.default;
|
|
@@ -4341,7 +4482,7 @@ function ShaderComponent$v(props) {
|
|
|
4341
4482
|
shaderUniformUpdate: parentUniformUpdate,
|
|
4342
4483
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
4343
4484
|
} = context;
|
|
4344
|
-
const instanceId = props.id || `${componentDefinition$
|
|
4485
|
+
const instanceId = props.id || `${componentDefinition$u.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4345
4486
|
const effectiveProps = createMemo(() => {
|
|
4346
4487
|
let baseProps = {
|
|
4347
4488
|
...defaultProps$v
|
|
@@ -4360,7 +4501,7 @@ function ShaderComponent$v(props) {
|
|
|
4360
4501
|
let uniformsMap = null;
|
|
4361
4502
|
const getUniformsMap = () => {
|
|
4362
4503
|
if (!uniformsMap) {
|
|
4363
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
4504
|
+
uniformsMap = createUniformsMap(componentDefinition$u, effectiveProps(), instanceId);
|
|
4364
4505
|
}
|
|
4365
4506
|
return uniformsMap;
|
|
4366
4507
|
};
|
|
@@ -4385,7 +4526,7 @@ function ShaderComponent$v(props) {
|
|
|
4385
4526
|
renderOrder: props.renderOrder || 0,
|
|
4386
4527
|
transform: effectiveTransform()
|
|
4387
4528
|
};
|
|
4388
|
-
parentRegister(instanceId, componentDefinition$
|
|
4529
|
+
parentRegister(instanceId, componentDefinition$u.fragmentNode, parentId, metadata, uniforms, componentDefinition$u);
|
|
4389
4530
|
isRegistered = true;
|
|
4390
4531
|
} catch (error) {
|
|
4391
4532
|
console.error("Error registering shader node:", error);
|
|
@@ -4461,8 +4602,8 @@ const defaultProps$u = {
|
|
|
4461
4602
|
// transform intentionally has no default - handled by effectiveTransform
|
|
4462
4603
|
};
|
|
4463
4604
|
try {
|
|
4464
|
-
if (componentDefinition$
|
|
4465
|
-
Object.entries(componentDefinition$
|
|
4605
|
+
if (componentDefinition$v && componentDefinition$v.props) {
|
|
4606
|
+
Object.entries(componentDefinition$v.props).forEach(([key, config]) => {
|
|
4466
4607
|
const propConfig = config;
|
|
4467
4608
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
4468
4609
|
defaultProps$u[key] = propConfig.default;
|
|
@@ -4481,7 +4622,7 @@ function ShaderComponent$u(props) {
|
|
|
4481
4622
|
shaderUniformUpdate: parentUniformUpdate,
|
|
4482
4623
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
4483
4624
|
} = context;
|
|
4484
|
-
const instanceId = props.id || `${componentDefinition$
|
|
4625
|
+
const instanceId = props.id || `${componentDefinition$v.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4485
4626
|
const effectiveProps = createMemo(() => {
|
|
4486
4627
|
let baseProps = {
|
|
4487
4628
|
...defaultProps$u
|
|
@@ -4500,7 +4641,7 @@ function ShaderComponent$u(props) {
|
|
|
4500
4641
|
let uniformsMap = null;
|
|
4501
4642
|
const getUniformsMap = () => {
|
|
4502
4643
|
if (!uniformsMap) {
|
|
4503
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
4644
|
+
uniformsMap = createUniformsMap(componentDefinition$v, effectiveProps(), instanceId);
|
|
4504
4645
|
}
|
|
4505
4646
|
return uniformsMap;
|
|
4506
4647
|
};
|
|
@@ -4525,7 +4666,7 @@ function ShaderComponent$u(props) {
|
|
|
4525
4666
|
renderOrder: props.renderOrder || 0,
|
|
4526
4667
|
transform: effectiveTransform()
|
|
4527
4668
|
};
|
|
4528
|
-
parentRegister(instanceId, componentDefinition$
|
|
4669
|
+
parentRegister(instanceId, componentDefinition$v.fragmentNode, parentId, metadata, uniforms, componentDefinition$v);
|
|
4529
4670
|
isRegistered = true;
|
|
4530
4671
|
} catch (error) {
|
|
4531
4672
|
console.error("Error registering shader node:", error);
|
|
@@ -4601,8 +4742,8 @@ const defaultProps$t = {
|
|
|
4601
4742
|
// transform intentionally has no default - handled by effectiveTransform
|
|
4602
4743
|
};
|
|
4603
4744
|
try {
|
|
4604
|
-
if (componentDefinition$
|
|
4605
|
-
Object.entries(componentDefinition$
|
|
4745
|
+
if (componentDefinition$w && componentDefinition$w.props) {
|
|
4746
|
+
Object.entries(componentDefinition$w.props).forEach(([key, config]) => {
|
|
4606
4747
|
const propConfig = config;
|
|
4607
4748
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
4608
4749
|
defaultProps$t[key] = propConfig.default;
|
|
@@ -4621,7 +4762,7 @@ function ShaderComponent$t(props) {
|
|
|
4621
4762
|
shaderUniformUpdate: parentUniformUpdate,
|
|
4622
4763
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
4623
4764
|
} = context;
|
|
4624
|
-
const instanceId = props.id || `${componentDefinition$
|
|
4765
|
+
const instanceId = props.id || `${componentDefinition$w.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4625
4766
|
const effectiveProps = createMemo(() => {
|
|
4626
4767
|
let baseProps = {
|
|
4627
4768
|
...defaultProps$t
|
|
@@ -4640,7 +4781,7 @@ function ShaderComponent$t(props) {
|
|
|
4640
4781
|
let uniformsMap = null;
|
|
4641
4782
|
const getUniformsMap = () => {
|
|
4642
4783
|
if (!uniformsMap) {
|
|
4643
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
4784
|
+
uniformsMap = createUniformsMap(componentDefinition$w, effectiveProps(), instanceId);
|
|
4644
4785
|
}
|
|
4645
4786
|
return uniformsMap;
|
|
4646
4787
|
};
|
|
@@ -4665,7 +4806,7 @@ function ShaderComponent$t(props) {
|
|
|
4665
4806
|
renderOrder: props.renderOrder || 0,
|
|
4666
4807
|
transform: effectiveTransform()
|
|
4667
4808
|
};
|
|
4668
|
-
parentRegister(instanceId, componentDefinition$
|
|
4809
|
+
parentRegister(instanceId, componentDefinition$w.fragmentNode, parentId, metadata, uniforms, componentDefinition$w);
|
|
4669
4810
|
isRegistered = true;
|
|
4670
4811
|
} catch (error) {
|
|
4671
4812
|
console.error("Error registering shader node:", error);
|
|
@@ -4741,8 +4882,8 @@ const defaultProps$s = {
|
|
|
4741
4882
|
// transform intentionally has no default - handled by effectiveTransform
|
|
4742
4883
|
};
|
|
4743
4884
|
try {
|
|
4744
|
-
if (componentDefinition$
|
|
4745
|
-
Object.entries(componentDefinition$
|
|
4885
|
+
if (componentDefinition$x && componentDefinition$x.props) {
|
|
4886
|
+
Object.entries(componentDefinition$x.props).forEach(([key, config]) => {
|
|
4746
4887
|
const propConfig = config;
|
|
4747
4888
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
4748
4889
|
defaultProps$s[key] = propConfig.default;
|
|
@@ -4761,7 +4902,7 @@ function ShaderComponent$s(props) {
|
|
|
4761
4902
|
shaderUniformUpdate: parentUniformUpdate,
|
|
4762
4903
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
4763
4904
|
} = context;
|
|
4764
|
-
const instanceId = props.id || `${componentDefinition$
|
|
4905
|
+
const instanceId = props.id || `${componentDefinition$x.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4765
4906
|
const effectiveProps = createMemo(() => {
|
|
4766
4907
|
let baseProps = {
|
|
4767
4908
|
...defaultProps$s
|
|
@@ -4780,7 +4921,7 @@ function ShaderComponent$s(props) {
|
|
|
4780
4921
|
let uniformsMap = null;
|
|
4781
4922
|
const getUniformsMap = () => {
|
|
4782
4923
|
if (!uniformsMap) {
|
|
4783
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
4924
|
+
uniformsMap = createUniformsMap(componentDefinition$x, effectiveProps(), instanceId);
|
|
4784
4925
|
}
|
|
4785
4926
|
return uniformsMap;
|
|
4786
4927
|
};
|
|
@@ -4805,7 +4946,7 @@ function ShaderComponent$s(props) {
|
|
|
4805
4946
|
renderOrder: props.renderOrder || 0,
|
|
4806
4947
|
transform: effectiveTransform()
|
|
4807
4948
|
};
|
|
4808
|
-
parentRegister(instanceId, componentDefinition$
|
|
4949
|
+
parentRegister(instanceId, componentDefinition$x.fragmentNode, parentId, metadata, uniforms, componentDefinition$x);
|
|
4809
4950
|
isRegistered = true;
|
|
4810
4951
|
} catch (error) {
|
|
4811
4952
|
console.error("Error registering shader node:", error);
|
|
@@ -4881,8 +5022,8 @@ const defaultProps$r = {
|
|
|
4881
5022
|
// transform intentionally has no default - handled by effectiveTransform
|
|
4882
5023
|
};
|
|
4883
5024
|
try {
|
|
4884
|
-
if (componentDefinition$
|
|
4885
|
-
Object.entries(componentDefinition$
|
|
5025
|
+
if (componentDefinition$y && componentDefinition$y.props) {
|
|
5026
|
+
Object.entries(componentDefinition$y.props).forEach(([key, config]) => {
|
|
4886
5027
|
const propConfig = config;
|
|
4887
5028
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
4888
5029
|
defaultProps$r[key] = propConfig.default;
|
|
@@ -4901,7 +5042,7 @@ function ShaderComponent$r(props) {
|
|
|
4901
5042
|
shaderUniformUpdate: parentUniformUpdate,
|
|
4902
5043
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
4903
5044
|
} = context;
|
|
4904
|
-
const instanceId = props.id || `${componentDefinition$
|
|
5045
|
+
const instanceId = props.id || `${componentDefinition$y.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4905
5046
|
const effectiveProps = createMemo(() => {
|
|
4906
5047
|
let baseProps = {
|
|
4907
5048
|
...defaultProps$r
|
|
@@ -4920,7 +5061,7 @@ function ShaderComponent$r(props) {
|
|
|
4920
5061
|
let uniformsMap = null;
|
|
4921
5062
|
const getUniformsMap = () => {
|
|
4922
5063
|
if (!uniformsMap) {
|
|
4923
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
5064
|
+
uniformsMap = createUniformsMap(componentDefinition$y, effectiveProps(), instanceId);
|
|
4924
5065
|
}
|
|
4925
5066
|
return uniformsMap;
|
|
4926
5067
|
};
|
|
@@ -4945,7 +5086,7 @@ function ShaderComponent$r(props) {
|
|
|
4945
5086
|
renderOrder: props.renderOrder || 0,
|
|
4946
5087
|
transform: effectiveTransform()
|
|
4947
5088
|
};
|
|
4948
|
-
parentRegister(instanceId, componentDefinition$
|
|
5089
|
+
parentRegister(instanceId, componentDefinition$y.fragmentNode, parentId, metadata, uniforms, componentDefinition$y);
|
|
4949
5090
|
isRegistered = true;
|
|
4950
5091
|
} catch (error) {
|
|
4951
5092
|
console.error("Error registering shader node:", error);
|
|
@@ -5021,8 +5162,8 @@ const defaultProps$q = {
|
|
|
5021
5162
|
// transform intentionally has no default - handled by effectiveTransform
|
|
5022
5163
|
};
|
|
5023
5164
|
try {
|
|
5024
|
-
if (componentDefinition$
|
|
5025
|
-
Object.entries(componentDefinition$
|
|
5165
|
+
if (componentDefinition$z && componentDefinition$z.props) {
|
|
5166
|
+
Object.entries(componentDefinition$z.props).forEach(([key, config]) => {
|
|
5026
5167
|
const propConfig = config;
|
|
5027
5168
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
5028
5169
|
defaultProps$q[key] = propConfig.default;
|
|
@@ -5041,7 +5182,7 @@ function ShaderComponent$q(props) {
|
|
|
5041
5182
|
shaderUniformUpdate: parentUniformUpdate,
|
|
5042
5183
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
5043
5184
|
} = context;
|
|
5044
|
-
const instanceId = props.id || `${componentDefinition$
|
|
5185
|
+
const instanceId = props.id || `${componentDefinition$z.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5045
5186
|
const effectiveProps = createMemo(() => {
|
|
5046
5187
|
let baseProps = {
|
|
5047
5188
|
...defaultProps$q
|
|
@@ -5060,7 +5201,7 @@ function ShaderComponent$q(props) {
|
|
|
5060
5201
|
let uniformsMap = null;
|
|
5061
5202
|
const getUniformsMap = () => {
|
|
5062
5203
|
if (!uniformsMap) {
|
|
5063
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
5204
|
+
uniformsMap = createUniformsMap(componentDefinition$z, effectiveProps(), instanceId);
|
|
5064
5205
|
}
|
|
5065
5206
|
return uniformsMap;
|
|
5066
5207
|
};
|
|
@@ -5085,7 +5226,7 @@ function ShaderComponent$q(props) {
|
|
|
5085
5226
|
renderOrder: props.renderOrder || 0,
|
|
5086
5227
|
transform: effectiveTransform()
|
|
5087
5228
|
};
|
|
5088
|
-
parentRegister(instanceId, componentDefinition$
|
|
5229
|
+
parentRegister(instanceId, componentDefinition$z.fragmentNode, parentId, metadata, uniforms, componentDefinition$z);
|
|
5089
5230
|
isRegistered = true;
|
|
5090
5231
|
} catch (error) {
|
|
5091
5232
|
console.error("Error registering shader node:", error);
|
|
@@ -5161,8 +5302,8 @@ const defaultProps$p = {
|
|
|
5161
5302
|
// transform intentionally has no default - handled by effectiveTransform
|
|
5162
5303
|
};
|
|
5163
5304
|
try {
|
|
5164
|
-
if (componentDefinition$
|
|
5165
|
-
Object.entries(componentDefinition$
|
|
5305
|
+
if (componentDefinition$A && componentDefinition$A.props) {
|
|
5306
|
+
Object.entries(componentDefinition$A.props).forEach(([key, config]) => {
|
|
5166
5307
|
const propConfig = config;
|
|
5167
5308
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
5168
5309
|
defaultProps$p[key] = propConfig.default;
|
|
@@ -5181,7 +5322,7 @@ function ShaderComponent$p(props) {
|
|
|
5181
5322
|
shaderUniformUpdate: parentUniformUpdate,
|
|
5182
5323
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
5183
5324
|
} = context;
|
|
5184
|
-
const instanceId = props.id || `${componentDefinition$
|
|
5325
|
+
const instanceId = props.id || `${componentDefinition$A.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5185
5326
|
const effectiveProps = createMemo(() => {
|
|
5186
5327
|
let baseProps = {
|
|
5187
5328
|
...defaultProps$p
|
|
@@ -5200,7 +5341,7 @@ function ShaderComponent$p(props) {
|
|
|
5200
5341
|
let uniformsMap = null;
|
|
5201
5342
|
const getUniformsMap = () => {
|
|
5202
5343
|
if (!uniformsMap) {
|
|
5203
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
5344
|
+
uniformsMap = createUniformsMap(componentDefinition$A, effectiveProps(), instanceId);
|
|
5204
5345
|
}
|
|
5205
5346
|
return uniformsMap;
|
|
5206
5347
|
};
|
|
@@ -5225,7 +5366,7 @@ function ShaderComponent$p(props) {
|
|
|
5225
5366
|
renderOrder: props.renderOrder || 0,
|
|
5226
5367
|
transform: effectiveTransform()
|
|
5227
5368
|
};
|
|
5228
|
-
parentRegister(instanceId, componentDefinition$
|
|
5369
|
+
parentRegister(instanceId, componentDefinition$A.fragmentNode, parentId, metadata, uniforms, componentDefinition$A);
|
|
5229
5370
|
isRegistered = true;
|
|
5230
5371
|
} catch (error) {
|
|
5231
5372
|
console.error("Error registering shader node:", error);
|
|
@@ -5301,8 +5442,8 @@ const defaultProps$o = {
|
|
|
5301
5442
|
// transform intentionally has no default - handled by effectiveTransform
|
|
5302
5443
|
};
|
|
5303
5444
|
try {
|
|
5304
|
-
if (componentDefinition$
|
|
5305
|
-
Object.entries(componentDefinition$
|
|
5445
|
+
if (componentDefinition$B && componentDefinition$B.props) {
|
|
5446
|
+
Object.entries(componentDefinition$B.props).forEach(([key, config]) => {
|
|
5306
5447
|
const propConfig = config;
|
|
5307
5448
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
5308
5449
|
defaultProps$o[key] = propConfig.default;
|
|
@@ -5321,7 +5462,7 @@ function ShaderComponent$o(props) {
|
|
|
5321
5462
|
shaderUniformUpdate: parentUniformUpdate,
|
|
5322
5463
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
5323
5464
|
} = context;
|
|
5324
|
-
const instanceId = props.id || `${componentDefinition$
|
|
5465
|
+
const instanceId = props.id || `${componentDefinition$B.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5325
5466
|
const effectiveProps = createMemo(() => {
|
|
5326
5467
|
let baseProps = {
|
|
5327
5468
|
...defaultProps$o
|
|
@@ -5340,7 +5481,7 @@ function ShaderComponent$o(props) {
|
|
|
5340
5481
|
let uniformsMap = null;
|
|
5341
5482
|
const getUniformsMap = () => {
|
|
5342
5483
|
if (!uniformsMap) {
|
|
5343
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
5484
|
+
uniformsMap = createUniformsMap(componentDefinition$B, effectiveProps(), instanceId);
|
|
5344
5485
|
}
|
|
5345
5486
|
return uniformsMap;
|
|
5346
5487
|
};
|
|
@@ -5365,7 +5506,7 @@ function ShaderComponent$o(props) {
|
|
|
5365
5506
|
renderOrder: props.renderOrder || 0,
|
|
5366
5507
|
transform: effectiveTransform()
|
|
5367
5508
|
};
|
|
5368
|
-
parentRegister(instanceId, componentDefinition$
|
|
5509
|
+
parentRegister(instanceId, componentDefinition$B.fragmentNode, parentId, metadata, uniforms, componentDefinition$B);
|
|
5369
5510
|
isRegistered = true;
|
|
5370
5511
|
} catch (error) {
|
|
5371
5512
|
console.error("Error registering shader node:", error);
|
|
@@ -5441,8 +5582,8 @@ const defaultProps$n = {
|
|
|
5441
5582
|
// transform intentionally has no default - handled by effectiveTransform
|
|
5442
5583
|
};
|
|
5443
5584
|
try {
|
|
5444
|
-
if (componentDefinition$
|
|
5445
|
-
Object.entries(componentDefinition$
|
|
5585
|
+
if (componentDefinition$C && componentDefinition$C.props) {
|
|
5586
|
+
Object.entries(componentDefinition$C.props).forEach(([key, config]) => {
|
|
5446
5587
|
const propConfig = config;
|
|
5447
5588
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
5448
5589
|
defaultProps$n[key] = propConfig.default;
|
|
@@ -5461,7 +5602,7 @@ function ShaderComponent$n(props) {
|
|
|
5461
5602
|
shaderUniformUpdate: parentUniformUpdate,
|
|
5462
5603
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
5463
5604
|
} = context;
|
|
5464
|
-
const instanceId = props.id || `${componentDefinition$
|
|
5605
|
+
const instanceId = props.id || `${componentDefinition$C.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5465
5606
|
const effectiveProps = createMemo(() => {
|
|
5466
5607
|
let baseProps = {
|
|
5467
5608
|
...defaultProps$n
|
|
@@ -5480,7 +5621,7 @@ function ShaderComponent$n(props) {
|
|
|
5480
5621
|
let uniformsMap = null;
|
|
5481
5622
|
const getUniformsMap = () => {
|
|
5482
5623
|
if (!uniformsMap) {
|
|
5483
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
5624
|
+
uniformsMap = createUniformsMap(componentDefinition$C, effectiveProps(), instanceId);
|
|
5484
5625
|
}
|
|
5485
5626
|
return uniformsMap;
|
|
5486
5627
|
};
|
|
@@ -5505,7 +5646,7 @@ function ShaderComponent$n(props) {
|
|
|
5505
5646
|
renderOrder: props.renderOrder || 0,
|
|
5506
5647
|
transform: effectiveTransform()
|
|
5507
5648
|
};
|
|
5508
|
-
parentRegister(instanceId, componentDefinition$
|
|
5649
|
+
parentRegister(instanceId, componentDefinition$C.fragmentNode, parentId, metadata, uniforms, componentDefinition$C);
|
|
5509
5650
|
isRegistered = true;
|
|
5510
5651
|
} catch (error) {
|
|
5511
5652
|
console.error("Error registering shader node:", error);
|
|
@@ -5581,8 +5722,8 @@ const defaultProps$m = {
|
|
|
5581
5722
|
// transform intentionally has no default - handled by effectiveTransform
|
|
5582
5723
|
};
|
|
5583
5724
|
try {
|
|
5584
|
-
if (componentDefinition$
|
|
5585
|
-
Object.entries(componentDefinition$
|
|
5725
|
+
if (componentDefinition$D && componentDefinition$D.props) {
|
|
5726
|
+
Object.entries(componentDefinition$D.props).forEach(([key, config]) => {
|
|
5586
5727
|
const propConfig = config;
|
|
5587
5728
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
5588
5729
|
defaultProps$m[key] = propConfig.default;
|
|
@@ -5601,7 +5742,7 @@ function ShaderComponent$m(props) {
|
|
|
5601
5742
|
shaderUniformUpdate: parentUniformUpdate,
|
|
5602
5743
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
5603
5744
|
} = context;
|
|
5604
|
-
const instanceId = props.id || `${componentDefinition$
|
|
5745
|
+
const instanceId = props.id || `${componentDefinition$D.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5605
5746
|
const effectiveProps = createMemo(() => {
|
|
5606
5747
|
let baseProps = {
|
|
5607
5748
|
...defaultProps$m
|
|
@@ -5620,7 +5761,7 @@ function ShaderComponent$m(props) {
|
|
|
5620
5761
|
let uniformsMap = null;
|
|
5621
5762
|
const getUniformsMap = () => {
|
|
5622
5763
|
if (!uniformsMap) {
|
|
5623
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
5764
|
+
uniformsMap = createUniformsMap(componentDefinition$D, effectiveProps(), instanceId);
|
|
5624
5765
|
}
|
|
5625
5766
|
return uniformsMap;
|
|
5626
5767
|
};
|
|
@@ -5645,7 +5786,7 @@ function ShaderComponent$m(props) {
|
|
|
5645
5786
|
renderOrder: props.renderOrder || 0,
|
|
5646
5787
|
transform: effectiveTransform()
|
|
5647
5788
|
};
|
|
5648
|
-
parentRegister(instanceId, componentDefinition$
|
|
5789
|
+
parentRegister(instanceId, componentDefinition$D.fragmentNode, parentId, metadata, uniforms, componentDefinition$D);
|
|
5649
5790
|
isRegistered = true;
|
|
5650
5791
|
} catch (error) {
|
|
5651
5792
|
console.error("Error registering shader node:", error);
|
|
@@ -5721,8 +5862,8 @@ const defaultProps$l = {
|
|
|
5721
5862
|
// transform intentionally has no default - handled by effectiveTransform
|
|
5722
5863
|
};
|
|
5723
5864
|
try {
|
|
5724
|
-
if (componentDefinition$
|
|
5725
|
-
Object.entries(componentDefinition$
|
|
5865
|
+
if (componentDefinition$E && componentDefinition$E.props) {
|
|
5866
|
+
Object.entries(componentDefinition$E.props).forEach(([key, config]) => {
|
|
5726
5867
|
const propConfig = config;
|
|
5727
5868
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
5728
5869
|
defaultProps$l[key] = propConfig.default;
|
|
@@ -5741,7 +5882,7 @@ function ShaderComponent$l(props) {
|
|
|
5741
5882
|
shaderUniformUpdate: parentUniformUpdate,
|
|
5742
5883
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
5743
5884
|
} = context;
|
|
5744
|
-
const instanceId = props.id || `${componentDefinition$
|
|
5885
|
+
const instanceId = props.id || `${componentDefinition$E.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5745
5886
|
const effectiveProps = createMemo(() => {
|
|
5746
5887
|
let baseProps = {
|
|
5747
5888
|
...defaultProps$l
|
|
@@ -5760,7 +5901,7 @@ function ShaderComponent$l(props) {
|
|
|
5760
5901
|
let uniformsMap = null;
|
|
5761
5902
|
const getUniformsMap = () => {
|
|
5762
5903
|
if (!uniformsMap) {
|
|
5763
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
5904
|
+
uniformsMap = createUniformsMap(componentDefinition$E, effectiveProps(), instanceId);
|
|
5764
5905
|
}
|
|
5765
5906
|
return uniformsMap;
|
|
5766
5907
|
};
|
|
@@ -5785,7 +5926,7 @@ function ShaderComponent$l(props) {
|
|
|
5785
5926
|
renderOrder: props.renderOrder || 0,
|
|
5786
5927
|
transform: effectiveTransform()
|
|
5787
5928
|
};
|
|
5788
|
-
parentRegister(instanceId, componentDefinition$
|
|
5929
|
+
parentRegister(instanceId, componentDefinition$E.fragmentNode, parentId, metadata, uniforms, componentDefinition$E);
|
|
5789
5930
|
isRegistered = true;
|
|
5790
5931
|
} catch (error) {
|
|
5791
5932
|
console.error("Error registering shader node:", error);
|
|
@@ -5861,8 +6002,8 @@ const defaultProps$k = {
|
|
|
5861
6002
|
// transform intentionally has no default - handled by effectiveTransform
|
|
5862
6003
|
};
|
|
5863
6004
|
try {
|
|
5864
|
-
if (componentDefinition$
|
|
5865
|
-
Object.entries(componentDefinition$
|
|
6005
|
+
if (componentDefinition$F && componentDefinition$F.props) {
|
|
6006
|
+
Object.entries(componentDefinition$F.props).forEach(([key, config]) => {
|
|
5866
6007
|
const propConfig = config;
|
|
5867
6008
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
5868
6009
|
defaultProps$k[key] = propConfig.default;
|
|
@@ -5881,7 +6022,7 @@ function ShaderComponent$k(props) {
|
|
|
5881
6022
|
shaderUniformUpdate: parentUniformUpdate,
|
|
5882
6023
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
5883
6024
|
} = context;
|
|
5884
|
-
const instanceId = props.id || `${componentDefinition$
|
|
6025
|
+
const instanceId = props.id || `${componentDefinition$F.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5885
6026
|
const effectiveProps = createMemo(() => {
|
|
5886
6027
|
let baseProps = {
|
|
5887
6028
|
...defaultProps$k
|
|
@@ -5900,7 +6041,7 @@ function ShaderComponent$k(props) {
|
|
|
5900
6041
|
let uniformsMap = null;
|
|
5901
6042
|
const getUniformsMap = () => {
|
|
5902
6043
|
if (!uniformsMap) {
|
|
5903
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
6044
|
+
uniformsMap = createUniformsMap(componentDefinition$F, effectiveProps(), instanceId);
|
|
5904
6045
|
}
|
|
5905
6046
|
return uniformsMap;
|
|
5906
6047
|
};
|
|
@@ -5925,7 +6066,7 @@ function ShaderComponent$k(props) {
|
|
|
5925
6066
|
renderOrder: props.renderOrder || 0,
|
|
5926
6067
|
transform: effectiveTransform()
|
|
5927
6068
|
};
|
|
5928
|
-
parentRegister(instanceId, componentDefinition$
|
|
6069
|
+
parentRegister(instanceId, componentDefinition$F.fragmentNode, parentId, metadata, uniforms, componentDefinition$F);
|
|
5929
6070
|
isRegistered = true;
|
|
5930
6071
|
} catch (error) {
|
|
5931
6072
|
console.error("Error registering shader node:", error);
|
|
@@ -6001,8 +6142,8 @@ const defaultProps$j = {
|
|
|
6001
6142
|
// transform intentionally has no default - handled by effectiveTransform
|
|
6002
6143
|
};
|
|
6003
6144
|
try {
|
|
6004
|
-
if (componentDefinition$
|
|
6005
|
-
Object.entries(componentDefinition$
|
|
6145
|
+
if (componentDefinition$G && componentDefinition$G.props) {
|
|
6146
|
+
Object.entries(componentDefinition$G.props).forEach(([key, config]) => {
|
|
6006
6147
|
const propConfig = config;
|
|
6007
6148
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
6008
6149
|
defaultProps$j[key] = propConfig.default;
|
|
@@ -6021,7 +6162,7 @@ function ShaderComponent$j(props) {
|
|
|
6021
6162
|
shaderUniformUpdate: parentUniformUpdate,
|
|
6022
6163
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
6023
6164
|
} = context;
|
|
6024
|
-
const instanceId = props.id || `${componentDefinition$
|
|
6165
|
+
const instanceId = props.id || `${componentDefinition$G.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6025
6166
|
const effectiveProps = createMemo(() => {
|
|
6026
6167
|
let baseProps = {
|
|
6027
6168
|
...defaultProps$j
|
|
@@ -6040,7 +6181,7 @@ function ShaderComponent$j(props) {
|
|
|
6040
6181
|
let uniformsMap = null;
|
|
6041
6182
|
const getUniformsMap = () => {
|
|
6042
6183
|
if (!uniformsMap) {
|
|
6043
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
6184
|
+
uniformsMap = createUniformsMap(componentDefinition$G, effectiveProps(), instanceId);
|
|
6044
6185
|
}
|
|
6045
6186
|
return uniformsMap;
|
|
6046
6187
|
};
|
|
@@ -6065,7 +6206,7 @@ function ShaderComponent$j(props) {
|
|
|
6065
6206
|
renderOrder: props.renderOrder || 0,
|
|
6066
6207
|
transform: effectiveTransform()
|
|
6067
6208
|
};
|
|
6068
|
-
parentRegister(instanceId, componentDefinition$
|
|
6209
|
+
parentRegister(instanceId, componentDefinition$G.fragmentNode, parentId, metadata, uniforms, componentDefinition$G);
|
|
6069
6210
|
isRegistered = true;
|
|
6070
6211
|
} catch (error) {
|
|
6071
6212
|
console.error("Error registering shader node:", error);
|
|
@@ -6141,8 +6282,8 @@ const defaultProps$i = {
|
|
|
6141
6282
|
// transform intentionally has no default - handled by effectiveTransform
|
|
6142
6283
|
};
|
|
6143
6284
|
try {
|
|
6144
|
-
if (componentDefinition$
|
|
6145
|
-
Object.entries(componentDefinition$
|
|
6285
|
+
if (componentDefinition$H && componentDefinition$H.props) {
|
|
6286
|
+
Object.entries(componentDefinition$H.props).forEach(([key, config]) => {
|
|
6146
6287
|
const propConfig = config;
|
|
6147
6288
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
6148
6289
|
defaultProps$i[key] = propConfig.default;
|
|
@@ -6161,7 +6302,7 @@ function ShaderComponent$i(props) {
|
|
|
6161
6302
|
shaderUniformUpdate: parentUniformUpdate,
|
|
6162
6303
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
6163
6304
|
} = context;
|
|
6164
|
-
const instanceId = props.id || `${componentDefinition$
|
|
6305
|
+
const instanceId = props.id || `${componentDefinition$H.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6165
6306
|
const effectiveProps = createMemo(() => {
|
|
6166
6307
|
let baseProps = {
|
|
6167
6308
|
...defaultProps$i
|
|
@@ -6180,7 +6321,7 @@ function ShaderComponent$i(props) {
|
|
|
6180
6321
|
let uniformsMap = null;
|
|
6181
6322
|
const getUniformsMap = () => {
|
|
6182
6323
|
if (!uniformsMap) {
|
|
6183
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
6324
|
+
uniformsMap = createUniformsMap(componentDefinition$H, effectiveProps(), instanceId);
|
|
6184
6325
|
}
|
|
6185
6326
|
return uniformsMap;
|
|
6186
6327
|
};
|
|
@@ -6205,7 +6346,7 @@ function ShaderComponent$i(props) {
|
|
|
6205
6346
|
renderOrder: props.renderOrder || 0,
|
|
6206
6347
|
transform: effectiveTransform()
|
|
6207
6348
|
};
|
|
6208
|
-
parentRegister(instanceId, componentDefinition$
|
|
6349
|
+
parentRegister(instanceId, componentDefinition$H.fragmentNode, parentId, metadata, uniforms, componentDefinition$H);
|
|
6209
6350
|
isRegistered = true;
|
|
6210
6351
|
} catch (error) {
|
|
6211
6352
|
console.error("Error registering shader node:", error);
|
|
@@ -6281,8 +6422,8 @@ const defaultProps$h = {
|
|
|
6281
6422
|
// transform intentionally has no default - handled by effectiveTransform
|
|
6282
6423
|
};
|
|
6283
6424
|
try {
|
|
6284
|
-
if (componentDefinition$
|
|
6285
|
-
Object.entries(componentDefinition$
|
|
6425
|
+
if (componentDefinition$I && componentDefinition$I.props) {
|
|
6426
|
+
Object.entries(componentDefinition$I.props).forEach(([key, config]) => {
|
|
6286
6427
|
const propConfig = config;
|
|
6287
6428
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
6288
6429
|
defaultProps$h[key] = propConfig.default;
|
|
@@ -6301,7 +6442,7 @@ function ShaderComponent$h(props) {
|
|
|
6301
6442
|
shaderUniformUpdate: parentUniformUpdate,
|
|
6302
6443
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
6303
6444
|
} = context;
|
|
6304
|
-
const instanceId = props.id || `${componentDefinition$
|
|
6445
|
+
const instanceId = props.id || `${componentDefinition$I.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6305
6446
|
const effectiveProps = createMemo(() => {
|
|
6306
6447
|
let baseProps = {
|
|
6307
6448
|
...defaultProps$h
|
|
@@ -6320,7 +6461,7 @@ function ShaderComponent$h(props) {
|
|
|
6320
6461
|
let uniformsMap = null;
|
|
6321
6462
|
const getUniformsMap = () => {
|
|
6322
6463
|
if (!uniformsMap) {
|
|
6323
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
6464
|
+
uniformsMap = createUniformsMap(componentDefinition$I, effectiveProps(), instanceId);
|
|
6324
6465
|
}
|
|
6325
6466
|
return uniformsMap;
|
|
6326
6467
|
};
|
|
@@ -6345,7 +6486,7 @@ function ShaderComponent$h(props) {
|
|
|
6345
6486
|
renderOrder: props.renderOrder || 0,
|
|
6346
6487
|
transform: effectiveTransform()
|
|
6347
6488
|
};
|
|
6348
|
-
parentRegister(instanceId, componentDefinition$
|
|
6489
|
+
parentRegister(instanceId, componentDefinition$I.fragmentNode, parentId, metadata, uniforms, componentDefinition$I);
|
|
6349
6490
|
isRegistered = true;
|
|
6350
6491
|
} catch (error) {
|
|
6351
6492
|
console.error("Error registering shader node:", error);
|
|
@@ -6421,8 +6562,8 @@ const defaultProps$g = {
|
|
|
6421
6562
|
// transform intentionally has no default - handled by effectiveTransform
|
|
6422
6563
|
};
|
|
6423
6564
|
try {
|
|
6424
|
-
if (componentDefinition$
|
|
6425
|
-
Object.entries(componentDefinition$
|
|
6565
|
+
if (componentDefinition$J && componentDefinition$J.props) {
|
|
6566
|
+
Object.entries(componentDefinition$J.props).forEach(([key, config]) => {
|
|
6426
6567
|
const propConfig = config;
|
|
6427
6568
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
6428
6569
|
defaultProps$g[key] = propConfig.default;
|
|
@@ -6441,7 +6582,7 @@ function ShaderComponent$g(props) {
|
|
|
6441
6582
|
shaderUniformUpdate: parentUniformUpdate,
|
|
6442
6583
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
6443
6584
|
} = context;
|
|
6444
|
-
const instanceId = props.id || `${componentDefinition$
|
|
6585
|
+
const instanceId = props.id || `${componentDefinition$J.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6445
6586
|
const effectiveProps = createMemo(() => {
|
|
6446
6587
|
let baseProps = {
|
|
6447
6588
|
...defaultProps$g
|
|
@@ -6460,7 +6601,7 @@ function ShaderComponent$g(props) {
|
|
|
6460
6601
|
let uniformsMap = null;
|
|
6461
6602
|
const getUniformsMap = () => {
|
|
6462
6603
|
if (!uniformsMap) {
|
|
6463
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
6604
|
+
uniformsMap = createUniformsMap(componentDefinition$J, effectiveProps(), instanceId);
|
|
6464
6605
|
}
|
|
6465
6606
|
return uniformsMap;
|
|
6466
6607
|
};
|
|
@@ -6485,7 +6626,7 @@ function ShaderComponent$g(props) {
|
|
|
6485
6626
|
renderOrder: props.renderOrder || 0,
|
|
6486
6627
|
transform: effectiveTransform()
|
|
6487
6628
|
};
|
|
6488
|
-
parentRegister(instanceId, componentDefinition$
|
|
6629
|
+
parentRegister(instanceId, componentDefinition$J.fragmentNode, parentId, metadata, uniforms, componentDefinition$J);
|
|
6489
6630
|
isRegistered = true;
|
|
6490
6631
|
} catch (error) {
|
|
6491
6632
|
console.error("Error registering shader node:", error);
|
|
@@ -6561,8 +6702,8 @@ const defaultProps$f = {
|
|
|
6561
6702
|
// transform intentionally has no default - handled by effectiveTransform
|
|
6562
6703
|
};
|
|
6563
6704
|
try {
|
|
6564
|
-
if (componentDefinition$
|
|
6565
|
-
Object.entries(componentDefinition$
|
|
6705
|
+
if (componentDefinition$K && componentDefinition$K.props) {
|
|
6706
|
+
Object.entries(componentDefinition$K.props).forEach(([key, config]) => {
|
|
6566
6707
|
const propConfig = config;
|
|
6567
6708
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
6568
6709
|
defaultProps$f[key] = propConfig.default;
|
|
@@ -6581,7 +6722,7 @@ function ShaderComponent$f(props) {
|
|
|
6581
6722
|
shaderUniformUpdate: parentUniformUpdate,
|
|
6582
6723
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
6583
6724
|
} = context;
|
|
6584
|
-
const instanceId = props.id || `${componentDefinition$
|
|
6725
|
+
const instanceId = props.id || `${componentDefinition$K.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6585
6726
|
const effectiveProps = createMemo(() => {
|
|
6586
6727
|
let baseProps = {
|
|
6587
6728
|
...defaultProps$f
|
|
@@ -6600,7 +6741,7 @@ function ShaderComponent$f(props) {
|
|
|
6600
6741
|
let uniformsMap = null;
|
|
6601
6742
|
const getUniformsMap = () => {
|
|
6602
6743
|
if (!uniformsMap) {
|
|
6603
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
6744
|
+
uniformsMap = createUniformsMap(componentDefinition$K, effectiveProps(), instanceId);
|
|
6604
6745
|
}
|
|
6605
6746
|
return uniformsMap;
|
|
6606
6747
|
};
|
|
@@ -6625,7 +6766,7 @@ function ShaderComponent$f(props) {
|
|
|
6625
6766
|
renderOrder: props.renderOrder || 0,
|
|
6626
6767
|
transform: effectiveTransform()
|
|
6627
6768
|
};
|
|
6628
|
-
parentRegister(instanceId, componentDefinition$
|
|
6769
|
+
parentRegister(instanceId, componentDefinition$K.fragmentNode, parentId, metadata, uniforms, componentDefinition$K);
|
|
6629
6770
|
isRegistered = true;
|
|
6630
6771
|
} catch (error) {
|
|
6631
6772
|
console.error("Error registering shader node:", error);
|
|
@@ -6701,8 +6842,8 @@ const defaultProps$e = {
|
|
|
6701
6842
|
// transform intentionally has no default - handled by effectiveTransform
|
|
6702
6843
|
};
|
|
6703
6844
|
try {
|
|
6704
|
-
if (componentDefinition$
|
|
6705
|
-
Object.entries(componentDefinition$
|
|
6845
|
+
if (componentDefinition$L && componentDefinition$L.props) {
|
|
6846
|
+
Object.entries(componentDefinition$L.props).forEach(([key, config]) => {
|
|
6706
6847
|
const propConfig = config;
|
|
6707
6848
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
6708
6849
|
defaultProps$e[key] = propConfig.default;
|
|
@@ -6721,7 +6862,7 @@ function ShaderComponent$e(props) {
|
|
|
6721
6862
|
shaderUniformUpdate: parentUniformUpdate,
|
|
6722
6863
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
6723
6864
|
} = context;
|
|
6724
|
-
const instanceId = props.id || `${componentDefinition$
|
|
6865
|
+
const instanceId = props.id || `${componentDefinition$L.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6725
6866
|
const effectiveProps = createMemo(() => {
|
|
6726
6867
|
let baseProps = {
|
|
6727
6868
|
...defaultProps$e
|
|
@@ -6740,7 +6881,7 @@ function ShaderComponent$e(props) {
|
|
|
6740
6881
|
let uniformsMap = null;
|
|
6741
6882
|
const getUniformsMap = () => {
|
|
6742
6883
|
if (!uniformsMap) {
|
|
6743
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
6884
|
+
uniformsMap = createUniformsMap(componentDefinition$L, effectiveProps(), instanceId);
|
|
6744
6885
|
}
|
|
6745
6886
|
return uniformsMap;
|
|
6746
6887
|
};
|
|
@@ -6765,7 +6906,7 @@ function ShaderComponent$e(props) {
|
|
|
6765
6906
|
renderOrder: props.renderOrder || 0,
|
|
6766
6907
|
transform: effectiveTransform()
|
|
6767
6908
|
};
|
|
6768
|
-
parentRegister(instanceId, componentDefinition$
|
|
6909
|
+
parentRegister(instanceId, componentDefinition$L.fragmentNode, parentId, metadata, uniforms, componentDefinition$L);
|
|
6769
6910
|
isRegistered = true;
|
|
6770
6911
|
} catch (error) {
|
|
6771
6912
|
console.error("Error registering shader node:", error);
|
|
@@ -6841,8 +6982,8 @@ const defaultProps$d = {
|
|
|
6841
6982
|
// transform intentionally has no default - handled by effectiveTransform
|
|
6842
6983
|
};
|
|
6843
6984
|
try {
|
|
6844
|
-
if (componentDefinition$
|
|
6845
|
-
Object.entries(componentDefinition$
|
|
6985
|
+
if (componentDefinition$M && componentDefinition$M.props) {
|
|
6986
|
+
Object.entries(componentDefinition$M.props).forEach(([key, config]) => {
|
|
6846
6987
|
const propConfig = config;
|
|
6847
6988
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
6848
6989
|
defaultProps$d[key] = propConfig.default;
|
|
@@ -6861,7 +7002,7 @@ function ShaderComponent$d(props) {
|
|
|
6861
7002
|
shaderUniformUpdate: parentUniformUpdate,
|
|
6862
7003
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
6863
7004
|
} = context;
|
|
6864
|
-
const instanceId = props.id || `${componentDefinition$
|
|
7005
|
+
const instanceId = props.id || `${componentDefinition$M.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6865
7006
|
const effectiveProps = createMemo(() => {
|
|
6866
7007
|
let baseProps = {
|
|
6867
7008
|
...defaultProps$d
|
|
@@ -6880,7 +7021,7 @@ function ShaderComponent$d(props) {
|
|
|
6880
7021
|
let uniformsMap = null;
|
|
6881
7022
|
const getUniformsMap = () => {
|
|
6882
7023
|
if (!uniformsMap) {
|
|
6883
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
7024
|
+
uniformsMap = createUniformsMap(componentDefinition$M, effectiveProps(), instanceId);
|
|
6884
7025
|
}
|
|
6885
7026
|
return uniformsMap;
|
|
6886
7027
|
};
|
|
@@ -6905,7 +7046,7 @@ function ShaderComponent$d(props) {
|
|
|
6905
7046
|
renderOrder: props.renderOrder || 0,
|
|
6906
7047
|
transform: effectiveTransform()
|
|
6907
7048
|
};
|
|
6908
|
-
parentRegister(instanceId, componentDefinition$
|
|
7049
|
+
parentRegister(instanceId, componentDefinition$M.fragmentNode, parentId, metadata, uniforms, componentDefinition$M);
|
|
6909
7050
|
isRegistered = true;
|
|
6910
7051
|
} catch (error) {
|
|
6911
7052
|
console.error("Error registering shader node:", error);
|
|
@@ -6981,8 +7122,8 @@ const defaultProps$c = {
|
|
|
6981
7122
|
// transform intentionally has no default - handled by effectiveTransform
|
|
6982
7123
|
};
|
|
6983
7124
|
try {
|
|
6984
|
-
if (componentDefinition$
|
|
6985
|
-
Object.entries(componentDefinition$
|
|
7125
|
+
if (componentDefinition$N && componentDefinition$N.props) {
|
|
7126
|
+
Object.entries(componentDefinition$N.props).forEach(([key, config]) => {
|
|
6986
7127
|
const propConfig = config;
|
|
6987
7128
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
6988
7129
|
defaultProps$c[key] = propConfig.default;
|
|
@@ -7001,7 +7142,7 @@ function ShaderComponent$c(props) {
|
|
|
7001
7142
|
shaderUniformUpdate: parentUniformUpdate,
|
|
7002
7143
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
7003
7144
|
} = context;
|
|
7004
|
-
const instanceId = props.id || `${componentDefinition$
|
|
7145
|
+
const instanceId = props.id || `${componentDefinition$N.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7005
7146
|
const effectiveProps = createMemo(() => {
|
|
7006
7147
|
let baseProps = {
|
|
7007
7148
|
...defaultProps$c
|
|
@@ -7020,7 +7161,7 @@ function ShaderComponent$c(props) {
|
|
|
7020
7161
|
let uniformsMap = null;
|
|
7021
7162
|
const getUniformsMap = () => {
|
|
7022
7163
|
if (!uniformsMap) {
|
|
7023
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
7164
|
+
uniformsMap = createUniformsMap(componentDefinition$N, effectiveProps(), instanceId);
|
|
7024
7165
|
}
|
|
7025
7166
|
return uniformsMap;
|
|
7026
7167
|
};
|
|
@@ -7045,7 +7186,7 @@ function ShaderComponent$c(props) {
|
|
|
7045
7186
|
renderOrder: props.renderOrder || 0,
|
|
7046
7187
|
transform: effectiveTransform()
|
|
7047
7188
|
};
|
|
7048
|
-
parentRegister(instanceId, componentDefinition$
|
|
7189
|
+
parentRegister(instanceId, componentDefinition$N.fragmentNode, parentId, metadata, uniforms, componentDefinition$N);
|
|
7049
7190
|
isRegistered = true;
|
|
7050
7191
|
} catch (error) {
|
|
7051
7192
|
console.error("Error registering shader node:", error);
|
|
@@ -7121,8 +7262,8 @@ const defaultProps$b = {
|
|
|
7121
7262
|
// transform intentionally has no default - handled by effectiveTransform
|
|
7122
7263
|
};
|
|
7123
7264
|
try {
|
|
7124
|
-
if (componentDefinition$
|
|
7125
|
-
Object.entries(componentDefinition$
|
|
7265
|
+
if (componentDefinition$O && componentDefinition$O.props) {
|
|
7266
|
+
Object.entries(componentDefinition$O.props).forEach(([key, config]) => {
|
|
7126
7267
|
const propConfig = config;
|
|
7127
7268
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
7128
7269
|
defaultProps$b[key] = propConfig.default;
|
|
@@ -7141,7 +7282,7 @@ function ShaderComponent$b(props) {
|
|
|
7141
7282
|
shaderUniformUpdate: parentUniformUpdate,
|
|
7142
7283
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
7143
7284
|
} = context;
|
|
7144
|
-
const instanceId = props.id || `${componentDefinition$
|
|
7285
|
+
const instanceId = props.id || `${componentDefinition$O.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7145
7286
|
const effectiveProps = createMemo(() => {
|
|
7146
7287
|
let baseProps = {
|
|
7147
7288
|
...defaultProps$b
|
|
@@ -7160,7 +7301,7 @@ function ShaderComponent$b(props) {
|
|
|
7160
7301
|
let uniformsMap = null;
|
|
7161
7302
|
const getUniformsMap = () => {
|
|
7162
7303
|
if (!uniformsMap) {
|
|
7163
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
7304
|
+
uniformsMap = createUniformsMap(componentDefinition$O, effectiveProps(), instanceId);
|
|
7164
7305
|
}
|
|
7165
7306
|
return uniformsMap;
|
|
7166
7307
|
};
|
|
@@ -7185,7 +7326,7 @@ function ShaderComponent$b(props) {
|
|
|
7185
7326
|
renderOrder: props.renderOrder || 0,
|
|
7186
7327
|
transform: effectiveTransform()
|
|
7187
7328
|
};
|
|
7188
|
-
parentRegister(instanceId, componentDefinition$
|
|
7329
|
+
parentRegister(instanceId, componentDefinition$O.fragmentNode, parentId, metadata, uniforms, componentDefinition$O);
|
|
7189
7330
|
isRegistered = true;
|
|
7190
7331
|
} catch (error) {
|
|
7191
7332
|
console.error("Error registering shader node:", error);
|
|
@@ -7261,8 +7402,8 @@ const defaultProps$a = {
|
|
|
7261
7402
|
// transform intentionally has no default - handled by effectiveTransform
|
|
7262
7403
|
};
|
|
7263
7404
|
try {
|
|
7264
|
-
if (componentDefinition$
|
|
7265
|
-
Object.entries(componentDefinition$
|
|
7405
|
+
if (componentDefinition$P && componentDefinition$P.props) {
|
|
7406
|
+
Object.entries(componentDefinition$P.props).forEach(([key, config]) => {
|
|
7266
7407
|
const propConfig = config;
|
|
7267
7408
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
7268
7409
|
defaultProps$a[key] = propConfig.default;
|
|
@@ -7281,7 +7422,7 @@ function ShaderComponent$a(props) {
|
|
|
7281
7422
|
shaderUniformUpdate: parentUniformUpdate,
|
|
7282
7423
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
7283
7424
|
} = context;
|
|
7284
|
-
const instanceId = props.id || `${componentDefinition$
|
|
7425
|
+
const instanceId = props.id || `${componentDefinition$P.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7285
7426
|
const effectiveProps = createMemo(() => {
|
|
7286
7427
|
let baseProps = {
|
|
7287
7428
|
...defaultProps$a
|
|
@@ -7300,7 +7441,7 @@ function ShaderComponent$a(props) {
|
|
|
7300
7441
|
let uniformsMap = null;
|
|
7301
7442
|
const getUniformsMap = () => {
|
|
7302
7443
|
if (!uniformsMap) {
|
|
7303
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
7444
|
+
uniformsMap = createUniformsMap(componentDefinition$P, effectiveProps(), instanceId);
|
|
7304
7445
|
}
|
|
7305
7446
|
return uniformsMap;
|
|
7306
7447
|
};
|
|
@@ -7325,7 +7466,7 @@ function ShaderComponent$a(props) {
|
|
|
7325
7466
|
renderOrder: props.renderOrder || 0,
|
|
7326
7467
|
transform: effectiveTransform()
|
|
7327
7468
|
};
|
|
7328
|
-
parentRegister(instanceId, componentDefinition$
|
|
7469
|
+
parentRegister(instanceId, componentDefinition$P.fragmentNode, parentId, metadata, uniforms, componentDefinition$P);
|
|
7329
7470
|
isRegistered = true;
|
|
7330
7471
|
} catch (error) {
|
|
7331
7472
|
console.error("Error registering shader node:", error);
|
|
@@ -7401,8 +7542,8 @@ const defaultProps$9 = {
|
|
|
7401
7542
|
// transform intentionally has no default - handled by effectiveTransform
|
|
7402
7543
|
};
|
|
7403
7544
|
try {
|
|
7404
|
-
if (componentDefinition$
|
|
7405
|
-
Object.entries(componentDefinition$
|
|
7545
|
+
if (componentDefinition$Q && componentDefinition$Q.props) {
|
|
7546
|
+
Object.entries(componentDefinition$Q.props).forEach(([key, config]) => {
|
|
7406
7547
|
const propConfig = config;
|
|
7407
7548
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
7408
7549
|
defaultProps$9[key] = propConfig.default;
|
|
@@ -7421,7 +7562,7 @@ function ShaderComponent$9(props) {
|
|
|
7421
7562
|
shaderUniformUpdate: parentUniformUpdate,
|
|
7422
7563
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
7423
7564
|
} = context;
|
|
7424
|
-
const instanceId = props.id || `${componentDefinition$
|
|
7565
|
+
const instanceId = props.id || `${componentDefinition$Q.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7425
7566
|
const effectiveProps = createMemo(() => {
|
|
7426
7567
|
let baseProps = {
|
|
7427
7568
|
...defaultProps$9
|
|
@@ -7440,7 +7581,7 @@ function ShaderComponent$9(props) {
|
|
|
7440
7581
|
let uniformsMap = null;
|
|
7441
7582
|
const getUniformsMap = () => {
|
|
7442
7583
|
if (!uniformsMap) {
|
|
7443
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
7584
|
+
uniformsMap = createUniformsMap(componentDefinition$Q, effectiveProps(), instanceId);
|
|
7444
7585
|
}
|
|
7445
7586
|
return uniformsMap;
|
|
7446
7587
|
};
|
|
@@ -7465,7 +7606,7 @@ function ShaderComponent$9(props) {
|
|
|
7465
7606
|
renderOrder: props.renderOrder || 0,
|
|
7466
7607
|
transform: effectiveTransform()
|
|
7467
7608
|
};
|
|
7468
|
-
parentRegister(instanceId, componentDefinition$
|
|
7609
|
+
parentRegister(instanceId, componentDefinition$Q.fragmentNode, parentId, metadata, uniforms, componentDefinition$Q);
|
|
7469
7610
|
isRegistered = true;
|
|
7470
7611
|
} catch (error) {
|
|
7471
7612
|
console.error("Error registering shader node:", error);
|
|
@@ -7541,8 +7682,8 @@ const defaultProps$8 = {
|
|
|
7541
7682
|
// transform intentionally has no default - handled by effectiveTransform
|
|
7542
7683
|
};
|
|
7543
7684
|
try {
|
|
7544
|
-
if (componentDefinition$
|
|
7545
|
-
Object.entries(componentDefinition$
|
|
7685
|
+
if (componentDefinition$R && componentDefinition$R.props) {
|
|
7686
|
+
Object.entries(componentDefinition$R.props).forEach(([key, config]) => {
|
|
7546
7687
|
const propConfig = config;
|
|
7547
7688
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
7548
7689
|
defaultProps$8[key] = propConfig.default;
|
|
@@ -7561,7 +7702,7 @@ function ShaderComponent$8(props) {
|
|
|
7561
7702
|
shaderUniformUpdate: parentUniformUpdate,
|
|
7562
7703
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
7563
7704
|
} = context;
|
|
7564
|
-
const instanceId = props.id || `${componentDefinition$
|
|
7705
|
+
const instanceId = props.id || `${componentDefinition$R.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7565
7706
|
const effectiveProps = createMemo(() => {
|
|
7566
7707
|
let baseProps = {
|
|
7567
7708
|
...defaultProps$8
|
|
@@ -7580,7 +7721,7 @@ function ShaderComponent$8(props) {
|
|
|
7580
7721
|
let uniformsMap = null;
|
|
7581
7722
|
const getUniformsMap = () => {
|
|
7582
7723
|
if (!uniformsMap) {
|
|
7583
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
7724
|
+
uniformsMap = createUniformsMap(componentDefinition$R, effectiveProps(), instanceId);
|
|
7584
7725
|
}
|
|
7585
7726
|
return uniformsMap;
|
|
7586
7727
|
};
|
|
@@ -7605,7 +7746,7 @@ function ShaderComponent$8(props) {
|
|
|
7605
7746
|
renderOrder: props.renderOrder || 0,
|
|
7606
7747
|
transform: effectiveTransform()
|
|
7607
7748
|
};
|
|
7608
|
-
parentRegister(instanceId, componentDefinition$
|
|
7749
|
+
parentRegister(instanceId, componentDefinition$R.fragmentNode, parentId, metadata, uniforms, componentDefinition$R);
|
|
7609
7750
|
isRegistered = true;
|
|
7610
7751
|
} catch (error) {
|
|
7611
7752
|
console.error("Error registering shader node:", error);
|
|
@@ -7681,8 +7822,8 @@ const defaultProps$7 = {
|
|
|
7681
7822
|
// transform intentionally has no default - handled by effectiveTransform
|
|
7682
7823
|
};
|
|
7683
7824
|
try {
|
|
7684
|
-
if (componentDefinition$
|
|
7685
|
-
Object.entries(componentDefinition$
|
|
7825
|
+
if (componentDefinition$S && componentDefinition$S.props) {
|
|
7826
|
+
Object.entries(componentDefinition$S.props).forEach(([key, config]) => {
|
|
7686
7827
|
const propConfig = config;
|
|
7687
7828
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
7688
7829
|
defaultProps$7[key] = propConfig.default;
|
|
@@ -7701,7 +7842,7 @@ function ShaderComponent$7(props) {
|
|
|
7701
7842
|
shaderUniformUpdate: parentUniformUpdate,
|
|
7702
7843
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
7703
7844
|
} = context;
|
|
7704
|
-
const instanceId = props.id || `${componentDefinition$
|
|
7845
|
+
const instanceId = props.id || `${componentDefinition$S.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7705
7846
|
const effectiveProps = createMemo(() => {
|
|
7706
7847
|
let baseProps = {
|
|
7707
7848
|
...defaultProps$7
|
|
@@ -7720,7 +7861,7 @@ function ShaderComponent$7(props) {
|
|
|
7720
7861
|
let uniformsMap = null;
|
|
7721
7862
|
const getUniformsMap = () => {
|
|
7722
7863
|
if (!uniformsMap) {
|
|
7723
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
7864
|
+
uniformsMap = createUniformsMap(componentDefinition$S, effectiveProps(), instanceId);
|
|
7724
7865
|
}
|
|
7725
7866
|
return uniformsMap;
|
|
7726
7867
|
};
|
|
@@ -7745,7 +7886,7 @@ function ShaderComponent$7(props) {
|
|
|
7745
7886
|
renderOrder: props.renderOrder || 0,
|
|
7746
7887
|
transform: effectiveTransform()
|
|
7747
7888
|
};
|
|
7748
|
-
parentRegister(instanceId, componentDefinition$
|
|
7889
|
+
parentRegister(instanceId, componentDefinition$S.fragmentNode, parentId, metadata, uniforms, componentDefinition$S);
|
|
7749
7890
|
isRegistered = true;
|
|
7750
7891
|
} catch (error) {
|
|
7751
7892
|
console.error("Error registering shader node:", error);
|
|
@@ -7821,8 +7962,8 @@ const defaultProps$6 = {
|
|
|
7821
7962
|
// transform intentionally has no default - handled by effectiveTransform
|
|
7822
7963
|
};
|
|
7823
7964
|
try {
|
|
7824
|
-
if (componentDefinition$
|
|
7825
|
-
Object.entries(componentDefinition$
|
|
7965
|
+
if (componentDefinition$T && componentDefinition$T.props) {
|
|
7966
|
+
Object.entries(componentDefinition$T.props).forEach(([key, config]) => {
|
|
7826
7967
|
const propConfig = config;
|
|
7827
7968
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
7828
7969
|
defaultProps$6[key] = propConfig.default;
|
|
@@ -7841,7 +7982,7 @@ function ShaderComponent$6(props) {
|
|
|
7841
7982
|
shaderUniformUpdate: parentUniformUpdate,
|
|
7842
7983
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
7843
7984
|
} = context;
|
|
7844
|
-
const instanceId = props.id || `${componentDefinition$
|
|
7985
|
+
const instanceId = props.id || `${componentDefinition$T.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7845
7986
|
const effectiveProps = createMemo(() => {
|
|
7846
7987
|
let baseProps = {
|
|
7847
7988
|
...defaultProps$6
|
|
@@ -7860,7 +8001,7 @@ function ShaderComponent$6(props) {
|
|
|
7860
8001
|
let uniformsMap = null;
|
|
7861
8002
|
const getUniformsMap = () => {
|
|
7862
8003
|
if (!uniformsMap) {
|
|
7863
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
8004
|
+
uniformsMap = createUniformsMap(componentDefinition$T, effectiveProps(), instanceId);
|
|
7864
8005
|
}
|
|
7865
8006
|
return uniformsMap;
|
|
7866
8007
|
};
|
|
@@ -7885,7 +8026,7 @@ function ShaderComponent$6(props) {
|
|
|
7885
8026
|
renderOrder: props.renderOrder || 0,
|
|
7886
8027
|
transform: effectiveTransform()
|
|
7887
8028
|
};
|
|
7888
|
-
parentRegister(instanceId, componentDefinition$
|
|
8029
|
+
parentRegister(instanceId, componentDefinition$T.fragmentNode, parentId, metadata, uniforms, componentDefinition$T);
|
|
7889
8030
|
isRegistered = true;
|
|
7890
8031
|
} catch (error) {
|
|
7891
8032
|
console.error("Error registering shader node:", error);
|
|
@@ -7961,8 +8102,8 @@ const defaultProps$5 = {
|
|
|
7961
8102
|
// transform intentionally has no default - handled by effectiveTransform
|
|
7962
8103
|
};
|
|
7963
8104
|
try {
|
|
7964
|
-
if (componentDefinition$
|
|
7965
|
-
Object.entries(componentDefinition$
|
|
8105
|
+
if (componentDefinition$U && componentDefinition$U.props) {
|
|
8106
|
+
Object.entries(componentDefinition$U.props).forEach(([key, config]) => {
|
|
7966
8107
|
const propConfig = config;
|
|
7967
8108
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
7968
8109
|
defaultProps$5[key] = propConfig.default;
|
|
@@ -7981,7 +8122,7 @@ function ShaderComponent$5(props) {
|
|
|
7981
8122
|
shaderUniformUpdate: parentUniformUpdate,
|
|
7982
8123
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
7983
8124
|
} = context;
|
|
7984
|
-
const instanceId = props.id || `${componentDefinition$
|
|
8125
|
+
const instanceId = props.id || `${componentDefinition$U.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7985
8126
|
const effectiveProps = createMemo(() => {
|
|
7986
8127
|
let baseProps = {
|
|
7987
8128
|
...defaultProps$5
|
|
@@ -8000,7 +8141,7 @@ function ShaderComponent$5(props) {
|
|
|
8000
8141
|
let uniformsMap = null;
|
|
8001
8142
|
const getUniformsMap = () => {
|
|
8002
8143
|
if (!uniformsMap) {
|
|
8003
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
8144
|
+
uniformsMap = createUniformsMap(componentDefinition$U, effectiveProps(), instanceId);
|
|
8004
8145
|
}
|
|
8005
8146
|
return uniformsMap;
|
|
8006
8147
|
};
|
|
@@ -8025,7 +8166,7 @@ function ShaderComponent$5(props) {
|
|
|
8025
8166
|
renderOrder: props.renderOrder || 0,
|
|
8026
8167
|
transform: effectiveTransform()
|
|
8027
8168
|
};
|
|
8028
|
-
parentRegister(instanceId, componentDefinition$
|
|
8169
|
+
parentRegister(instanceId, componentDefinition$U.fragmentNode, parentId, metadata, uniforms, componentDefinition$U);
|
|
8029
8170
|
isRegistered = true;
|
|
8030
8171
|
} catch (error) {
|
|
8031
8172
|
console.error("Error registering shader node:", error);
|
|
@@ -8101,8 +8242,8 @@ const defaultProps$4 = {
|
|
|
8101
8242
|
// transform intentionally has no default - handled by effectiveTransform
|
|
8102
8243
|
};
|
|
8103
8244
|
try {
|
|
8104
|
-
if (componentDefinition$
|
|
8105
|
-
Object.entries(componentDefinition$
|
|
8245
|
+
if (componentDefinition$V && componentDefinition$V.props) {
|
|
8246
|
+
Object.entries(componentDefinition$V.props).forEach(([key, config]) => {
|
|
8106
8247
|
const propConfig = config;
|
|
8107
8248
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
8108
8249
|
defaultProps$4[key] = propConfig.default;
|
|
@@ -8121,7 +8262,7 @@ function ShaderComponent$4(props) {
|
|
|
8121
8262
|
shaderUniformUpdate: parentUniformUpdate,
|
|
8122
8263
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
8123
8264
|
} = context;
|
|
8124
|
-
const instanceId = props.id || `${componentDefinition$
|
|
8265
|
+
const instanceId = props.id || `${componentDefinition$V.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
8125
8266
|
const effectiveProps = createMemo(() => {
|
|
8126
8267
|
let baseProps = {
|
|
8127
8268
|
...defaultProps$4
|
|
@@ -8140,7 +8281,7 @@ function ShaderComponent$4(props) {
|
|
|
8140
8281
|
let uniformsMap = null;
|
|
8141
8282
|
const getUniformsMap = () => {
|
|
8142
8283
|
if (!uniformsMap) {
|
|
8143
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
8284
|
+
uniformsMap = createUniformsMap(componentDefinition$V, effectiveProps(), instanceId);
|
|
8144
8285
|
}
|
|
8145
8286
|
return uniformsMap;
|
|
8146
8287
|
};
|
|
@@ -8165,7 +8306,7 @@ function ShaderComponent$4(props) {
|
|
|
8165
8306
|
renderOrder: props.renderOrder || 0,
|
|
8166
8307
|
transform: effectiveTransform()
|
|
8167
8308
|
};
|
|
8168
|
-
parentRegister(instanceId, componentDefinition$
|
|
8309
|
+
parentRegister(instanceId, componentDefinition$V.fragmentNode, parentId, metadata, uniforms, componentDefinition$V);
|
|
8169
8310
|
isRegistered = true;
|
|
8170
8311
|
} catch (error) {
|
|
8171
8312
|
console.error("Error registering shader node:", error);
|
|
@@ -8241,8 +8382,8 @@ const defaultProps$3 = {
|
|
|
8241
8382
|
// transform intentionally has no default - handled by effectiveTransform
|
|
8242
8383
|
};
|
|
8243
8384
|
try {
|
|
8244
|
-
if (componentDefinition$
|
|
8245
|
-
Object.entries(componentDefinition$
|
|
8385
|
+
if (componentDefinition$W && componentDefinition$W.props) {
|
|
8386
|
+
Object.entries(componentDefinition$W.props).forEach(([key, config]) => {
|
|
8246
8387
|
const propConfig = config;
|
|
8247
8388
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
8248
8389
|
defaultProps$3[key] = propConfig.default;
|
|
@@ -8261,7 +8402,7 @@ function ShaderComponent$3(props) {
|
|
|
8261
8402
|
shaderUniformUpdate: parentUniformUpdate,
|
|
8262
8403
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
8263
8404
|
} = context;
|
|
8264
|
-
const instanceId = props.id || `${componentDefinition$
|
|
8405
|
+
const instanceId = props.id || `${componentDefinition$W.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
8265
8406
|
const effectiveProps = createMemo(() => {
|
|
8266
8407
|
let baseProps = {
|
|
8267
8408
|
...defaultProps$3
|
|
@@ -8280,7 +8421,7 @@ function ShaderComponent$3(props) {
|
|
|
8280
8421
|
let uniformsMap = null;
|
|
8281
8422
|
const getUniformsMap = () => {
|
|
8282
8423
|
if (!uniformsMap) {
|
|
8283
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
8424
|
+
uniformsMap = createUniformsMap(componentDefinition$W, effectiveProps(), instanceId);
|
|
8284
8425
|
}
|
|
8285
8426
|
return uniformsMap;
|
|
8286
8427
|
};
|
|
@@ -8305,7 +8446,7 @@ function ShaderComponent$3(props) {
|
|
|
8305
8446
|
renderOrder: props.renderOrder || 0,
|
|
8306
8447
|
transform: effectiveTransform()
|
|
8307
8448
|
};
|
|
8308
|
-
parentRegister(instanceId, componentDefinition$
|
|
8449
|
+
parentRegister(instanceId, componentDefinition$W.fragmentNode, parentId, metadata, uniforms, componentDefinition$W);
|
|
8309
8450
|
isRegistered = true;
|
|
8310
8451
|
} catch (error) {
|
|
8311
8452
|
console.error("Error registering shader node:", error);
|
|
@@ -8381,8 +8522,8 @@ const defaultProps$2 = {
|
|
|
8381
8522
|
// transform intentionally has no default - handled by effectiveTransform
|
|
8382
8523
|
};
|
|
8383
8524
|
try {
|
|
8384
|
-
if (componentDefinition$
|
|
8385
|
-
Object.entries(componentDefinition$
|
|
8525
|
+
if (componentDefinition$X && componentDefinition$X.props) {
|
|
8526
|
+
Object.entries(componentDefinition$X.props).forEach(([key, config]) => {
|
|
8386
8527
|
const propConfig = config;
|
|
8387
8528
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
8388
8529
|
defaultProps$2[key] = propConfig.default;
|
|
@@ -8401,7 +8542,7 @@ function ShaderComponent$2(props) {
|
|
|
8401
8542
|
shaderUniformUpdate: parentUniformUpdate,
|
|
8402
8543
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
8403
8544
|
} = context;
|
|
8404
|
-
const instanceId = props.id || `${componentDefinition$
|
|
8545
|
+
const instanceId = props.id || `${componentDefinition$X.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
8405
8546
|
const effectiveProps = createMemo(() => {
|
|
8406
8547
|
let baseProps = {
|
|
8407
8548
|
...defaultProps$2
|
|
@@ -8420,7 +8561,7 @@ function ShaderComponent$2(props) {
|
|
|
8420
8561
|
let uniformsMap = null;
|
|
8421
8562
|
const getUniformsMap = () => {
|
|
8422
8563
|
if (!uniformsMap) {
|
|
8423
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
8564
|
+
uniformsMap = createUniformsMap(componentDefinition$X, effectiveProps(), instanceId);
|
|
8424
8565
|
}
|
|
8425
8566
|
return uniformsMap;
|
|
8426
8567
|
};
|
|
@@ -8445,7 +8586,7 @@ function ShaderComponent$2(props) {
|
|
|
8445
8586
|
renderOrder: props.renderOrder || 0,
|
|
8446
8587
|
transform: effectiveTransform()
|
|
8447
8588
|
};
|
|
8448
|
-
parentRegister(instanceId, componentDefinition$
|
|
8589
|
+
parentRegister(instanceId, componentDefinition$X.fragmentNode, parentId, metadata, uniforms, componentDefinition$X);
|
|
8449
8590
|
isRegistered = true;
|
|
8450
8591
|
} catch (error) {
|
|
8451
8592
|
console.error("Error registering shader node:", error);
|
|
@@ -8521,8 +8662,8 @@ const defaultProps$1 = {
|
|
|
8521
8662
|
// transform intentionally has no default - handled by effectiveTransform
|
|
8522
8663
|
};
|
|
8523
8664
|
try {
|
|
8524
|
-
if (componentDefinition$
|
|
8525
|
-
Object.entries(componentDefinition$
|
|
8665
|
+
if (componentDefinition$Y && componentDefinition$Y.props) {
|
|
8666
|
+
Object.entries(componentDefinition$Y.props).forEach(([key, config]) => {
|
|
8526
8667
|
const propConfig = config;
|
|
8527
8668
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
8528
8669
|
defaultProps$1[key] = propConfig.default;
|
|
@@ -8541,7 +8682,7 @@ function ShaderComponent$1(props) {
|
|
|
8541
8682
|
shaderUniformUpdate: parentUniformUpdate,
|
|
8542
8683
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
8543
8684
|
} = context;
|
|
8544
|
-
const instanceId = props.id || `${componentDefinition$
|
|
8685
|
+
const instanceId = props.id || `${componentDefinition$Y.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
8545
8686
|
const effectiveProps = createMemo(() => {
|
|
8546
8687
|
let baseProps = {
|
|
8547
8688
|
...defaultProps$1
|
|
@@ -8560,7 +8701,7 @@ function ShaderComponent$1(props) {
|
|
|
8560
8701
|
let uniformsMap = null;
|
|
8561
8702
|
const getUniformsMap = () => {
|
|
8562
8703
|
if (!uniformsMap) {
|
|
8563
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
8704
|
+
uniformsMap = createUniformsMap(componentDefinition$Y, effectiveProps(), instanceId);
|
|
8564
8705
|
}
|
|
8565
8706
|
return uniformsMap;
|
|
8566
8707
|
};
|
|
@@ -8585,7 +8726,7 @@ function ShaderComponent$1(props) {
|
|
|
8585
8726
|
renderOrder: props.renderOrder || 0,
|
|
8586
8727
|
transform: effectiveTransform()
|
|
8587
8728
|
};
|
|
8588
|
-
parentRegister(instanceId, componentDefinition$
|
|
8729
|
+
parentRegister(instanceId, componentDefinition$Y.fragmentNode, parentId, metadata, uniforms, componentDefinition$Y);
|
|
8589
8730
|
isRegistered = true;
|
|
8590
8731
|
} catch (error) {
|
|
8591
8732
|
console.error("Error registering shader node:", error);
|
|
@@ -8661,8 +8802,8 @@ const defaultProps = {
|
|
|
8661
8802
|
// transform intentionally has no default - handled by effectiveTransform
|
|
8662
8803
|
};
|
|
8663
8804
|
try {
|
|
8664
|
-
if (componentDefinition$
|
|
8665
|
-
Object.entries(componentDefinition$
|
|
8805
|
+
if (componentDefinition$Z && componentDefinition$Z.props) {
|
|
8806
|
+
Object.entries(componentDefinition$Z.props).forEach(([key, config]) => {
|
|
8666
8807
|
const propConfig = config;
|
|
8667
8808
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) {
|
|
8668
8809
|
defaultProps[key] = propConfig.default;
|
|
@@ -8681,7 +8822,7 @@ function ShaderComponent(props) {
|
|
|
8681
8822
|
shaderUniformUpdate: parentUniformUpdate,
|
|
8682
8823
|
shaderMetadataUpdate: parentMetadataUpdate
|
|
8683
8824
|
} = context;
|
|
8684
|
-
const instanceId = props.id || `${componentDefinition$
|
|
8825
|
+
const instanceId = props.id || `${componentDefinition$Z.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
8685
8826
|
const effectiveProps = createMemo(() => {
|
|
8686
8827
|
let baseProps = {
|
|
8687
8828
|
...defaultProps
|
|
@@ -8700,7 +8841,7 @@ function ShaderComponent(props) {
|
|
|
8700
8841
|
let uniformsMap = null;
|
|
8701
8842
|
const getUniformsMap = () => {
|
|
8702
8843
|
if (!uniformsMap) {
|
|
8703
|
-
uniformsMap = createUniformsMap(componentDefinition$
|
|
8844
|
+
uniformsMap = createUniformsMap(componentDefinition$Z, effectiveProps(), instanceId);
|
|
8704
8845
|
}
|
|
8705
8846
|
return uniformsMap;
|
|
8706
8847
|
};
|
|
@@ -8725,7 +8866,7 @@ function ShaderComponent(props) {
|
|
|
8725
8866
|
renderOrder: props.renderOrder || 0,
|
|
8726
8867
|
transform: effectiveTransform()
|
|
8727
8868
|
};
|
|
8728
|
-
parentRegister(instanceId, componentDefinition$
|
|
8869
|
+
parentRegister(instanceId, componentDefinition$Z.fragmentNode, parentId, metadata, uniforms, componentDefinition$Z);
|
|
8729
8870
|
isRegistered = true;
|
|
8730
8871
|
} catch (error) {
|
|
8731
8872
|
console.error("Error registering shader node:", error);
|
|
@@ -8785,67 +8926,68 @@ function ShaderComponent(props) {
|
|
|
8785
8926
|
});
|
|
8786
8927
|
}
|
|
8787
8928
|
export {
|
|
8788
|
-
ShaderComponent$
|
|
8789
|
-
ShaderComponent$
|
|
8790
|
-
ShaderComponent$
|
|
8791
|
-
ShaderComponent$
|
|
8792
|
-
ShaderComponent$
|
|
8793
|
-
ShaderComponent$
|
|
8794
|
-
ShaderComponent$
|
|
8795
|
-
ShaderComponent$
|
|
8796
|
-
ShaderComponent$
|
|
8797
|
-
ShaderComponent$
|
|
8798
|
-
ShaderComponent$
|
|
8799
|
-
ShaderComponent$
|
|
8800
|
-
ShaderComponent$
|
|
8801
|
-
ShaderComponent$
|
|
8802
|
-
ShaderComponent$
|
|
8803
|
-
ShaderComponent$
|
|
8804
|
-
ShaderComponent$
|
|
8805
|
-
ShaderComponent$
|
|
8806
|
-
ShaderComponent$
|
|
8807
|
-
ShaderComponent$
|
|
8808
|
-
ShaderComponent$
|
|
8809
|
-
ShaderComponent$
|
|
8810
|
-
ShaderComponent$
|
|
8811
|
-
ShaderComponent$
|
|
8812
|
-
ShaderComponent$
|
|
8813
|
-
ShaderComponent$
|
|
8814
|
-
ShaderComponent$
|
|
8815
|
-
ShaderComponent$
|
|
8816
|
-
ShaderComponent$
|
|
8817
|
-
ShaderComponent$
|
|
8818
|
-
ShaderComponent$
|
|
8819
|
-
ShaderComponent$
|
|
8820
|
-
ShaderComponent$
|
|
8821
|
-
ShaderComponent$
|
|
8822
|
-
ShaderComponent$
|
|
8823
|
-
ShaderComponent$
|
|
8824
|
-
ShaderComponent$
|
|
8825
|
-
ShaderComponent$
|
|
8826
|
-
ShaderComponent$
|
|
8827
|
-
ShaderComponent$
|
|
8828
|
-
ShaderComponent$
|
|
8829
|
-
ShaderComponent$
|
|
8830
|
-
ShaderComponent$
|
|
8929
|
+
ShaderComponent$Z as AngularBlur,
|
|
8930
|
+
ShaderComponent$Y as Ascii,
|
|
8931
|
+
ShaderComponent$X as Beam,
|
|
8932
|
+
ShaderComponent$W as Blob,
|
|
8933
|
+
ShaderComponent$V as Blur,
|
|
8934
|
+
ShaderComponent$U as BrightnessContrast,
|
|
8935
|
+
ShaderComponent$T as Bulge,
|
|
8936
|
+
ShaderComponent$S as CRTScreen,
|
|
8937
|
+
ShaderComponent$R as ChannelBlur,
|
|
8938
|
+
ShaderComponent$Q as Checkerboard,
|
|
8939
|
+
ShaderComponent$P as ChromaFlow,
|
|
8940
|
+
ShaderComponent$O as ChromaticAberration,
|
|
8941
|
+
ShaderComponent$N as Circle,
|
|
8942
|
+
ShaderComponent$M as CursorTrail,
|
|
8943
|
+
ShaderComponent$L as DiffuseBlur,
|
|
8944
|
+
ShaderComponent$K as Dither,
|
|
8945
|
+
ShaderComponent$J as DotGrid,
|
|
8946
|
+
ShaderComponent$I as Duotone,
|
|
8947
|
+
ShaderComponent$H as FilmGrain,
|
|
8948
|
+
ShaderComponent$G as FloatingParticles,
|
|
8949
|
+
ShaderComponent$F as GlassTiles,
|
|
8950
|
+
ShaderComponent$E as Glow,
|
|
8951
|
+
ShaderComponent$D as Godrays,
|
|
8952
|
+
ShaderComponent$C as Grayscale,
|
|
8953
|
+
ShaderComponent$B as Grid,
|
|
8954
|
+
ShaderComponent$A as GridDistortion,
|
|
8955
|
+
ShaderComponent$z as Group,
|
|
8956
|
+
ShaderComponent$y as Halftone,
|
|
8957
|
+
ShaderComponent$x as HueShift,
|
|
8958
|
+
ShaderComponent$w as ImageTexture,
|
|
8959
|
+
ShaderComponent$v as Invert,
|
|
8960
|
+
ShaderComponent$u as LinearBlur,
|
|
8961
|
+
ShaderComponent$t as LinearGradient,
|
|
8962
|
+
ShaderComponent$s as Liquify,
|
|
8963
|
+
ShaderComponent$r as Perspective,
|
|
8964
|
+
ShaderComponent$q as Pixelate,
|
|
8965
|
+
ShaderComponent$p as PolarCoordinates,
|
|
8966
|
+
ShaderComponent$o as Posterize,
|
|
8967
|
+
ShaderComponent$n as ProgressiveBlur,
|
|
8968
|
+
ShaderComponent$m as RadialGradient,
|
|
8969
|
+
ShaderComponent$l as RectangularCoordinates,
|
|
8970
|
+
ShaderComponent$k as Ripples,
|
|
8971
|
+
ShaderComponent$j as Saturation,
|
|
8831
8972
|
Shader,
|
|
8832
|
-
ShaderComponent$
|
|
8833
|
-
ShaderComponent$
|
|
8834
|
-
ShaderComponent$
|
|
8835
|
-
ShaderComponent$
|
|
8836
|
-
ShaderComponent$
|
|
8837
|
-
ShaderComponent$
|
|
8838
|
-
ShaderComponent$
|
|
8839
|
-
ShaderComponent$
|
|
8840
|
-
ShaderComponent$
|
|
8841
|
-
ShaderComponent$
|
|
8842
|
-
ShaderComponent$
|
|
8843
|
-
ShaderComponent$
|
|
8844
|
-
ShaderComponent$
|
|
8845
|
-
ShaderComponent$
|
|
8846
|
-
ShaderComponent$
|
|
8847
|
-
ShaderComponent$
|
|
8848
|
-
ShaderComponent$
|
|
8973
|
+
ShaderComponent$i as Sharpness,
|
|
8974
|
+
ShaderComponent$h as Shatter,
|
|
8975
|
+
ShaderComponent$g as SimplexNoise,
|
|
8976
|
+
ShaderComponent$f as SineWave,
|
|
8977
|
+
ShaderComponent$e as SolidColor,
|
|
8978
|
+
ShaderComponent$d as Spherize,
|
|
8979
|
+
ShaderComponent$c as Spiral,
|
|
8980
|
+
ShaderComponent$b as Strands,
|
|
8981
|
+
ShaderComponent$a as Stretch,
|
|
8982
|
+
ShaderComponent$9 as Stripes,
|
|
8983
|
+
ShaderComponent$8 as Swirl,
|
|
8984
|
+
ShaderComponent$7 as TiltShift,
|
|
8985
|
+
ShaderComponent$6 as Tint,
|
|
8986
|
+
ShaderComponent$5 as Tritone,
|
|
8987
|
+
ShaderComponent$4 as Twirl,
|
|
8988
|
+
ShaderComponent$3 as Vibrance,
|
|
8989
|
+
ShaderComponent$2 as WaveDistortion,
|
|
8990
|
+
ShaderComponent$1 as WebcamTexture,
|
|
8849
8991
|
ShaderComponent as ZoomBlur,
|
|
8850
8992
|
generatePresetCode
|
|
8851
8993
|
};
|