@awesome-flow/noise 0.9.1 → 0.9.3

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 +12 -12
@@ -6,7 +6,7 @@ var _layout = require('@awesome-flow/core/layout');
6
6
  var _libnoisesimplexts = require('libnoise-simplex-ts');
7
7
  var _jsxruntime = require('react/jsx-runtime');
8
8
  function NoiseBillowNode(t0) {
9
- const $ = _compilerruntime.c.call(void 0, 17);
9
+ const $ = _compilerruntime.c.call(void 0, 13);
10
10
  const {
11
11
  id,
12
12
  selected,
@@ -32,7 +32,7 @@ function NoiseBillowNode(t0) {
32
32
  const onPropertiesChange = t1;
33
33
  let t2;
34
34
  if ($[3] !== data || $[4] !== id || $[5] !== onPropertiesChange) {
35
- t2 = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _components.NodePropertyVariables, { data, nodeId: id, onPropertiesChange });
35
+ t2 = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _components.NodePropertiesList, { data, nodeId: id, onPropertiesChange });
36
36
  $[3] = data;
37
37
  $[4] = id;
38
38
  $[5] = onPropertiesChange;
@@ -41,31 +41,18 @@ function NoiseBillowNode(t0) {
41
41
  t2 = $[6];
42
42
  }
43
43
  let t3;
44
- if ($[7] !== data.handles || $[8] !== id) {
45
- t3 = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _layout.NodeTrackConnections, { handles: data.handles, nodeId: id, type: "target" });
46
- $[7] = data.handles;
44
+ if ($[7] !== data || $[8] !== id || $[9] !== selected || $[10] !== t2 || $[11] !== type) {
45
+ t3 = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _layout.NodeContainer, { id, selected, data, type, children: t2 }) });
46
+ $[7] = data;
47
47
  $[8] = id;
48
- $[9] = t3;
48
+ $[9] = selected;
49
+ $[10] = t2;
50
+ $[11] = type;
51
+ $[12] = t3;
49
52
  } else {
50
- t3 = $[9];
53
+ t3 = $[12];
51
54
  }
52
- let t4;
53
- if ($[10] !== data || $[11] !== id || $[12] !== selected || $[13] !== t2 || $[14] !== t3 || $[15] !== type) {
54
- t4 = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _layout.NodeContainer, { id, selected, data, type, children: [
55
- t2,
56
- t3
57
- ] }) });
58
- $[10] = data;
59
- $[11] = id;
60
- $[12] = selected;
61
- $[13] = t2;
62
- $[14] = t3;
63
- $[15] = type;
64
- $[16] = t4;
65
- } else {
66
- t4 = $[16];
67
- }
68
- return t4;
55
+ return t3;
69
56
  }
70
57
  var noise_billow_node_default = NoiseBillowNode;
71
58
 
@@ -266,7 +253,7 @@ var noise_const_node_default = NoiseConstNode;
266
253
 
267
254
 
