@awesome-flow/noise 0.5.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 +701 -769
  2. package/dist/abstract/index.d.cts +6 -12
  3. package/dist/abstract/index.d.ts +6 -12
  4. package/dist/abstract/index.js +498 -568
  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 +642 -710
  18. package/dist/nodes/index.d.cts +3 -6
  19. package/dist/nodes/index.d.ts +3 -6
  20. package/dist/nodes/index.js +443 -512
  21. package/dist/nodes/modifiers/index.cjs +77 -89
  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 +73 -85
  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/selectors/noise-blend-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/modifiers/noise-abs-template.ts
707
- import { Position as Position17 } from "@xyflow/system";
667
+ import { Position as Position16 } from "@xyflow/system";
708
668
  var NoiseAbsNodeTemplateFactory = class {
709
669
  template = {
710
670
  type: "noise-abs" /* noiseAbs */,
@@ -714,13 +674,13 @@ var NoiseAbsNodeTemplateFactory = class {
714
674
  },
715
675
  handles: [
716
676
  {
717
- position: Position17.Left,
677
+ position: Position16.Left,
718
678
  dataType: "module" /* module */,
719
679
  connection: "target",
720
680
  maxConnections: 1
721
681
  },
722
682
  {
723
- position: Position17.Right,
683
+ position: Position16.Right,
724
684
  dataType: "module" /* module */,
725
685
  connection: "source"
726
686
  }
@@ -729,7 +689,7 @@ var NoiseAbsNodeTemplateFactory = class {
729
689
  };
730
690
 
731
691
  // src/templates/output/noise-output-template.ts
732
- import { Position as Position18 } from "@xyflow/system";
692
+ import { Position as Position17 } from "@xyflow/system";
733
693
  var NoiseOutputNodeTemplateFactory = class {
734
694
  template = {
735
695
  type: "noise-output" /* noiseOutput */,
@@ -739,18 +699,18 @@ var NoiseOutputNodeTemplateFactory = class {
739
699
  },
740
700
  handles: [
741
701
  {
742
- position: Position18.Left,
702
+ position: Position17.Left,
743
703
  dataType: "position" /* position */,
744
704
  connection: "target"
745
705
  },
746
706
  {
747
- position: Position18.Left,
707
+ position: Position17.Left,
748
708
  dataType: "module" /* module */,
749
709
  connection: "target",
750
710
  maxConnections: 1
751
711
  },
752
712
  {
753
- position: Position18.Right,
713
+ position: Position17.Right,
754
714
  dataType: "noise" /* noise */,
755
715
  connection: "source"
756
716
  }
@@ -759,8 +719,7 @@ var NoiseOutputNodeTemplateFactory = class {
759
719
  };
760
720
 
761
721
  // src/templates/modifiers/noise-curve-template.ts
762
- import { CoreHandleType as CoreHandleType7 } from "@awesome-flow/core/abstract";
763
- import { Position as Position19 } from "@xyflow/system";
722
+ import { Position as Position18 } from "@xyflow/system";
764
723
  var NoiseCurveNodeTemplateFactory = class {
765
724
  template = {
766
725
  type: "noise-curve" /* noiseCurve */,
@@ -771,18 +730,18 @@ var NoiseCurveNodeTemplateFactory = class {
771
730
  },
772
731
  handles: [
773
732
  {
774
- position: Position19.Left,
733
+ position: Position18.Left,
775
734
  dataType: "module" /* module */,
776
735
  connection: "target",
777
736
  maxConnections: 1
778
737
  },
738
+ // {
739
+ // position: Position.Left,
740
+ // dataType: CoreHandleType.variableProperty,
741
+ // connection: 'target',
742
+ // },
779
743
  {
780
- position: Position19.Left,
781
- dataType: CoreHandleType7.variableProperty,
782
- connection: "target"
783
- },
784
- {
785
- position: Position19.Right,
744
+ position: Position18.Right,
786
745
  dataType: "module" /* module */,
787
746
  connection: "source"
788
747
  }
@@ -791,7 +750,7 @@ var NoiseCurveNodeTemplateFactory = class {
791
750
  };
792
751
 
793
752
  // src/templates/modifiers/noise-exponent-template.ts
794
- import { Position as Position20 } from "@xyflow/system";
753
+ import { Position as Position19 } from "@xyflow/system";
795
754
  var NoiseExponentNodeTemplateFactory = class {
796
755
  template = {
797
756
  type: "noise-exponent" /* noiseExponent */,
@@ -802,13 +761,13 @@ var NoiseExponentNodeTemplateFactory = 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 NoiseExponentNodeTemplateFactory = class {
817
776
  };
818
777
 
819
778
  // src/templates/modifiers/noise-invert-template.ts
820
- import { Position as Position21 } from "@xyflow/system";
779
+ import { Position as Position20 } from "@xyflow/system";
821
780
  var NoiseInvertNodeTemplateFactory = class {
822
781
  template = {
823
782
  type: "noise-invert" /* noiseInvert */,
@@ -827,13 +786,13 @@ var NoiseInvertNodeTemplateFactory = class {
827
786
  },
828
787
  handles: [
829
788
  {
830
- position: Position21.Left,
789
+ position: Position20.Left,
831
790
  dataType: "module" /* module */,
832
791
  connection: "target",
833
792
  maxConnections: 1
834
793
  },
835
794
  {
836
- position: Position21.Right,
795
+ position: Position20.Right,
837
796
  dataType: "module" /* module */,
838
797
  connection: "source"
839
798
  }
@@ -842,7 +801,7 @@ var NoiseInvertNodeTemplateFactory = class {
842
801
  };
843
802
 
844
803
  // src/templates/modifiers/noise-scalebias-template.ts
845
- import { Position as Position22 } from "@xyflow/system";
804
+ import { Position as Position21 } from "@xyflow/system";
846
805
  var NoiseScaleBiasNodeTemplateFactory = class {
847
806
  template = {
848
807
  type: "noise-scale-bias" /* noiseScaleBias */,
@@ -854,13 +813,13 @@ var NoiseScaleBiasNodeTemplateFactory = class {
854
813
  },
855
814
  handles: [
856
815
  {
857
- position: Position22.Left,
816
+ position: Position21.Left,
858
817
  dataType: "module" /* module */,
859
818
  connection: "target",
860
819
  maxConnections: 1
861
820
  },
862
821
  {
863
- position: Position22.Right,
822
+ position: Position21.Right,
864
823
  dataType: "module" /* module */,
865
824
  connection: "source"
866
825
  }
@@ -869,7 +828,7 @@ var NoiseScaleBiasNodeTemplateFactory = class {
869
828
  };
870
829
 
871
830
  // src/templates/modifiers/noise-terrace-template.ts
872
- import { Position as Position23 } from "@xyflow/system";
831
+ import { Position as Position22 } from "@xyflow/system";
873
832
  var NoiseTerraceNodeTemplateFactory = class {
874
833
  template = {
875
834
  type: "noise-terrace" /* noiseTerrace */,
@@ -880,13 +839,13 @@ var NoiseTerraceNodeTemplateFactory = 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
  maxConnections: 1
887
846
  },
888
847
  {
889
- position: Position23.Right,
848
+ position: Position22.Right,
890
849
  dataType: "module" /* module */,
891
850
  connection: "source"
892
851
  }
@@ -895,7 +854,7 @@ var NoiseTerraceNodeTemplateFactory = class {
895
854
  };
896
855
 
897
856
  // src/templates/selectors/noise-select-template.ts
898
- import { Position as Position24 } from "@xyflow/system";
857
+ import { Position as Position23 } from "@xyflow/system";
899
858
  var NoiseSelectNodeTemplateFactory = class {
900
859
  template = {
901
860
  type: "noise-select" /* noiseSelect */,
@@ -908,7 +867,7 @@ var NoiseSelectNodeTemplateFactory = class {
908
867
  },
909
868
  handles: [
910
869
  {
911
- position: Position24.Left,
870
+ position: Position23.Left,
912
871
  dataType: "module" /* module */,
913
872
  dataId: "source" /* source */,
914
873
  connection: "target",
@@ -917,7 +876,7 @@ var NoiseSelectNodeTemplateFactory = class {
917
876
  minConnections: 2
918
877
  },
919
878
  {
920
- position: Position24.Left,
879
+ position: Position23.Left,
921
880
  dataType: "module" /* module */,
922
881
  dataId: "control" /* control */,
923
882
  connection: "target",
@@ -925,7 +884,7 @@ var NoiseSelectNodeTemplateFactory = class {
925
884
  maxConnections: 1
926
885
  },
927
886
  {
928
- position: Position24.Right,
887
+ position: Position23.Right,
929
888
  dataType: "module" /* module */,
930
889
  dataId: "output" /* output */,
931
890
  connection: "source"
@@ -935,7 +894,7 @@ var NoiseSelectNodeTemplateFactory = class {
935
894
  };
936
895
 
937
896
  // src/templates/transformers/noise-displace-template.ts
938
- import { Position as Position25 } from "@xyflow/system";
897
+ import { Position as Position24 } from "@xyflow/system";
939
898
  var NoiseDisplaceNodeTemplateFactory = class {
940
899
  template = {
941
900
  type: "noise-displace" /* noiseDisplace */,
@@ -945,7 +904,7 @@ var NoiseDisplaceNodeTemplateFactory = class {
945
904
  },
946
905
  handles: [
947
906
  {
948
- position: Position25.Left,
907
+ position: Position24.Left,
949
908
  connection: "target",
950
909
  label: "Source Module",
951
910
  dataType: "module" /* module */,
@@ -953,7 +912,7 @@ var NoiseDisplaceNodeTemplateFactory = class {
953
912
  maxConnections: 1
954
913
  },
955
914
  {
956
- position: Position25.Left,
915
+ position: Position24.Left,
957
916
  connection: "target",
958
917
  label: "X Module",
959
918
  dataType: "module" /* module */,
@@ -961,7 +920,7 @@ var NoiseDisplaceNodeTemplateFactory = class {
961
920
  maxConnections: 1
962
921
  },
963
922
  {
964
- position: Position25.Left,
923
+ position: Position24.Left,
965
924
  connection: "target",
966
925
  label: "Y Module",
967
926
  dataType: "module" /* module */,
@@ -969,7 +928,7 @@ var NoiseDisplaceNodeTemplateFactory = class {
969
928
  maxConnections: 1
970
929
  },
971
930
  {
972
- position: Position25.Left,
931
+ position: Position24.Left,
973
932
  connection: "target",
974
933
  label: "Z Module",
975
934
  dataType: "module" /* module */,
@@ -977,7 +936,7 @@ var NoiseDisplaceNodeTemplateFactory = class {
977
936
  maxConnections: 1
978
937
  },
979
938
  {
980
- position: Position25.Right,
939
+ position: Position24.Right,
981
940
  dataType: "module" /* module */,
982
941
  dataId: "output" /* output */,
983
942
  connection: "source"
@@ -987,7 +946,7 @@ var NoiseDisplaceNodeTemplateFactory = class {
987
946
  };
988
947
 
989
948
  // src/templates/transformers/noise-rotate-point-template.ts
990
- import { Position as Position26 } from "@xyflow/system";
949
+ import { Position as Position25 } from "@xyflow/system";
991
950
  var NoiseRotatePointNodeTemplateFactory = class {
992
951
  template = {
993
952
  type: "noise-rotate-point" /* noiseRotatePoint */,
@@ -1000,14 +959,14 @@ var NoiseRotatePointNodeTemplateFactory = class {
1000
959
  },
1001
960
  handles: [
1002
961
  {
1003
- position: Position26.Left,
962
+ position: Position25.Left,
1004
963
  dataType: "module" /* module */,
1005
964
  connection: "target",
1006
965
  label: "Source Module",
1007
966
  maxConnections: 1
1008
967
  },
1009
968
  {
1010
- position: Position26.Right,
969
+ position: Position25.Right,
1011
970
  dataType: "module" /* module */,
1012
971
  connection: "source"
1013
972
  }
@@ -1016,7 +975,7 @@ var NoiseRotatePointNodeTemplateFactory = class {
1016
975
  };
1017
976
 
1018
977
  // src/templates/transformers/noise-scale-point-template.ts
1019
- import { Position as Position27 } from "@xyflow/system";
978
+ import { Position as Position26 } from "@xyflow/system";
1020
979
  var NoiseScalePointNodeTemplateFactory = class {
1021
980
  template = {
1022
981
  type: "noise-scale-point" /* noiseScalePoint */,
@@ -1029,14 +988,14 @@ var NoiseScalePointNodeTemplateFactory = class {
1029
988
  },
1030
989
  handles: [
1031
990
  {
1032
- position: Position27.Left,
991
+ position: Position26.Left,
1033
992
  dataType: "module" /* module */,
1034
993
  connection: "target",
1035
994
  label: "Source Module",
1036
995
  maxConnections: 1
1037
996
  },
1038
997
  {
1039
- position: Position27.Right,
998
+ position: Position26.Right,
1040
999
  dataType: "module" /* module */,
1041
1000
  connection: "source"
1042
1001
  }
@@ -1045,7 +1004,7 @@ var NoiseScalePointNodeTemplateFactory = class {
1045
1004
  };
1046
1005
 
1047
1006
  // src/templates/transformers/noise-translate-point-template.ts
1048
- import { Position as Position28 } from "@xyflow/system";
1007
+ import { Position as Position27 } from "@xyflow/system";
1049
1008
  var NoiseTranslatePointNodeTemplateFactory = class {
1050
1009
  template = {
1051
1010
  type: "noise-translate-point" /* noiseTranslatePoint */,
@@ -1058,14 +1017,14 @@ var NoiseTranslatePointNodeTemplateFactory = class {
1058
1017
  },
1059
1018
  handles: [
1060
1019
  {
1061
- position: Position28.Left,
1020
+ position: Position27.Left,
1062
1021
  dataType: "module" /* module */,
1063
1022
  connection: "target",
1064
1023
  label: "Source Module",
1065
1024
  maxConnections: 1
1066
1025
  },
1067
1026
  {
1068
- position: Position28.Right,
1027
+ position: Position27.Right,
1069
1028
  dataType: "module" /* module */,
1070
1029
  connection: "source"
1071
1030
  }
@@ -1074,8 +1033,8 @@ var NoiseTranslatePointNodeTemplateFactory = class {
1074
1033
  };
1075
1034
 
1076
1035
  // src/templates/transformers/noise-turbulence-template.ts
1077
- import { CoreHandleType as CoreHandleType8 } from "@awesome-flow/core/abstract";
1078
- import { Position as Position29 } from "@xyflow/system";
1036
+ import { CoreHandleType as CoreHandleType6 } from "@awesome-flow/core/abstract";
1037
+ import { Position as Position28 } from "@xyflow/system";
1079
1038
  var NoiseTurbulenceNodeTemplateFactory = class {
1080
1039
  template = {
1081
1040
  type: "noise-turbulence" /* noiseTurbulence */,
@@ -1089,20 +1048,20 @@ var NoiseTurbulenceNodeTemplateFactory = class {
1089
1048
  },
1090
1049
  handles: [
1091
1050
  {
1092
- position: Position29.Left,
1051
+ position: Position28.Left,
1093
1052
  dataType: "module" /* module */,
1094
1053
  connection: "target",
1095
1054
  label: "Source Module",
1096
1055
  maxConnections: 1
1097
1056
  },
1098
1057
  {
1099
- position: Position29.Left,
1100
- dataType: CoreHandleType8.variableProperty,
1058
+ position: Position28.Left,
1059
+ dataType: CoreHandleType6.variableProperty,
1101
1060
  label: "Variable Properties",
1102
1061
  connection: "target"
1103
1062
  },
1104
1063
  {
1105
- position: Position29.Right,
1064
+ position: Position28.Right,
1106
1065
  dataType: "module" /* module */,
1107
1066
  connection: "source"
1108
1067
  }
@@ -1111,9 +1070,9 @@ var NoiseTurbulenceNodeTemplateFactory = class {
1111
1070
  };
1112
1071
 
1113
1072
  // src/templates/generators/noise-billow-template.ts
1114
- import { CoreHandleType as CoreHandleType9 } from "@awesome-flow/core/abstract";
1073
+ import { CoreHandleType as CoreHandleType7 } from "@awesome-flow/core/abstract";
1115
1074
  import { IDGenerator as IDGenerator2 } from "@awesome-flow/core/utils";
1116
- import { Position as Position30 } from "@xyflow/system";
1075
+ import { Position as Position29 } from "@xyflow/system";
1117
1076
  var NoiseBillowNodeTemplateFactory = class {
1118
1077
  template = {
1119
1078
  id: IDGenerator2.template(),
@@ -1129,12 +1088,12 @@ var NoiseBillowNodeTemplateFactory = class {
1129
1088
  },
1130
1089
  handles: [
1131
1090
  {
1132
- position: Position30.Left,
1133
- dataType: CoreHandleType9.variableProperty,
1091
+ position: Position29.Left,
1092
+ dataType: CoreHandleType7.variableProperty,
1134
1093
  connection: "target"
1135
1094
  },
1136
1095
  {
1137
- position: Position30.Right,
1096
+ position: Position29.Right,
1138
1097
  dataType: "module" /* module */,
1139
1098
  connection: "source"
1140
1099
  }
@@ -1147,7 +1106,7 @@ import {
1147
1106
  CoreTemplateGroup
1148
1107
  } from "@awesome-flow/core/abstract";
1149
1108
  import { IDGenerator as IDGenerator3 } from "@awesome-flow/core/utils";
1150
- import { Position as Position31 } from "@xyflow/system";
1109
+ import { Position as Position30 } from "@xyflow/system";
1151
1110
  var ModuleGroupNodeTemplateFactory = class {
1152
1111
  template = {
1153
1112
  id: IDGenerator3.template(),
@@ -1167,14 +1126,14 @@ var ModuleGroupNodeTemplateFactory = class {
1167
1126
  },
1168
1127
  handles: [
1169
1128
  {
1170
- position: Position31.Bottom,
1129
+ position: Position30.Bottom,
1171
1130
  dataType: "module" /* module */,
1172
1131
  connection: "target",
1173
1132
  maxConnections: 1,
1174
1133
  hideOnCollapse: true
1175
1134
  },
1176
1135
  {
1177
- position: Position31.Right,
1136
+ position: Position30.Right,
1178
1137
  dataType: "module" /* module */,
1179
1138
  connection: "source"
1180
1139
  }
@@ -1183,23 +1142,22 @@ var ModuleGroupNodeTemplateFactory = class {
1183
1142
  };
1184
1143
 
1185
1144
  // src/nodes/groups/module-group-node.tsx
1186
- import { NodeContainer as NodeContainer32, NodeCollapse, NodeTrackConnections as NodeTrackConnections27 } from "@awesome-flow/core/layout";
1145
+ import { NodeContainer as NodeContainer31, NodeCollapse, NodeTrackConnections as NodeTrackConnections27 } from "@awesome-flow/core/layout";
1187
1146
  import { NodeResizer, useStore, useUpdateNodeInternals } from "@xyflow/react";
1188
- import { useCallback as useCallback15, useEffect as useEffect21, useMemo as useMemo12 } from "react";
1147
+ import { useCallback as useCallback15, useEffect as useEffect20, useMemo as useMemo11 } from "react";
1189
1148
  import { shallow } from "zustand/shallow";
1190
1149
  import { Badge, Group as Group15 } from "@mantine/core";
1191
1150
  import {
1192
1151
  useFlowStore,
1193
1152
  useIncomingComputedData as useIncomingComputedData17,
1194
1153
  useInteractiveStore,
1195
- useUpdateNodeComputedData as useUpdateNodeComputedData30
1154
+ useUpdateNodeComputedData as useUpdateNodeComputedData29
1196
1155
  } from "@awesome-flow/core/hooks";
1197
- import { jsx as jsx32, jsxs as jsxs28 } from "react/jsx-runtime";
1156
+ import { jsx as jsx31, jsxs as jsxs28 } from "react/jsx-runtime";
1198
1157
 
1199
1158
  // src/abstract/node-types.ts
1200
1159
  var noiseNodeTemplates = {
1201
1160
  ["noise-output" /* noiseOutput */]: new NoiseOutputNodeTemplateFactory(),
1202
- ["noise-simplex" /* noiseSimplex */]: new NoiseSimplexNodeTemplateFactory(),
1203
1161
  ["noise-billow" /* noiseBillow */]: new NoiseBillowNodeTemplateFactory(),
1204
1162
  ["noise-checkerboard" /* noiseCheckerboard */]: new NoiseCheckerboardNodeTemplateFactory(),
1205
1163
  ["noise-normalize" /* noiseNormalize */]: new NoiseNormalizeNodeTemplateFactory(),
@@ -1242,7 +1200,7 @@ var NoiseBlendNodeTemplateFactory = class {
1242
1200
  },
1243
1201
  handles: [
1244
1202
  {
1245
- position: Position32.Left,
1203
+ position: Position31.Left,
1246
1204
  dataType: "module" /* module */,
1247
1205
  connection: "target",
1248
1206
  label: "Source Modules",
@@ -1251,7 +1209,7 @@ var NoiseBlendNodeTemplateFactory = class {
1251
1209
  minConnections: 2
1252
1210
  },
1253
1211
  {
1254
- position: Position32.Left,
1212
+ position: Position31.Left,
1255
1213
  dataType: "module" /* module */,
1256
1214
  dataId: "control" /* control */,
1257
1215
  connection: "target",
@@ -1259,7 +1217,7 @@ var NoiseBlendNodeTemplateFactory = class {
1259
1217
  maxConnections: 1
1260
1218
  },
1261
1219
  {
1262
- position: Position32.Right,
1220
+ position: Position31.Right,
1263
1221
  dataType: "module" /* module */,
1264
1222
  dataId: "output" /* output */,
1265
1223
  connection: "source"