@awesome-flow/noise 0.9.1 → 0.9.2

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.
Files changed (49) hide show
  1. package/dist/abstract/index.cjs +6 -6
  2. package/dist/abstract/index.d.cts +2 -2
  3. package/dist/abstract/index.d.ts +2 -2
  4. package/dist/abstract/index.js +5 -5
  5. package/dist/{chunk-D5QJ3563.cjs → chunk-36USJJC4.cjs} +52 -117
  6. package/dist/{chunk-76MMGOOY.cjs → chunk-DQE5NXY7.cjs} +84 -181
  7. package/dist/{chunk-4YL2V7SE.js → chunk-FMJZTXJQ.js} +75 -140
  8. package/dist/{chunk-O5DVJAMK.cjs → chunk-LKDSXT7I.cjs} +66 -144
  9. package/dist/{chunk-L45ZU7VL.js → chunk-M26CSOHC.js} +109 -206
  10. package/dist/{chunk-S2ZGHJ75.js → chunk-NUA3VGOA.js} +99 -177
  11. package/dist/{chunk-MIYOMNAG.cjs → chunk-OLJKWO2H.cjs} +77 -129
  12. package/dist/{chunk-EHBNVDTI.js → chunk-R6TU3SBX.js} +7 -18
  13. package/dist/{chunk-BE4RLT5P.js → chunk-W4T6Q7A5.js} +75 -127
  14. package/dist/{chunk-X2GXADE5.cjs → chunk-XC7VF5YC.cjs} +7 -18
  15. package/dist/{index-EzT2GjIx.d.cts → index-BZr1EROK.d.cts} +1 -1
  16. package/dist/{index-DAAmYCPU.d.ts → index-DzD3jbPF.d.ts} +1 -1
  17. package/dist/nodes/generators/index.cjs +2 -2
  18. package/dist/nodes/generators/index.js +1 -1
  19. package/dist/nodes/groups/index.cjs +2 -2
  20. package/dist/nodes/groups/index.js +1 -1
  21. package/dist/nodes/index.cjs +6 -6
  22. package/dist/nodes/index.js +5 -5
  23. package/dist/nodes/modifiers/index.cjs +2 -2
  24. package/dist/nodes/modifiers/index.js +1 -1
  25. package/dist/nodes/output/index.cjs +6 -6
  26. package/dist/nodes/output/index.js +5 -5
  27. package/dist/nodes/selectors/index.cjs +6 -6
  28. package/dist/nodes/selectors/index.js +5 -5
  29. package/dist/nodes/transformers/index.cjs +2 -2
  30. package/dist/nodes/transformers/index.js +1 -1
  31. package/dist/templates/generators/index.cjs +6 -6
  32. package/dist/templates/generators/index.js +5 -5
  33. package/dist/templates/groups/index.cjs +6 -6
  34. package/dist/templates/groups/index.js +5 -5
  35. package/dist/templates/index.cjs +6 -6
  36. package/dist/templates/index.d.cts +1 -1
  37. package/dist/templates/index.d.ts +1 -1
  38. package/dist/templates/index.js +5 -5
  39. package/dist/templates/modifiers/index.cjs +6 -6
  40. package/dist/templates/modifiers/index.js +5 -5
  41. package/dist/templates/output/index.cjs +6 -6
  42. package/dist/templates/output/index.js +5 -5
  43. package/dist/templates/selectors/index.cjs +6 -6
  44. package/dist/templates/selectors/index.js +5 -5
  45. package/dist/templates/transformers/index.cjs +6 -6
  46. package/dist/templates/transformers/index.d.cts +1 -1
  47. package/dist/templates/transformers/index.d.ts +1 -1
  48. package/dist/templates/transformers/index.js +5 -5
  49. package/package.json +10 -10
@@ -4,7 +4,7 @@ import {
4
4
  noise_scale_point_node_default,
5
5
  noise_translate_point_node_default,
6
6
  noise_turbulence_node_default
7
- } from "./chunk-4YL2V7SE.js";
7
+ } from "./chunk-FMJZTXJQ.js";
8
8
  import {
9
9
  noise_billow_node_default,
10
10
  noise_checkerboard_node_default,
@@ -16,10 +16,10 @@ import {
16
16
  noise_voronoi_node_default,
17
17
  position_const_node_default,
18
18
  position_grid_node_default
19
- } from "./chunk-S2ZGHJ75.js";
19
+ } from "./chunk-NUA3VGOA.js";
20
20
  import {
21
21
  module_group_node_default
22
- } from "./chunk-EHBNVDTI.js";
22
+ } from "./chunk-R6TU3SBX.js";
23
23
  import {
24
24
  noise_abs_node_default,
25
25
  noise_clamp_node_default,
@@ -30,11 +30,11 @@ import {
30
30
  noise_normalize_node_default,
31
31
  noise_scale_bias_node_default,
32
32
  noise_terrace_node_default
33
- } from "./chunk-L45ZU7VL.js";
33
+ } from "./chunk-M26CSOHC.js";
34
34
 
35
35
  // src/nodes/output/noise-logger-node.tsx
36
36
  import { useIncomingComputedData } from "@awesome-flow/core/hooks";
37
- import { NodeContainer, NodeTrackConnections } from "@awesome-flow/core/layout";
37
+ import { NodeContainer } from "@awesome-flow/core/layout";
38
38
  import { Divider, Stack, Text } from "@mantine/core";
39
39
  import { useMemo } from "react";
40
40
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -60,8 +60,7 @@ function NoiseLoggerNode({
60
60
  v.position?.z,
61
61
  ": ",
62
62
  v.value
63
- ] }, i)) }),
64
- /* @__PURE__ */ jsx(NodeTrackConnections, { handles: data.handles, nodeId: id, type: "target" })
63
+ ] }, i)) })
65
64
  ] });
66
65
  }