268
255
  function NoiseCylindersNode(t0) {
269
- const $ = _compilerruntime.c.call(void 0, 17);
256
+ const $ = _compilerruntime.c.call(void 0, 13);
270
257
  const {
271
258
  id,
272
259
  selected,
@@ -292,7 +279,7 @@ function NoiseCylindersNode(t0) {
292
279
  const onPropertiesChange = t1;
293
280
  let t2;
294
281
  if ($[3] !== data || $[4] !== id || $[5] !== onPropertiesChange) {
295
- t2 = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _components.NodePropertyVariables, { data, nodeId: id, onPropertiesChange });
282
+ t2 = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _components.NodePropertiesList, { data, nodeId: id, onPropertiesChange });
296
283
  $[3] = data;
297
284
  $[4] = id;
298
285
  $[5] = onPropertiesChange;
@@ -301,31 +288,18 @@ function NoiseCylindersNode(t0) {
301
288
  t2 = $[6];
302
289
  }
303
290
  let t3;
304
- if ($[7] !== data.handles || $[8] !== id) {
305
- t3 = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _layout.NodeTrackConnections, { handles: data.handles, nodeId: id, type: "target" });
306
- $[7] = data.handles;
291
+ if ($[7] !== data || $[8] !== id || $[9] !== selected || $[10] !== t2 || $[11] !== type) {
292
+ t3 = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _layout.NodeContainer, { id, selected, data, type, children: t2 });
293
+ $[7] = data;
307
294
  $[8] = id;
308
- $[9] = t3;
309
- } else {
310
- t3 = $[9];
311
- }
312
- let t4;
313
- if ($[10] !== data || $[11] !== id || $[12] !== selected || $[13] !== t2 || $[14] !== t3 || $[15] !== type) {
314
- t4 = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _layout.NodeContainer, { id, selected, data, type, children: [
315
- t2,
316
- t3
317
- ] });
318
- $[10] = data;
319
- $[11] = id;
320
- $[12] = selected;
321
- $[13] = t2;
322
- $[14] = t3;
323
- $[15] = type;
324
- $[16] = t4;
295
+ $[9] = selected;
296
+ $[10] = t2;
297
+ $[11] = type;
298
+ $[12] = t3;
325
299
  } else {
326
- t4 = $[16];
300
+ t3 = $[12];
327
301
  }
328
- return t4;
302
+ return t3;
329
303
  }
330
304
  var noise_cylinders_node_default = NoiseCylindersNode;
331
305
 
@@ -337,7 +311,7 @@ var noise_cylinders_node_default = NoiseCylindersNode;
337
311
 
338
312
 
339
313
  function NoisePerlinNode(t0) {
340
- const $ = _compilerruntime.c.call(void 0, 17);
314
+ const $ = _compilerruntime.c.call(void 0, 13);
341
315
  const {
342
316
  id,
343
317
  selected,
@@ -363,7 +337,7 @@ function NoisePerlinNode(t0) {
363
337
  const onPropertiesChange = t1;
364
338
  let t2;
365
339
  if ($[3] !== data || $[4] !== id || $[5] !== onPropertiesChange) {
366
- t2 = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _components.NodePropertyVariables, { data, nodeId: id, onPropertiesChange });
340
+ t2 = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _components.NodePropertiesList, { data, nodeId: id, onPropertiesChange });
367
341
  $[3] = data;
368
342
  $[4] = id;
369
343
  $[5] = onPropertiesChange;
@@ -372,31 +346,18 @@ function NoisePerlinNode(t0) {
372
346
  t2 = $[6];
373
347
  }
374
348
  let t3;
375
- if ($[7] !== data.handles || $[8] !== id) {
376
- t3 = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _layout.NodeTrackConnections, { handles: data.handles, nodeId: id, type: "target" });
377
- $[7] = data.handles;
349
+ if ($[7] !== data || $[8] !== id || $[9] !== selected || $[10] !== t2 || $[11] !== type) {
350
+ t3 = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _layout.NodeContainer, { id, selected, data, type, children: t2 });
351
+ $[7] = data;
378
352
  $[8] = id;
379
- $[9] = t3;
380
- } else {
381
- t3 = $[9];
382
- }
383
- let t4;
384
- if ($[10] !== data || $[11] !== id || $[12] !== selected || $[13] !== t2 || $[14] !== t3 || $[15] !== type) {
385
- t4 = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _layout.NodeContainer, { id, selected, data, type, children: [
386
- t2,
387
- t3
388
- ] });
389
- $[10] = data;
390
- $[11] = id;
391
- $[12] = selected;
392
- $[13] = t2;
393
- $[14] = t3;
394
- $[15] = type;
395
- $[16] = t4;
353
+ $[9] = selected;
354
+ $[10] = t2;
355
+ $[11] = type;
356
+ $[12] = t3;
396
357
  } else {
397
- t4 = $[16];
358
+ t3 = $[12];
398
359
  }
399
- return t4;
360
+ return t3;
400
361
  }
