@awesome-flow/noise 0.6.0 → 0.7.0

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 (59) hide show
  1. package/dist/abstract/index.cjs +663 -734
  2. package/dist/abstract/index.d.cts +6 -12
  3. package/dist/abstract/index.d.ts +6 -12
  4. package/dist/abstract/index.js +449 -522
  5. package/dist/{index-BungWYrh.d.cts → index-CfiOpOzX.d.cts} +1 -1
  6. package/dist/{index-DsQSjZC5.d.ts → index-mlK0X4O1.d.ts} +1 -1
  7. package/dist/modules/index.cjs +4 -30
  8. package/dist/modules/index.d.cts +2 -10
  9. package/dist/modules/index.d.ts +2 -10
  10. package/dist/modules/index.js +2 -17
  11. package/dist/{node-props-BbqbXDXn.d.cts → node-props-CAV2WNDN.d.cts} +3 -7
  12. package/dist/{node-props-BbqbXDXn.d.ts → node-props-CAV2WNDN.d.ts} +3 -7
  13. package/dist/nodes/generators/index.cjs +71 -114
  14. package/dist/nodes/generators/index.d.cts +3 -8
  15. package/dist/nodes/generators/index.d.ts +3 -8
  16. package/dist/nodes/generators/index.js +47 -79
  17. package/dist/nodes/index.cjs +604 -675
  18. package/dist/nodes/index.d.cts +3 -6
  19. package/dist/nodes/index.d.ts +3 -6
  20. package/dist/nodes/index.js +394 -466
  21. package/dist/nodes/modifiers/index.cjs +37 -52
  22. package/dist/nodes/modifiers/index.d.cts +2 -5
  23. package/dist/nodes/modifiers/index.d.ts +2 -5
  24. package/dist/nodes/modifiers/index.js +23 -38
  25. package/dist/nodes/output/index.cjs +239 -285
  26. package/dist/nodes/output/index.js +252 -290
  27. package/dist/nodes/selectors/index.cjs +230 -280
  28. package/dist/nodes/selectors/index.d.cts +2 -5
  29. package/dist/nodes/selectors/index.d.ts +2 -5
  30. package/dist/nodes/selectors/index.js +248 -290
  31. package/dist/nodes/transformers/index.cjs +10 -10
  32. package/dist/nodes/transformers/index.d.cts +2 -5
  33. package/dist/nodes/transformers/index.d.ts +2 -5
  34. package/dist/nodes/transformers/index.js +5 -5
  35. package/dist/templates/generators/index.cjs +201 -253
  36. package/dist/templates/generators/index.d.cts +3 -10
  37. package/dist/templates/generators/index.d.ts +3 -10
  38. package/dist/templates/generators/index.js +236 -279
  39. package/dist/templates/groups/index.cjs +201 -251
  40. package/dist/templates/groups/index.js +236 -278
  41. package/dist/templates/index.cjs +201 -253
  42. package/dist/templates/index.d.cts +4 -7
  43. package/dist/templates/index.d.ts +4 -7
  44. package/dist/templates/index.js +236 -279
  45. package/dist/templates/modifiers/index.cjs +201 -251
  46. package/dist/templates/modifiers/index.d.cts +2 -5
  47. package/dist/templates/modifiers/index.d.ts +2 -5
  48. package/dist/templates/modifiers/index.js +236 -278
  49. package/dist/templates/output/index.cjs +201 -251
  50. package/dist/templates/output/index.js +236 -278
  51. package/dist/templates/selectors/index.cjs +201 -251
  52. package/dist/templates/selectors/index.d.cts +2 -5
  53. package/dist/templates/selectors/index.d.ts +2 -5
  54. package/dist/templates/selectors/index.js +236 -278
  55. package/dist/templates/transformers/index.cjs +201 -251
  56. package/dist/templates/transformers/index.d.cts +3 -6
  57. package/dist/templates/transformers/index.d.ts +3 -6
  58. package/dist/templates/transformers/index.js +236 -278
  59. package/package.json +6 -4
@@ -3,140 +3,128 @@ import {
3
3
  CoreTemplateGroup
4
4
  } from "@awesome-flow/core/abstract";
5
5
  import { IDGenerator as IDGenerator3 } from "@awesome-flow/core/utils";
6
- import { Position as Position32 } from "@xyflow/system";
7
-
8
- // src/nodes/generators/noise-simplex-node.tsx
9
- import { NodeContainer } from "@awesome-flow/core/layout";
10
- import { useEffect, useMemo } from "react";
11
- import { useUpdateNodeComputedData } from "@awesome-flow/core/hooks";
12
-
13
- // src/modules/simplex-module.ts
14
- import Module from "libnoise-ts/module/Module";
15
- import { createNoise3D } from "simplex-noise";
16
-
17
- // src/nodes/generators/noise-simplex-node.tsx
18
- import { jsx } from "react/jsx-runtime";
6
+ import { Position as Position31 } from "@xyflow/system";
19
7
 
20
8
  // src/nodes/generators/position-const-node.tsx
21
- import { NodeContainer as NodeContainer2 } from "@awesome-flow/core/layout";
22
- import { useEffect as useEffect2, useState } from "react";
9
+ import { NodeContainer } from "@awesome-flow/core/layout";
10
+ import { useEffect, useState } from "react";
23
11
  import { Group, NumberInput, Stack } from "@mantine/core";
24
- import { useUpdateNodeComputedData as useUpdateNodeComputedData2, useUpdateNodeData } from "@awesome-flow/core/hooks";
25
- import { jsx as jsx2, jsxs } from "react/jsx-runtime";
12
+ import { useUpdateNodeComputedData, useUpdateNodeData } from "@awesome-flow/core/hooks";
13
+ import { jsx, jsxs } from "react/jsx-runtime";
26
14
 
27
15
  // src/nodes/generators/position-grid-node.tsx
28
- import { NodeContainer as NodeContainer3 } from "@awesome-flow/core/layout";
29
- import { useEffect as useEffect3, useState as useState2 } from "react";
16
+ import { NodeContainer as NodeContainer2 } from "@awesome-flow/core/layout";
17
+ import { useEffect as useEffect2, useState as useState2 } from "react";
30
18
  import { Group as Group2, NumberInput as NumberInput2, Stack as Stack2 } from "@mantine/core";