67
66
  var noise_logger_node_default = NoiseLoggerNode;
@@ -70,7 +69,7 @@ var noise_logger_node_default = NoiseLoggerNode;
70
69
  import { c as _c4 } from "react/compiler-runtime";
71
70
  import { HandlesIncomingDataStatus as HandlesIncomingDataStatus3 } from "@awesome-flow/core/components";
72
71
  import { useUpdateNodeComputedData as useUpdateNodeComputedData4 } from "@awesome-flow/core/hooks";
73
- import { NodeContainer as NodeContainer6, NodeTrackConnections as NodeTrackConnections6 } from "@awesome-flow/core/layout";
72
+ import { NodeContainer as NodeContainer6 } from "@awesome-flow/core/layout";
74
73
  import { Text as Text3 } from "@mantine/core";
75
74
  import { useState as useState3 } from "react";
76
75
 
@@ -78,11 +77,11 @@ import { useState as useState3 } from "react";
78
77
  import { c as _c } from "react/compiler-runtime";
79
78
  import { HandlesIncomingDataStatus } from "@awesome-flow/core/components";
80
79
  import { useUpdateNodeComputedData } from "@awesome-flow/core/hooks";
81
- import { NodeContainer as NodeContainer2, NodeTrackConnections as NodeTrackConnections2 } from "@awesome-flow/core/layout";
80
+ import { NodeContainer as NodeContainer2 } from "@awesome-flow/core/layout";
82
81
  import { Blend } from "libnoise-simplex-ts";
