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