401
362
  var noise_perlin_node_default = NoisePerlinNode;
402
363
 
@@ -408,7 +369,7 @@ var noise_perlin_node_default = NoisePerlinNode;
408
369
 
409
370
 
410
371
  function NoiseRidgedMultiNode(t0) {
411
- const $ = _compilerruntime.c.call(void 0, 17);
372
+ const $ = _compilerruntime.c.call(void 0, 13);
412
373
  const {
413
374
  id,
414
375
  selected,
@@ -434,7 +395,7 @@ function NoiseRidgedMultiNode(t0) {
434
395
  const onPropertiesChange = t1;
435
396
  let t2;
436
397
  if ($[3] !== data || $[4] !== id || $[5] !== onPropertiesChange) {
437
- t2 = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _components.NodePropertyVariables, { data, nodeId: id, onPropertiesChange });
398
+ t2 = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _components.NodePropertiesList, { data, nodeId: id, onPropertiesChange });
438
399
  $[3] = data;
439
400
  $[4] = id;
440
401
  $[5] = onPropertiesChange;
@@ -443,31 +404,18 @@ function NoiseRidgedMultiNode(t0) {
443
404
  t2 = $[6];
444
405
  }
445
406
  let t3;
446
- if ($[7] !== data.handles || $[8] !== id) {
447
- t3 = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _layout.NodeTrackConnections, { handles: data.handles, nodeId: id, type: "target" });
448
- $[7] = data.handles;
407
+ if ($[7] !== data || $[8] !== id || $[9] !== selected || $[10] !== t2 || $[11] !== type) {
408
+ t3 = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _layout.NodeContainer, { id, selected, data, type, children: t2 });
409
+ $[7] = data;
449
410
  $[8] = id;
450
- $[9] = t3;
411
+ $[9] = selected;
412
+ $[10] = t2;
413
+ $[11] = type;
414
+ $[12] = t3;
451
415
  } else {
452
- t3 = $[9];
416
+ t3 = $[12];
453
417
  }
454
- let t4;
455
- if ($[10] !== data || $[11] !== id || $[12] !== selected || $[13] !== t2 || $[14] !== t3 || $[15] !== type) {
456
- t4 = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _layout.NodeContainer, { id, selected, data, type, children: [
457
- t2,
458
- t3
459
- ] });
460
- $[10] = data;
461
- $[11] = id;
462
- $[12] = selected;
463
- $[13] = t2;
464
- $[14] = t3;
465
- $[15] = type;
466
- $[16] = t4;
467
- } else {
468
- t4 = $[16];
469
- }
470
- return t4;
418
+ return t3;
471
419
  }
472
420
  var noise_ridgedmulti_node_default = NoiseRidgedMultiNode;
473
421
 
@@ -479,7 +427,7 @@ var noise_ridgedmulti_node_default = NoiseRidgedMultiNode;
479
427
 
480
428
 
