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