31
- import { useUpdateNodeComputedData as useUpdateNodeComputedData3, useUpdateNodeData as useUpdateNodeData2 } from "@awesome-flow/core/hooks";
32
- import { jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
19
+ import { useUpdateNodeComputedData as useUpdateNodeComputedData2, useUpdateNodeData as useUpdateNodeData2 } from "@awesome-flow/core/hooks";
20
+ import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
33
21
 
34
22
  // src/nodes/modifiers/noise-normalize-node.tsx
35
- import { NodeContainer as NodeContainer4, NodeTrackConnections } from "@awesome-flow/core/layout";
36
- import { useEffect as useEffect4, useState as useState3 } from "react";
23
+ import { NodeContainer as NodeContainer3, NodeTrackConnections } from "@awesome-flow/core/layout";
24
+ import { useEffect as useEffect3, useState as useState3 } from "react";
37
25
  import { Group as Group3, NumberInput as NumberInput3, Stack as Stack3 } from "@mantine/core";
38
26
  import {
39
27
  useIncomingComputedData,
40
- useUpdateNodeComputedData as useUpdateNodeComputedData4,
28
+ useUpdateNodeComputedData as useUpdateNodeComputedData3,
41
29
  useUpdateNodeData as useUpdateNodeData3
42
30
  } from "@awesome-flow/core/hooks";
43
31
 
44
32
  // src/modules/normalize-noise-module.ts
45
- import ModifierModule from "libnoise-ts/module/modifier";
33
+ import { ModifierModule } from "libnoise-simplex-ts";
46
34
 
47
35
  // src/nodes/modifiers/noise-normalize-node.tsx
48
- import { jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
36
+ import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
49
37
 
50
38
  // src/nodes/generators/noise-const-node.tsx
51
- import { NodeContainer as NodeContainer5 } from "@awesome-flow/core/layout";
52
- import { useEffect as useEffect5, useMemo as useMemo2, useState as useState4 } from "react";
39
+ import { NodeContainer as NodeContainer4 } from "@awesome-flow/core/layout";
40
+ import { useEffect as useEffect4, useMemo, useState as useState4 } from "react";
53
41
  import { Group as Group4, NumberInput as NumberInput4, Stack as Stack4 } from "@mantine/core";
54
- import { useUpdateNodeComputedData as useUpdateNodeComputedData5, useUpdateNodeData as useUpdateNodeData4 } from "@awesome-flow/core/hooks";
55
- import { Const } from "libnoise-ts/module/generator";
56
- import { jsx as jsx5, jsxs as jsxs4 } from "react/jsx-runtime";
42
+ import { useUpdateNodeComputedData as useUpdateNodeComputedData4, useUpdateNodeData as useUpdateNodeData4 } from "@awesome-flow/core/hooks";
43
+ import { Const } from "libnoise-simplex-ts";
44
+ import { jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
57
45
 
58
46
  // src/nodes/generators/noise-billow-node.tsx
59
- import { NodeContainer as NodeContainer6, NodeTrackConnections as NodeTrackConnections2 } from "@awesome-flow/core/layout";
60
- import { useCallback, useMemo as useMemo3 } from "react";
61
- import { Billow } from "libnoise-ts/module/generator";
62
- import { useUpdateNodeComputedData as useUpdateNodeComputedData6 } from "@awesome-flow/core/hooks";
47
+ import { NodeContainer as NodeContainer5, NodeTrackConnections as NodeTrackConnections2 } from "@awesome-flow/core/layout";
48
+ import { useCallback, useMemo as useMemo2 } from "react";
49
+ import { Billow } from "libnoise-simplex-ts";
50
+ import { useUpdateNodeComputedData as useUpdateNodeComputedData5 } from "@awesome-flow/core/hooks";
63
51
  import { NodePropertyVariables } from "@awesome-flow/core/components";
64
- import { jsx as jsx6, jsxs as jsxs5 } from "react/jsx-runtime";
52
+ import { jsx as jsx5, jsxs as jsxs5 } from "react/jsx-runtime";
65
53
 
66
54
  // src/nodes/output/noise-logger-node.tsx
67
- import { NodeContainer as NodeContainer7, NodeTrackConnections as NodeTrackConnections3 } from "@awesome-flow/core/layout";
68
- import { useMemo as useMemo4 } from "react";
55
+ import { NodeContainer as NodeContainer6, NodeTrackConnections as NodeTrackConnections3 } from "@awesome-flow/core/layout";
56
+ import { useMemo as useMemo3 } from "react";
69
57
  import { Divider, Stack as Stack5, Text } from "@mantine/core";
70
58
  import { useIncomingComputedData as useIncomingComputedData2 } from "@awesome-flow/core/hooks";
71
- import { jsx as jsx7, jsxs as jsxs6 } from "react/jsx-runtime";
59
+ import { jsx as jsx6, jsxs as jsxs6 } from "react/jsx-runtime";
72
60
 
73
61
  // src/nodes/output/noise-raw-texture-node.tsx
74
- import { NodeContainer as NodeContainer8, NodeTrackConnections as NodeTrackConnections4 } from "@awesome-flow/core/layout";
75
- import { useEffect as useEffect6, useMemo as useMemo5, useState as useState5 } from "react";
76
- import { useIncomingComputedData as useIncomingComputedData3, useUpdateNodeComputedData as useUpdateNodeComputedData7 } from "@awesome-flow/core/hooks";
62
+ import { NodeContainer as NodeContainer7, NodeTrackConnections as NodeTrackConnections4 } from "@awesome-flow/core/layout";
63
+ import { useEffect as useEffect5, useMemo as useMemo4, useState as useState5 } from "react";
64
+ import { useIncomingComputedData as useIncomingComputedData3, useUpdateNodeComputedData as useUpdateNodeComputedData6 } from "@awesome-flow/core/hooks";
77
65
  import { Group as Group5, Stack as Stack6 } from "@mantine/core";
78
- import { jsx as jsx8, jsxs as jsxs7 } from "react/jsx-runtime";
66
+ import { jsx as jsx7, jsxs as jsxs7 } from "react/jsx-runtime";
79
67
 
80
68
  // src/nodes/generators/noise-checkerboard-node.tsx
81
- import { NodeContainer as NodeContainer9 } from "@awesome-flow/core/layout";
82
- import { useEffect as useEffect7, useMemo as useMemo6 } from "react";
83
- import { Checkerboard } from "libnoise-ts/module/generator";
84
- import { useUpdateNodeComputedData as useUpdateNodeComputedData8 } from "@awesome-flow/core/hooks";
85
- import { jsx as jsx9 } from "react/jsx-runtime";
69
+ import { NodeContainer as NodeContainer8 } from "@awesome-flow/core/layout";
70
+ import { useEffect as useEffect6, useMemo as useMemo5 } from "react";
71
+ import { Checkerboard } from "libnoise-simplex-ts";
72
+ import { useUpdateNodeComputedData as useUpdateNodeComputedData7 } from "@awesome-flow/core/hooks";
73
+ import { jsx as jsx8 } from "react/jsx-runtime";
86
74
 
87
75
  // src/nodes/output/positions-logger-node.tsx
88
- import { NodeContainer as NodeContainer10, NodeTrackConnections as NodeTrackConnections5 } from "@awesome-flow/core/layout";
89
- import { useMemo as useMemo7 } from "react";
76
+ import { NodeContainer as NodeContainer9, NodeTrackConnections as NodeTrackConnections5 } from "@awesome-flow/core/layout";
77
+ import { useMemo as useMemo6 } from "react";
90
78
  import { Divider as Divider2, Stack as Stack7, Text as Text2 } from "@mantine/core";
91
79
  import { useIncomingComputedData as useIncomingComputedData4 } from "@awesome-flow/core/hooks";
92
- import { jsx as jsx10, jsxs as jsxs8 } from "react/jsx-runtime";
80
+ import { jsx as jsx9, jsxs as jsxs8 } from "react/jsx-runtime";
93
81
 
94
82
  // src/nodes/generators/noise-cylinders-node.tsx
95
- import { NodeContainer as NodeContainer11, NodeTrackConnections as NodeTrackConnections6 } from "@awesome-flow/core/layout";
96
- import { useCallback as useCallback2, useMemo as useMemo8 } from "react";
97
- import { Cylinders } from "libnoise-ts/module/generator";
98
- import { useUpdateNodeComputedData as useUpdateNodeComputedData9 } from "@awesome-flow/core/hooks";
83
+ import { NodeContainer as NodeContainer10, NodeTrackConnections as NodeTrackConnections6 } from "@awesome-flow/core/layout";
84
+ import { useCallback as useCallback2, useMemo as useMemo7 } from "react";
85
+ import { Cylinders } from "libnoise-simplex-ts";
86
+ import { useUpdateNodeComputedData as useUpdateNodeComputedData8 } from "@awesome-flow/core/hooks";
99
87
  import { NodePropertyVariables as NodePropertyVariables2 } from "@awesome-flow/core/components";
100
- import { jsx as jsx11, jsxs as jsxs9 } from "react/jsx-runtime";
88
+ import { jsx as jsx10, jsxs as jsxs9 } from "react/jsx-runtime";
101
89
 
102
90
  // src/nodes/generators/noise-perlin-node.tsx
103
- import { NodeContainer as NodeContainer12, NodeTrackConnections as NodeTrackConnections7 } from "@awesome-flow/core/layout";
104
- import { useCallback as useCallback3, useMemo as useMemo9 } from "react";
105
- import { Perlin } from "libnoise-ts/module/generator";
106
- import { useUpdateNodeComputedData as useUpdateNodeComputedData10 } from "@awesome-flow/core/hooks";
91
+ import { NodeContainer as NodeContainer11, NodeTrackConnections as NodeTrackConnections7 } from "@awesome-flow/core/layout";
92
+ import { useCallback as useCallback3, useMemo as useMemo8 } from "react";
93
+ import { Perlin } from "libnoise-simplex-ts";
94
+ import { useUpdateNodeComputedData as useUpdateNodeComputedData9 } from "@awesome-flow/core/hooks";
107
95
  import { NodePropertyVariables as NodePropertyVariables3 } from "@awesome-flow/core/components";
108
- import { jsx as jsx12, jsxs as jsxs10 } from "react/jsx-runtime";
96
+ import { jsx as jsx11, jsxs as jsxs10 } from "react/jsx-runtime";
109
97
 
110
98
  // src/nodes/generators/noise-ridgedmulti-node.tsx
111
- import { NodeContainer as NodeContainer13, NodeTrackConnections as NodeTrackConnections8 } from "@awesome-flow/core/layout";
112
- import { useCallback as useCallback4, useMemo as useMemo10 } from "react";
113
- import { RidgedMulti } from "libnoise-ts/module/generator";
114
- import { useUpdateNodeComputedData as useUpdateNodeComputedData11 } from "@awesome-flow/core/hooks";
99
+ import { NodeContainer as NodeContainer12, NodeTrackConnections as NodeTrackConnections8 } from "@awesome-flow/core/layout";
100
+ import { useCallback as useCallback4, useMemo as useMemo9 } from "react";
101
+ import { RidgedMulti } from "libnoise-simplex-ts";
102
+ import { useUpdateNodeComputedData as useUpdateNodeComputedData10 } from "@awesome-flow/core/hooks";
115
103
  import { NodePropertyVariables as NodePropertyVariables4 } from "@awesome-flow/core/components";
116
- import { jsx as jsx13, jsxs as jsxs11 } from "react/jsx-runtime";
104
+ import { jsx as jsx12, jsxs as jsxs11 } from "react/jsx-runtime";
117
105
 
118
106
  // src/nodes/generators/noise-spheres-node.tsx
119
- import { NodeContainer as NodeContainer14, NodeTrackConnections as NodeTrackConnections9 } from "@awesome-flow/core/layout";
120
- import { useCallback as useCallback5, useMemo as useMemo11 } from "react";
121
- import { Spheres } from "libnoise-ts/module/generator";
122
- import { useUpdateNodeComputedData as useUpdateNodeComputedData12 } from "@awesome-flow/core/hooks";
107
+ import { NodeContainer as NodeContainer13, NodeTrackConnections as NodeTrackConnections9 } from "@awesome-flow/core/layout";
108
+ import { useCallback as useCallback5, useMemo as useMemo10 } from "react";
109
+ import { Spheres } from "libnoise-simplex-ts";
110
+ import { useUpdateNodeComputedData as useUpdateNodeComputedData11 } from "@awesome-flow/core/hooks";
123
111
  import { NodePropertyVariables as NodePropertyVariables5 } from "@awesome-flow/core/components";
124
- import { jsx as jsx14, jsxs as jsxs12 } from "react/jsx-runtime";
112
+ import { jsx as jsx13, jsxs as jsxs12 } from "react/jsx-runtime";
125
113
 
126
114
  // src/nodes/generators/noise-voronoi-node.tsx
127
- import { NodeContainer as NodeContainer15, NodeTrackConnections as NodeTrackConnections10 } from "@awesome-flow/core/layout";
115
+ import { NodeContainer as NodeContainer14, NodeTrackConnections as NodeTrackConnections10 } from "@awesome-flow/core/layout";
128
116
  import { useCallback as useCallback6 } from "react";
129
- import { Voronoi } from "libnoise-ts/module/generator";
130
- import { useUpdateNodeComputedData as useUpdateNodeComputedData13 } from "@awesome-flow/core/hooks";
117
+ import { Voronoi } from "libnoise-simplex-ts";
118
+ import { useUpdateNodeComputedData as useUpdateNodeComputedData12 } from "@awesome-flow/core/hooks";
131
119
  import { NodePropertyVariables as NodePropertyVariables6 } from "@awesome-flow/core/components";
132
- import { jsx as jsx15, jsxs as jsxs13 } from "react/jsx-runtime";
120
+ import { jsx as jsx14, jsxs as jsxs13 } from "react/jsx-runtime";
133
121
 
134
122
  // src/nodes/modifiers/noise-combine-node.tsx
135
- import { NodeCombobox, NodeContainer as NodeContainer16, NodeTrackConnections as NodeTrackConnections11 } from "@awesome-flow/core/layout";
136
- import { useCallback as useCallback7, useEffect as useEffect8 } from "react";
123
+ import { NodeCombobox, NodeContainer as NodeContainer15, NodeTrackConnections as NodeTrackConnections11 } from "@awesome-flow/core/layout";
124
+ import { useCallback as useCallback7, useEffect as useEffect7 } from "react";
137
125
  import {
138
126
  useIncomingComputedData as useIncomingComputedData5,
139
- useUpdateNodeComputedData as useUpdateNodeComputedData14,
127
+ useUpdateNodeComputedData as useUpdateNodeComputedData13,
140
128
  useUpdateNodeData as useUpdateNodeData5
141
129
  } from "@awesome-flow/core/hooks";
142
130
  import {
@@ -148,168 +136,167 @@ import {
148
136
  } from "@tabler/icons-react";
149
137
 
150
138
  // src/abstract/operations.ts
151
- import { Add, Max, Min, Multiply, Power } from "libnoise-ts/module/combiner";
139
+ import { Add, Max, Min, Multiply, Power } from "libnoise-simplex-ts";
152
140
 
153
141
  // src/nodes/modifiers/noise-combine-node.tsx
154
- import { jsx as jsx16, jsxs as jsxs14 } from "react/jsx-runtime";
142
+ import { jsx as jsx15, jsxs as jsxs14 } from "react/jsx-runtime";
155
143
 
156
144
  // src/nodes/modifiers/noise-clamp-node.tsx
157
- import { NodeContainer as NodeContainer17, NodeTrackConnections as NodeTrackConnections12 } from "@awesome-flow/core/layout";
158
- import { useEffect as useEffect9, useState as useState6 } from "react";
145
+ import { NodeContainer as NodeContainer16, NodeTrackConnections as NodeTrackConnections12 } from "@awesome-flow/core/layout";
146
+ import { useEffect as useEffect8, useState as useState6 } from "react";
159
147
  import { Group as Group6, NumberInput as NumberInput5, Stack as Stack8 } from "@mantine/core";
160
148
  import {
161
149
  useIncomingComputedData as useIncomingComputedData6,
162
- useUpdateNodeComputedData as useUpdateNodeComputedData15,
150
+ useUpdateNodeComputedData as useUpdateNodeComputedData14,
163
151
  useUpdateNodeData as useUpdateNodeData6
164
152
  } from "@awesome-flow/core/hooks";
165
- import { Clamp } from "libnoise-ts/module/modifier";
166
- import { jsx as jsx17, jsxs as jsxs15 } from "react/jsx-runtime";
153
+ import { Clamp } from "libnoise-simplex-ts";
154
+ import { jsx as jsx16, jsxs as jsxs15 } from "react/jsx-runtime";
167
155
 
168
156
  // src/nodes/modifiers/noise-abs-node.tsx
169
- import { NodeContainer as NodeContainer18, NodeTrackConnections as NodeTrackConnections13 } from "@awesome-flow/core/layout";
170
- import { useEffect as useEffect10 } from "react";
171
- import { useIncomingComputedData as useIncomingComputedData7, useUpdateNodeComputedData as useUpdateNodeComputedData16 } from "@awesome-flow/core/hooks";
172
- import { Abs } from "libnoise-ts/module/modifier";
173
- import { jsx as jsx18 } from "react/jsx-runtime";
157
+ import { NodeContainer as NodeContainer17, NodeTrackConnections as NodeTrackConnections13 } from "@awesome-flow/core/layout";
158
+ import { useEffect as useEffect9 } from "react";
159
+ import { useIncomingComputedData as useIncomingComputedData7, useUpdateNodeComputedData as useUpdateNodeComputedData15 } from "@awesome-flow/core/hooks";
160
+ import { Abs } from "libnoise-simplex-ts";
161
+ import { jsx as jsx17 } from "react/jsx-runtime";
174
162
 
175
163
  // src/nodes/output/noise-output-node.tsx
176
- import { NodeContainer as NodeContainer19, NodeTrackConnections as NodeTrackConnections14 } from "@awesome-flow/core/layout";
164
+ import { NodeContainer as NodeContainer18, NodeTrackConnections as NodeTrackConnections14 } from "@awesome-flow/core/layout";
177
165
  import { useCallback as useCallback8, useState as useState7 } from "react";
178
- import { useUpdateNodeComputedData as useUpdateNodeComputedData17 } from "@awesome-flow/core/hooks";
166
+ import { useUpdateNodeComputedData as useUpdateNodeComputedData16 } from "@awesome-flow/core/hooks";
179
167
  import { HandlesIncomingDataStatus } from "@awesome-flow/core/components";
180
168
  import { Text as Text3 } from "@mantine/core";
181
- import { jsx as jsx19, jsxs as jsxs16 } from "react/jsx-runtime";
169
+ import { jsx as jsx18, jsxs as jsxs16 } from "react/jsx-runtime";
182
170
 
183
171
  // src/nodes/modifiers/noise-curve-node.tsx
184
- import { NodeContainer as NodeContainer20, NodeTrackConnections as NodeTrackConnections15 } from "@awesome-flow/core/layout";
172
+ import { NodeContainer as NodeContainer19, NodeTrackConnections as NodeTrackConnections15 } from "@awesome-flow/core/layout";
185
173
  import { ActionIcon, Button, Group as Group7, NumberInput as NumberInput6, Space } from "@mantine/core";
186
174
  import {
187
175
  useIncomingComputedData as useIncomingComputedData8,
188
- useUpdateNodeComputedData as useUpdateNodeComputedData18,
176
+ useUpdateNodeComputedData as useUpdateNodeComputedData17,
189
177
  useUpdateNodeData as useUpdateNodeData7
190
178
  } from "@awesome-flow/core/hooks";
191
- import { useCallback as useCallback9, useEffect as useEffect11, useState as useState8 } from "react";
192
- import { Curve } from "libnoise-ts/module/modifier";
193
- import { Tuple } from "libnoise-ts/util";
179
+ import { useCallback as useCallback9, useEffect as useEffect10, useState as useState8 } from "react";
180
+ import { Curve, Tuple } from "libnoise-simplex-ts";
194
181
  import { IconX } from "@tabler/icons-react";
195
182
  import { randomId } from "@mantine/hooks";
196
183
  import { NodeState } from "@awesome-flow/core/abstract";
197
- import { Fragment, jsx as jsx20, jsxs as jsxs17 } from "react/jsx-runtime";
184
+ import { Fragment, jsx as jsx19, jsxs as jsxs17 } from "react/jsx-runtime";
198
185
 
199
186
  // src/nodes/modifiers/noise-exponent-node.tsx
200
- import { NodeContainer as NodeContainer21, NodeTrackConnections as NodeTrackConnections16 } from "@awesome-flow/core/layout";
201
- import { useEffect as useEffect12, useState as useState9 } from "react";
187
+ import { NodeContainer as NodeContainer20, NodeTrackConnections as NodeTrackConnections16 } from "@awesome-flow/core/layout";
188
+ import { useEffect as useEffect11, useState as useState9 } from "react";
202
189
  import { Group as Group8, NumberInput as NumberInput7, Stack as Stack9 } from "@mantine/core";
203
190
  import {
204
191
  useIncomingComputedData as useIncomingComputedData9,
205
- useUpdateNodeComputedData as useUpdateNodeComputedData19,
192
+ useUpdateNodeComputedData as useUpdateNodeComputedData18,
206
193
  useUpdateNodeData as useUpdateNodeData8
207
194
  } from "@awesome-flow/core/hooks";
208
- import { Exponent } from "libnoise-ts/module/modifier";
209
- import { jsx as jsx21, jsxs as jsxs18 } from "react/jsx-runtime";
195
+ import { Exponent } from "libnoise-simplex-ts";
196
+ import { jsx as jsx20, jsxs as jsxs18 } from "react/jsx-runtime";
210
197
 
211
198
  // src/nodes/modifiers/noise-invert-node.tsx
212
- import { NodeContainer as NodeContainer22, NodeTrackConnections as NodeTrackConnections17 } from "@awesome-flow/core/layout";
213
- import { useEffect as useEffect13 } from "react";
214
- import { useIncomingComputedData as useIncomingComputedData10, useUpdateNodeComputedData as useUpdateNodeComputedData20 } from "@awesome-flow/core/hooks";
215
- import { Invert } from "libnoise-ts/module/modifier";
216
- import { jsx as jsx22 } from "react/jsx-runtime";
199
+ import { NodeContainer as NodeContainer21, NodeTrackConnections as NodeTrackConnections17 } from "@awesome-flow/core/layout";
200
+ import { useEffect as useEffect12 } from "react";
201
+ import { useIncomingComputedData as useIncomingComputedData10, useUpdateNodeComputedData as useUpdateNodeComputedData19 } from "@awesome-flow/core/hooks";
202
+ import { Invert } from "libnoise-simplex-ts";
203
+ import { jsx as jsx21 } from "react/jsx-runtime";
217
204
 
218
205
  // src/nodes/modifiers/noise-scale-bias-node.tsx
219
- import { NodeContainer as NodeContainer23, NodeTrackConnections as NodeTrackConnections18 } from "@awesome-flow/core/layout";
220
- import { useEffect as useEffect14, useState as useState10 } from "react";
206
+ import { NodeContainer as NodeContainer22, NodeTrackConnections as NodeTrackConnections18 } from "@awesome-flow/core/layout";
207
+ import { useEffect as useEffect13, useState as useState10 } from "react";
221
208
  import { Group as Group9, NumberInput as NumberInput8, Stack as Stack10 } from "@mantine/core";
222
209
  import {
223
210
  useIncomingComputedData as useIncomingComputedData11,
224
- useUpdateNodeComputedData as useUpdateNodeComputedData21,
211
+ useUpdateNodeComputedData as useUpdateNodeComputedData20,
225
212
  useUpdateNodeData as useUpdateNodeData9
226
213
  } from "@awesome-flow/core/hooks";
227
- import { ScaleBias } from "libnoise-ts/module/modifier";
228
- import { jsx as jsx23, jsxs as jsxs19 } from "react/jsx-runtime";
214
+ import { ScaleBias } from "libnoise-simplex-ts";
215
+ import { jsx as jsx22, jsxs as jsxs19 } from "react/jsx-runtime";
229
216
 
230
217
  // src/nodes/modifiers/noise-terrace-node.tsx
231
- import { NodeContainer as NodeContainer24, NodeTrackConnections as NodeTrackConnections19 } from "@awesome-flow/core/layout";
218
+ import { NodeContainer as NodeContainer23, NodeTrackConnections as NodeTrackConnections19 } from "@awesome-flow/core/layout";
232
219
  import { ActionIcon as ActionIcon2, Button as Button2, Group as Group10, NumberInput as NumberInput9, Space as Space2 } from "@mantine/core";
233
220
  import {
234
221
  useIncomingComputedData as useIncomingComputedData12,
235
- useUpdateNodeComputedData as useUpdateNodeComputedData22,
222
+ useUpdateNodeComputedData as useUpdateNodeComputedData21,
236
223
  useUpdateNodeData as useUpdateNodeData10
237
224
  } from "@awesome-flow/core/hooks";
238
- import { useCallback as useCallback10, useEffect as useEffect15, useState as useState11 } from "react";
239
- import { Terrace } from "libnoise-ts/module/modifier";
225
+ import { useCallback as useCallback10, useEffect as useEffect14, useState as useState11 } from "react";
226
+ import { Terrace } from "libnoise-simplex-ts";
240
227
  import { IconX as IconX2 } from "@tabler/icons-react";
241
228
  import { randomId as randomId2 } from "@mantine/hooks";
242
229
  import { NodeState as NodeState2 } from "@awesome-flow/core/abstract";
243
- import { Fragment as Fragment2, jsx as jsx24, jsxs as jsxs20 } from "react/jsx-runtime";
230
+ import { Fragment as Fragment2, jsx as jsx23, jsxs as jsxs20 } from "react/jsx-runtime";
244
231
 
245
232
  // src/nodes/selectors/noise-blend-node.tsx
246
- import { NodeContainer as NodeContainer25, NodeTrackConnections as NodeTrackConnections20 } from "@awesome-flow/core/layout";
233
+ import { NodeContainer as NodeContainer24, NodeTrackConnections as NodeTrackConnections20 } from "@awesome-flow/core/layout";
247
234
  import { useCallback as useCallback11 } from "react";
248
- import { useUpdateNodeComputedData as useUpdateNodeComputedData23 } from "@awesome-flow/core/hooks";
249
- import { Blend } from "libnoise-ts/module/selector";
235
+ import { useUpdateNodeComputedData as useUpdateNodeComputedData22 } from "@awesome-flow/core/hooks";
236
+ import { Blend } from "libnoise-simplex-ts";
250
237
  import { HandlesIncomingDataStatus as HandlesIncomingDataStatus2 } from "@awesome-flow/core/components";
251
- import { jsx as jsx25, jsxs as jsxs21 } from "react/jsx-runtime";
238
+ import { jsx as jsx24, jsxs as jsxs21 } from "react/jsx-runtime";
252
239
 
253
240
  // src/nodes/selectors/noise-select-node.tsx
254
- import { NodeContainer as NodeContainer26, NodeTrackConnections as NodeTrackConnections21 } from "@awesome-flow/core/layout";
255
- import { useCallback as useCallback12, useEffect as useEffect16, useState as useState12 } from "react";
256
- import { useUpdateNodeComputedData as useUpdateNodeComputedData24, useUpdateNodeData as useUpdateNodeData11 } from "@awesome-flow/core/hooks";
257
- import { Select } from "libnoise-ts/module/selector";
241
+ import { NodeContainer as NodeContainer25, NodeTrackConnections as NodeTrackConnections21 } from "@awesome-flow/core/layout";
242
+ import { useCallback as useCallback12, useEffect as useEffect15, useState as useState12 } from "react";
243
+ import { useUpdateNodeComputedData as useUpdateNodeComputedData23, useUpdateNodeData as useUpdateNodeData11 } from "@awesome-flow/core/hooks";
244
+ import { Select } from "libnoise-simplex-ts";
258
245
  import { Group as Group11, NumberInput as NumberInput10, Stack as Stack11 } from "@mantine/core";
259
246
  import { HandlesIncomingDataStatus as HandlesIncomingDataStatus3 } from "@awesome-flow/core/components";
260
- import { jsx as jsx26, jsxs as jsxs22 } from "react/jsx-runtime";
247
+ import { jsx as jsx25, jsxs as jsxs22 } from "react/jsx-runtime";
261
248
 
262
249
  // src/nodes/transformers/noise-displace-node.tsx
263
- import { NodeContainer as NodeContainer27, NodeTrackConnections as NodeTrackConnections22 } from "@awesome-flow/core/layout";
250
+ import { NodeContainer as NodeContainer26, NodeTrackConnections as NodeTrackConnections22 } from "@awesome-flow/core/layout";
264
251
  import { useCallback as useCallback13 } from "react";
265
- import { useUpdateNodeComputedData as useUpdateNodeComputedData25 } from "@awesome-flow/core/hooks";
266
- import { Displace } from "libnoise-ts/module/transformer";
252
+ import { useUpdateNodeComputedData as useUpdateNodeComputedData24 } from "@awesome-flow/core/hooks";
253
+ import { Displace } from "libnoise-simplex-ts";
267
254
  import { HandlesIncomingDataStatus as HandlesIncomingDataStatus4 } from "@awesome-flow/core/components";
268
- import { jsx as jsx27, jsxs as jsxs23 } from "react/jsx-runtime";
255
+ import { jsx as jsx26, jsxs as jsxs23 } from "react/jsx-runtime";
269
256
 
270
257
  // src/nodes/transformers/noise-rotate-point-node.tsx
271
- import { NodeContainer as NodeContainer28, NodeTrackConnections as NodeTrackConnections23 } from "@awesome-flow/core/layout";
272
- import { useEffect as useEffect17, useState as useState13 } from "react";
258
+ import { NodeContainer as NodeContainer27, NodeTrackConnections as NodeTrackConnections23 } from "@awesome-flow/core/layout";
259
+ import { useEffect as useEffect16, useState as useState13 } from "react";
273
260
  import {
274
261
  useIncomingComputedData as useIncomingComputedData13,
275
- useUpdateNodeComputedData as useUpdateNodeComputedData26,
262
+ useUpdateNodeComputedData as useUpdateNodeComputedData25,
276
263
  useUpdateNodeData as useUpdateNodeData12
277
264
  } from "@awesome-flow/core/hooks";
278
265
  import { Group as Group12, NumberInput as NumberInput11, Stack as Stack12 } from "@mantine/core";
279
- import { RotatePoint } from "libnoise-ts/module/transformer";
280
- import { jsx as jsx28, jsxs as jsxs24 } from "react/jsx-runtime";
266
+ import { RotatePoint } from "libnoise-simplex-ts";
267
+ import { jsx as jsx27, jsxs as jsxs24 } from "react/jsx-runtime";
281
268
 
282
269
  // src/nodes/transformers/noise-scale-point-node.tsx
283
- import { NodeContainer as NodeContainer29, NodeTrackConnections as NodeTrackConnections24 } from "@awesome-flow/core/layout";
284
- import { useEffect as useEffect18, useState as useState14 } from "react";
270
+ import { NodeContainer as NodeContainer28, NodeTrackConnections as NodeTrackConnections24 } from "@awesome-flow/core/layout";
271
+ import { useEffect as useEffect17, useState as useState14 } from "react";
285
272
  import {
286
273
  useIncomingComputedData as useIncomingComputedData14,
287
- useUpdateNodeComputedData as useUpdateNodeComputedData27,
274
+ useUpdateNodeComputedData as useUpdateNodeComputedData26,
288
275
  useUpdateNodeData as useUpdateNodeData13
289
276
  } from "@awesome-flow/core/hooks";
290
277
  import { Group as Group13, NumberInput as NumberInput12, Stack as Stack13 } from "@mantine/core";
291
- import { ScalePoint } from "libnoise-ts/module/transformer";
292
- import { jsx as jsx29, jsxs as jsxs25 } from "react/jsx-runtime";
278
+ import { ScalePoint } from "libnoise-simplex-ts";
279
+ import { jsx as jsx28, jsxs as jsxs25 } from "react/jsx-runtime";
293
280
 
294
281
  // src/nodes/transformers/noise-translate-point-node.tsx
295
- import { NodeContainer as NodeContainer30, NodeTrackConnections as NodeTrackConnections25 } from "@awesome-flow/core/layout";
296
- import { useEffect as useEffect19, useState as useState15 } from "react";
282
+ import { NodeContainer as NodeContainer29, NodeTrackConnections as NodeTrackConnections25 } from "@awesome-flow/core/layout";
283
+ import { useEffect as useEffect18, useState as useState15 } from "react";
297
284
  import {
298
285
  useIncomingComputedData as useIncomingComputedData15,
299
- useUpdateNodeComputedData as useUpdateNodeComputedData28,
286
+ useUpdateNodeComputedData as useUpdateNodeComputedData27,
300
287
  useUpdateNodeData as useUpdateNodeData14
301
288
  } from "@awesome-flow/core/hooks";
302
289
  import { Group as Group14, NumberInput as NumberInput13, Stack as Stack14 } from "@mantine/core";
303
- import { TranslatePoint } from "libnoise-ts/module/transformer";
304
- import { jsx as jsx30, jsxs as jsxs26 } from "react/jsx-runtime";
290
+ import { TranslatePoint } from "libnoise-simplex-ts";
291
+ import { jsx as jsx29, jsxs as jsxs26 } from "react/jsx-runtime";
305
292
 
306
293
  // src/nodes/transformers/noise-turbulence-node .tsx
307
- import { NodeContainer as NodeContainer31, NodeTrackConnections as NodeTrackConnections26 } from "@awesome-flow/core/layout";
308
- import { useCallback as useCallback14, useEffect as useEffect20, useState as useState16 } from "react";
309
- import { useIncomingComputedData as useIncomingComputedData16, useUpdateNodeComputedData as useUpdateNodeComputedData29 } from "@awesome-flow/core/hooks";
310
- import { Turbulence } from "libnoise-ts/module/transformer";
294
+ import { NodeContainer as NodeContainer30, NodeTrackConnections as NodeTrackConnections26 } from "@awesome-flow/core/layout";
295
+ import { useCallback as useCallback14, useEffect as useEffect19, useState as useState16 } from "react";
296
+ import { useIncomingComputedData as useIncomingComputedData16, useUpdateNodeComputedData as useUpdateNodeComputedData28 } from "@awesome-flow/core/hooks";
297
+ import { Turbulence } from "libnoise-simplex-ts";
311
298
  import { NodePropertyVariables as NodePropertyVariables7 } from "@awesome-flow/core/components";
312
- import { jsx as jsx31, jsxs as jsxs27 } from "react/jsx-runtime";
299
+ import { jsx as jsx30, jsxs as jsxs27 } from "react/jsx-runtime";
313
300
 
314
301
  // src/templates/generators/noise-checkerboard-template.ts
315
302
  import { Position } from "@xyflow/system";
@@ -439,36 +426,9 @@ var NoiseRidgedMultiNodeTemplateFactory = class {
439
426
  };
440
427
  };
441
428
 
442
- // src/templates/generators/noise-simplex-template.ts
443
- import {
444
- CoreHandleType as CoreHandleType4
445
- } from "@awesome-flow/core/abstract";
446
- import { Position as Position6 } from "@xyflow/system";
447
- var NoiseSimplexNodeTemplateFactory = class {
448
- template = {
449
- type: "noise-simplex" /* noiseSimplex */,
450
- group: "Noise Generators" /* noiseGenerators */,
451
- data: {
452
- title: "Simplex Noise"
453
- },
454
- handles: [
455
- {
456
- position: Position6.Left,
457
- dataType: CoreHandleType4.variableProperty,
458
- connection: "target"
459
- },
460
- {
461
- position: Position6.Right,
462
- dataType: "module" /* module */,
463
- connection: "source"
464
- }
465
- ]
466
- };
467
- };
468
-
469
429
  // src/templates/generators/noise-spheres-template.ts
470
- import { CoreHandleType as CoreHandleType5 } from "@awesome-flow/core/abstract";
471
- import { Position as Position7 } from "@xyflow/system";
430
+ import { CoreHandleType as CoreHandleType4 } from "@awesome-flow/core/abstract";
431
+ import { Position as Position6 } from "@xyflow/system";
472
432
  var NoiseSpheresNodeTemplateFactory = class {
473
433
  template = {
474
434
  type: "noise-spheres" /* noiseSpheres */,
@@ -479,12 +439,12 @@ var NoiseSpheresNodeTemplateFactory = class {
479
439
  },
480
440
  handles: [
481
441
  {
482
- position: Position7.Left,
483
- dataType: CoreHandleType5.variableProperty,
442
+ position: Position6.Left,
443
+ dataType: CoreHandleType4.variableProperty,
484
444
  connection: "target"
485
445
  },
486
446
  {
487
- position: Position7.Right,
447
+ position: Position6.Right,
488
448
  dataType: "module" /* module */,
489
449
  connection: "source"
490
450
  }
@@ -493,8 +453,8 @@ var NoiseSpheresNodeTemplateFactory = class {
493
453
  };
494
454
 
495
455
  // src/templates/generators/noise-voronoi-template.ts
496
- import { CoreHandleType as CoreHandleType6 } from "@awesome-flow/core/abstract";
497
- import { Position as Position8 } from "@xyflow/system";
456
+ import { CoreHandleType as CoreHandleType5 } from "@awesome-flow/core/abstract";
457
+ import { Position as Position7 } from "@xyflow/system";
498
458
  var NoiseVoronoiNodeTemplateFactory = class {
499
459
  template = {
500
460
  type: "noise-voronoi" /* noiseVoronoi */,
@@ -508,12 +468,12 @@ var NoiseVoronoiNodeTemplateFactory = class {
508
468
  },
509
469
  handles: [
510
470
  {
511
- position: Position8.Left,
512
- dataType: CoreHandleType6.variableProperty,
471
+ position: Position7.Left,
472
+ dataType: CoreHandleType5.variableProperty,
513
473
  connection: "target"
514
474
  },
515
475
  {
516
- position: Position8.Right,
476
+ position: Position7.Right,
517
477
  dataType: "module" /* module */,
518
478
  connection: "source"
519
479
  }
@@ -522,7 +482,7 @@ var NoiseVoronoiNodeTemplateFactory = class {
522
482
  };
523
483
 
524
484
  // src/templates/generators/position-const-template.ts
525
- import { Position as Position9 } from "@xyflow/system";
485
+ import { Position as Position8 } from "@xyflow/system";
526
486
  var PositionConstNodeTemplateFactory = class {
527
487
  template = {
528
488
  type: "position" /* position */,
@@ -533,7 +493,7 @@ var PositionConstNodeTemplateFactory = class {
533
493
  },
534
494
  handles: [
535
495
  {
536
- position: Position9.Right,
496
+ position: Position8.Right,
537
497
  dataType: "position" /* position */,
538
498
  connection: "source"
539
499
  }
@@ -542,7 +502,7 @@ var PositionConstNodeTemplateFactory = class {
542
502
  };
543
503
 
544
504
  // src/templates/generators/position-grid-template.ts
545
- import { Position as Position10 } from "@xyflow/system";
505
+ import { Position as Position9 } from "@xyflow/system";
546
506
  var PositionGridNodeTemplateFactory = class {
547
507
  template = {
548
508
  type: "grid" /* grid */,
@@ -554,7 +514,7 @@ var PositionGridNodeTemplateFactory = class {
554
514
  },
555
515
  handles: [
556
516
  {
557
- position: Position10.Right,
517
+ position: Position9.Right,
558
518
  dataType: "position" /* position */,
559
519
  connection: "source"
560
520
  }
@@ -564,7 +524,7 @@ var PositionGridNodeTemplateFactory = class {
564
524
 
565
525
  // src/templates/modifiers/noise-normalize-template.ts
566
526
  import { IDGenerator } from "@awesome-flow/core/utils";
567
- import { Position as Position11 } from "@xyflow/system";
527
+ import { Position as Position10 } from "@xyflow/system";
568
528
  var NoiseNormalizeNodeTemplateFactory = class {
569
529
  template = {
570
530
  id: IDGenerator.template(),
@@ -577,13 +537,13 @@ var NoiseNormalizeNodeTemplateFactory = class {
577
537
  },
578
538
  handles: [
579
539
  {
580
- position: Position11.Left,
540
+ position: Position10.Left,
581
541
  dataType: "module" /* module */,
582
542
  connection: "target",
583
543
  maxConnections: 1
584
544
  },
585
545
  {
586
- position: Position11.Right,
546
+ position: Position10.Right,
587
547
  dataType: "module" /* module */,
588
548
  connection: "source"
589
549
  }
@@ -592,7 +552,7 @@ var NoiseNormalizeNodeTemplateFactory = class {
592
552
  };
593
553
 
594
554
  // src/templates/output/noise-logger-template.ts
595
- import { Position as Position12 } from "@xyflow/system";
555
+ import { Position as Position11 } from "@xyflow/system";
596
556
  var NoiseLoggerNodeTemplateFactory = class {
597
557
  template = {
598
558
  type: "noise-logger" /* noiseLogger */,
@@ -602,7 +562,7 @@ var NoiseLoggerNodeTemplateFactory = class {
602
562
  },
603
563
  handles: [
604
564
  {
605
- position: Position12.Left,
565
+ position: Position11.Left,
606
566
  dataType: "noise" /* noise */,
607
567
  connection: "target"
608
568
  }
@@ -611,7 +571,7 @@ var NoiseLoggerNodeTemplateFactory = class {
611
571
  };
612
572
 
613
573
  // src/templates/output/noise-raw-texture-template.ts
614
- import { Position as Position13 } from "@xyflow/system";
574
+ import { Position as Position12 } from "@xyflow/system";
615
575
  var NoiseRawTextureTemplateFactory = class {
616
576
  template = {
617
577
  type: "texture-data" /* textureData */,
@@ -621,13 +581,13 @@ var NoiseRawTextureTemplateFactory = class {
621
581
  },
622
582
  handles: [
623
583
  {
624
- position: Position13.Left,
584
+ position: Position12.Left,
625
585
  dataType: "noise" /* noise */,
626
586
  connection: "target",
627
587
  maxConnections: 1
628
588
  },
629
589
  {
630
- position: Position13.Right,
590
+ position: Position12.Right,
631
591
  dataType: "texture" /* texture */,
632
592
  connection: "source"
633
593
  }
@@ -636,7 +596,7 @@ var NoiseRawTextureTemplateFactory = class {
636
596
  };
637
597
 
638
598
  // src/templates/output/position-logger-template.ts
639
- import { Position as Position14 } from "@xyflow/system";
599
+ import { Position as Position13 } from "@xyflow/system";
640
600
  var PositionLoggerNodeTemplateFactory = class {
641
601
  template = {
642
602
  type: "position-logger" /* positionLogger */,
@@ -646,7 +606,7 @@ var PositionLoggerNodeTemplateFactory = class {
646
606
  },
647
607
  handles: [
648
608
  {
649
- position: Position14.Left,
609
+ position: Position13.Left,
650
610
  dataType: "position" /* position */,
651
611
  connection: "target"
652
612
  }
@@ -655,7 +615,7 @@ var PositionLoggerNodeTemplateFactory = class {
655
615
  };
656
616
 
657
617
  // src/templates/modifiers/noise-combine-template.ts
658
- import { Position as Position15 } from "@xyflow/system";
618
+ import { Position as Position14 } from "@xyflow/system";
659
619
  var NoiseCombineNodeTemplateFactory = class {
660
620
  template = {
661
621
  type: "noise-combiner" /* noiseCombine */,
@@ -666,13 +626,13 @@ var NoiseCombineNodeTemplateFactory = class {
666
626
  },
667
627
  handles: [
668
628
  {
669
- position: Position15.Left,
629
+ position: Position14.Left,
670
630
  dataType: "module" /* module */,
671
631
  connection: "target",
672
632
  maxConnections: 2
673
633
  },
674
634
  {
675
- position: Position15.Right,
635
+ position: Position14.Right,
676
636
  dataType: "module" /* module */,
677
637
  connection: "source"
678
638
  }
@@ -681,7 +641,7 @@ var NoiseCombineNodeTemplateFactory = class {
681
641
  };
682
642
 
683
643
  // src/templates/modifiers/noise-clamp-template.ts
684
- import { Position as Position16 } from "@xyflow/system";
644
+ import { Position as Position15 } from "@xyflow/system";
685
645
  var NoiseClampNodeTemplateFactory = class {
686
646
  template = {
687
647
  type: "noise-clamp" /* noiseClamp */,
@@ -693,13 +653,13 @@ var NoiseClampNodeTemplateFactory = class {
693
653
  },
694
654
  handles: [
695
655
  {
696
- position: Position16.Left,
656
+ position: Position15.Left,
697
657
  dataType: "module" /* module */,
698
658
  connection: "target",
699
659
  maxConnections: 1
700
660
  },
701
661
  {
702
- position: Position16.Right,
662
+ position: Position15.Right,
703
663
  dataType: "module" /* module */,
704
664
  connection: "source"
705
665
  }
@@ -708,7 +668,7 @@ var NoiseClampNodeTemplateFactory = class {
708
668
  };
709
669
 
710
670
  // src/templates/modifiers/noise-abs-template.ts
711
- import { Position as Position17 } from "@xyflow/system";
671
+ import { Position as Position16 } from "@xyflow/system";
712
672
  var NoiseAbsNodeTemplateFactory = class {
713
673
  template = {
714
674
  type: "noise-abs" /* noiseAbs */,
@@ -718,13 +678,13 @@ var NoiseAbsNodeTemplateFactory = class {
718
678
  },
719
679
  handles: [
720
680
  {
721
- position: Position17.Left,
681
+ position: Position16.Left,
722
682
  dataType: "module" /* module */,
723
683
  connection: "target",
724
684
  maxConnections: 1
725
685
  },
726
686
  {
727
- position: Position17.Right,
687
+ position: Position16.Right,
728
688
  dataType: "module" /* module */,
729
689
  connection: "source"
730
690
  }
@@ -733,7 +693,7 @@ var NoiseAbsNodeTemplateFactory = class {
733
693
  };
734
694
 
735
695
  // src/templates/output/noise-output-template.ts
736
- import { Position as Position18 } from "@xyflow/system";
696
+ import { Position as Position17 } from "@xyflow/system";
737
697
  var NoiseOutputNodeTemplateFactory = class {
738
698
  template = {
739
699
  type: "noise-output" /* noiseOutput */,
@@ -743,18 +703,18 @@ var NoiseOutputNodeTemplateFactory = class {
743
703
  },
744
704
  handles: [
745
705
  {
746
- position: Position18.Left,
706
+ position: Position17.Left,
747
707
  dataType: "position" /* position */,
748
708
  connection: "target"
749
709
  },
750
710
  {
751
- position: Position18.Left,
711
+ position: Position17.Left,
752
712
  dataType: "module" /* module */,
753
713
  connection: "target",
754
714
  maxConnections: 1
755
715
  },
756
716
  {
757
- position: Position18.Right,
717
+ position: Position17.Right,
758
718
  dataType: "noise" /* noise */,
759
719
  connection: "source"
760
720
  }
@@ -763,8 +723,7 @@ var NoiseOutputNodeTemplateFactory = class {
763
723
  };
764
724
 
765
725
  // src/templates/modifiers/noise-curve-template.ts
766
- import { CoreHandleType as CoreHandleType7 } from "@awesome-flow/core/abstract";
767
- import { Position as Position19 } from "@xyflow/system";
726
+ import { Position as Position18 } from "@xyflow/system";
768
727
  var NoiseCurveNodeTemplateFactory = class {
769
728
  template = {
770
729
  type: "noise-curve" /* noiseCurve */,
@@ -775,18 +734,18 @@ var NoiseCurveNodeTemplateFactory = class {
775
734
  },
776
735
  handles: [
777
736
  {
778
- position: Position19.Left,
737
+ position: Position18.Left,
779
738
  dataType: "module" /* module */,
780
739
  connection: "target",
781
740
  maxConnections: 1
782
741
  },
742
+ // {
743
+ // position: Position.Left,
744
+ // dataType: CoreHandleType.variableProperty,
745
+ // connection: 'target',
746
+ // },
783
747
  {
784
- position: Position19.Left,
785
- dataType: CoreHandleType7.variableProperty,
786
- connection: "target"
787
- },
788
- {
789
- position: Position19.Right,
748
+ position: Position18.Right,
790
749
  dataType: "module" /* module */,
791
750
  connection: "source"
792
751
  }
@@ -795,7 +754,7 @@ var NoiseCurveNodeTemplateFactory = class {
795
754
  };
796
755
 
797
756
  // src/templates/modifiers/noise-exponent-template.ts
798
- import { Position as Position20 } from "@xyflow/system";
757
+ import { Position as Position19 } from "@xyflow/system";
799
758
  var NoiseExponentNodeTemplateFactory = class {
800
759
  template = {
801
760
  type: "noise-exponent" /* noiseExponent */,
@@ -806,13 +765,13 @@ var NoiseExponentNodeTemplateFactory = class {
806
765
  },
807
766
  handles: [
808
767
  {
809
- position: Position20.Left,
768
+ position: Position19.Left,
810
769
  dataType: "module" /* module */,
811
770
  connection: "target",
812
771
  maxConnections: 1
813
772
  },
814
773
  {
815
- position: Position20.Right,
774
+ position: Position19.Right,
816
775
  dataType: "module" /* module */,
817
776
  connection: "source"
818
777
  }
@@ -821,7 +780,7 @@ var NoiseExponentNodeTemplateFactory = class {
821
780
  };
822
781
 
823
782
  // src/templates/modifiers/noise-invert-template.ts
824
- import { Position as Position21 } from "@xyflow/system";
783
+ import { Position as Position20 } from "@xyflow/system";
825
784
  var NoiseInvertNodeTemplateFactory = class {
826
785
  template = {
827
786
  type: "noise-invert" /* noiseInvert */,
@@ -831,13 +790,13 @@ var NoiseInvertNodeTemplateFactory = class {
831
790
  },
832
791
  handles: [
833
792
  {
834
- position: Position21.Left,
793
+ position: Position20.Left,
835
794
  dataType: "module" /* module */,
836
795
  connection: "target",
837
796
  maxConnections: 1
838
797
  },
839
798
  {
840
- position: Position21.Right,
799
+ position: Position20.Right,
841
800
  dataType: "module" /* module */,
842
801
  connection: "source"
843
802
  }
@@ -846,7 +805,7 @@ var NoiseInvertNodeTemplateFactory = class {
846
805
  };
847
806
 
848
807
  // src/templates/modifiers/noise-scalebias-template.ts
849
- import { Position as Position22 } from "@xyflow/system";
808
+ import { Position as Position21 } from "@xyflow/system";
850
809
  var NoiseScaleBiasNodeTemplateFactory = class {
851
810
  template = {
852
811
  type: "noise-scale-bias" /* noiseScaleBias */,
@@ -858,13 +817,13 @@ var NoiseScaleBiasNodeTemplateFactory = class {
858
817
  },
859
818
  handles: [
860
819
  {
861
- position: Position22.Left,
820
+ position: Position21.Left,
862
821
  dataType: "module" /* module */,
863
822
  connection: "target",
864
823
  maxConnections: 1
865
824
  },
866
825
  {
867
- position: Position22.Right,
826
+ position: Position21.Right,
868
827
  dataType: "module" /* module */,
869
828
  connection: "source"
870
829
  }
@@ -873,7 +832,7 @@ var NoiseScaleBiasNodeTemplateFactory = class {
873
832
  };
874
833
 
875
834
  // src/templates/modifiers/noise-terrace-template.ts
876
- import { Position as Position23 } from "@xyflow/system";
835
+ import { Position as Position22 } from "@xyflow/system";
877
836
  var NoiseTerraceNodeTemplateFactory = class {
878
837
  template = {
879
838
  type: "noise-terrace" /* noiseTerrace */,
@@ -884,13 +843,13 @@ var NoiseTerraceNodeTemplateFactory = class {
884
843
  },
885
844
  handles: [
886
845
  {
887
- position: Position23.Left,
846
+ position: Position22.Left,
888
847
  dataType: "module" /* module */,
889
848
  connection: "target",
890
849
  maxConnections: 1
891
850
  },
892
851
  {
893
- position: Position23.Right,
852
+ position: Position22.Right,
894
853
  dataType: "module" /* module */,
895
854
  connection: "source"
896
855
  }
@@ -899,7 +858,7 @@ var NoiseTerraceNodeTemplateFactory = class {
899
858
  };
900
859
 
901
860
  // src/templates/selectors/noise-blend-template.ts
902
- import { Position as Position24 } from "@xyflow/system";
861
+ import { Position as Position23 } from "@xyflow/system";
903
862
  var NoiseBlendNodeTemplateFactory = class {
904
863
  template = {
905
864
  type: "noise-blend" /* noiseBlend */,
@@ -909,7 +868,7 @@ var NoiseBlendNodeTemplateFactory = class {
909
868
  },
910
869
  handles: [
911
870
  {
912
- position: Position24.Left,
871
+ position: Position23.Left,
913
872
  dataType: "module" /* module */,
914
873
  connection: "target",
915
874
  label: "Source Modules",
@@ -918,7 +877,7 @@ var NoiseBlendNodeTemplateFactory = class {
918
877
  minConnections: 2
919
878
  },
920
879
  {
921
- position: Position24.Left,
880
+ position: Position23.Left,
922
881
  dataType: "module" /* module */,
923
882
  dataId: "control" /* control */,
924
883
  connection: "target",
@@ -926,7 +885,7 @@ var NoiseBlendNodeTemplateFactory = class {
926
885
  maxConnections: 1
927
886
  },
928
887
  {
929
- position: Position24.Right,
888
+ position: Position23.Right,
930
889
  dataType: "module" /* module */,
931
890
  dataId: "output" /* output */,
932
891
  connection: "source"
@@ -936,7 +895,7 @@ var NoiseBlendNodeTemplateFactory = class {
936
895
  };
937
896
 
938
897
  // src/templates/selectors/noise-select-template.ts
939
- import { Position as Position25 } from "@xyflow/system";
898
+ import { Position as Position24 } from "@xyflow/system";
940
899
  var NoiseSelectNodeTemplateFactory = class {
941
900
  template = {
942
901
  type: "noise-select" /* noiseSelect */,
@@ -949,7 +908,7 @@ var NoiseSelectNodeTemplateFactory = class {
949
908
  },
950
909
  handles: [
951
910
  {
952
- position: Position25.Left,
911
+ position: Position24.Left,
953
912
  dataType: "module" /* module */,
954
913
  dataId: "source" /* source */,
955
914
  connection: "target",
@@ -958,7 +917,7 @@ var NoiseSelectNodeTemplateFactory = class {
958
917
  minConnections: 2
959
918
  },
960
919
  {
961
- position: Position25.Left,
920
+ position: Position24.Left,
962
921
  dataType: "module" /* module */,
963
922
  dataId: "control" /* control */,
964
923
  connection: "target",
@@ -966,7 +925,7 @@ var NoiseSelectNodeTemplateFactory = class {
966
925
  maxConnections: 1
967
926
  },
968
927
  {
969
- position: Position25.Right,
928
+ position: Position24.Right,
970
929
  dataType: "module" /* module */,
971
930
  dataId: "output" /* output */,
972
931
  connection: "source"
@@ -976,7 +935,7 @@ var NoiseSelectNodeTemplateFactory = class {
976
935
  };
977
936
 
978
937
  // src/templates/transformers/noise-displace-template.ts
979
- import { Position as Position26 } from "@xyflow/system";
938
+ import { Position as Position25 } from "@xyflow/system";
980
939
  var NoiseDisplaceNodeTemplateFactory = class {
981
940
  template = {
982
941
  type: "noise-displace" /* noiseDisplace */,
@@ -986,7 +945,7 @@ var NoiseDisplaceNodeTemplateFactory = class {
986
945
  },
987
946
  handles: [
988
947
  {
989
- position: Position26.Left,
948
+ position: Position25.Left,
990
949
  connection: "target",
991
950
  label: "Source Module",
992
951
  dataType: "module" /* module */,
@@ -994,7 +953,7 @@ var NoiseDisplaceNodeTemplateFactory = class {
994
953
  maxConnections: 1
995
954
  },
996
955
  {
997
- position: Position26.Left,
956
+ position: Position25.Left,
998
957
  connection: "target",
999
958
  label: "X Module",
1000
959
  dataType: "module" /* module */,
@@ -1002,7 +961,7 @@ var NoiseDisplaceNodeTemplateFactory = class {
1002
961
  maxConnections: 1
1003
962
  },
1004
963
  {
1005
- position: Position26.Left,
964
+ position: Position25.Left,
1006
965
  connection: "target",
1007
966
  label: "Y Module",
1008
967
  dataType: "module" /* module */,
@@ -1010,7 +969,7 @@ var NoiseDisplaceNodeTemplateFactory = class {
1010
969
  maxConnections: 1
1011
970
  },
1012
971
  {
1013
- position: Position26.Left,
972
+ position: Position25.Left,
1014
973
  connection: "target",
1015
974
  label: "Z Module",
1016
975
  dataType: "module" /* module */,
@@ -1018,7 +977,7 @@ var NoiseDisplaceNodeTemplateFactory = class {
1018
977
  maxConnections: 1
1019
978
  },
1020
979
  {
1021
- position: Position26.Right,
980
+ position: Position25.Right,
1022
981
  dataType: "module" /* module */,
1023
982
  dataId: "output" /* output */,
1024
983
  connection: "source"
@@ -1028,7 +987,7 @@ var NoiseDisplaceNodeTemplateFactory = class {
1028
987
  };
1029
988
 
1030
989
  // src/templates/transformers/noise-rotate-point-template.ts
1031
- import { Position as Position27 } from "@xyflow/system";
990
+ import { Position as Position26 } from "@xyflow/system";
1032
991
  var NoiseRotatePointNodeTemplateFactory = class {
1033
992
  template = {
1034
993
  type: "noise-rotate-point" /* noiseRotatePoint */,
@@ -1041,14 +1000,14 @@ var NoiseRotatePointNodeTemplateFactory = class {
1041
1000
  },
1042
1001
  handles: [
1043
1002
  {
1044
- position: Position27.Left,
1003
+ position: Position26.Left,
1045
1004
  dataType: "module" /* module */,
1046
1005
  connection: "target",
1047
1006
  label: "Source Module",
1048
1007
  maxConnections: 1
1049
1008
  },
1050
1009
  {
1051
- position: Position27.Right,
1010
+ position: Position26.Right,
1052
1011
  dataType: "module" /* module */,
1053
1012
  connection: "source"
1054
1013
  }
@@ -1057,7 +1016,7 @@ var NoiseRotatePointNodeTemplateFactory = class {
1057
1016
  };
1058
1017
 
1059
1018
  // src/templates/transformers/noise-scale-point-template.ts
1060
- import { Position as Position28 } from "@xyflow/system";
1019
+ import { Position as Position27 } from "@xyflow/system";
1061
1020
  var NoiseScalePointNodeTemplateFactory = class {
1062
1021
  template = {
1063
1022
  type: "noise-scale-point" /* noiseScalePoint */,
@@ -1070,14 +1029,14 @@ var NoiseScalePointNodeTemplateFactory = class {
1070
1029
  },
1071
1030
  handles: [
1072
1031
  {
1073
- position: Position28.Left,
1032
+ position: Position27.Left,
1074
1033
  dataType: "module" /* module */,
1075
1034
  connection: "target",
1076
1035
  label: "Source Module",
1077
1036
  maxConnections: 1
1078
1037
  },
1079
1038
  {
1080
- position: Position28.Right,
1039
+ position: Position27.Right,
1081
1040
  dataType: "module" /* module */,
1082
1041
  connection: "source"
1083
1042
  }
@@ -1086,7 +1045,7 @@ var NoiseScalePointNodeTemplateFactory = class {
1086
1045
  };
1087
1046
 
1088
1047
  // src/templates/transformers/noise-translate-point-template.ts
1089
- import { Position as Position29 } from "@xyflow/system";
1048
+ import { Position as Position28 } from "@xyflow/system";
1090
1049
  var NoiseTranslatePointNodeTemplateFactory = class {
1091
1050
  template = {
1092
1051
  type: "noise-translate-point" /* noiseTranslatePoint */,
@@ -1099,14 +1058,14 @@ var NoiseTranslatePointNodeTemplateFactory = class {
1099
1058
  },
1100
1059
  handles: [
1101
1060
  {
1102
- position: Position29.Left,
1061
+ position: Position28.Left,
1103
1062
  dataType: "module" /* module */,
1104
1063
  connection: "target",
1105
1064
  label: "Source Module",
1106
1065
  maxConnections: 1
1107
1066
  },
1108
1067
  {
1109
- position: Position29.Right,
1068
+ position: Position28.Right,
1110
1069
  dataType: "module" /* module */,
1111
1070
  connection: "source"
1112
1071
  }
@@ -1115,8 +1074,8 @@ var NoiseTranslatePointNodeTemplateFactory = class {
1115
1074
  };
1116
1075
 
1117
1076
  // src/templates/transformers/noise-turbulence-template.ts
1118
- import { CoreHandleType as CoreHandleType8 } from "@awesome-flow/core/abstract";
1119
- import { Position as Position30 } from "@xyflow/system";
1077
+ import { CoreHandleType as CoreHandleType6 } from "@awesome-flow/core/abstract";
1078
+ import { Position as Position29 } from "@xyflow/system";
1120
1079
  var NoiseTurbulenceNodeTemplateFactory = class {
1121
1080
  template = {
1122
1081
  type: "noise-turbulence" /* noiseTurbulence */,
@@ -1130,20 +1089,20 @@ var NoiseTurbulenceNodeTemplateFactory = class {
1130
1089
  },
1131
1090
  handles: [
1132
1091
  {
1133
- position: Position30.Left,
1092
+ position: Position29.Left,
1134
1093
  dataType: "module" /* module */,
1135
1094
  connection: "target",
1136
1095
  label: "Source Module",
1137
1096
  maxConnections: 1
1138
1097
  },
1139
1098
  {
1140
- position: Position30.Left,
1141
- dataType: CoreHandleType8.variableProperty,
1099
+ position: Position29.Left,
1100
+ dataType: CoreHandleType6.variableProperty,
1142
1101
  label: "Variable Properties",
1143
1102
  connection: "target"
1144
1103
  },
1145
1104
  {
1146
- position: Position30.Right,
1105
+ position: Position29.Right,
1147
1106
  dataType: "module" /* module */,
1148
1107
  connection: "source"
1149
1108
  }
@@ -1152,9 +1111,9 @@ var NoiseTurbulenceNodeTemplateFactory = class {
1152
1111
  };
1153
1112
 
1154
1113
  // src/templates/generators/noise-billow-template.ts
1155
- import { CoreHandleType as CoreHandleType9 } from "@awesome-flow/core/abstract";
1114
+ import { CoreHandleType as CoreHandleType7 } from "@awesome-flow/core/abstract";
1156
1115
  import { IDGenerator as IDGenerator2 } from "@awesome-flow/core/utils";
1157
- import { Position as Position31 } from "@xyflow/system";
1116
+ import { Position as Position30 } from "@xyflow/system";
1158
1117
  var NoiseBillowNodeTemplateFactory = class {
1159
1118
  template = {
1160
1119
  id: IDGenerator2.template(),
@@ -1170,12 +1129,12 @@ var NoiseBillowNodeTemplateFactory = class {
1170
1129
  },
1171
1130
  handles: [
1172
1131
  {
1173
- position: Position31.Left,
1174
- dataType: CoreHandleType9.variableProperty,
1132
+ position: Position30.Left,
1133
+ dataType: CoreHandleType7.variableProperty,
1175
1134
  connection: "target"
1176
1135
  },
1177
1136
  {
1178
- position: Position31.Right,
1137
+ position: Position30.Right,
1179
1138
  dataType: "module" /* module */,
1180
1139
  connection: "source"
1181
1140
  }
@@ -1184,23 +1143,22 @@ var NoiseBillowNodeTemplateFactory = class {
1184
1143
  };
1185
1144
 
1186
1145
  // src/nodes/groups/module-group-node.tsx
1187
- import { NodeContainer as NodeContainer32, NodeCollapse, NodeTrackConnections as NodeTrackConnections27 } from "@awesome-flow/core/layout";
1146
+ import { NodeContainer as NodeContainer31, NodeCollapse, NodeTrackConnections as NodeTrackConnections27 } from "@awesome-flow/core/layout";
1188
1147
  import { NodeResizer, useStore, useUpdateNodeInternals } from "@xyflow/react";
1189
- import { useCallback as useCallback15, useEffect as useEffect21, useMemo as useMemo12 } from "react";
1148
+ import { useCallback as useCallback15, useEffect as useEffect20, useMemo as useMemo11 } from "react";
1190
1149
  import { shallow } from "zustand/shallow";
1191
1150
  import { Badge, Group as Group15 } from "@mantine/core";
1192
1151
  import {
1193
1152
  useFlowStore,
1194
1153
  useIncomingComputedData as useIncomingComputedData17,
1195
1154
  useInteractiveStore,
1196
- useUpdateNodeComputedData as useUpdateNodeComputedData30
1155
+ useUpdateNodeComputedData as useUpdateNodeComputedData29
1197
1156
  } from "@awesome-flow/core/hooks";
1198
- import { jsx as jsx32, jsxs as jsxs28 } from "react/jsx-runtime";
1157
+ import { jsx as jsx31, jsxs as jsxs28 } from "react/jsx-runtime";
1199
1158
 
1200
1159
  // src/abstract/node-types.ts
1201
1160
  var noiseNodeTemplates = {
1202
1161
  ["noise-output" /* noiseOutput */]: new NoiseOutputNodeTemplateFactory(),
1203
- ["noise-simplex" /* noiseSimplex */]: new NoiseSimplexNodeTemplateFactory(),
1204
1162
  ["noise-billow" /* noiseBillow */]: new NoiseBillowNodeTemplateFactory(),
1205
1163
  ["noise-checkerboard" /* noiseCheckerboard */]: new NoiseCheckerboardNodeTemplateFactory(),
1206
1164
  ["noise-normalize" /* noiseNormalize */]: new NoiseNormalizeNodeTemplateFactory(),
@@ -1253,14 +1211,14 @@ var ModuleGroupNodeTemplateFactory = class {
1253
1211
  },
1254
1212
  handles: [
1255
1213
  {
1256
- position: Position32.Bottom,
1214
+ position: Position31.Bottom,
1257
1215
  dataType: "module" /* module */,
1258
1216
  connection: "target",
1259
1217
  maxConnections: 1,
1260
1218
  hideOnCollapse: true
1261
1219
  },
1262
1220
  {
1263
- position: Position32.Right,
1221
+ position: Position31.Right,
1264
1222
  dataType: "module" /* module */,
1265
1223
  connection: "source"
1266
1224
  }