481
429
  function NoiseSpheresNode(t0) {
482
- const $ = _compilerruntime.c.call(void 0, 17);
430
+ const $ = _compilerruntime.c.call(void 0, 13);
483
431
  const {
484
432
  id,
485
433
  selected,
@@ -505,7 +453,7 @@ function NoiseSpheresNode(t0) {
505
453
  const onPropertiesChange = t1;
506
454
  let t2;
507
455
  if ($[3] !== data || $[4] !== id || $[5] !== onPropertiesChange) {
508
- t2 = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _components.NodePropertyVariables, { data, nodeId: id, onPropertiesChange });
456
+ t2 = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _components.NodePropertiesList, { data, nodeId: id, onPropertiesChange });
509
457
  $[3] = data;
510
458
  $[4] = id;
511
459
  $[5] = onPropertiesChange;
@@ -514,31 +462,18 @@ function NoiseSpheresNode(t0) {
514
462
  t2 = $[6];
515
463
  }
516
464
  let t3;
517
- if ($[7] !== data.handles || $[8] !== id) {
518
- t3 = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _layout.NodeTrackConnections, { handles: data.handles, nodeId: id, type: "target" });
519
- $[7] = data.handles;
465
+ if ($[7] !== data || $[8] !== id || $[9] !== selected || $[10] !== t2 || $[11] !== type) {
466
+ t3 = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _layout.NodeContainer, { id, selected, data, type, children: t2 });
467
+ $[7] = data;
520
468
  $[8] = id;
521
- $[9] = t3;
469
+ $[9] = selected;
470
+ $[10] = t2;
471
+ $[11] = type;
472
+ $[12] = t3;
522
473
  } else {
523
- t3 = $[9];
474
+ t3 = $[12];
524
475
  }
525
- let t4;
526
- if ($[10] !== data || $[11] !== id || $[12] !== selected || $[13] !== t2 || $[14] !== t3 || $[15] !== type) {
527
- t4 = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _layout.NodeContainer, { id, selected, data, type, children: [
528
- t2,
529
- t3
530
- ] });
531
- $[10] = data;
532
- $[11] = id;
533
- $[12] = selected;
534
- $[13] = t2;
535
- $[14] = t3;
536
- $[15] = type;
537
- $[16] = t4;
538
- } else {
539
- t4 = $[16];
540
- }
541
- return t4;
476
+ return t3;
542
477
  }
543
478
  var noise_spheres_node_default = NoiseSpheresNode;
544
479
 
@@ -550,7 +485,7 @@ var noise_spheres_node_default = NoiseSpheresNode;
550
485
 
551
486
 
552
487
  function NoiseVoronoiNode(t0) {
553
- const $ = _compilerruntime.c.call(void 0, 17);
488
+ const $ = _compilerruntime.c.call(void 0, 13);
554
489
  const {
555
490
  id,
556
491
  selected,
@@ -575,7 +510,7 @@ function NoiseVoronoiNode(t0) {
575
510
  const onPropertiesChange = t1;
576
511
  let t2;
577
512
  if ($[3] !== data || $[4] !== id || $[5] !== onPropertiesChange) {
578
- t2 = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _components.NodePropertyVariables, { data, nodeId: id, onPropertiesChange });
513
+ t2 = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _components.NodePropertiesList, { data, nodeId: id, onPropertiesChange });
579
514
  $[3] = data;
580
515
  $[4] = id;
581
516
  $[5] = onPropertiesChange;
@@ -584,31 +519,18 @@ function NoiseVoronoiNode(t0) {
584
519
  t2 = $[6];
585
520
  }
586
521
  let t3;
587
- if ($[7] !== data.handles || $[8] !== id) {
588
- t3 = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _layout.NodeTrackConnections, { handles: data.handles, nodeId: id, type: "target" });
589
- $[7] = data.handles;
522
+ if ($[7] !== data || $[8] !== id || $[9] !== selected || $[10] !== t2 || $[11] !== type) {
523
+ t3 = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _layout.NodeContainer, { id, selected, data, type, children: t2 });
524
+ $[7] = data;
590
525
  $[8] = id;
591
- $[9] = t3;
526
+ $[9] = selected;
527
+ $[10] = t2;
528
+ $[11] = type;
529
+ $[12] = t3;
592
530
  } else {
593
- t3 = $[9];
531
+ t3 = $[12];
594
532
  }
595
- let t4;
596
- if ($[10] !== data || $[11] !== id || $[12] !== selected || $[13] !== t2 || $[14] !== t3 || $[15] !== type) {
597
- t4 = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _layout.NodeContainer, { id, selected, data, type, children: [
598
- t2,
599
- t3
600
- ] });
601
- $[10] = data;
602
- $[11] = id;
603
- $[12] = selected;
604
- $[13] = t2;
605
- $[14] = t3;
606
- $[15] = type;
607
- $[16] = t4;
608
- } else {
609
- t4 = $[16];
610
- }
611
- return t4;
533
+ return t3;
612
534
  }
613
535
  var noise_voronoi_node_default = NoiseVoronoiNode;
614
536