83
- import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
82
+ import { jsx as jsx2 } from "react/jsx-runtime";
84
83
  function NoiseBlendNode(t0) {
85
- const $ = _c(17);
84
+ const $ = _c(13);
86
85
  const {
87
86
  id,
88
87
  selected,
@@ -111,7 +110,7 @@ function NoiseBlendNode(t0) {
111
110
  const onDataUpdated = t1;
112
111
  let t2;
113
112
  if ($[3] !== data.handles || $[4] !== id || $[5] !== onDataUpdated) {
114
- t2 = /* @__PURE__ */ jsx2(HandlesIncomingDataStatus, { nodeId: id, handles: data.handles, handleKey: "dataId", onDataUpdated, type: "target", resetComputedData: true });
113
+ t2 = /* @__PURE__ */ jsx2(HandlesIncomingDataStatus, { nodeId: id, handles: data.handles, groupBy: "dataId", onDataUpdated, type: "target", resetComputedData: true });
115
114
  $[3] = data.handles;
116
115
  $[4] = id;
117
116
  $[5] = onDataUpdated;
@@ -120,31 +119,18 @@ function NoiseBlendNode(t0) {
120
119
  t2 = $[6];
121
120
  }
122
121
  let t3;
123
- if ($[7] !== data.handles || $[8] !== id) {
124
- t3 = /* @__PURE__ */ jsx2(NodeTrackConnections2, { handles: data.handles, nodeId: id, type: "target" });
125
- $[7] = data.handles;
122
+ if ($[7] !== data || $[8] !== id || $[9] !== selected || $[10] !== t2 || $[11] !== type) {
123
+ t3 = /* @__PURE__ */ jsx2(NodeContainer2, { id, selected, data, type, children: t2 });
124
+ $[7] = data;
126
125
  $[8] = id;
127
- $[9] = t3;
128
- } else {
129
- t3 = $[9];
130
- }
131
- let t4;
132
- if ($[10] !== data || $[11] !== id || $[12] !== selected || $[13] !== t2 || $[14] !== t3 || $[15] !== type) {
133
- t4 = /* @__PURE__ */ jsxs2(NodeContainer2, { id, selected, data, type, children: [
134
- t2,
135
- t3
136
- ] });
137
- $[10] = data;
138
- $[11] = id;
139
- $[12] = selected;
140
- $[13] = t2;
141
- $[14] = t3;
142
- $[15] = type;
143
- $[16] = t4;
126
+ $[9] = selected;
127
+ $[10] = t2;
128
+ $[11] = type;
129
+ $[12] = t3;
144
130
  } else {
145
- t4 = $[16];
131
+ t3 = $[12];
146
132
  }
147
- return t4;
133
+ return t3;
148
134
  }
149
135
  var noise_blend_node_default = NoiseBlendNode;
150
136
 
@@ -152,13 +138,13 @@ var noise_blend_node_default = NoiseBlendNode;
152
138
  import { c as _c2 } from "react/compiler-runtime";
153
139
  import { HandlesIncomingDataStatus as HandlesIncomingDataStatus2 } from "@awesome-flow/core/components";
154
140
  import { useUpdateNodeComputedData as useUpdateNodeComputedData2, useUpdateNodeData } from "@awesome-flow/core/hooks";
155
- import { NodeContainer as NodeContainer3, NodeTrackConnections as NodeTrackConnections3 } from "@awesome-flow/core/layout";
141
+ import { NodeContainer as NodeContainer3 } from "@awesome-flow/core/layout";
156
142
  import { Group, NumberInput, Stack as Stack2 } from "@mantine/core";
157
143
  import { Select } from "libnoise-simplex-ts";
158
144
  import { useEffect, useState } from "react";
159
- import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
145
+ import { jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
160
146
  function NoiseSelectNode(t0) {
161
- const $ = _c2(41);
147
+ const $ = _c2(37);
162
148
  const {
163
149
  id,
164
150
  selected,
@@ -224,7 +210,7 @@ function NoiseSelectNode(t0) {
224
210
  }
225
211
  let t5;
226
212
  if ($[14] !== edgeFalloff) {
227
- t5 = /* @__PURE__ */ jsxs3(Group, { children: [
213
+ t5 = /* @__PURE__ */ jsxs2(Group, { children: [
228
214
  "Edge Falloff:",
229
215
  /* @__PURE__ */ jsx3(NumberInput, { size: "xs", w: 100, value: edgeFalloff, onChange: t4, step: 0.1 })
230
216
  ] });
@@ -242,7 +228,7 @@ function NoiseSelectNode(t0) {
242
228
  }
243
229
  let t7;
244
230
  if ($[17] !== lowerBound) {
245
- t7 = /* @__PURE__ */ jsxs3(Group, { children: [
231
+ t7 = /* @__PURE__ */ jsxs2(Group, { children: [
246
232
  "Lower Bound:",
247
233
  /* @__PURE__ */ jsx3(NumberInput, { size: "xs", w: 100, value: lowerBound, onChange: t6, step: 0.1 })
248
234
  ] });
@@ -260,7 +246,7 @@ function NoiseSelectNode(t0) {
260
246
  }
261
247
  let t9;
262
248
  if ($[20] !== upperBound) {
263
- t9 = /* @__PURE__ */ jsxs3(Group, { children: [
249
+ t9 = /* @__PURE__ */ jsxs2(Group, { children: [
264
250
  "Upper Bound:",
265
251
  /* @__PURE__ */ jsx3(NumberInput, { size: "xs", w: 100, value: upperBound, onChange: t8, step: 0.1 })
266
252
  ] });
@@ -271,7 +257,7 @@ function NoiseSelectNode(t0) {
271
257
  }
272
258
  let t10;
273
259
  if ($[22] !== data.handles || $[23] !== id || $[24] !== onDataUpdated) {
274
- t10 = /* @__PURE__ */ jsx3(HandlesIncomingDataStatus2, { nodeId: id, handles: data.handles, handleKey: "dataId", onDataUpdated, type: "target", resetComputedData: true });
260
+ t10 = /* @__PURE__ */ jsx3(HandlesIncomingDataStatus2, { nodeId: id, handles: data.handles, groupBy: "dataId", onDataUpdated, type: "target", resetComputedData: true });
275
261
  $[22] = data.handles;
276
262
  $[23] = id;
277
263
  $[24] = onDataUpdated;
@@ -281,7 +267,7 @@ function NoiseSelectNode(t0) {
281
267
  }
282
268
  let t11;
283
269
  if ($[26] !== t10 || $[27] !== t5 || $[28] !== t7 || $[29] !== t9) {
284
- t11 = /* @__PURE__ */ jsxs3(Stack2, { children: [
270
+ t11 = /* @__PURE__ */ jsxs2(Stack2, { children: [
285
271
  t5,
286
272
  t7,
287
273
  t9,
@@ -296,43 +282,30 @@ function NoiseSelectNode(t0) {
296
282
  t11 = $[30];
297
283
  }
298
284
  let t12;
299
- if ($[31] !== data.handles || $[32] !== id) {
300
- t12 = /* @__PURE__ */ jsx3(NodeTrackConnections3, { handles: data.handles, nodeId: id, type: "target" });
301
- $[31] = data.handles;
285
+ if ($[31] !== data || $[32] !== id || $[33] !== selected || $[34] !== t11 || $[35] !== type) {
286
+ t12 = /* @__PURE__ */ jsx3(NodeContainer3, { id, selected, data, type, children: t11 });
287
+ $[31] = data;
302
288
  $[32] = id;
303
- $[33] = t12;
304
- } else {
305
- t12 = $[33];
306
- }
307
- let t13;
308
- if ($[34] !== data || $[35] !== id || $[36] !== selected || $[37] !== t11 || $[38] !== t12 || $[39] !== type) {
309
- t13 = /* @__PURE__ */ jsxs3(NodeContainer3, { id, selected, data, type, children: [
310
- t11,
311
- t12
312
- ] });
313
- $[34] = data;
314
- $[35] = id;
315
- $[36] = selected;
316
- $[37] = t11;
317
- $[38] = t12;
318
- $[39] = type;
319
- $[40] = t13;
289
+ $[33] = selected;
290
+ $[34] = t11;
291
+ $[35] = type;
292
+ $[36] = t12;
320
293
  } else {
321
- t13 = $[40];
294
+ t12 = $[36];
322
295
  }
323
- return t13;
296
+ return t12;
324
297
  }
325
298
  var noise_select_node_default = NoiseSelectNode;
326
299
 
327
300
  // src/nodes/output/noise-raw-texture-node.tsx
328
301
  import { c as _c3 } from "react/compiler-runtime";
329
302
  import { useIncomingComputedData as useIncomingComputedData2, useUpdateNodeComputedData as useUpdateNodeComputedData3 } from "@awesome-flow/core/hooks";
330
- import { NodeContainer as NodeContainer4, NodeTrackConnections as NodeTrackConnections4 } from "@awesome-flow/core/layout";
303
+ import { NodeContainer as NodeContainer4 } from "@awesome-flow/core/layout";
331
304
  import { Group as Group2, Stack as Stack3 } from "@mantine/core";
332
305
  import { useEffect as useEffect2, useState as useState2 } from "react";
333
- import { jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
306
+ import { jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
334
307
  function NoiseRawTextureNode(t0) {
335
- const $ = _c3(28);
308
+ const $ = _c3(24);
336
309
  const {
337
310
  id,
338
311
  selected,
@@ -385,7 +358,7 @@ function NoiseRawTextureNode(t0) {
385
358
  useEffect2(t3, t4);
386
359
  let t5;
387
360
  if ($[7] !== resolution) {
388
- t5 = /* @__PURE__ */ jsxs4(Group2, { children: [
361
+ t5 = /* @__PURE__ */ jsxs3(Group2, { children: [
389
362
  "Resolution: ",
390
363
  resolution,
391
364
  "x",
@@ -399,7 +372,7 @@ function NoiseRawTextureNode(t0) {
399
372
  const t6 = noise?.length || 0;
400
373
  let t7;
401
374
  if ($[9] !== t6) {
402
- t7 = /* @__PURE__ */ jsxs4(Group2, { children: [
375
+ t7 = /* @__PURE__ */ jsxs3(Group2, { children: [
403
376
  "Input Length: ",
404
377
  t6
405
378
  ] });
@@ -410,7 +383,7 @@ function NoiseRawTextureNode(t0) {
410
383
  }
411
384
  let t8;
412
385
  if ($[11] !== dataLength || $[12] !== resolution) {
413
- t8 = /* @__PURE__ */ jsxs4(Group2, { children: [
386
+ t8 = /* @__PURE__ */ jsxs3(Group2, { children: [
414
387
  "Output Length (",
415
388
  resolution,
416
389
  "*",
@@ -426,7 +399,7 @@ function NoiseRawTextureNode(t0) {
426
399
  }
427
400
  let t9;
428
401
  if ($[14] !== t5 || $[15] !== t7 || $[16] !== t8) {
429
- t9 = /* @__PURE__ */ jsxs4(Stack3, { children: [
402
+ t9 = /* @__PURE__ */ jsxs3(Stack3, { children: [
430
403
  t5,
431
404
  t7,
432
405
  t8
@@ -439,31 +412,18 @@ function NoiseRawTextureNode(t0) {
439
412
  t9 = $[17];
440
413
  }
441
414
  let t10;
442
- if ($[18] !== data.handles || $[19] !== id) {
443
- t10 = /* @__PURE__ */ jsx4(NodeTrackConnections4, { handles: data.handles, nodeId: id, type: "target" });
444
- $[18] = data.handles;
415
+ if ($[18] !== data || $[19] !== id || $[20] !== selected || $[21] !== t9 || $[22] !== type) {
416
+ t10 = /* @__PURE__ */ jsx4(NodeContainer4, { id, selected, data, type, children: t9 });
417
+ $[18] = data;
445
418
  $[19] = id;
446
- $[20] = t10;
447
- } else {
448
- t10 = $[20];
449
- }
450
- let t11;
451
- if ($[21] !== data || $[22] !== id || $[23] !== selected || $[24] !== t10 || $[25] !== t9 || $[26] !== type) {
452
- t11 = /* @__PURE__ */ jsxs4(NodeContainer4, { id, selected, data, type, children: [
453
- t9,
454
- t10
455
- ] });
456
- $[21] = data;
457
- $[22] = id;
458
- $[23] = selected;
459
- $[24] = t10;
460
- $[25] = t9;
461
- $[26] = type;
462
- $[27] = t11;
419
+ $[20] = selected;
420
+ $[21] = t9;
421
+ $[22] = type;
422
+ $[23] = t10;
463
423
  } else {
464
- t11 = $[27];
424
+ t10 = $[23];
465
425
  }
466
- return t11;
426
+ return t10;
467
427
  }
468
428
  function _temp2(n) {
469
429
  return [n.value * 255, n.value * 255, n.value * 255, 255];
@@ -475,10 +435,10 @@ var noise_raw_texture_node_default = NoiseRawTextureNode;
475
435
 
476
436
  // src/nodes/output/positions-logger-node.tsx
477
437
  import { useIncomingComputedData as useIncomingComputedData3 } from "@awesome-flow/core/hooks";
478
- import { NodeContainer as NodeContainer5, NodeTrackConnections as NodeTrackConnections5 } from "@awesome-flow/core/layout";
438
+ import { NodeContainer as NodeContainer5 } from "@awesome-flow/core/layout";
479
439
  import { Divider as Divider2, Stack as Stack4, Text as Text2 } from "@mantine/core";
480
440
  import { useMemo as useMemo3 } from "react";
481
- import { jsx as jsx5, jsxs as jsxs5 } from "react/jsx-runtime";
441
+ import { jsx as jsx5, jsxs as jsxs4 } from "react/jsx-runtime";
482
442
  function PositionsLoggerNode({
483
443
  id,
484
444
  selected,
@@ -489,20 +449,19 @@ function PositionsLoggerNode({
489
449
  const positions = useMemo3(() => {
490
450
  return incoming?.map((p) => p.positions).flat();
491
451
  }, [incoming]);
492
- return /* @__PURE__ */ jsxs5(NodeContainer5, { id, selected, data, type, children: [
493
- /* @__PURE__ */ jsxs5(Text2, { children: [
452
+ return /* @__PURE__ */ jsxs4(NodeContainer5, { id, selected, data, type, children: [
453
+ /* @__PURE__ */ jsxs4(Text2, { children: [
494
454
  "Size: ",
495
455
  positions?.length || 0
496
456
  ] }),
497
457
  /* @__PURE__ */ jsx5(Divider2, { h: 5 }),
498
- /* @__PURE__ */ jsx5(Stack4, { children: positions?.map((v, i) => /* @__PURE__ */ jsxs5(Text2, { children: [
458
+ /* @__PURE__ */ jsx5(Stack4, { children: positions?.map((v, i) => /* @__PURE__ */ jsxs4(Text2, { children: [
499
459
  v.x,
500
460
  ":",
501
461
  v.y,
502
462
  ":",
503
463
  v.z
504
- ] }, i)) }),
505
- /* @__PURE__ */ jsx5(NodeTrackConnections5, { handles: data.handles, nodeId: id, type: "target" })
464
+ ] }, i)) })
506
465
  ] });
507
466
  }
508
467
  var positions_logger_node_default = PositionsLoggerNode;
@@ -1502,9 +1461,9 @@ var noiseNodeTemplates = {
1502
1461
  };
1503
1462
 
1504
1463
  // src/nodes/output/noise-output-node.tsx
1505
- import { jsx as jsx6, jsxs as jsxs6 } from "react/jsx-runtime";
1464
+ import { jsx as jsx6, jsxs as jsxs5 } from "react/jsx-runtime";
1506
1465
  function NoiseOutputNode(t0) {
1507
- const $ = _c4(20);
1466
+ const $ = _c4(16);
1508
1467
  const {
1509
1468
  id,
1510
1469
  selected,
@@ -1548,7 +1507,7 @@ function NoiseOutputNode(t0) {
1548
1507
  const onDataUpdated = t1;
1549
1508
  let t2;
1550
1509
  if ($[3] !== data.handles || $[4] !== id || $[5] !== onDataUpdated) {
1551
- t2 = /* @__PURE__ */ jsx6(HandlesIncomingDataStatus3, { nodeId: id, handles: data.handles, handleKey: "dataType", onDataUpdated, type: "target", resetComputedData: true });
1510
+ t2 = /* @__PURE__ */ jsx6(HandlesIncomingDataStatus3, { nodeId: id, handles: data.handles, groupBy: "dataType", onDataUpdated, type: "target", resetComputedData: true });
1552
1511
  $[3] = data.handles;
1553
1512
  $[4] = id;
1554
1513
  $[5] = onDataUpdated;
@@ -1558,7 +1517,7 @@ function NoiseOutputNode(t0) {
1558
1517
  }
1559
1518
  let t3;
1560
1519
  if ($[7] !== size) {
1561
- t3 = /* @__PURE__ */ jsxs6(Text3, { mt: 5, children: [
1520
+ t3 = /* @__PURE__ */ jsxs5(Text3, { mt: 5, children: [
1562
1521
  "Noise points: ",
1563
1522
  size
1564
1523
  ] });
@@ -1568,33 +1527,22 @@ function NoiseOutputNode(t0) {
1568
1527
  t3 = $[8];
1569
1528
  }
1570
1529
  let t4;
1571
- if ($[9] !== data.handles || $[10] !== id) {
1572
- t4 = /* @__PURE__ */ jsx6(NodeTrackConnections6, { handles: data.handles, nodeId: id, type: "target" });
1573
- $[9] = data.handles;
1574
- $[10] = id;
1575
- $[11] = t4;
1576
- } else {
1577
- t4 = $[11];
1578
- }
1579
- let t5;
1580
- if ($[12] !== data || $[13] !== id || $[14] !== selected || $[15] !== t2 || $[16] !== t3 || $[17] !== t4 || $[18] !== type) {
1581
- t5 = /* @__PURE__ */ jsxs6(NodeContainer6, { id, selected, data, type, children: [
1530
+ if ($[9] !== data || $[10] !== id || $[11] !== selected || $[12] !== t2 || $[13] !== t3 || $[14] !== type) {
1531
+ t4 = /* @__PURE__ */ jsxs5(NodeContainer6, { id, selected, data, type, children: [
1582
1532
  t2,
1583
- t3,
1584
- t4
1533
+ t3
1585
1534
  ] });
1586
- $[12] = data;
1587
- $[13] = id;
1588
- $[14] = selected;
1589
- $[15] = t2;
1590
- $[16] = t3;
1591
- $[17] = t4;
1592
- $[18] = type;
1593
- $[19] = t5;
1535
+ $[9] = data;
1536
+ $[10] = id;
1537
+ $[11] = selected;
1538
+ $[12] = t2;
1539
+ $[13] = t3;
1540
+ $[14] = type;
1541
+ $[15] = t4;
1594
1542
  } else {
1595
- t5 = $[19];
1543
+ t4 = $[15];
1596
1544
  }
1597
- return t5;
1545
+ return t4;
1598
1546
  }
1599
1547
  var noise_output_node_default = NoiseOutputNode;
1600
1548
 
@@ -2,11 +2,10 @@
2
2
  var _compilerruntime = require('react/compiler-runtime');
3
3
  var _nodes = require('@awesome-flow/core/nodes');
4
4
  var _hooks = require('@awesome-flow/core/hooks');
5
- var _layout = require('@awesome-flow/core/layout');
6
5
  var _react = require('react');
7
6
  var _jsxruntime = require('react/jsx-runtime');
8
7
  function ModuleGroupNode(props) {
9
- const $ = _compilerruntime.c.call(void 0, 11);
8
+ const $ = _compilerruntime.c.call(void 0, 7);
10
9
  const incomingModules = _hooks.useIncomingComputedData.call(void 0, props.id);
11
10
  const updateComputedData = _hooks.useUpdateNodeComputedData.call(void 0, );
12
11
  let t0;
@@ -34,24 +33,14 @@ function ModuleGroupNode(props) {
34
33
  }
35
34
  _react.useEffect.call(void 0, t0, t1);
36
35
  let t2;
37
- if ($[5] !== props.data.handles || $[6] !== props.id) {
38
- t2 = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _layout.NodeTrackConnections, { handles: props.data.handles, nodeId: props.id, type: "target" });
39
- $[5] = props.data.handles;
40
- $[6] = props.id;
41
- $[7] = t2;
36
+ if ($[5] !== props) {
37
+ t2 = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _nodes.GroupNode, { ...props });
38
+ $[5] = props;
39
+ $[6] = t2;
42
40
  } else {
43
- t2 = $[7];
41
+ t2 = $[6];
44
42
  }
45
- let t3;
46
- if ($[8] !== props || $[9] !== t2) {
47
- t3 = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _nodes.GroupNode, { ...props, children: t2 });
48
- $[8] = props;
49
- $[9] = t2;
50
- $[10] = t3;
51
- } else {
52
- t3 = $[10];
53
- }
54
- return t3;
43
+ return t2;
55
44
  }
56
45
  var module_group_node_default = ModuleGroupNode;
57
46
 
@@ -27,7 +27,7 @@ type NoiseSourceControlModuleHandle = CustomNodeHandle & {
27
27
  };
28
28
 
29
29
  declare class NoiseDisplaceNodeTemplateFactory implements ITemplateFactory {
30
- readonly template: NodeTemplate<BasicNodeData, Omit<DisplacementModuleHandle, 'id'>>;
30
+ readonly template: NodeTemplate<BasicNodeData, Omit<DisplacementModuleHandle, 'handleId'>>;
31
31
  }
32
32
 
33
33
  declare class NoiseRotatePointNodeTemplateFactory implements ITemplateFactory {
@@ -27,7 +27,7 @@ type NoiseSourceControlModuleHandle = CustomNodeHandle & {
27
27
  };
28
28
 
29
29
  declare class NoiseDisplaceNodeTemplateFactory implements ITemplateFactory {
30
- readonly template: NodeTemplate<BasicNodeData, Omit<DisplacementModuleHandle, 'id'>>;
30
+ readonly template: NodeTemplate<BasicNodeData, Omit<DisplacementModuleHandle, 'handleId'>>;
31
31
  }
32
32
 
33
33
  declare class NoiseRotatePointNodeTemplateFactory implements ITemplateFactory {
@@ -9,7 +9,7 @@
9
9
 
10
10
 
11
11
 
12
- var _chunkO5DVJAMKcjs = require('../../chunk-O5DVJAMK.cjs');
12
+ var _chunkLKDSXT7Icjs = require('../../chunk-LKDSXT7I.cjs');
13
13
 
14
14
 
15
15
 
@@ -21,4 +21,4 @@ var _chunkO5DVJAMKcjs = require('../../chunk-O5DVJAMK.cjs');
21
21
 
22
22
 
23
23
 
24
- exports.NoiseBillowNode = _chunkO5DVJAMKcjs.noise_billow_node_default; exports.NoiseCheckerboardNode = _chunkO5DVJAMKcjs.noise_checkerboard_node_default; exports.NoiseConstNode = _chunkO5DVJAMKcjs.noise_const_node_default; exports.NoiseCylindersNode = _chunkO5DVJAMKcjs.noise_cylinders_node_default; exports.NoisePerlinNode = _chunkO5DVJAMKcjs.noise_perlin_node_default; exports.NoiseRidgedMultiNode = _chunkO5DVJAMKcjs.noise_ridgedmulti_node_default; exports.NoiseSpheresNode = _chunkO5DVJAMKcjs.noise_spheres_node_default; exports.NoiseVoronoiNode = _chunkO5DVJAMKcjs.noise_voronoi_node_default; exports.PositionConstNode = _chunkO5DVJAMKcjs.position_const_node_default; exports.PositionGridNode = _chunkO5DVJAMKcjs.position_grid_node_default;
24
+ exports.NoiseBillowNode = _chunkLKDSXT7Icjs.noise_billow_node_default; exports.NoiseCheckerboardNode = _chunkLKDSXT7Icjs.noise_checkerboard_node_default; exports.NoiseConstNode = _chunkLKDSXT7Icjs.noise_const_node_default; exports.NoiseCylindersNode = _chunkLKDSXT7Icjs.noise_cylinders_node_default; exports.NoisePerlinNode = _chunkLKDSXT7Icjs.noise_perlin_node_default; exports.NoiseRidgedMultiNode = _chunkLKDSXT7Icjs.noise_ridgedmulti_node_default; exports.NoiseSpheresNode = _chunkLKDSXT7Icjs.noise_spheres_node_default; exports.NoiseVoronoiNode = _chunkLKDSXT7Icjs.noise_voronoi_node_default; exports.PositionConstNode = _chunkLKDSXT7Icjs.position_const_node_default; exports.PositionGridNode = _chunkLKDSXT7Icjs.position_grid_node_default;
@@ -9,7 +9,7 @@ import {
9
9
  noise_voronoi_node_default,
10
10
  position_const_node_default,
11
11
  position_grid_node_default
12
- } from "../../chunk-S2ZGHJ75.js";
12
+ } from "../../chunk-NUA3VGOA.js";
13
13
  export {
14
14
  noise_billow_node_default as NoiseBillowNode,
15
15
  noise_checkerboard_node_default as NoiseCheckerboardNode,
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkX2GXADE5cjs = require('../../chunk-X2GXADE5.cjs');
3
+ var _chunkXC7VF5YCcjs = require('../../chunk-XC7VF5YC.cjs');
4
4
 
5
5
 
6
- exports.ModuleGroupNode = _chunkX2GXADE5cjs.module_group_node_default;
6
+ exports.ModuleGroupNode = _chunkXC7VF5YCcjs.module_group_node_default;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  module_group_node_default
3
- } from "../../chunk-EHBNVDTI.js";
3
+ } from "../../chunk-R6TU3SBX.js";
4
4
  export {
5
5
  module_group_node_default as ModuleGroupNode
6
6
  };
@@ -5,14 +5,14 @@
5
5
 
6
6
 
7
7
 
8
- var _chunkMIYOMNAGcjs = require('../chunk-MIYOMNAG.cjs');
8
+ var _chunkOLJKWO2Hcjs = require('../chunk-OLJKWO2H.cjs');
9
9
 
10
10
 
11
11
 
12
12
 
13
13
 
14
14
 
15
- var _chunkD5QJ3563cjs = require('../chunk-D5QJ3563.cjs');
15
+ var _chunk36USJJC4cjs = require('../chunk-36USJJC4.cjs');
16
16
 
17
17
 
18
18
 
@@ -24,10 +24,10 @@ var _chunkD5QJ3563cjs = require('../chunk-D5QJ3563.cjs');
24
24
 
25
25
 
26
26
 
27
- var _chunkO5DVJAMKcjs = require('../chunk-O5DVJAMK.cjs');
27
+ var _chunkLKDSXT7Icjs = require('../chunk-LKDSXT7I.cjs');
28
28
 
29
29
 
30
- var _chunkX2GXADE5cjs = require('../chunk-X2GXADE5.cjs');
30
+ var _chunkXC7VF5YCcjs = require('../chunk-XC7VF5YC.cjs');
31
31
 
32
32
 
33
33
 
@@ -38,7 +38,7 @@ var _chunkX2GXADE5cjs = require('../chunk-X2GXADE5.cjs');
38
38
 
39
39
 
40
40
 
41
- var _chunk76MMGOOYcjs = require('../chunk-76MMGOOY.cjs');
41
+ var _chunkDQE5NXY7cjs = require('../chunk-DQE5NXY7.cjs');
42
42
  require('../chunk-UNMRBZ5X.cjs');
43
43
 
44
44
 
@@ -72,4 +72,4 @@ require('../chunk-UNMRBZ5X.cjs');
72
72
 
73
73
 
74
74
 
75
- exports.ModuleGroupNode = _chunkX2GXADE5cjs.module_group_node_default; exports.NoiseAbsNode = _chunk76MMGOOYcjs.noise_abs_node_default; exports.NoiseBillowNode = _chunkO5DVJAMKcjs.noise_billow_node_default; exports.NoiseBlendNode = _chunkMIYOMNAGcjs.noise_blend_node_default; exports.NoiseCheckerboardNode = _chunkO5DVJAMKcjs.noise_checkerboard_node_default; exports.NoiseClampNode = _chunk76MMGOOYcjs.noise_clamp_node_default; exports.NoiseCombineNode = _chunk76MMGOOYcjs.noise_combine_node_default; exports.NoiseConstNode = _chunkO5DVJAMKcjs.noise_const_node_default; exports.NoiseCurveNode = _chunk76MMGOOYcjs.noise_curve_node_default; exports.NoiseCylindersNode = _chunkO5DVJAMKcjs.noise_cylinders_node_default; exports.NoiseDisplaceNode = _chunkD5QJ3563cjs.noise_displace_node_default; exports.NoiseExponentNode = _chunk76MMGOOYcjs.noise_exponent_node_default; exports.NoiseInvertNode = _chunk76MMGOOYcjs.noise_invert_node_default; exports.NoiseLoggerNode = _chunkMIYOMNAGcjs.noise_logger_node_default; exports.NoiseNormalizeNode = _chunk76MMGOOYcjs.noise_normalize_node_default; exports.NoiseOutputNode = _chunkMIYOMNAGcjs.noise_output_node_default; exports.NoisePerlinNode = _chunkO5DVJAMKcjs.noise_perlin_node_default; exports.NoiseRawTextureNode = _chunkMIYOMNAGcjs.noise_raw_texture_node_default; exports.NoiseRidgedMultiNode = _chunkO5DVJAMKcjs.noise_ridgedmulti_node_default; exports.NoiseRotatePointNode = _chunkD5QJ3563cjs.noise_rotate_point_node_default; exports.NoiseScaleBiasNode = _chunk76MMGOOYcjs.noise_scale_bias_node_default; exports.NoiseScalePointNode = _chunkD5QJ3563cjs.noise_scale_point_node_default; exports.NoiseSelectNode = _chunkMIYOMNAGcjs.noise_select_node_default; exports.NoiseSpheresNode = _chunkO5DVJAMKcjs.noise_spheres_node_default; exports.NoiseTerraceNode = _chunk76MMGOOYcjs.noise_terrace_node_default; exports.NoiseTranslatePointNode = _chunkD5QJ3563cjs.noise_translate_point_node_default; exports.NoiseTurbulenceNode = _chunkD5QJ3563cjs.noise_turbulence_node_default; exports.NoiseVoronoiNode = _chunkO5DVJAMKcjs.noise_voronoi_node_default; exports.PositionConstNode = _chunkO5DVJAMKcjs.position_const_node_default; exports.PositionGridNode = _chunkO5DVJAMKcjs.position_grid_node_default; exports.PositionsLoggerNode = _chunkMIYOMNAGcjs.positions_logger_node_default;
75
+ exports.ModuleGroupNode = _chunkXC7VF5YCcjs.module_group_node_default; exports.NoiseAbsNode = _chunkDQE5NXY7cjs.noise_abs_node_default; exports.NoiseBillowNode = _chunkLKDSXT7Icjs.noise_billow_node_default; exports.NoiseBlendNode = _chunkOLJKWO2Hcjs.noise_blend_node_default; exports.NoiseCheckerboardNode = _chunkLKDSXT7Icjs.noise_checkerboard_node_default; exports.NoiseClampNode = _chunkDQE5NXY7cjs.noise_clamp_node_default; exports.NoiseCombineNode = _chunkDQE5NXY7cjs.noise_combine_node_default; exports.NoiseConstNode = _chunkLKDSXT7Icjs.noise_const_node_default; exports.NoiseCurveNode = _chunkDQE5NXY7cjs.noise_curve_node_default; exports.NoiseCylindersNode = _chunkLKDSXT7Icjs.noise_cylinders_node_default; exports.NoiseDisplaceNode = _chunk36USJJC4cjs.noise_displace_node_default; exports.NoiseExponentNode = _chunkDQE5NXY7cjs.noise_exponent_node_default; exports.NoiseInvertNode = _chunkDQE5NXY7cjs.noise_invert_node_default; exports.NoiseLoggerNode = _chunkOLJKWO2Hcjs.noise_logger_node_default; exports.NoiseNormalizeNode = _chunkDQE5NXY7cjs.noise_normalize_node_default; exports.NoiseOutputNode = _chunkOLJKWO2Hcjs.noise_output_node_default; exports.NoisePerlinNode = _chunkLKDSXT7Icjs.noise_perlin_node_default; exports.NoiseRawTextureNode = _chunkOLJKWO2Hcjs.noise_raw_texture_node_default; exports.NoiseRidgedMultiNode = _chunkLKDSXT7Icjs.noise_ridgedmulti_node_default; exports.NoiseRotatePointNode = _chunk36USJJC4cjs.noise_rotate_point_node_default; exports.NoiseScaleBiasNode = _chunkDQE5NXY7cjs.noise_scale_bias_node_default; exports.NoiseScalePointNode = _chunk36USJJC4cjs.noise_scale_point_node_default; exports.NoiseSelectNode = _chunkOLJKWO2Hcjs.noise_select_node_default; exports.NoiseSpheresNode = _chunkLKDSXT7Icjs.noise_spheres_node_default; exports.NoiseTerraceNode = _chunkDQE5NXY7cjs.noise_terrace_node_default; exports.NoiseTranslatePointNode = _chunk36USJJC4cjs.noise_translate_point_node_default; exports.NoiseTurbulenceNode = _chunk36USJJC4cjs.noise_turbulence_node_default; exports.NoiseVoronoiNode = _chunkLKDSXT7Icjs.noise_voronoi_node_default; exports.PositionConstNode = _chunkLKDSXT7Icjs.position_const_node_default; exports.PositionGridNode = _chunkLKDSXT7Icjs.position_grid_node_default; exports.PositionsLoggerNode = _chunkOLJKWO2Hcjs.positions_logger_node_default;
@@ -5,14 +5,14 @@ import {
5
5
  noise_raw_texture_node_default,
6
6
  noise_select_node_default,
7
7
  positions_logger_node_default
8
- } from "../chunk-BE4RLT5P.js";
8
+ } from "../chunk-W4T6Q7A5.js";
9
9
  import {
10
10
  noise_displace_node_default,
11
11
  noise_rotate_point_node_default,
12
12
  noise_scale_point_node_default,
13
13
  noise_translate_point_node_default,
14
14
  noise_turbulence_node_default
15
- } from "../chunk-4YL2V7SE.js";
15
+ } from "../chunk-FMJZTXJQ.js";
16
16
  import {
17
17
  noise_billow_node_default,
18
18
  noise_checkerboard_node_default,
@@ -24,10 +24,10 @@ import {
24
24
  noise_voronoi_node_default,
25
25
  position_const_node_default,
26
26
  position_grid_node_default
27
- } from "../chunk-S2ZGHJ75.js";
27
+ } from "../chunk-NUA3VGOA.js";
28
28
  import {
29
29
  module_group_node_default
30
- } from "../chunk-EHBNVDTI.js";
30
+ } from "../chunk-R6TU3SBX.js";
31
31
  import {
32
32
  noise_abs_node_default,
33
33
  noise_clamp_node_default,
@@ -38,7 +38,7 @@ import {
38
38
  noise_normalize_node_default,
39
39
  noise_scale_bias_node_default,
40
40
  noise_terrace_node_default
41
- } from "../chunk-L45ZU7VL.js";
41
+ } from "../chunk-M26CSOHC.js";
42
42
  import "../chunk-SGHEOOLW.js";
43
43
  export {
44
44
  module_group_node_default as ModuleGroupNode,
@@ -8,7 +8,7 @@
8
8
 
9
9
 
10
10
 
11
- var _chunk76MMGOOYcjs = require('../../chunk-76MMGOOY.cjs');
11
+ var _chunkDQE5NXY7cjs = require('../../chunk-DQE5NXY7.cjs');
12
12
  require('../../chunk-UNMRBZ5X.cjs');
13
13
 
14
14
 
@@ -20,4 +20,4 @@ require('../../chunk-UNMRBZ5X.cjs');
20
20
 
21
21
 
22
22
 
23
- exports.NoiseAbsNode = _chunk76MMGOOYcjs.noise_abs_node_default; exports.NoiseClampNode = _chunk76MMGOOYcjs.noise_clamp_node_default; exports.NoiseCombineNode = _chunk76MMGOOYcjs.noise_combine_node_default; exports.NoiseCurveNode = _chunk76MMGOOYcjs.noise_curve_node_default; exports.NoiseExponentNode = _chunk76MMGOOYcjs.noise_exponent_node_default; exports.NoiseInvertNode = _chunk76MMGOOYcjs.noise_invert_node_default; exports.NoiseNormalizeNode = _chunk76MMGOOYcjs.noise_normalize_node_default; exports.NoiseScaleBiasNode = _chunk76MMGOOYcjs.noise_scale_bias_node_default; exports.NoiseTerraceNode = _chunk76MMGOOYcjs.noise_terrace_node_default;
23
+ exports.NoiseAbsNode = _chunkDQE5NXY7cjs.noise_abs_node_default; exports.NoiseClampNode = _chunkDQE5NXY7cjs.noise_clamp_node_default; exports.NoiseCombineNode = _chunkDQE5NXY7cjs.noise_combine_node_default; exports.NoiseCurveNode = _chunkDQE5NXY7cjs.noise_curve_node_default; exports.NoiseExponentNode = _chunkDQE5NXY7cjs.noise_exponent_node_default; exports.NoiseInvertNode = _chunkDQE5NXY7cjs.noise_invert_node_default; exports.NoiseNormalizeNode = _chunkDQE5NXY7cjs.noise_normalize_node_default; exports.NoiseScaleBiasNode = _chunkDQE5NXY7cjs.noise_scale_bias_node_default; exports.NoiseTerraceNode = _chunkDQE5NXY7cjs.noise_terrace_node_default;
@@ -8,7 +8,7 @@ import {
8
8
  noise_normalize_node_default,
9
9
  noise_scale_bias_node_default,
10
10
  noise_terrace_node_default
11
- } from "../../chunk-L45ZU7VL.js";
11
+ } from "../../chunk-M26CSOHC.js";
12
12
  import "../../chunk-SGHEOOLW.js";
13
13
  export {
14
14
  noise_abs_node_default as NoiseAbsNode,