@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.
- package/dist/abstract/index.cjs +6 -6
- package/dist/abstract/index.d.cts +2 -2
- package/dist/abstract/index.d.ts +2 -2
- package/dist/abstract/index.js +5 -5
- package/dist/{chunk-D5QJ3563.cjs → chunk-36USJJC4.cjs} +52 -117
- package/dist/{chunk-76MMGOOY.cjs → chunk-DQE5NXY7.cjs} +84 -181
- package/dist/{chunk-4YL2V7SE.js → chunk-FMJZTXJQ.js} +75 -140
- package/dist/{chunk-O5DVJAMK.cjs → chunk-LKDSXT7I.cjs} +66 -144
- package/dist/{chunk-L45ZU7VL.js → chunk-M26CSOHC.js} +109 -206
- package/dist/{chunk-S2ZGHJ75.js → chunk-NUA3VGOA.js} +99 -177
- package/dist/{chunk-MIYOMNAG.cjs → chunk-OLJKWO2H.cjs} +77 -129
- package/dist/{chunk-EHBNVDTI.js → chunk-R6TU3SBX.js} +7 -18
- package/dist/{chunk-BE4RLT5P.js → chunk-W4T6Q7A5.js} +75 -127
- package/dist/{chunk-X2GXADE5.cjs → chunk-XC7VF5YC.cjs} +7 -18
- package/dist/{index-EzT2GjIx.d.cts → index-BZr1EROK.d.cts} +1 -1
- package/dist/{index-DAAmYCPU.d.ts → index-DzD3jbPF.d.ts} +1 -1
- package/dist/nodes/generators/index.cjs +2 -2
- package/dist/nodes/generators/index.js +1 -1
- package/dist/nodes/groups/index.cjs +2 -2
- package/dist/nodes/groups/index.js +1 -1
- package/dist/nodes/index.cjs +6 -6
- package/dist/nodes/index.js +5 -5
- package/dist/nodes/modifiers/index.cjs +2 -2
- package/dist/nodes/modifiers/index.js +1 -1
- package/dist/nodes/output/index.cjs +6 -6
- package/dist/nodes/output/index.js +5 -5
- package/dist/nodes/selectors/index.cjs +6 -6
- package/dist/nodes/selectors/index.js +5 -5
- package/dist/nodes/transformers/index.cjs +2 -2
- package/dist/nodes/transformers/index.js +1 -1
- package/dist/templates/generators/index.cjs +6 -6
- package/dist/templates/generators/index.js +5 -5
- package/dist/templates/groups/index.cjs +6 -6
- package/dist/templates/groups/index.js +5 -5
- package/dist/templates/index.cjs +6 -6
- package/dist/templates/index.d.cts +1 -1
- package/dist/templates/index.d.ts +1 -1
- package/dist/templates/index.js +5 -5
- package/dist/templates/modifiers/index.cjs +6 -6
- package/dist/templates/modifiers/index.js +5 -5
- package/dist/templates/output/index.cjs +6 -6
- package/dist/templates/output/index.js +5 -5
- package/dist/templates/selectors/index.cjs +6 -6
- package/dist/templates/selectors/index.js +5 -5
- package/dist/templates/transformers/index.cjs +6 -6
- package/dist/templates/transformers/index.d.cts +1 -1
- package/dist/templates/transformers/index.d.ts +1 -1
- package/dist/templates/transformers/index.js +5 -5
- package/package.json +10 -10
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk36USJJC4cjs = require('./chunk-36USJJC4.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -16,10 +16,10 @@ var _chunkD5QJ3563cjs = require('./chunk-D5QJ3563.cjs');
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var _chunkLKDSXT7Icjs = require('./chunk-LKDSXT7I.cjs');
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunkXC7VF5YCcjs = require('./chunk-XC7VF5YC.cjs');
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
@@ -30,7 +30,7 @@ var _chunkX2GXADE5cjs = require('./chunk-X2GXADE5.cjs');
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
var
|
|
33
|
+
var _chunkDQE5NXY7cjs = require('./chunk-DQE5NXY7.cjs');
|
|
34
34
|
|
|
35
35
|
// src/nodes/output/noise-logger-node.tsx
|
|
36
36
|
var _hooks = require('@awesome-flow/core/hooks');
|
|
@@ -60,8 +60,7 @@ function NoiseLoggerNode({
|
|
|
60
60
|
_optionalChain([v, 'access', _12 => _12.position, 'optionalAccess', _13 => _13.z]),
|
|
61
61
|
": ",
|
|
62
62
|
v.value
|
|
63
|
-
] }, i))]) })
|
|
64
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _layout.NodeTrackConnections, { handles: data.handles, nodeId: id, type: "target" })
|
|
63
|
+
] }, i))]) })
|
|
65
64
|
] });
|
|
66
65
|
}
|
|
67
66
|
var noise_logger_node_default = NoiseLoggerNode;
|
|
@@ -82,7 +81,7 @@ var _components = require('@awesome-flow/core/components');
|
|
|
82
81
|
var _libnoisesimplexts = require('libnoise-simplex-ts');
|
|
83
82
|
|
|
84
83
|
function NoiseBlendNode(t0) {
|
|
85
|
-
const $ = _compilerruntime.c.call(void 0,
|
|
84
|
+
const $ = _compilerruntime.c.call(void 0, 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__ */ _jsxruntime.jsx.call(void 0, _components.HandlesIncomingDataStatus, { nodeId: id, handles: data.handles,
|
|
113
|
+
t2 = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _components.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
|
|
124
|
-
t3 = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _layout.
|
|
125
|
-
$[7] = data
|
|
122
|
+
if ($[7] !== data || $[8] !== id || $[9] !== selected || $[10] !== t2 || $[11] !== type) {
|
|
123
|
+
t3 = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _layout.NodeContainer, { id, selected, data, type, children: t2 });
|
|
124
|
+
$[7] = data;
|
|
126
125
|
$[8] = id;
|
|
127
|
-
$[9] =
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
let t4;
|
|
132
|
-
if ($[10] !== data || $[11] !== id || $[12] !== selected || $[13] !== t2 || $[14] !== t3 || $[15] !== type) {
|
|
133
|
-
t4 = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _layout.NodeContainer, { 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
|
-
|
|
131
|
+
t3 = $[12];
|
|
146
132
|
}
|
|
147
|
-
return
|
|
133
|
+
return t3;
|
|
148
134
|
}
|
|
149
135
|
var noise_blend_node_default = NoiseBlendNode;
|
|
150
136
|
|
|
@@ -158,7 +144,7 @@ var noise_blend_node_default = NoiseBlendNode;
|
|
|
158
144
|
|
|
159
145
|
|
|
160
146
|
function NoiseSelectNode(t0) {
|
|
161
|
-
const $ = _compilerruntime.c.call(void 0,
|
|
147
|
+
const $ = _compilerruntime.c.call(void 0, 37);
|
|
162
148
|
const {
|
|
163
149
|
id,
|
|
164
150
|
selected,
|
|
@@ -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__ */ _jsxruntime.jsx.call(void 0, _components.HandlesIncomingDataStatus, { nodeId: id, handles: data.handles,
|
|
260
|
+
t10 = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _components.HandlesIncomingDataStatus, { 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;
|
|
@@ -296,31 +282,18 @@ function NoiseSelectNode(t0) {
|
|
|
296
282
|
t11 = $[30];
|
|
297
283
|
}
|
|
298
284
|
let t12;
|
|
299
|
-
if ($[31] !== data
|
|
300
|
-
t12 = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _layout.
|
|
301
|
-
$[31] = data
|
|
285
|
+
if ($[31] !== data || $[32] !== id || $[33] !== selected || $[34] !== t11 || $[35] !== type) {
|
|
286
|
+
t12 = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _layout.NodeContainer, { id, selected, data, type, children: t11 });
|
|
287
|
+
$[31] = data;
|
|
302
288
|
$[32] = id;
|
|
303
|
-
$[33] =
|
|
289
|
+
$[33] = selected;
|
|
290
|
+
$[34] = t11;
|
|
291
|
+
$[35] = type;
|
|
292
|
+
$[36] = t12;
|
|
304
293
|
} else {
|
|
305
|
-
t12 = $[
|
|
294
|
+
t12 = $[36];
|
|
306
295
|
}
|
|
307
|
-
|
|
308
|
-
if ($[34] !== data || $[35] !== id || $[36] !== selected || $[37] !== t11 || $[38] !== t12 || $[39] !== type) {
|
|
309
|
-
t13 = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _layout.NodeContainer, { 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;
|
|
320
|
-
} else {
|
|
321
|
-
t13 = $[40];
|
|
322
|
-
}
|
|
323
|
-
return t13;
|
|
296
|
+
return t12;
|
|
324
297
|
}
|
|
325
298
|
var noise_select_node_default = NoiseSelectNode;
|
|
326
299
|
|
|
@@ -332,7 +305,7 @@ var noise_select_node_default = NoiseSelectNode;
|
|
|
332
305
|
|
|
333
306
|
|
|
334
307
|
function NoiseRawTextureNode(t0) {
|
|
335
|
-
const $ = _compilerruntime.c.call(void 0,
|
|
308
|
+
const $ = _compilerruntime.c.call(void 0, 24);
|
|
336
309
|
const {
|
|
337
310
|
id,
|
|
338
311
|
selected,
|
|
@@ -439,31 +412,18 @@ function NoiseRawTextureNode(t0) {
|
|
|
439
412
|
t9 = $[17];
|
|
440
413
|
}
|
|
441
414
|
let t10;
|
|
442
|
-
if ($[18] !== data
|
|
443
|
-
t10 = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _layout.
|
|
444
|
-
$[18] = data
|
|
415
|
+
if ($[18] !== data || $[19] !== id || $[20] !== selected || $[21] !== t9 || $[22] !== type) {
|
|
416
|
+
t10 = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _layout.NodeContainer, { id, selected, data, type, children: t9 });
|
|
417
|
+
$[18] = data;
|
|
445
418
|
$[19] = id;
|
|
446
|
-
$[20] =
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
let t11;
|
|
451
|
-
if ($[21] !== data || $[22] !== id || $[23] !== selected || $[24] !== t10 || $[25] !== t9 || $[26] !== type) {
|
|
452
|
-
t11 = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _layout.NodeContainer, { 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
|
-
|
|
424
|
+
t10 = $[23];
|
|
465
425
|
}
|
|
466
|
-
return
|
|
426
|
+
return t10;
|
|
467
427
|
}
|
|
468
428
|
function _temp2(n) {
|
|
469
429
|
return [n.value * 255, n.value * 255, n.value * 255, 255];
|
|
@@ -501,8 +461,7 @@ function PositionsLoggerNode({
|
|
|
501
461
|
v.y,
|
|
502
462
|
":",
|
|
503
463
|
v.z
|
|
504
|
-
] }, i))]) })
|
|
505
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _layout.NodeTrackConnections, { handles: data.handles, nodeId: id, type: "target" })
|
|
464
|
+
] }, i))]) })
|
|
506
465
|
] });
|
|
507
466
|
}
|
|
508
467
|
var positions_logger_node_default = PositionsLoggerNode;
|
|
@@ -1435,37 +1394,37 @@ var NoiseNodeType = /* @__PURE__ */ ((NoiseNodeType2) => {
|
|
|
1435
1394
|
return NoiseNodeType2;
|
|
1436
1395
|
})(NoiseNodeType || {});
|
|
1437
1396
|
var noiseNodeTypes = {
|
|
1438
|
-
["group-module" /* groupModule */]:
|
|
1439
|
-
["position" /* position */]:
|
|
1440
|
-
["grid" /* grid */]:
|
|
1397
|
+
["group-module" /* groupModule */]: _chunkXC7VF5YCcjs.module_group_node_default,
|
|
1398
|
+
["position" /* position */]: _chunkLKDSXT7Icjs.position_const_node_default,
|
|
1399
|
+
["grid" /* grid */]: _chunkLKDSXT7Icjs.position_grid_node_default,
|
|
1441
1400
|
["noise-output" /* noiseOutput */]: noise_output_node_default,
|
|
1442
1401
|
["texture-data" /* textureData */]: noise_raw_texture_node_default,
|
|
1443
1402
|
["noise-logger" /* noiseLogger */]: noise_logger_node_default,
|
|
1444
1403
|
["position-logger" /* positionLogger */]: positions_logger_node_default,
|
|
1445
|
-
["noise-constant" /* noiseConst */]:
|
|
1446
|
-
["noise-billow" /* noiseBillow */]:
|
|
1447
|
-
["noise-checkerboard" /* noiseCheckerboard */]:
|
|
1448
|
-
["noise-cylinders" /* noiseCylinders */]:
|
|
1449
|
-
["noise-perlin" /* noisePerlin */]:
|
|
1450
|
-
["noise-ridged-multi" /* noiseRidgedMulti */]:
|
|
1451
|
-
["noise-spheres" /* noiseSpheres */]:
|
|
1452
|
-
["noise-voronoi" /* noiseVoronoi */]:
|
|
1453
|
-
["noise-combiner" /* noiseCombine */]:
|
|
1454
|
-
["noise-clamp" /* noiseClamp */]:
|
|
1455
|
-
["noise-abs" /* noiseAbs */]:
|
|
1456
|
-
["noise-normalize" /* noiseNormalize */]:
|
|
1457
|
-
["noise-curve" /* noiseCurve */]:
|
|
1458
|
-
["noise-exponent" /* noiseExponent */]:
|
|
1459
|
-
["noise-invert" /* noiseInvert */]:
|
|
1460
|
-
["noise-scale-bias" /* noiseScaleBias */]:
|
|
1461
|
-
["noise-terrace" /* noiseTerrace */]:
|
|
1404
|
+
["noise-constant" /* noiseConst */]: _chunkLKDSXT7Icjs.noise_const_node_default,
|
|
1405
|
+
["noise-billow" /* noiseBillow */]: _chunkLKDSXT7Icjs.noise_billow_node_default,
|
|
1406
|
+
["noise-checkerboard" /* noiseCheckerboard */]: _chunkLKDSXT7Icjs.noise_checkerboard_node_default,
|
|
1407
|
+
["noise-cylinders" /* noiseCylinders */]: _chunkLKDSXT7Icjs.noise_cylinders_node_default,
|
|
1408
|
+
["noise-perlin" /* noisePerlin */]: _chunkLKDSXT7Icjs.noise_perlin_node_default,
|
|
1409
|
+
["noise-ridged-multi" /* noiseRidgedMulti */]: _chunkLKDSXT7Icjs.noise_ridgedmulti_node_default,
|
|
1410
|
+
["noise-spheres" /* noiseSpheres */]: _chunkLKDSXT7Icjs.noise_spheres_node_default,
|
|
1411
|
+
["noise-voronoi" /* noiseVoronoi */]: _chunkLKDSXT7Icjs.noise_voronoi_node_default,
|
|
1412
|
+
["noise-combiner" /* noiseCombine */]: _chunkDQE5NXY7cjs.noise_combine_node_default,
|
|
1413
|
+
["noise-clamp" /* noiseClamp */]: _chunkDQE5NXY7cjs.noise_clamp_node_default,
|
|
1414
|
+
["noise-abs" /* noiseAbs */]: _chunkDQE5NXY7cjs.noise_abs_node_default,
|
|
1415
|
+
["noise-normalize" /* noiseNormalize */]: _chunkDQE5NXY7cjs.noise_normalize_node_default,
|
|
1416
|
+
["noise-curve" /* noiseCurve */]: _chunkDQE5NXY7cjs.noise_curve_node_default,
|
|
1417
|
+
["noise-exponent" /* noiseExponent */]: _chunkDQE5NXY7cjs.noise_exponent_node_default,
|
|
1418
|
+
["noise-invert" /* noiseInvert */]: _chunkDQE5NXY7cjs.noise_invert_node_default,
|
|
1419
|
+
["noise-scale-bias" /* noiseScaleBias */]: _chunkDQE5NXY7cjs.noise_scale_bias_node_default,
|
|
1420
|
+
["noise-terrace" /* noiseTerrace */]: _chunkDQE5NXY7cjs.noise_terrace_node_default,
|
|
1462
1421
|
["noise-blend" /* noiseBlend */]: noise_blend_node_default,
|
|
1463
1422
|
["noise-select" /* noiseSelect */]: noise_select_node_default,
|
|
1464
|
-
["noise-displace" /* noiseDisplace */]:
|
|
1465
|
-
["noise-rotate-point" /* noiseRotatePoint */]:
|
|
1466
|
-
["noise-scale-point" /* noiseScalePoint */]:
|
|
1467
|
-
["noise-translate-point" /* noiseTranslatePoint */]:
|
|
1468
|
-
["noise-turbulence" /* noiseTurbulence */]:
|
|
1423
|
+
["noise-displace" /* noiseDisplace */]: _chunk36USJJC4cjs.noise_displace_node_default,
|
|
1424
|
+
["noise-rotate-point" /* noiseRotatePoint */]: _chunk36USJJC4cjs.noise_rotate_point_node_default,
|
|
1425
|
+
["noise-scale-point" /* noiseScalePoint */]: _chunk36USJJC4cjs.noise_scale_point_node_default,
|
|
1426
|
+
["noise-translate-point" /* noiseTranslatePoint */]: _chunk36USJJC4cjs.noise_translate_point_node_default,
|
|
1427
|
+
["noise-turbulence" /* noiseTurbulence */]: _chunk36USJJC4cjs.noise_turbulence_node_default
|
|
1469
1428
|
};
|
|
1470
1429
|
var noiseNodeTemplates = {
|
|
1471
1430
|
["noise-output" /* noiseOutput */]: new NoiseOutputNodeTemplateFactory(),
|
|
@@ -1504,7 +1463,7 @@ var noiseNodeTemplates = {
|
|
|
1504
1463
|
// src/nodes/output/noise-output-node.tsx
|
|
1505
1464
|
|
|
1506
1465
|
function NoiseOutputNode(t0) {
|
|
1507
|
-
const $ = _compilerruntime.c.call(void 0,
|
|
1466
|
+
const $ = _compilerruntime.c.call(void 0, 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__ */ _jsxruntime.jsx.call(void 0, _components.HandlesIncomingDataStatus, { nodeId: id, handles: data.handles,
|
|
1510
|
+
t2 = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _components.HandlesIncomingDataStatus, { 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;
|
|
@@ -1568,33 +1527,22 @@ function NoiseOutputNode(t0) {
|
|
|
1568
1527
|
t3 = $[8];
|
|
1569
1528
|
}
|
|
1570
1529
|
let t4;
|
|
1571
|
-
if ($[9] !== data
|
|
1572
|
-
t4 = /* @__PURE__ */ _jsxruntime.
|
|
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__ */ _jsxruntime.jsxs.call(void 0, _layout.NodeContainer, { id, selected, data, type, children: [
|
|
1530
|
+
if ($[9] !== data || $[10] !== id || $[11] !== selected || $[12] !== t2 || $[13] !== t3 || $[14] !== type) {
|
|
1531
|
+
t4 = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _layout.NodeContainer, { id, selected, data, type, children: [
|
|
1582
1532
|
t2,
|
|
1583
|
-
t3
|
|
1584
|
-
t4
|
|
1533
|
+
t3
|
|
1585
1534
|
] });
|
|
1586
|
-
$[
|
|
1587
|
-
$[
|
|
1588
|
-
$[
|
|
1589
|
-
$[
|
|
1590
|
-
$[
|
|
1591
|
-
$[
|
|
1592
|
-
$[
|
|
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
|
-
|
|
1543
|
+
t4 = $[15];
|
|
1596
1544
|
}
|
|
1597
|
-
return
|
|
1545
|
+
return t4;
|
|
1598
1546
|
}
|
|
1599
1547
|
var noise_output_node_default = NoiseOutputNode;
|
|
1600
1548
|
|
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
import { c as _c } from "react/compiler-runtime";
|
|
3
3
|
import { GroupNode } from "@awesome-flow/core/nodes";
|
|
4
4
|
import { useIncomingComputedData, useUpdateNodeComputedData } from "@awesome-flow/core/hooks";
|
|
5
|
-
import { NodeTrackConnections } from "@awesome-flow/core/layout";
|
|
6
5
|
import { useEffect } from "react";
|
|
7
6
|
import { jsx } from "react/jsx-runtime";
|
|
8
7
|
function ModuleGroupNode(props) {
|
|
9
|
-
const $ = _c(
|
|
8
|
+
const $ = _c(7);
|
|
10
9
|
const incomingModules = useIncomingComputedData(props.id);
|
|
11
10
|
const updateComputedData = useUpdateNodeComputedData();
|
|
12
11
|
let t0;
|
|
@@ -34,24 +33,14 @@ function ModuleGroupNode(props) {
|
|
|
34
33
|
}
|
|
35
34
|
useEffect(t0, t1);
|
|
36
35
|
let t2;
|
|
37
|
-
if ($[5] !== props
|
|
38
|
-
t2 = /* @__PURE__ */ jsx(
|
|
39
|
-
$[5] = props
|
|
40
|
-
$[6] =
|
|
41
|
-
$[7] = t2;
|
|
36
|
+
if ($[5] !== props) {
|
|
37
|
+
t2 = /* @__PURE__ */ jsx(GroupNode, { ...props });
|
|
38
|
+
$[5] = props;
|
|
39
|
+
$[6] = t2;
|
|
42
40
|
} else {
|
|
43
|
-
t2 = $[
|
|
41
|
+
t2 = $[6];
|
|
44
42
|
}
|
|
45
|
-
|
|
46
|
-
if ($[8] !== props || $[9] !== t2) {
|
|
47
|
-
t3 = /* @__PURE__ */ jsx(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
|
|