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