@awesome-flow/noise 0.1.0 → 0.4.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.
- package/LICENSE.md +201 -0
- package/dist/abstract/index.cjs +1405 -2078
- package/dist/abstract/index.cjs.map +1 -1
- package/dist/abstract/index.d.cts +23 -25
- package/dist/abstract/index.d.ts +23 -25
- package/dist/abstract/index.js +1315 -1996
- package/dist/abstract/index.js.map +1 -1
- package/dist/index-BungWYrh.d.cts +49 -0
- package/dist/index-DsQSjZC5.d.ts +49 -0
- package/dist/{node-props-CeZ8Oshz.d.ts → node-props-BbqbXDXn.d.cts} +2 -22
- package/dist/{node-props-hKW-_KOU.d.cts → node-props-BbqbXDXn.d.ts} +2 -22
- package/dist/nodes/generators/index.cjs +130 -380
- package/dist/nodes/generators/index.cjs.map +1 -1
- package/dist/nodes/generators/index.d.cts +2 -8
- package/dist/nodes/generators/index.d.ts +2 -8
- package/dist/nodes/generators/index.js +112 -360
- package/dist/nodes/generators/index.js.map +1 -1
- package/dist/nodes/groups/index.cjs +25 -13
- package/dist/nodes/groups/index.cjs.map +1 -1
- package/dist/nodes/groups/index.js +26 -14
- package/dist/nodes/groups/index.js.map +1 -1
- package/dist/nodes/index.cjs +1654 -988
- package/dist/nodes/index.cjs.map +1 -1
- package/dist/nodes/index.d.cts +3 -5
- package/dist/nodes/index.d.ts +3 -5
- package/dist/nodes/index.js +1622 -960
- package/dist/nodes/index.js.map +1 -1
- package/dist/nodes/modifiers/index.cjs +17 -119
- package/dist/nodes/modifiers/index.cjs.map +1 -1
- package/dist/nodes/modifiers/index.d.cts +2 -6
- package/dist/nodes/modifiers/index.d.ts +2 -6
- package/dist/nodes/modifiers/index.js +16 -124
- package/dist/nodes/modifiers/index.js.map +1 -1
- package/dist/nodes/output/index.cjs +1271 -89
- package/dist/nodes/output/index.cjs.map +1 -1
- package/dist/nodes/output/index.js +1314 -92
- package/dist/nodes/output/index.js.map +1 -1
- package/dist/nodes/selectors/index.cjs +1296 -58
- package/dist/nodes/selectors/index.cjs.map +1 -1
- package/dist/nodes/selectors/index.d.cts +1 -3
- package/dist/nodes/selectors/index.d.ts +1 -3
- package/dist/nodes/selectors/index.js +1339 -65
- package/dist/nodes/selectors/index.js.map +1 -1
- package/dist/nodes/transformers/index.cjs +67 -206
- package/dist/nodes/transformers/index.cjs.map +1 -1
- package/dist/nodes/transformers/index.d.cts +3 -5
- package/dist/nodes/transformers/index.d.ts +3 -5
- package/dist/nodes/transformers/index.js +54 -193
- package/dist/nodes/transformers/index.js.map +1 -1
- package/dist/templates/generators/index.cjs +839 -1278
- package/dist/templates/generators/index.cjs.map +1 -1
- package/dist/templates/generators/index.d.cts +13 -50
- package/dist/templates/generators/index.d.ts +13 -50
- package/dist/templates/generators/index.js +836 -1280
- package/dist/templates/generators/index.js.map +1 -1
- package/dist/templates/groups/index.cjs +837 -1272
- package/dist/templates/groups/index.cjs.map +1 -1
- package/dist/templates/groups/index.d.cts +1 -5
- package/dist/templates/groups/index.d.ts +1 -5
- package/dist/templates/groups/index.js +835 -1277
- package/dist/templates/groups/index.js.map +1 -1
- package/dist/templates/index.cjs +839 -1280
- package/dist/templates/index.cjs.map +1 -1
- package/dist/templates/index.d.cts +4 -7
- package/dist/templates/index.d.ts +4 -7
- package/dist/templates/index.js +836 -1281
- package/dist/templates/index.js.map +1 -1
- package/dist/templates/modifiers/index.cjs +841 -1278
- package/dist/templates/modifiers/index.cjs.map +1 -1
- package/dist/templates/modifiers/index.d.cts +11 -38
- package/dist/templates/modifiers/index.d.ts +11 -38
- package/dist/templates/modifiers/index.js +838 -1281
- package/dist/templates/modifiers/index.js.map +1 -1
- package/dist/templates/output/index.cjs +839 -1274
- package/dist/templates/output/index.cjs.map +1 -1
- package/dist/templates/output/index.d.cts +4 -14
- package/dist/templates/output/index.d.ts +4 -14
- package/dist/templates/output/index.js +837 -1279
- package/dist/templates/output/index.js.map +1 -1
- package/dist/templates/selectors/index.cjs +839 -1274
- package/dist/templates/selectors/index.cjs.map +1 -1
- package/dist/templates/selectors/index.d.cts +3 -9
- package/dist/templates/selectors/index.d.ts +3 -9
- package/dist/templates/selectors/index.js +837 -1279
- package/dist/templates/selectors/index.js.map +1 -1
- package/dist/templates/transformers/index.cjs +839 -1274
- package/dist/templates/transformers/index.cjs.map +1 -1
- package/dist/templates/transformers/index.d.cts +3 -36
- package/dist/templates/transformers/index.d.ts +3 -36
- package/dist/templates/transformers/index.js +837 -1279
- package/dist/templates/transformers/index.js.map +1 -1
- package/package.json +5 -4
- package/dist/handle-types-D-v5S53h.d.cts +0 -22
- package/dist/handle-types-D-v5S53h.d.ts +0 -22
- package/dist/layout/index.cjs +0 -164
- package/dist/layout/index.cjs.map +0 -1
- package/dist/layout/index.d.cts +0 -26
- package/dist/layout/index.d.ts +0 -26
- package/dist/layout/index.js +0 -136
- package/dist/layout/index.js.map +0 -1
- package/dist/properties-BxwtU6i9.d.cts +0 -9
- package/dist/properties-BxwtU6i9.d.ts +0 -9
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
// src/templates/groups/module-group-template.ts
|
|
2
|
-
import {
|
|
3
|
-
|
|
2
|
+
import {
|
|
3
|
+
CoreTemplateGroup
|
|
4
|
+
} from "@awesome-flow/core/abstract";
|
|
5
|
+
import { IDGenerator as IDGenerator3 } from "@awesome-flow/core/utils";
|
|
6
|
+
import { Position as Position32 } from "@xyflow/system";
|
|
4
7
|
|
|
5
8
|
// src/nodes/generators/noise-simplex-node.tsx
|
|
6
9
|
import { NodeContainer } from "@awesome-flow/core/layout";
|
|
@@ -54,101 +57,87 @@ import { jsx as jsx5, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
|
54
57
|
|
|
55
58
|
// src/nodes/generators/noise-billow-node.tsx
|
|
56
59
|
import { NodeContainer as NodeContainer6, NodeTrackConnections as NodeTrackConnections2 } from "@awesome-flow/core/layout";
|
|
57
|
-
import { useCallback
|
|
60
|
+
import { useCallback, useMemo as useMemo3 } from "react";
|
|
58
61
|
import { Billow } from "libnoise-ts/module/generator";
|
|
59
62
|
import { useUpdateNodeComputedData as useUpdateNodeComputedData6 } from "@awesome-flow/core/hooks";
|
|
60
|
-
import {
|
|
61
|
-
|
|
62
|
-
// src/layout/node-property-variables.tsx
|
|
63
|
-
import { useIncomingNodeData, useUpdateNodeData as useUpdateNodeData5 } from "@awesome-flow/core/hooks";
|
|
64
|
-
import { useCallback, useEffect as useEffect6, useMemo as useMemo3, useState as useState5 } from "react";
|
|
65
|
-
import { Group as Group5, Stack as Stack5 } from "@mantine/core";
|
|
66
|
-
import { getObjectKeys } from "@awesome-flow/core/utils";
|
|
67
|
-
import { nodeDataPropertyExcept } from "@awesome-flow/core/abstract";
|
|
68
|
-
|
|
69
|
-
// src/layout/node-value-input.tsx
|
|
70
|
-
import { Input, NumberInput as NumberInput5, Switch } from "@mantine/core";
|
|
71
|
-
import { Fragment, jsx as jsx6 } from "react/jsx-runtime";
|
|
72
|
-
|
|
73
|
-
// src/layout/node-property-input.tsx
|
|
74
|
-
import { Fragment as Fragment2, jsx as jsx7 } from "react/jsx-runtime";
|
|
75
|
-
|
|
76
|
-
// src/layout/node-property-variables.tsx
|
|
77
|
-
import { jsx as jsx8, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
78
|
-
|
|
79
|
-
// src/nodes/generators/noise-billow-node.tsx
|
|
80
|
-
import { jsx as jsx9, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
63
|
+
import { NodePropertyVariables } from "@awesome-flow/core/components";
|
|
64
|
+
import { jsx as jsx6, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
81
65
|
|
|
82
66
|
// src/nodes/output/noise-logger-node.tsx
|
|
83
67
|
import { NodeContainer as NodeContainer7, NodeTrackConnections as NodeTrackConnections3 } from "@awesome-flow/core/layout";
|
|
84
|
-
import { useMemo as
|
|
85
|
-
import { Divider, Stack as
|
|
68
|
+
import { useMemo as useMemo4 } from "react";
|
|
69
|
+
import { Divider, Stack as Stack5, Text } from "@mantine/core";
|
|
86
70
|
import { useIncomingComputedData as useIncomingComputedData2 } from "@awesome-flow/core/hooks";
|
|
87
|
-
import { jsx as
|
|
71
|
+
import { jsx as jsx7, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
88
72
|
|
|
89
73
|
// src/nodes/output/noise-raw-texture-node.tsx
|
|
90
74
|
import { NodeContainer as NodeContainer8, NodeTrackConnections as NodeTrackConnections4 } from "@awesome-flow/core/layout";
|
|
91
|
-
import { useEffect as
|
|
75
|
+
import { useEffect as useEffect6, useMemo as useMemo5, useState as useState5 } from "react";
|
|
92
76
|
import { useIncomingComputedData as useIncomingComputedData3, useUpdateNodeComputedData as useUpdateNodeComputedData7 } from "@awesome-flow/core/hooks";
|
|
93
|
-
import { Group as
|
|
94
|
-
import { jsx as
|
|
77
|
+
import { Group as Group5, Stack as Stack6 } from "@mantine/core";
|
|
78
|
+
import { jsx as jsx8, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
95
79
|
|
|
96
80
|
// src/nodes/generators/noise-checkerboard-node.tsx
|
|
97
81
|
import { NodeContainer as NodeContainer9 } from "@awesome-flow/core/layout";
|
|
98
|
-
import { useEffect as
|
|
82
|
+
import { useEffect as useEffect7, useMemo as useMemo6 } from "react";
|
|
99
83
|
import { Checkerboard } from "libnoise-ts/module/generator";
|
|
100
84
|
import { useUpdateNodeComputedData as useUpdateNodeComputedData8 } from "@awesome-flow/core/hooks";
|
|
101
|
-
import { jsx as
|
|
85
|
+
import { jsx as jsx9 } from "react/jsx-runtime";
|
|
102
86
|
|
|
103
87
|
// src/nodes/output/positions-logger-node.tsx
|
|
104
88
|
import { NodeContainer as NodeContainer10, NodeTrackConnections as NodeTrackConnections5 } from "@awesome-flow/core/layout";
|
|
105
|
-
import { useMemo as
|
|
106
|
-
import { Divider as Divider2, Stack as
|
|
89
|
+
import { useMemo as useMemo7 } from "react";
|
|
90
|
+
import { Divider as Divider2, Stack as Stack7, Text as Text2 } from "@mantine/core";
|
|
107
91
|
import { useIncomingComputedData as useIncomingComputedData4 } from "@awesome-flow/core/hooks";
|
|
108
|
-
import { jsx as
|
|
92
|
+
import { jsx as jsx10, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
109
93
|
|
|
110
94
|
// src/nodes/generators/noise-cylinders-node.tsx
|
|
111
95
|
import { NodeContainer as NodeContainer11, NodeTrackConnections as NodeTrackConnections6 } from "@awesome-flow/core/layout";
|
|
112
|
-
import { useCallback as
|
|
96
|
+
import { useCallback as useCallback2, useMemo as useMemo8 } from "react";
|
|
113
97
|
import { Cylinders } from "libnoise-ts/module/generator";
|
|
114
98
|
import { useUpdateNodeComputedData as useUpdateNodeComputedData9 } from "@awesome-flow/core/hooks";
|
|
115
|
-
import {
|
|
99
|
+
import { NodePropertyVariables as NodePropertyVariables2 } from "@awesome-flow/core/components";
|
|
100
|
+
import { jsx as jsx11, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
116
101
|
|
|
117
102
|
// src/nodes/generators/noise-perlin-node.tsx
|
|
118
103
|
import { NodeContainer as NodeContainer12, NodeTrackConnections as NodeTrackConnections7 } from "@awesome-flow/core/layout";
|
|
119
|
-
import { useCallback as
|
|
104
|
+
import { useCallback as useCallback3, useMemo as useMemo9 } from "react";
|
|
120
105
|
import { Perlin } from "libnoise-ts/module/generator";
|
|
121
106
|
import { useUpdateNodeComputedData as useUpdateNodeComputedData10 } from "@awesome-flow/core/hooks";
|
|
122
|
-
import {
|
|
107
|
+
import { NodePropertyVariables as NodePropertyVariables3 } from "@awesome-flow/core/components";
|
|
108
|
+
import { jsx as jsx12, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
123
109
|
|
|
124
110
|
// src/nodes/generators/noise-ridgedmulti-node.tsx
|
|
125
111
|
import { NodeContainer as NodeContainer13, NodeTrackConnections as NodeTrackConnections8 } from "@awesome-flow/core/layout";
|
|
126
|
-
import { useCallback as
|
|
112
|
+
import { useCallback as useCallback4, useMemo as useMemo10 } from "react";
|
|
127
113
|
import { RidgedMulti } from "libnoise-ts/module/generator";
|
|
128
114
|
import { useUpdateNodeComputedData as useUpdateNodeComputedData11 } from "@awesome-flow/core/hooks";
|
|
129
|
-
import {
|
|
115
|
+
import { NodePropertyVariables as NodePropertyVariables4 } from "@awesome-flow/core/components";
|
|
116
|
+
import { jsx as jsx13, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
130
117
|
|
|
131
118
|
// src/nodes/generators/noise-spheres-node.tsx
|
|
132
119
|
import { NodeContainer as NodeContainer14, NodeTrackConnections as NodeTrackConnections9 } from "@awesome-flow/core/layout";
|
|
133
|
-
import { useCallback as
|
|
120
|
+
import { useCallback as useCallback5, useMemo as useMemo11 } from "react";
|
|
134
121
|
import { Spheres } from "libnoise-ts/module/generator";
|
|
135
122
|
import { useUpdateNodeComputedData as useUpdateNodeComputedData12 } from "@awesome-flow/core/hooks";
|
|
136
|
-
import {
|
|
123
|
+
import { NodePropertyVariables as NodePropertyVariables5 } from "@awesome-flow/core/components";
|
|
124
|
+
import { jsx as jsx14, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
137
125
|
|
|
138
126
|
// src/nodes/generators/noise-voronoi-node.tsx
|
|
139
127
|
import { NodeContainer as NodeContainer15, NodeTrackConnections as NodeTrackConnections10 } from "@awesome-flow/core/layout";
|
|
140
|
-
import { useCallback as
|
|
128
|
+
import { useCallback as useCallback6 } from "react";
|
|
141
129
|
import { Voronoi } from "libnoise-ts/module/generator";
|
|
142
130
|
import { useUpdateNodeComputedData as useUpdateNodeComputedData13 } from "@awesome-flow/core/hooks";
|
|
143
|
-
import {
|
|
131
|
+
import { NodePropertyVariables as NodePropertyVariables6 } from "@awesome-flow/core/components";
|
|
132
|
+
import { jsx as jsx15, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
144
133
|
|
|
145
134
|
// src/nodes/modifiers/noise-combine-node.tsx
|
|
146
135
|
import { NodeCombobox, NodeContainer as NodeContainer16, NodeTrackConnections as NodeTrackConnections11 } from "@awesome-flow/core/layout";
|
|
147
|
-
import { useCallback as
|
|
136
|
+
import { useCallback as useCallback7, useEffect as useEffect8 } from "react";
|
|
148
137
|
import {
|
|
149
138
|
useIncomingComputedData as useIncomingComputedData5,
|
|
150
139
|
useUpdateNodeComputedData as useUpdateNodeComputedData14,
|
|
151
|
-
useUpdateNodeData as
|
|
140
|
+
useUpdateNodeData as useUpdateNodeData5
|
|
152
141
|
} from "@awesome-flow/core/hooks";
|
|
153
142
|
import {
|
|
154
143
|
IconAsterisk,
|
|
@@ -162,1469 +151,1048 @@ import {
|
|
|
162
151
|
import { Add, Max, Min, Multiply, Power } from "libnoise-ts/module/combiner";
|
|
163
152
|
|
|
164
153
|
// src/nodes/modifiers/noise-combine-node.tsx
|
|
165
|
-
import { jsx as
|
|
154
|
+
import { jsx as jsx16, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
166
155
|
|
|
167
156
|
// src/nodes/modifiers/noise-clamp-node.tsx
|
|
168
157
|
import { NodeContainer as NodeContainer17, NodeTrackConnections as NodeTrackConnections12 } from "@awesome-flow/core/layout";
|
|
169
|
-
import { useEffect as
|
|
170
|
-
import { Group as
|
|
158
|
+
import { useEffect as useEffect9, useState as useState6 } from "react";
|
|
159
|
+
import { Group as Group6, NumberInput as NumberInput5, Stack as Stack8 } from "@mantine/core";
|
|
171
160
|
import {
|
|
172
161
|
useIncomingComputedData as useIncomingComputedData6,
|
|
173
162
|
useUpdateNodeComputedData as useUpdateNodeComputedData15,
|
|
174
|
-
useUpdateNodeData as
|
|
163
|
+
useUpdateNodeData as useUpdateNodeData6
|
|
175
164
|
} from "@awesome-flow/core/hooks";
|
|
176
165
|
import { Clamp } from "libnoise-ts/module/modifier";
|
|
177
|
-
import { jsx as
|
|
166
|
+
import { jsx as jsx17, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
178
167
|
|
|
179
168
|
// src/nodes/modifiers/noise-abs-node.tsx
|
|
180
169
|
import { NodeContainer as NodeContainer18, NodeTrackConnections as NodeTrackConnections13 } from "@awesome-flow/core/layout";
|
|
181
|
-
import { useEffect as
|
|
170
|
+
import { useEffect as useEffect10 } from "react";
|
|
182
171
|
import { useIncomingComputedData as useIncomingComputedData7, useUpdateNodeComputedData as useUpdateNodeComputedData16 } from "@awesome-flow/core/hooks";
|
|
183
172
|
import { Abs } from "libnoise-ts/module/modifier";
|
|
184
|
-
import { jsx as
|
|
173
|
+
import { jsx as jsx18 } from "react/jsx-runtime";
|
|
185
174
|
|
|
186
175
|
// src/nodes/output/noise-output-node.tsx
|
|
187
176
|
import { NodeContainer as NodeContainer19, NodeTrackConnections as NodeTrackConnections14 } from "@awesome-flow/core/layout";
|
|
188
|
-
import {
|
|
189
|
-
import {
|
|
190
|
-
import {
|
|
191
|
-
import {
|
|
177
|
+
import { useCallback as useCallback8, useState as useState7 } from "react";
|
|
178
|
+
import { useUpdateNodeComputedData as useUpdateNodeComputedData17 } from "@awesome-flow/core/hooks";
|
|
179
|
+
import { HandlesIncomingDataStatus } from "@awesome-flow/core/components";
|
|
180
|
+
import { Text as Text3 } from "@mantine/core";
|
|
181
|
+
import { jsx as jsx19, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
192
182
|
|
|
193
183
|
// src/nodes/modifiers/noise-curve-node.tsx
|
|
194
184
|
import { NodeContainer as NodeContainer20, NodeTrackConnections as NodeTrackConnections15 } from "@awesome-flow/core/layout";
|
|
195
|
-
import { ActionIcon, Button, Group as
|
|
185
|
+
import { ActionIcon, Button, Group as Group7, NumberInput as NumberInput6, Space } from "@mantine/core";
|
|
196
186
|
import {
|
|
197
|
-
useIncomingComputedData as
|
|
187
|
+
useIncomingComputedData as useIncomingComputedData8,
|
|
198
188
|
useUpdateNodeComputedData as useUpdateNodeComputedData18,
|
|
199
|
-
useUpdateNodeData as
|
|
189
|
+
useUpdateNodeData as useUpdateNodeData7
|
|
200
190
|
} from "@awesome-flow/core/hooks";
|
|
201
|
-
import { useCallback as useCallback9, useEffect as
|
|
191
|
+
import { useCallback as useCallback9, useEffect as useEffect11, useState as useState8 } from "react";
|
|
202
192
|
import { Curve } from "libnoise-ts/module/modifier";
|
|
203
193
|
import { Tuple } from "libnoise-ts/util";
|
|
204
194
|
import { IconX } from "@tabler/icons-react";
|
|
205
195
|
import { randomId } from "@mantine/hooks";
|
|
206
196
|
import { NodeState } from "@awesome-flow/core/abstract";
|
|
207
|
-
import { Fragment
|
|
197
|
+
import { Fragment, jsx as jsx20, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
208
198
|
|
|
209
199
|
// src/nodes/modifiers/noise-exponent-node.tsx
|
|
210
200
|
import { NodeContainer as NodeContainer21, NodeTrackConnections as NodeTrackConnections16 } from "@awesome-flow/core/layout";
|
|
211
|
-
import { useEffect as
|
|
212
|
-
import { Group as
|
|
201
|
+
import { useEffect as useEffect12, useState as useState9 } from "react";
|
|
202
|
+
import { Group as Group8, NumberInput as NumberInput7, Stack as Stack9 } from "@mantine/core";
|
|
213
203
|
import {
|
|
214
|
-
useIncomingComputedData as
|
|
204
|
+
useIncomingComputedData as useIncomingComputedData9,
|
|
215
205
|
useUpdateNodeComputedData as useUpdateNodeComputedData19,
|
|
216
|
-
useUpdateNodeData as
|
|
206
|
+
useUpdateNodeData as useUpdateNodeData8
|
|
217
207
|
} from "@awesome-flow/core/hooks";
|
|
218
208
|
import { Exponent } from "libnoise-ts/module/modifier";
|
|
219
|
-
import { jsx as
|
|
209
|
+
import { jsx as jsx21, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
220
210
|
|
|
221
211
|
// src/nodes/modifiers/noise-invert-node.tsx
|
|
222
212
|
import { NodeContainer as NodeContainer22, NodeTrackConnections as NodeTrackConnections17 } from "@awesome-flow/core/layout";
|
|
223
|
-
import { useEffect as
|
|
224
|
-
import { useIncomingComputedData as
|
|
213
|
+
import { useEffect as useEffect13 } from "react";
|
|
214
|
+
import { useIncomingComputedData as useIncomingComputedData10, useUpdateNodeComputedData as useUpdateNodeComputedData20 } from "@awesome-flow/core/hooks";
|
|
225
215
|
import { Invert } from "libnoise-ts/module/modifier";
|
|
226
|
-
import { jsx as
|
|
216
|
+
import { jsx as jsx22 } from "react/jsx-runtime";
|
|
227
217
|
|
|
228
218
|
// src/nodes/modifiers/noise-scale-bias-node.tsx
|
|
229
219
|
import { NodeContainer as NodeContainer23, NodeTrackConnections as NodeTrackConnections18 } from "@awesome-flow/core/layout";
|
|
230
|
-
import { useEffect as
|
|
231
|
-
import { Group as
|
|
220
|
+
import { useEffect as useEffect14, useState as useState10 } from "react";
|
|
221
|
+
import { Group as Group9, NumberInput as NumberInput8, Stack as Stack10 } from "@mantine/core";
|
|
232
222
|
import {
|
|
233
|
-
useIncomingComputedData as
|
|
223
|
+
useIncomingComputedData as useIncomingComputedData11,
|
|
234
224
|
useUpdateNodeComputedData as useUpdateNodeComputedData21,
|
|
235
|
-
useUpdateNodeData as
|
|
225
|
+
useUpdateNodeData as useUpdateNodeData9
|
|
236
226
|
} from "@awesome-flow/core/hooks";
|
|
237
227
|
import { ScaleBias } from "libnoise-ts/module/modifier";
|
|
238
|
-
import { jsx as
|
|
228
|
+
import { jsx as jsx23, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
239
229
|
|
|
240
230
|
// src/nodes/modifiers/noise-terrace-node.tsx
|
|
241
231
|
import { NodeContainer as NodeContainer24, NodeTrackConnections as NodeTrackConnections19 } from "@awesome-flow/core/layout";
|
|
242
|
-
import { ActionIcon as ActionIcon2, Button as Button2, Group as
|
|
232
|
+
import { ActionIcon as ActionIcon2, Button as Button2, Group as Group10, NumberInput as NumberInput9, Space as Space2 } from "@mantine/core";
|
|
243
233
|
import {
|
|
244
|
-
useIncomingComputedData as
|
|
234
|
+
useIncomingComputedData as useIncomingComputedData12,
|
|
245
235
|
useUpdateNodeComputedData as useUpdateNodeComputedData22,
|
|
246
|
-
useUpdateNodeData as
|
|
236
|
+
useUpdateNodeData as useUpdateNodeData10
|
|
247
237
|
} from "@awesome-flow/core/hooks";
|
|
248
|
-
import { useCallback as useCallback10, useEffect as
|
|
238
|
+
import { useCallback as useCallback10, useEffect as useEffect15, useState as useState11 } from "react";
|
|
249
239
|
import { Terrace } from "libnoise-ts/module/modifier";
|
|
250
240
|
import { IconX as IconX2 } from "@tabler/icons-react";
|
|
251
241
|
import { randomId as randomId2 } from "@mantine/hooks";
|
|
252
242
|
import { NodeState as NodeState2 } from "@awesome-flow/core/abstract";
|
|
253
|
-
import { Fragment as
|
|
243
|
+
import { Fragment as Fragment2, jsx as jsx24, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
254
244
|
|
|
255
245
|
// src/nodes/selectors/noise-blend-node.tsx
|
|
256
246
|
import { NodeContainer as NodeContainer25, NodeTrackConnections as NodeTrackConnections20 } from "@awesome-flow/core/layout";
|
|
257
|
-
import {
|
|
258
|
-
import {
|
|
247
|
+
import { useCallback as useCallback11 } from "react";
|
|
248
|
+
import { useUpdateNodeComputedData as useUpdateNodeComputedData23 } from "@awesome-flow/core/hooks";
|
|
259
249
|
import { Blend } from "libnoise-ts/module/selector";
|
|
260
|
-
import {
|
|
261
|
-
import { jsx as
|
|
250
|
+
import { HandlesIncomingDataStatus as HandlesIncomingDataStatus2 } from "@awesome-flow/core/components";
|
|
251
|
+
import { jsx as jsx25, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
262
252
|
|
|
263
253
|
// src/nodes/selectors/noise-select-node.tsx
|
|
264
254
|
import { NodeContainer as NodeContainer26, NodeTrackConnections as NodeTrackConnections21 } from "@awesome-flow/core/layout";
|
|
265
|
-
import { useEffect as
|
|
266
|
-
import {
|
|
267
|
-
useIncomingComputedData as useIncomingComputedData15,
|
|
268
|
-
useUpdateNodeComputedData as useUpdateNodeComputedData24,
|
|
269
|
-
useUpdateNodeData as useUpdateNodeData12
|
|
270
|
-
} from "@awesome-flow/core/hooks";
|
|
255
|
+
import { useCallback as useCallback12, useEffect as useEffect16, useState as useState12 } from "react";
|
|
256
|
+
import { useUpdateNodeComputedData as useUpdateNodeComputedData24, useUpdateNodeData as useUpdateNodeData11 } from "@awesome-flow/core/hooks";
|
|
271
257
|
import { Select } from "libnoise-ts/module/selector";
|
|
272
|
-
import { Group as
|
|
273
|
-
import {
|
|
258
|
+
import { Group as Group11, NumberInput as NumberInput10, Stack as Stack11 } from "@mantine/core";
|
|
259
|
+
import { HandlesIncomingDataStatus as HandlesIncomingDataStatus3 } from "@awesome-flow/core/components";
|
|
260
|
+
import { jsx as jsx26, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
274
261
|
|
|
275
262
|
// src/nodes/transformers/noise-displace-node.tsx
|
|
276
263
|
import { NodeContainer as NodeContainer27, NodeTrackConnections as NodeTrackConnections22 } from "@awesome-flow/core/layout";
|
|
277
|
-
import {
|
|
278
|
-
import {
|
|
264
|
+
import { useCallback as useCallback13 } from "react";
|
|
265
|
+
import { useUpdateNodeComputedData as useUpdateNodeComputedData25 } from "@awesome-flow/core/hooks";
|
|
279
266
|
import { Displace } from "libnoise-ts/module/transformer";
|
|
280
|
-
import {
|
|
281
|
-
import { jsx as
|
|
267
|
+
import { HandlesIncomingDataStatus as HandlesIncomingDataStatus4 } from "@awesome-flow/core/components";
|
|
268
|
+
import { jsx as jsx27, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
282
269
|
|
|
283
270
|
// src/nodes/transformers/noise-rotate-point-node.tsx
|
|
284
271
|
import { NodeContainer as NodeContainer28, NodeTrackConnections as NodeTrackConnections23 } from "@awesome-flow/core/layout";
|
|
285
|
-
import { useEffect as
|
|
272
|
+
import { useEffect as useEffect17, useState as useState13 } from "react";
|
|
286
273
|
import {
|
|
287
|
-
useIncomingComputedData as
|
|
274
|
+
useIncomingComputedData as useIncomingComputedData13,
|
|
288
275
|
useUpdateNodeComputedData as useUpdateNodeComputedData26,
|
|
289
|
-
useUpdateNodeData as
|
|
276
|
+
useUpdateNodeData as useUpdateNodeData12
|
|
290
277
|
} from "@awesome-flow/core/hooks";
|
|
291
|
-
import { Group as
|
|
278
|
+
import { Group as Group12, NumberInput as NumberInput11, Stack as Stack12 } from "@mantine/core";
|
|
292
279
|
import { RotatePoint } from "libnoise-ts/module/transformer";
|
|
293
|
-
import { jsx as
|
|
280
|
+
import { jsx as jsx28, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
294
281
|
|
|
295
282
|
// src/nodes/transformers/noise-scale-point-node.tsx
|
|
296
283
|
import { NodeContainer as NodeContainer29, NodeTrackConnections as NodeTrackConnections24 } from "@awesome-flow/core/layout";
|
|
297
|
-
import { useEffect as
|
|
284
|
+
import { useEffect as useEffect18, useState as useState14 } from "react";
|
|
298
285
|
import {
|
|
299
|
-
useIncomingComputedData as
|
|
286
|
+
useIncomingComputedData as useIncomingComputedData14,
|
|
300
287
|
useUpdateNodeComputedData as useUpdateNodeComputedData27,
|
|
301
|
-
useUpdateNodeData as
|
|
288
|
+
useUpdateNodeData as useUpdateNodeData13
|
|
302
289
|
} from "@awesome-flow/core/hooks";
|
|
303
|
-
import { Group as
|
|
290
|
+
import { Group as Group13, NumberInput as NumberInput12, Stack as Stack13 } from "@mantine/core";
|
|
304
291
|
import { ScalePoint } from "libnoise-ts/module/transformer";
|
|
305
|
-
import { jsx as
|
|
292
|
+
import { jsx as jsx29, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
306
293
|
|
|
307
294
|
// src/nodes/transformers/noise-translate-point-node.tsx
|
|
308
295
|
import { NodeContainer as NodeContainer30, NodeTrackConnections as NodeTrackConnections25 } from "@awesome-flow/core/layout";
|
|
309
|
-
import { useEffect as
|
|
296
|
+
import { useEffect as useEffect19, useState as useState15 } from "react";
|
|
310
297
|
import {
|
|
311
|
-
useIncomingComputedData as
|
|
298
|
+
useIncomingComputedData as useIncomingComputedData15,
|
|
312
299
|
useUpdateNodeComputedData as useUpdateNodeComputedData28,
|
|
313
|
-
useUpdateNodeData as
|
|
300
|
+
useUpdateNodeData as useUpdateNodeData14
|
|
314
301
|
} from "@awesome-flow/core/hooks";
|
|
315
|
-
import { Group as
|
|
302
|
+
import { Group as Group14, NumberInput as NumberInput13, Stack as Stack14 } from "@mantine/core";
|
|
316
303
|
import { TranslatePoint } from "libnoise-ts/module/transformer";
|
|
317
|
-
import { jsx as
|
|
304
|
+
import { jsx as jsx30, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
318
305
|
|
|
319
306
|
// src/nodes/transformers/noise-turbulence-node .tsx
|
|
320
307
|
import { NodeContainer as NodeContainer31, NodeTrackConnections as NodeTrackConnections26 } from "@awesome-flow/core/layout";
|
|
321
|
-
import { useCallback as
|
|
322
|
-
import { useIncomingComputedData as
|
|
308
|
+
import { useCallback as useCallback14, useEffect as useEffect20, useState as useState16 } from "react";
|
|
309
|
+
import { useIncomingComputedData as useIncomingComputedData16, useUpdateNodeComputedData as useUpdateNodeComputedData29 } from "@awesome-flow/core/hooks";
|
|
323
310
|
import { Turbulence } from "libnoise-ts/module/transformer";
|
|
324
|
-
import {
|
|
325
|
-
|
|
326
|
-
// src/nodes/generators/variable-property-node.tsx
|
|
327
|
-
import { NodeCombobox as NodeCombobox2, NodeContainer as NodeContainer32, NodeTrackConnections as NodeTrackConnections27 } from "@awesome-flow/core/layout";
|
|
328
|
-
import { useCallback as useCallback12, useEffect as useEffect25, useState as useState18 } from "react";
|
|
329
|
-
import { Stack as Stack18 } from "@mantine/core";
|
|
330
|
-
import { useIncomingNodeData as useIncomingNodeData2, useOutgoingNodes, useUpdateNodeData as useUpdateNodeData16 } from "@awesome-flow/core/hooks";
|
|
331
|
-
import { getObjectPropertyMap } from "@awesome-flow/core/utils";
|
|
332
|
-
import { nodeDataPropertyExcept as nodeDataPropertyExcept3 } from "@awesome-flow/core/abstract";
|
|
333
|
-
import { jsx as jsx35, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
334
|
-
|
|
335
|
-
// src/nodes/modifiers/variable-combine-node.tsx
|
|
336
|
-
import { NodeCombobox as NodeCombobox3, NodeContainer as NodeContainer33, NodeTrackConnections as NodeTrackConnections28 } from "@awesome-flow/core/layout";
|
|
337
|
-
import { useCallback as useCallback13, useEffect as useEffect26, useState as useState19 } from "react";
|
|
338
|
-
import { useIncomingNodeData as useIncomingNodeData3, useUpdateNodeData as useUpdateNodeData17 } from "@awesome-flow/core/hooks";
|
|
339
|
-
import {
|
|
340
|
-
IconAsterisk as IconAsterisk2,
|
|
341
|
-
IconChevronLeft as IconChevronLeft2,
|
|
342
|
-
IconChevronRight as IconChevronRight2,
|
|
343
|
-
IconChevronUp as IconChevronUp2,
|
|
344
|
-
IconDivide,
|
|
345
|
-
IconPlus as IconPlus2
|
|
346
|
-
} from "@tabler/icons-react";
|
|
347
|
-
import { jsx as jsx36, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
348
|
-
|
|
349
|
-
// src/nodes/generators/variable-value-node.tsx
|
|
350
|
-
import { NodeContainer as NodeContainer34, NodeTrackConnections as NodeTrackConnections29 } from "@awesome-flow/core/layout";
|
|
351
|
-
import { useCallback as useCallback14, useState as useState20 } from "react";
|
|
352
|
-
import { useUpdateNodeData as useUpdateNodeData18 } from "@awesome-flow/core/hooks";
|
|
353
|
-
import { jsx as jsx37, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
354
|
-
|
|
355
|
-
// src/nodes/groups/node-module-group.tsx
|
|
356
|
-
import { NodeContainer as NodeContainer35, NodeCollapse } from "@awesome-flow/core/layout";
|
|
357
|
-
import { NodeResizer, useStore, useUpdateNodeInternals } from "@xyflow/react";
|
|
358
|
-
import { FlowContext } from "@awesome-flow/core/abstract";
|
|
359
|
-
import { useCallback as useCallback15, useContext, useEffect as useEffect27, useMemo as useMemo14 } from "react";
|
|
360
|
-
import { shallow } from "zustand/shallow";
|
|
361
|
-
import { Badge as Badge2, Group as Group18 } from "@mantine/core";
|
|
362
|
-
import { jsx as jsx38, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
311
|
+
import { NodePropertyVariables as NodePropertyVariables7 } from "@awesome-flow/core/components";
|
|
312
|
+
import { jsx as jsx31, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
363
313
|
|
|
364
314
|
// src/templates/generators/noise-checkerboard-template.ts
|
|
365
|
-
import { IDGenerator } from "@awesome-flow/core/utils";
|
|
366
315
|
import { Position } from "@xyflow/system";
|
|
367
316
|
var NoiseCheckerboardNodeTemplateFactory = class {
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
]
|
|
383
|
-
};
|
|
384
|
-
}
|
|
385
|
-
isHandleAllowed(type) {
|
|
386
|
-
return type === "source";
|
|
387
|
-
}
|
|
388
|
-
getHandleAllowedDataType() {
|
|
389
|
-
return 8 /* module */;
|
|
390
|
-
}
|
|
317
|
+
template = {
|
|
318
|
+
type: "noise-checkerboard" /* noiseCheckerboard */,
|
|
319
|
+
group: "Noise Generators" /* noiseGenerators */,
|
|
320
|
+
data: {
|
|
321
|
+
title: "Checkerboard Noise"
|
|
322
|
+
},
|
|
323
|
+
handles: [
|
|
324
|
+
{
|
|
325
|
+
position: Position.Right,
|
|
326
|
+
dataType: "module" /* module */,
|
|
327
|
+
connection: "source"
|
|
328
|
+
}
|
|
329
|
+
]
|
|
330
|
+
};
|
|
391
331
|
};
|
|
392
332
|
|
|
393
333
|
// src/templates/generators/noise-const-template.ts
|
|
394
|
-
import { IDGenerator as IDGenerator2 } from "@awesome-flow/core/utils";
|
|
395
334
|
import { Position as Position2 } from "@xyflow/system";
|
|
396
335
|
var NoiseConstNodeTemplateFactory = class {
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
]
|
|
415
|
-
};
|
|
416
|
-
}
|
|
417
|
-
isHandleAllowed(type) {
|
|
418
|
-
return type === "source";
|
|
419
|
-
}
|
|
420
|
-
getHandleAllowedDataType(type) {
|
|
421
|
-
return 8 /* module */;
|
|
422
|
-
}
|
|
336
|
+
template = {
|
|
337
|
+
type: "noise-constant" /* noiseConst */,
|
|
338
|
+
group: "Noise Generators" /* noiseGenerators */,
|
|
339
|
+
data: {
|
|
340
|
+
title: "Const Value Noise",
|
|
341
|
+
noise: 0,
|
|
342
|
+
min: -1,
|
|
343
|
+
max: 1
|
|
344
|
+
},
|
|
345
|
+
handles: [
|
|
346
|
+
{
|
|
347
|
+
position: Position2.Right,
|
|
348
|
+
dataType: "module" /* module */,
|
|
349
|
+
connection: "source"
|
|
350
|
+
}
|
|
351
|
+
]
|
|
352
|
+
};
|
|
423
353
|
};
|
|
424
354
|
|
|
425
355
|
// src/templates/generators/noise-cylinders-template.ts
|
|
426
|
-
import {
|
|
356
|
+
import { CoreHandleType } from "@awesome-flow/core/abstract";
|
|
427
357
|
import { Position as Position3 } from "@xyflow/system";
|
|
428
358
|
var NoiseCylindersNodeTemplateFactory = class {
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
359
|
+
template = {
|
|
360
|
+
type: "noise-cylinders" /* noiseCylinders */,
|
|
361
|
+
group: "Noise Generators" /* noiseGenerators */,
|
|
362
|
+
data: {
|
|
363
|
+
title: "Cylinders Noise",
|
|
364
|
+
frequency: 0.1
|
|
365
|
+
},
|
|
366
|
+
handles: [
|
|
367
|
+
{
|
|
368
|
+
position: Position3.Left,
|
|
369
|
+
dataType: CoreHandleType.variableProperty,
|
|
370
|
+
connection: "target"
|
|
437
371
|
},
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
position: Position3.Right,
|
|
446
|
-
dataType: 8 /* module */,
|
|
447
|
-
connection: "source"
|
|
448
|
-
}
|
|
449
|
-
]
|
|
450
|
-
};
|
|
451
|
-
}
|
|
452
|
-
isHandleAllowed(type) {
|
|
453
|
-
return type === "source";
|
|
454
|
-
}
|
|
455
|
-
getHandleAllowedDataType() {
|
|
456
|
-
return 8 /* module */;
|
|
457
|
-
}
|
|
372
|
+
{
|
|
373
|
+
position: Position3.Right,
|
|
374
|
+
dataType: "module" /* module */,
|
|
375
|
+
connection: "source"
|
|
376
|
+
}
|
|
377
|
+
]
|
|
378
|
+
};
|
|
458
379
|
};
|
|
459
380
|
|
|
460
381
|
// src/templates/generators/noise-perlin-template.ts
|
|
461
|
-
import {
|
|
382
|
+
import { CoreHandleType as CoreHandleType2 } from "@awesome-flow/core/abstract";
|
|
462
383
|
import { Position as Position4 } from "@xyflow/system";
|
|
463
384
|
var NoisePerlinNodeTemplateFactory = class {
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
385
|
+
template = {
|
|
386
|
+
type: "noise-perlin" /* noisePerlin */,
|
|
387
|
+
group: "Noise Generators" /* noiseGenerators */,
|
|
388
|
+
data: {
|
|
389
|
+
title: "Perlin Noise",
|
|
390
|
+
frequency: 0.1,
|
|
391
|
+
lacunarity: 2,
|
|
392
|
+
octaves: 5,
|
|
393
|
+
persistence: 0.5,
|
|
394
|
+
seed: 0
|
|
395
|
+
},
|
|
396
|
+
handles: [
|
|
397
|
+
{
|
|
398
|
+
position: Position4.Left,
|
|
399
|
+
dataType: CoreHandleType2.variableProperty,
|
|
400
|
+
connection: "target"
|
|
476
401
|
},
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
position: Position4.Right,
|
|
485
|
-
dataType: 8 /* module */,
|
|
486
|
-
connection: "source"
|
|
487
|
-
}
|
|
488
|
-
]
|
|
489
|
-
};
|
|
490
|
-
}
|
|
491
|
-
isHandleAllowed(type) {
|
|
492
|
-
return type === "source";
|
|
493
|
-
}
|
|
494
|
-
getHandleAllowedDataType() {
|
|
495
|
-
return 8 /* module */;
|
|
496
|
-
}
|
|
402
|
+
{
|
|
403
|
+
position: Position4.Right,
|
|
404
|
+
dataType: "module" /* module */,
|
|
405
|
+
connection: "source"
|
|
406
|
+
}
|
|
407
|
+
]
|
|
408
|
+
};
|
|
497
409
|
};
|
|
498
410
|
|
|
499
411
|
// src/templates/generators/noise-ridgedmulti-template.ts
|
|
500
|
-
import {
|
|
412
|
+
import { CoreHandleType as CoreHandleType3 } from "@awesome-flow/core/abstract";
|
|
501
413
|
import { Position as Position5 } from "@xyflow/system";
|
|
502
414
|
var NoiseRidgedMultiNodeTemplateFactory = class {
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
415
|
+
template = {
|
|
416
|
+
type: "noise-ridged-multi" /* noiseRidgedMulti */,
|
|
417
|
+
group: "Noise Generators" /* noiseGenerators */,
|
|
418
|
+
data: {
|
|
419
|
+
title: "Ridged Multi Noise",
|
|
420
|
+
frequency: 0.1,
|
|
421
|
+
lacunarity: 2,
|
|
422
|
+
octaves: 6,
|
|
423
|
+
offset: 1,
|
|
424
|
+
gain: 2,
|
|
425
|
+
seed: 0
|
|
426
|
+
},
|
|
427
|
+
handles: [
|
|
428
|
+
{
|
|
429
|
+
position: Position5.Left,
|
|
430
|
+
dataType: CoreHandleType3.variableProperty,
|
|
431
|
+
connection: "target"
|
|
516
432
|
},
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
position: Position5.Right,
|
|
525
|
-
dataType: 8 /* module */,
|
|
526
|
-
connection: "source"
|
|
527
|
-
}
|
|
528
|
-
]
|
|
529
|
-
};
|
|
530
|
-
}
|
|
531
|
-
isHandleAllowed(type) {
|
|
532
|
-
return type === "source";
|
|
533
|
-
}
|
|
534
|
-
getHandleAllowedDataType() {
|
|
535
|
-
return 8 /* module */;
|
|
536
|
-
}
|
|
433
|
+
{
|
|
434
|
+
position: Position5.Right,
|
|
435
|
+
dataType: "module" /* module */,
|
|
436
|
+
connection: "source"
|
|
437
|
+
}
|
|
438
|
+
]
|
|
439
|
+
};
|
|
537
440
|
};
|
|
538
441
|
|
|
539
442
|
// src/templates/generators/noise-simplex-template.ts
|
|
540
|
-
import {
|
|
443
|
+
import {
|
|
444
|
+
CoreHandleType as CoreHandleType4
|
|
445
|
+
} from "@awesome-flow/core/abstract";
|
|
541
446
|
import { Position as Position6 } from "@xyflow/system";
|
|
542
447
|
var NoiseSimplexNodeTemplateFactory = class {
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
448
|
+
template = {
|
|
449
|
+
type: "noise-simplex" /* noiseSimplex */,
|
|
450
|
+
group: "Noise Generators" /* noiseGenerators */,
|
|
451
|
+
data: {
|
|
452
|
+
title: "Simplex Noise"
|
|
453
|
+
},
|
|
454
|
+
handles: [
|
|
455
|
+
{
|
|
456
|
+
position: Position6.Left,
|
|
457
|
+
dataType: CoreHandleType4.variableProperty,
|
|
458
|
+
connection: "target"
|
|
550
459
|
},
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
position: Position6.Right,
|
|
559
|
-
dataType: 8 /* module */,
|
|
560
|
-
connection: "source"
|
|
561
|
-
}
|
|
562
|
-
]
|
|
563
|
-
};
|
|
564
|
-
}
|
|
565
|
-
isHandleAllowed(type) {
|
|
566
|
-
return type === "source";
|
|
567
|
-
}
|
|
568
|
-
getHandleAllowedDataType() {
|
|
569
|
-
return 8 /* module */;
|
|
570
|
-
}
|
|
460
|
+
{
|
|
461
|
+
position: Position6.Right,
|
|
462
|
+
dataType: "module" /* module */,
|
|
463
|
+
connection: "source"
|
|
464
|
+
}
|
|
465
|
+
]
|
|
466
|
+
};
|
|
571
467
|
};
|
|
572
468
|
|
|
573
469
|
// src/templates/generators/noise-spheres-template.ts
|
|
574
|
-
import {
|
|
470
|
+
import { CoreHandleType as CoreHandleType5 } from "@awesome-flow/core/abstract";
|
|
575
471
|
import { Position as Position7 } from "@xyflow/system";
|
|
576
472
|
var NoiseSpheresNodeTemplateFactory = class {
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
473
|
+
template = {
|
|
474
|
+
type: "noise-spheres" /* noiseSpheres */,
|
|
475
|
+
group: "Noise Generators" /* noiseGenerators */,
|
|
476
|
+
data: {
|
|
477
|
+
title: "Spheres Noise",
|
|
478
|
+
frequency: 0.1
|
|
479
|
+
},
|
|
480
|
+
handles: [
|
|
481
|
+
{
|
|
482
|
+
position: Position7.Left,
|
|
483
|
+
dataType: CoreHandleType5.variableProperty,
|
|
484
|
+
connection: "target"
|
|
585
485
|
},
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
position: Position7.Right,
|
|
594
|
-
dataType: 8 /* module */,
|
|
595
|
-
connection: "source"
|
|
596
|
-
}
|
|
597
|
-
]
|
|
598
|
-
};
|
|
599
|
-
}
|
|
600
|
-
isHandleAllowed(type) {
|
|
601
|
-
return type === "source";
|
|
602
|
-
}
|
|
603
|
-
getHandleAllowedDataType() {
|
|
604
|
-
return 8 /* module */;
|
|
605
|
-
}
|
|
486
|
+
{
|
|
487
|
+
position: Position7.Right,
|
|
488
|
+
dataType: "module" /* module */,
|
|
489
|
+
connection: "source"
|
|
490
|
+
}
|
|
491
|
+
]
|
|
492
|
+
};
|
|
606
493
|
};
|
|
607
494
|
|
|
608
495
|
// src/templates/generators/noise-voronoi-template.ts
|
|
609
|
-
import {
|
|
496
|
+
import { CoreHandleType as CoreHandleType6 } from "@awesome-flow/core/abstract";
|
|
610
497
|
import { Position as Position8 } from "@xyflow/system";
|
|
611
498
|
var NoiseVoronoiNodeTemplateFactory = class {
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
499
|
+
template = {
|
|
500
|
+
type: "noise-voronoi" /* noiseVoronoi */,
|
|
501
|
+
group: "Noise Generators" /* noiseGenerators */,
|
|
502
|
+
data: {
|
|
503
|
+
title: "Voronoi Noise",
|
|
504
|
+
frequency: 0.1,
|
|
505
|
+
displacement: 1,
|
|
506
|
+
distance: true,
|
|
507
|
+
seed: 0
|
|
508
|
+
},
|
|
509
|
+
handles: [
|
|
510
|
+
{
|
|
511
|
+
position: Position8.Left,
|
|
512
|
+
dataType: CoreHandleType6.variableProperty,
|
|
513
|
+
connection: "target"
|
|
623
514
|
},
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
position: Position8.Right,
|
|
632
|
-
dataType: 8 /* module */,
|
|
633
|
-
connection: "source"
|
|
634
|
-
}
|
|
635
|
-
]
|
|
636
|
-
};
|
|
637
|
-
}
|
|
638
|
-
isHandleAllowed(type) {
|
|
639
|
-
return type === "source";
|
|
640
|
-
}
|
|
641
|
-
getHandleAllowedDataType() {
|
|
642
|
-
return 8 /* module */;
|
|
643
|
-
}
|
|
515
|
+
{
|
|
516
|
+
position: Position8.Right,
|
|
517
|
+
dataType: "module" /* module */,
|
|
518
|
+
connection: "source"
|
|
519
|
+
}
|
|
520
|
+
]
|
|
521
|
+
};
|
|
644
522
|
};
|
|
645
523
|
|
|
646
524
|
// src/templates/generators/position-const-template.ts
|
|
647
|
-
import { IDGenerator as IDGenerator9 } from "@awesome-flow/core/utils";
|
|
648
525
|
import { Position as Position9 } from "@xyflow/system";
|
|
649
526
|
var PositionConstNodeTemplateFactory = class {
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
]
|
|
666
|
-
};
|
|
667
|
-
}
|
|
668
|
-
isHandleAllowed(type) {
|
|
669
|
-
return type === "source";
|
|
670
|
-
}
|
|
671
|
-
getHandleAllowedDataType(type) {
|
|
672
|
-
return 4 /* position */;
|
|
673
|
-
}
|
|
527
|
+
template = {
|
|
528
|
+
type: "position" /* position */,
|
|
529
|
+
group: "Positions" /* positions */,
|
|
530
|
+
data: {
|
|
531
|
+
title: "Position Output",
|
|
532
|
+
position: { x: 0, y: 0, z: 0 }
|
|
533
|
+
},
|
|
534
|
+
handles: [
|
|
535
|
+
{
|
|
536
|
+
position: Position9.Right,
|
|
537
|
+
dataType: "position" /* position */,
|
|
538
|
+
connection: "source"
|
|
539
|
+
}
|
|
540
|
+
]
|
|
541
|
+
};
|
|
674
542
|
};
|
|
675
543
|
|
|
676
544
|
// src/templates/generators/position-grid-template.ts
|
|
677
|
-
import { IDGenerator as IDGenerator10 } from "@awesome-flow/core/utils";
|
|
678
545
|
import { Position as Position10 } from "@xyflow/system";
|
|
679
546
|
var PositionGridNodeTemplateFactory = class {
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
]
|
|
697
|
-
};
|
|
698
|
-
}
|
|
699
|
-
isHandleAllowed(type) {
|
|
700
|
-
return type === "source";
|
|
701
|
-
}
|
|
702
|
-
getHandleAllowedDataType(type) {
|
|
703
|
-
return 4 /* position */;
|
|
704
|
-
}
|
|
547
|
+
template = {
|
|
548
|
+
type: "grid" /* grid */,
|
|
549
|
+
group: "Positions" /* positions */,
|
|
550
|
+
data: {
|
|
551
|
+
title: "Grid Output",
|
|
552
|
+
center: { x: 0, y: 0, z: 0 },
|
|
553
|
+
radius: 1
|
|
554
|
+
},
|
|
555
|
+
handles: [
|
|
556
|
+
{
|
|
557
|
+
position: Position10.Right,
|
|
558
|
+
dataType: "position" /* position */,
|
|
559
|
+
connection: "source"
|
|
560
|
+
}
|
|
561
|
+
]
|
|
562
|
+
};
|
|
705
563
|
};
|
|
706
564
|
|
|
707
565
|
// src/templates/modifiers/noise-normalize-template.ts
|
|
708
|
-
import { IDGenerator
|
|
566
|
+
import { IDGenerator } from "@awesome-flow/core/utils";
|
|
709
567
|
import { Position as Position11 } from "@xyflow/system";
|
|
710
568
|
var NoiseNormalizeNodeTemplateFactory = class {
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
569
|
+
template = {
|
|
570
|
+
id: IDGenerator.template(),
|
|
571
|
+
type: "noise-normalize" /* noiseNormalize */,
|
|
572
|
+
group: "Noise Modifiers" /* noiseModifiers */,
|
|
573
|
+
data: {
|
|
574
|
+
title: "Normalize Noise",
|
|
575
|
+
intervalStart: -1,
|
|
576
|
+
intervalEnd: 1
|
|
577
|
+
},
|
|
578
|
+
handles: [
|
|
579
|
+
{
|
|
580
|
+
position: Position11.Left,
|
|
581
|
+
dataType: "module" /* module */,
|
|
582
|
+
connection: "target",
|
|
583
|
+
maxConnections: 1
|
|
719
584
|
},
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
{
|
|
728
|
-
position: Position11.Right,
|
|
729
|
-
dataType: 8 /* module */,
|
|
730
|
-
connection: "source"
|
|
731
|
-
}
|
|
732
|
-
]
|
|
733
|
-
};
|
|
734
|
-
}
|
|
735
|
-
isHandleAllowed() {
|
|
736
|
-
return true;
|
|
737
|
-
}
|
|
738
|
-
getHandleAllowedDataType(type) {
|
|
739
|
-
return 8 /* module */;
|
|
740
|
-
}
|
|
585
|
+
{
|
|
586
|
+
position: Position11.Right,
|
|
587
|
+
dataType: "module" /* module */,
|
|
588
|
+
connection: "source"
|
|
589
|
+
}
|
|
590
|
+
]
|
|
591
|
+
};
|
|
741
592
|
};
|
|
742
593
|
|
|
743
594
|
// src/templates/output/noise-logger-template.ts
|
|
744
|
-
import { IDGenerator as IDGenerator12 } from "@awesome-flow/core/utils";
|
|
745
595
|
import { Position as Position12 } from "@xyflow/system";
|
|
746
596
|
var NoiseLoggerNodeTemplateFactory = class {
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
]
|
|
762
|
-
};
|
|
763
|
-
}
|
|
764
|
-
isHandleAllowed(type) {
|
|
765
|
-
return type === "target";
|
|
766
|
-
}
|
|
767
|
-
getHandleAllowedDataType(type) {
|
|
768
|
-
return 2 /* noise */;
|
|
769
|
-
}
|
|
597
|
+
template = {
|
|
598
|
+
type: "noise-logger" /* noiseLogger */,
|
|
599
|
+
group: "Output" /* output */,
|
|
600
|
+
data: {
|
|
601
|
+
title: "Noise Logger"
|
|
602
|
+
},
|
|
603
|
+
handles: [
|
|
604
|
+
{
|
|
605
|
+
position: Position12.Left,
|
|
606
|
+
dataType: "noise" /* noise */,
|
|
607
|
+
connection: "target"
|
|
608
|
+
}
|
|
609
|
+
]
|
|
610
|
+
};
|
|
770
611
|
};
|
|
771
612
|
|
|
772
613
|
// src/templates/output/noise-raw-texture-template.ts
|
|
773
|
-
import { IDGenerator as IDGenerator13 } from "@awesome-flow/core/utils";
|
|
774
614
|
import { Position as Position13 } from "@xyflow/system";
|
|
775
615
|
var NoiseRawTextureTemplateFactory = class {
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
616
|
+
template = {
|
|
617
|
+
type: "texture-data" /* textureData */,
|
|
618
|
+
group: "Output" /* output */,
|
|
619
|
+
data: {
|
|
620
|
+
title: "Texture Data"
|
|
621
|
+
},
|
|
622
|
+
handles: [
|
|
623
|
+
{
|
|
624
|
+
position: Position13.Left,
|
|
625
|
+
dataType: "noise" /* noise */,
|
|
626
|
+
connection: "target",
|
|
627
|
+
maxConnections: 1
|
|
783
628
|
},
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
{
|
|
792
|
-
position: Position13.Right,
|
|
793
|
-
dataType: 1 /* texture */,
|
|
794
|
-
connection: "source"
|
|
795
|
-
}
|
|
796
|
-
]
|
|
797
|
-
};
|
|
798
|
-
}
|
|
799
|
-
isHandleAllowed() {
|
|
800
|
-
return true;
|
|
801
|
-
}
|
|
802
|
-
getHandleAllowedDataType(type) {
|
|
803
|
-
switch (type) {
|
|
804
|
-
case "source":
|
|
805
|
-
return 1 /* texture */;
|
|
806
|
-
case "target":
|
|
807
|
-
return 2 /* noise */;
|
|
808
|
-
}
|
|
809
|
-
}
|
|
629
|
+
{
|
|
630
|
+
position: Position13.Right,
|
|
631
|
+
dataType: "texture" /* texture */,
|
|
632
|
+
connection: "source"
|
|
633
|
+
}
|
|
634
|
+
]
|
|
635
|
+
};
|
|
810
636
|
};
|
|
811
637
|
|
|
812
638
|
// src/templates/output/position-logger-template.ts
|
|
813
|
-
import { IDGenerator as IDGenerator14 } from "@awesome-flow/core/utils";
|
|
814
639
|
import { Position as Position14 } from "@xyflow/system";
|
|
815
640
|
var PositionLoggerNodeTemplateFactory = class {
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
]
|
|
831
|
-
};
|
|
832
|
-
}
|
|
833
|
-
isHandleAllowed(type) {
|
|
834
|
-
return type === "target";
|
|
835
|
-
}
|
|
836
|
-
getHandleAllowedDataType(type) {
|
|
837
|
-
return 4 /* position */;
|
|
838
|
-
}
|
|
641
|
+
template = {
|
|
642
|
+
type: "position-logger" /* positionLogger */,
|
|
643
|
+
group: "Positions" /* positions */,
|
|
644
|
+
data: {
|
|
645
|
+
title: "Position Logger"
|
|
646
|
+
},
|
|
647
|
+
handles: [
|
|
648
|
+
{
|
|
649
|
+
position: Position14.Left,
|
|
650
|
+
dataType: "position" /* position */,
|
|
651
|
+
connection: "target"
|
|
652
|
+
}
|
|
653
|
+
]
|
|
654
|
+
};
|
|
839
655
|
};
|
|
840
656
|
|
|
841
657
|
// src/templates/modifiers/noise-combine-template.ts
|
|
842
|
-
import { IDGenerator as IDGenerator15 } from "@awesome-flow/core/utils";
|
|
843
658
|
import { Position as Position15 } from "@xyflow/system";
|
|
844
659
|
var NoiseCombineNodeTemplateFactory = class {
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
660
|
+
template = {
|
|
661
|
+
type: "noise-combiner" /* noiseCombine */,
|
|
662
|
+
group: "Noise Modifiers" /* noiseModifiers */,
|
|
663
|
+
data: {
|
|
664
|
+
title: "Combine Noise",
|
|
665
|
+
operation: "add" /* add */
|
|
666
|
+
},
|
|
667
|
+
handles: [
|
|
668
|
+
{
|
|
669
|
+
position: Position15.Left,
|
|
670
|
+
dataType: "module" /* module */,
|
|
671
|
+
connection: "target",
|
|
672
|
+
maxConnections: 2
|
|
853
673
|
},
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
{
|
|
862
|
-
position: Position15.Right,
|
|
863
|
-
dataType: 8 /* module */,
|
|
864
|
-
connection: "source"
|
|
865
|
-
}
|
|
866
|
-
]
|
|
867
|
-
};
|
|
868
|
-
}
|
|
869
|
-
isHandleAllowed() {
|
|
870
|
-
return true;
|
|
871
|
-
}
|
|
872
|
-
getHandleAllowedDataType(type) {
|
|
873
|
-
return 8 /* module */;
|
|
874
|
-
}
|
|
674
|
+
{
|
|
675
|
+
position: Position15.Right,
|
|
676
|
+
dataType: "module" /* module */,
|
|
677
|
+
connection: "source"
|
|
678
|
+
}
|
|
679
|
+
]
|
|
680
|
+
};
|
|
875
681
|
};
|
|
876
682
|
|
|
877
683
|
// src/templates/modifiers/noise-clamp-template.ts
|
|
878
|
-
import { IDGenerator as IDGenerator16 } from "@awesome-flow/core/utils";
|
|
879
684
|
import { Position as Position16 } from "@xyflow/system";
|
|
880
685
|
var NoiseClampNodeTemplateFactory = class {
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
686
|
+
template = {
|
|
687
|
+
type: "noise-clamp" /* noiseClamp */,
|
|
688
|
+
group: "Noise Modifiers" /* noiseModifiers */,
|
|
689
|
+
data: {
|
|
690
|
+
title: "Clamp Noise",
|
|
691
|
+
lowerBound: -1,
|
|
692
|
+
upperBound: 1
|
|
693
|
+
},
|
|
694
|
+
handles: [
|
|
695
|
+
{
|
|
696
|
+
position: Position16.Left,
|
|
697
|
+
dataType: "module" /* module */,
|
|
698
|
+
connection: "target",
|
|
699
|
+
maxConnections: 1
|
|
890
700
|
},
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
{
|
|
899
|
-
position: Position16.Right,
|
|
900
|
-
dataType: 8 /* module */,
|
|
901
|
-
connection: "source"
|
|
902
|
-
}
|
|
903
|
-
]
|
|
904
|
-
};
|
|
905
|
-
}
|
|
906
|
-
isHandleAllowed() {
|
|
907
|
-
return true;
|
|
908
|
-
}
|
|
909
|
-
getHandleAllowedDataType(type) {
|
|
910
|
-
return 8 /* module */;
|
|
911
|
-
}
|
|
701
|
+
{
|
|
702
|
+
position: Position16.Right,
|
|
703
|
+
dataType: "module" /* module */,
|
|
704
|
+
connection: "source"
|
|
705
|
+
}
|
|
706
|
+
]
|
|
707
|
+
};
|
|
912
708
|
};
|
|
913
709
|
|
|
914
710
|
// src/templates/modifiers/noise-abs-template.ts
|
|
915
|
-
import { IDGenerator as IDGenerator17 } from "@awesome-flow/core/utils";
|
|
916
711
|
import { Position as Position17 } from "@xyflow/system";
|
|
917
712
|
var NoiseAbsNodeTemplateFactory = class {
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
713
|
+
template = {
|
|
714
|
+
type: "noise-abs" /* noiseAbs */,
|
|
715
|
+
group: "Noise Modifiers" /* noiseModifiers */,
|
|
716
|
+
data: {
|
|
717
|
+
title: "Abs Noise"
|
|
718
|
+
},
|
|
719
|
+
handles: [
|
|
720
|
+
{
|
|
721
|
+
position: Position17.Left,
|
|
722
|
+
dataType: "module" /* module */,
|
|
723
|
+
connection: "target",
|
|
724
|
+
maxConnections: 1
|
|
925
725
|
},
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
{
|
|
934
|
-
position: Position17.Right,
|
|
935
|
-
dataType: 8 /* module */,
|
|
936
|
-
connection: "source"
|
|
937
|
-
}
|
|
938
|
-
]
|
|
939
|
-
};
|
|
940
|
-
}
|
|
941
|
-
isHandleAllowed() {
|
|
942
|
-
return true;
|
|
943
|
-
}
|
|
944
|
-
getHandleAllowedDataType(type) {
|
|
945
|
-
return 8 /* module */;
|
|
946
|
-
}
|
|
726
|
+
{
|
|
727
|
+
position: Position17.Right,
|
|
728
|
+
dataType: "module" /* module */,
|
|
729
|
+
connection: "source"
|
|
730
|
+
}
|
|
731
|
+
]
|
|
732
|
+
};
|
|
947
733
|
};
|
|
948
734
|
|
|
949
735
|
// src/templates/output/noise-output-template.ts
|
|
950
|
-
import { IDGenerator as IDGenerator18 } from "@awesome-flow/core/utils";
|
|
951
736
|
import { Position as Position18 } from "@xyflow/system";
|
|
952
737
|
var NoiseOutputNodeTemplateFactory = class {
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
738
|
+
template = {
|
|
739
|
+
type: "noise-output" /* noiseOutput */,
|
|
740
|
+
group: "Output" /* output */,
|
|
741
|
+
data: {
|
|
742
|
+
title: "Noise Output"
|
|
743
|
+
},
|
|
744
|
+
handles: [
|
|
745
|
+
{
|
|
746
|
+
position: Position18.Left,
|
|
747
|
+
dataType: "position" /* position */,
|
|
748
|
+
connection: "target"
|
|
749
|
+
},
|
|
750
|
+
{
|
|
751
|
+
position: Position18.Left,
|
|
752
|
+
dataType: "module" /* module */,
|
|
753
|
+
connection: "target",
|
|
754
|
+
maxConnections: 1
|
|
960
755
|
},
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
position: Position18.Left,
|
|
969
|
-
dataType: 8 /* module */,
|
|
970
|
-
connection: "target",
|
|
971
|
-
maxConnections: 1
|
|
972
|
-
},
|
|
973
|
-
{
|
|
974
|
-
position: Position18.Right,
|
|
975
|
-
dataType: 2 /* noise */,
|
|
976
|
-
connection: "source"
|
|
977
|
-
}
|
|
978
|
-
]
|
|
979
|
-
};
|
|
980
|
-
}
|
|
981
|
-
isHandleAllowed() {
|
|
982
|
-
return true;
|
|
983
|
-
}
|
|
984
|
-
getHandleAllowedDataType(type) {
|
|
985
|
-
switch (type) {
|
|
986
|
-
case "source":
|
|
987
|
-
return 2 /* noise */;
|
|
988
|
-
case "target":
|
|
989
|
-
return 8 /* module */ & 4 /* position */;
|
|
990
|
-
}
|
|
991
|
-
}
|
|
756
|
+
{
|
|
757
|
+
position: Position18.Right,
|
|
758
|
+
dataType: "noise" /* noise */,
|
|
759
|
+
connection: "source"
|
|
760
|
+
}
|
|
761
|
+
]
|
|
762
|
+
};
|
|
992
763
|
};
|
|
993
764
|
|
|
994
765
|
// src/templates/modifiers/noise-curve-template.ts
|
|
995
|
-
import {
|
|
766
|
+
import { CoreHandleType as CoreHandleType7 } from "@awesome-flow/core/abstract";
|
|
996
767
|
import { Position as Position19 } from "@xyflow/system";
|
|
997
768
|
var NoiseCurveNodeTemplateFactory = class {
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
769
|
+
template = {
|
|
770
|
+
type: "noise-curve" /* noiseCurve */,
|
|
771
|
+
group: "Noise Modifiers" /* noiseModifiers */,
|
|
772
|
+
data: {
|
|
773
|
+
title: "Noise Curve",
|
|
774
|
+
points: []
|
|
775
|
+
},
|
|
776
|
+
handles: [
|
|
777
|
+
{
|
|
778
|
+
position: Position19.Left,
|
|
779
|
+
dataType: "module" /* module */,
|
|
780
|
+
connection: "target",
|
|
781
|
+
maxConnections: 1
|
|
1006
782
|
},
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
]
|
|
1020
|
-
};
|
|
1021
|
-
}
|
|
1022
|
-
isHandleAllowed() {
|
|
1023
|
-
return true;
|
|
1024
|
-
}
|
|
1025
|
-
getHandleAllowedDataType(type) {
|
|
1026
|
-
return 8 /* module */;
|
|
1027
|
-
}
|
|
783
|
+
{
|
|
784
|
+
position: Position19.Left,
|
|
785
|
+
dataType: CoreHandleType7.variableProperty,
|
|
786
|
+
connection: "target"
|
|
787
|
+
},
|
|
788
|
+
{
|
|
789
|
+
position: Position19.Right,
|
|
790
|
+
dataType: "module" /* module */,
|
|
791
|
+
connection: "source"
|
|
792
|
+
}
|
|
793
|
+
]
|
|
794
|
+
};
|
|
1028
795
|
};
|
|
1029
796
|
|
|
1030
797
|
// src/templates/modifiers/noise-exponent-template.ts
|
|
1031
|
-
import { IDGenerator as IDGenerator20 } from "@awesome-flow/core/utils";
|
|
1032
798
|
import { Position as Position20 } from "@xyflow/system";
|
|
1033
799
|
var NoiseExponentNodeTemplateFactory = class {
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
800
|
+
template = {
|
|
801
|
+
type: "noise-exponent" /* noiseExponent */,
|
|
802
|
+
group: "Noise Modifiers" /* noiseModifiers */,
|
|
803
|
+
data: {
|
|
804
|
+
title: "Noise Exponent",
|
|
805
|
+
exponent: 1
|
|
806
|
+
},
|
|
807
|
+
handles: [
|
|
808
|
+
{
|
|
809
|
+
position: Position20.Left,
|
|
810
|
+
dataType: "module" /* module */,
|
|
811
|
+
connection: "target",
|
|
812
|
+
maxConnections: 1
|
|
1042
813
|
},
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
{
|
|
1051
|
-
position: Position20.Right,
|
|
1052
|
-
dataType: 8 /* module */,
|
|
1053
|
-
connection: "source"
|
|
1054
|
-
}
|
|
1055
|
-
]
|
|
1056
|
-
};
|
|
1057
|
-
}
|
|
1058
|
-
isHandleAllowed() {
|
|
1059
|
-
return true;
|
|
1060
|
-
}
|
|
1061
|
-
getHandleAllowedDataType(type) {
|
|
1062
|
-
return 8 /* module */;
|
|
1063
|
-
}
|
|
814
|
+
{
|
|
815
|
+
position: Position20.Right,
|
|
816
|
+
dataType: "module" /* module */,
|
|
817
|
+
connection: "source"
|
|
818
|
+
}
|
|
819
|
+
]
|
|
820
|
+
};
|
|
1064
821
|
};
|
|
1065
822
|
|
|
1066
823
|
// src/templates/modifiers/noise-invert-template.ts
|
|
1067
|
-
import { IDGenerator as IDGenerator21 } from "@awesome-flow/core/utils";
|
|
1068
824
|
import { Position as Position21 } from "@xyflow/system";
|
|
1069
825
|
var NoiseInvertNodeTemplateFactory = class {
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
826
|
+
template = {
|
|
827
|
+
type: "noise-invert" /* noiseInvert */,
|
|
828
|
+
group: "Noise Modifiers" /* noiseModifiers */,
|
|
829
|
+
data: {
|
|
830
|
+
title: "Invert Noise"
|
|
831
|
+
},
|
|
832
|
+
handles: [
|
|
833
|
+
{
|
|
834
|
+
position: Position21.Left,
|
|
835
|
+
dataType: "module" /* module */,
|
|
836
|
+
connection: "target",
|
|
837
|
+
maxConnections: 1
|
|
1077
838
|
},
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
{
|
|
1086
|
-
position: Position21.Right,
|
|
1087
|
-
dataType: 8 /* module */,
|
|
1088
|
-
connection: "source"
|
|
1089
|
-
}
|
|
1090
|
-
]
|
|
1091
|
-
};
|
|
1092
|
-
}
|
|
1093
|
-
isHandleAllowed() {
|
|
1094
|
-
return true;
|
|
1095
|
-
}
|
|
1096
|
-
getHandleAllowedDataType(type) {
|
|
1097
|
-
return 8 /* module */;
|
|
1098
|
-
}
|
|
839
|
+
{
|
|
840
|
+
position: Position21.Right,
|
|
841
|
+
dataType: "module" /* module */,
|
|
842
|
+
connection: "source"
|
|
843
|
+
}
|
|
844
|
+
]
|
|
845
|
+
};
|
|
1099
846
|
};
|
|
1100
847
|
|
|
1101
848
|
// src/templates/modifiers/noise-scalebias-template.ts
|
|
1102
|
-
import { IDGenerator as IDGenerator22 } from "@awesome-flow/core/utils";
|
|
1103
849
|
import { Position as Position22 } from "@xyflow/system";
|
|
1104
850
|
var NoiseScaleBiasNodeTemplateFactory = class {
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
851
|
+
template = {
|
|
852
|
+
type: "noise-scale-bias" /* noiseScaleBias */,
|
|
853
|
+
group: "Noise Modifiers" /* noiseModifiers */,
|
|
854
|
+
data: {
|
|
855
|
+
title: "Scale/Bias Noise",
|
|
856
|
+
scale: 1,
|
|
857
|
+
bias: 0
|
|
858
|
+
},
|
|
859
|
+
handles: [
|
|
860
|
+
{
|
|
861
|
+
position: Position22.Left,
|
|
862
|
+
dataType: "module" /* module */,
|
|
863
|
+
connection: "target",
|
|
864
|
+
maxConnections: 1
|
|
1114
865
|
},
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
{
|
|
1123
|
-
position: Position22.Right,
|
|
1124
|
-
dataType: 8 /* module */,
|
|
1125
|
-
connection: "source"
|
|
1126
|
-
}
|
|
1127
|
-
]
|
|
1128
|
-
};
|
|
1129
|
-
}
|
|
1130
|
-
isHandleAllowed() {
|
|
1131
|
-
return true;
|
|
1132
|
-
}
|
|
1133
|
-
getHandleAllowedDataType(type) {
|
|
1134
|
-
return 8 /* module */;
|
|
1135
|
-
}
|
|
866
|
+
{
|
|
867
|
+
position: Position22.Right,
|
|
868
|
+
dataType: "module" /* module */,
|
|
869
|
+
connection: "source"
|
|
870
|
+
}
|
|
871
|
+
]
|
|
872
|
+
};
|
|
1136
873
|
};
|
|
1137
874
|
|
|
1138
875
|
// src/templates/modifiers/noise-terrace-template.ts
|
|
1139
|
-
import { IDGenerator as IDGenerator23 } from "@awesome-flow/core/utils";
|
|
1140
876
|
import { Position as Position23 } from "@xyflow/system";
|
|
1141
877
|
var NoiseTerraceNodeTemplateFactory = class {
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
878
|
+
template = {
|
|
879
|
+
type: "noise-terrace" /* noiseTerrace */,
|
|
880
|
+
group: "Noise Modifiers" /* noiseModifiers */,
|
|
881
|
+
data: {
|
|
882
|
+
title: "Noise Terrace",
|
|
883
|
+
points: []
|
|
884
|
+
},
|
|
885
|
+
handles: [
|
|
886
|
+
{
|
|
887
|
+
position: Position23.Left,
|
|
888
|
+
dataType: "module" /* module */,
|
|
889
|
+
connection: "target",
|
|
890
|
+
maxConnections: 1
|
|
1150
891
|
},
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
{
|
|
1159
|
-
position: Position23.Right,
|
|
1160
|
-
dataType: 8 /* module */,
|
|
1161
|
-
connection: "source"
|
|
1162
|
-
}
|
|
1163
|
-
]
|
|
1164
|
-
};
|
|
1165
|
-
}
|
|
1166
|
-
isHandleAllowed() {
|
|
1167
|
-
return true;
|
|
1168
|
-
}
|
|
1169
|
-
getHandleAllowedDataType(type) {
|
|
1170
|
-
return 8 /* module */;
|
|
1171
|
-
}
|
|
892
|
+
{
|
|
893
|
+
position: Position23.Right,
|
|
894
|
+
dataType: "module" /* module */,
|
|
895
|
+
connection: "source"
|
|
896
|
+
}
|
|
897
|
+
]
|
|
898
|
+
};
|
|
1172
899
|
};
|
|
1173
900
|
|
|
1174
901
|
// src/templates/selectors/noise-blend-template.ts
|
|
1175
|
-
import { IDGenerator as IDGenerator24 } from "@awesome-flow/core/utils";
|
|
1176
902
|
import { Position as Position24 } from "@xyflow/system";
|
|
1177
903
|
var NoiseBlendNodeTemplateFactory = class {
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
904
|
+
template = {
|
|
905
|
+
type: "noise-blend" /* noiseBlend */,
|
|
906
|
+
group: "Noise Selectors" /* noiseSelectors */,
|
|
907
|
+
data: {
|
|
908
|
+
title: "Noise Blend"
|
|
909
|
+
},
|
|
910
|
+
handles: [
|
|
911
|
+
{
|
|
912
|
+
position: Position24.Left,
|
|
913
|
+
dataType: "module" /* module */,
|
|
914
|
+
connection: "target",
|
|
915
|
+
label: "Source Modules",
|
|
916
|
+
dataId: "source" /* source */,
|
|
917
|
+
maxConnections: 2,
|
|
918
|
+
minConnections: 2
|
|
919
|
+
},
|
|
920
|
+
{
|
|
921
|
+
position: Position24.Left,
|
|
922
|
+
dataType: "module" /* module */,
|
|
923
|
+
dataId: "control" /* control */,
|
|
924
|
+
connection: "target",
|
|
925
|
+
label: "Control Module",
|
|
926
|
+
maxConnections: 1
|
|
1185
927
|
},
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
{
|
|
1195
|
-
position: Position24.Left,
|
|
1196
|
-
dataType: 8 /* module */,
|
|
1197
|
-
connection: "target",
|
|
1198
|
-
label: "Control Module",
|
|
1199
|
-
maxConnections: 1
|
|
1200
|
-
},
|
|
1201
|
-
{
|
|
1202
|
-
position: Position24.Right,
|
|
1203
|
-
dataType: 8 /* module */,
|
|
1204
|
-
connection: "source"
|
|
1205
|
-
}
|
|
1206
|
-
]
|
|
1207
|
-
};
|
|
1208
|
-
}
|
|
1209
|
-
isHandleAllowed() {
|
|
1210
|
-
return true;
|
|
1211
|
-
}
|
|
1212
|
-
getHandleAllowedDataType() {
|
|
1213
|
-
return 8 /* module */;
|
|
1214
|
-
}
|
|
928
|
+
{
|
|
929
|
+
position: Position24.Right,
|
|
930
|
+
dataType: "module" /* module */,
|
|
931
|
+
dataId: "output" /* output */,
|
|
932
|
+
connection: "source"
|
|
933
|
+
}
|
|
934
|
+
]
|
|
935
|
+
};
|
|
1215
936
|
};
|
|
1216
937
|
|
|
1217
938
|
// src/templates/selectors/noise-select-template.ts
|
|
1218
|
-
import { IDGenerator as IDGenerator25 } from "@awesome-flow/core/utils";
|
|
1219
939
|
import { Position as Position25 } from "@xyflow/system";
|
|
1220
940
|
var NoiseSelectNodeTemplateFactory = class {
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
941
|
+
template = {
|
|
942
|
+
type: "noise-select" /* noiseSelect */,
|
|
943
|
+
group: "Noise Selectors" /* noiseSelectors */,
|
|
944
|
+
data: {
|
|
945
|
+
title: "Noise Select",
|
|
946
|
+
edgeFalloff: 0,
|
|
947
|
+
lowerBound: -1,
|
|
948
|
+
upperBound: 1
|
|
949
|
+
},
|
|
950
|
+
handles: [
|
|
951
|
+
{
|
|
952
|
+
position: Position25.Left,
|
|
953
|
+
dataType: "module" /* module */,
|
|
954
|
+
dataId: "source" /* source */,
|
|
955
|
+
connection: "target",
|
|
956
|
+
label: "Source Modules",
|
|
957
|
+
maxConnections: 2,
|
|
958
|
+
minConnections: 2
|
|
1231
959
|
},
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
position: Position25.Right,
|
|
1249
|
-
dataType: 8 /* module */,
|
|
1250
|
-
connection: "source"
|
|
1251
|
-
}
|
|
1252
|
-
]
|
|
1253
|
-
};
|
|
1254
|
-
}
|
|
1255
|
-
isHandleAllowed() {
|
|
1256
|
-
return true;
|
|
1257
|
-
}
|
|
1258
|
-
getHandleAllowedDataType() {
|
|
1259
|
-
return 8 /* module */;
|
|
1260
|
-
}
|
|
960
|
+
{
|
|
961
|
+
position: Position25.Left,
|
|
962
|
+
dataType: "module" /* module */,
|
|
963
|
+
dataId: "control" /* control */,
|
|
964
|
+
connection: "target",
|
|
965
|
+
label: "Control Module",
|
|
966
|
+
maxConnections: 1
|
|
967
|
+
},
|
|
968
|
+
{
|
|
969
|
+
position: Position25.Right,
|
|
970
|
+
dataType: "module" /* module */,
|
|
971
|
+
dataId: "output" /* output */,
|
|
972
|
+
connection: "source"
|
|
973
|
+
}
|
|
974
|
+
]
|
|
975
|
+
};
|
|
1261
976
|
};
|
|
1262
977
|
|
|
1263
978
|
// src/templates/transformers/noise-displace-template.ts
|
|
1264
|
-
import { IDGenerator as IDGenerator26 } from "@awesome-flow/core/utils";
|
|
1265
979
|
import { Position as Position26 } from "@xyflow/system";
|
|
1266
980
|
var NoiseDisplaceNodeTemplateFactory = class {
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
981
|
+
template = {
|
|
982
|
+
type: "noise-displace" /* noiseDisplace */,
|
|
983
|
+
group: "Noise Transformers" /* noiseTransformers */,
|
|
984
|
+
data: {
|
|
985
|
+
title: "Noise Displace"
|
|
986
|
+
},
|
|
987
|
+
handles: [
|
|
988
|
+
{
|
|
989
|
+
position: Position26.Left,
|
|
990
|
+
connection: "target",
|
|
991
|
+
label: "Source Module",
|
|
992
|
+
dataType: "module" /* module */,
|
|
993
|
+
dataId: "source" /* sourceModule */,
|
|
994
|
+
maxConnections: 1
|
|
995
|
+
},
|
|
996
|
+
{
|
|
997
|
+
position: Position26.Left,
|
|
998
|
+
connection: "target",
|
|
999
|
+
label: "X Module",
|
|
1000
|
+
dataType: "module" /* module */,
|
|
1001
|
+
dataId: "x-module" /* xModule */,
|
|
1002
|
+
maxConnections: 1
|
|
1003
|
+
},
|
|
1004
|
+
{
|
|
1005
|
+
position: Position26.Left,
|
|
1006
|
+
connection: "target",
|
|
1007
|
+
label: "Y Module",
|
|
1008
|
+
dataType: "module" /* module */,
|
|
1009
|
+
dataId: "y-module" /* yModule */,
|
|
1010
|
+
maxConnections: 1
|
|
1273
1011
|
},
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
},
|
|
1291
|
-
{
|
|
1292
|
-
position: Position26.Left,
|
|
1293
|
-
connection: "target",
|
|
1294
|
-
label: "Y Module",
|
|
1295
|
-
dataType: 8 /* module */,
|
|
1296
|
-
dataId: "y-module" /* yModule */,
|
|
1297
|
-
maxConnections: 1
|
|
1298
|
-
},
|
|
1299
|
-
{
|
|
1300
|
-
position: Position26.Left,
|
|
1301
|
-
connection: "target",
|
|
1302
|
-
label: "Z Module",
|
|
1303
|
-
dataType: 8 /* module */,
|
|
1304
|
-
dataId: "z-module" /* zModule */,
|
|
1305
|
-
maxConnections: 1
|
|
1306
|
-
},
|
|
1307
|
-
{
|
|
1308
|
-
position: Position26.Right,
|
|
1309
|
-
dataType: 8 /* module */,
|
|
1310
|
-
dataId: "output" /* output */,
|
|
1311
|
-
connection: "source"
|
|
1312
|
-
}
|
|
1313
|
-
]
|
|
1314
|
-
};
|
|
1315
|
-
}
|
|
1316
|
-
isHandleAllowed() {
|
|
1317
|
-
return true;
|
|
1318
|
-
}
|
|
1319
|
-
getHandleAllowedDataType() {
|
|
1320
|
-
return 8 /* module */;
|
|
1321
|
-
}
|
|
1012
|
+
{
|
|
1013
|
+
position: Position26.Left,
|
|
1014
|
+
connection: "target",
|
|
1015
|
+
label: "Z Module",
|
|
1016
|
+
dataType: "module" /* module */,
|
|
1017
|
+
dataId: "z-module" /* zModule */,
|
|
1018
|
+
maxConnections: 1
|
|
1019
|
+
},
|
|
1020
|
+
{
|
|
1021
|
+
position: Position26.Right,
|
|
1022
|
+
dataType: "module" /* module */,
|
|
1023
|
+
dataId: "output" /* output */,
|
|
1024
|
+
connection: "source"
|
|
1025
|
+
}
|
|
1026
|
+
]
|
|
1027
|
+
};
|
|
1322
1028
|
};
|
|
1323
1029
|
|
|
1324
1030
|
// src/templates/transformers/noise-rotate-point-template.ts
|
|
1325
|
-
import { IDGenerator as IDGenerator27 } from "@awesome-flow/core/utils";
|
|
1326
1031
|
import { Position as Position27 } from "@xyflow/system";
|
|
1327
1032
|
var NoiseRotatePointNodeTemplateFactory = class {
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1033
|
+
template = {
|
|
1034
|
+
type: "noise-rotate-point" /* noiseRotatePoint */,
|
|
1035
|
+
group: "Noise Transformers" /* noiseTransformers */,
|
|
1036
|
+
data: {
|
|
1037
|
+
title: "Noise Rotate Point",
|
|
1038
|
+
xAngle: 0,
|
|
1039
|
+
yAngle: 0,
|
|
1040
|
+
zAngle: 0
|
|
1041
|
+
},
|
|
1042
|
+
handles: [
|
|
1043
|
+
{
|
|
1044
|
+
position: Position27.Left,
|
|
1045
|
+
dataType: "module" /* module */,
|
|
1046
|
+
connection: "target",
|
|
1047
|
+
label: "Source Module",
|
|
1048
|
+
maxConnections: 1
|
|
1338
1049
|
},
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
},
|
|
1347
|
-
{
|
|
1348
|
-
position: Position27.Right,
|
|
1349
|
-
dataType: 8 /* module */,
|
|
1350
|
-
connection: "source"
|
|
1351
|
-
}
|
|
1352
|
-
]
|
|
1353
|
-
};
|
|
1354
|
-
}
|
|
1355
|
-
isHandleAllowed() {
|
|
1356
|
-
return true;
|
|
1357
|
-
}
|
|
1358
|
-
getHandleAllowedDataType() {
|
|
1359
|
-
return 8 /* module */;
|
|
1360
|
-
}
|
|
1050
|
+
{
|
|
1051
|
+
position: Position27.Right,
|
|
1052
|
+
dataType: "module" /* module */,
|
|
1053
|
+
connection: "source"
|
|
1054
|
+
}
|
|
1055
|
+
]
|
|
1056
|
+
};
|
|
1361
1057
|
};
|
|
1362
1058
|
|
|
1363
1059
|
// src/templates/transformers/noise-scale-point-template.ts
|
|
1364
|
-
import { IDGenerator as IDGenerator28 } from "@awesome-flow/core/utils";
|
|
1365
1060
|
import { Position as Position28 } from "@xyflow/system";
|
|
1366
1061
|
var NoiseScalePointNodeTemplateFactory = class {
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1062
|
+
template = {
|
|
1063
|
+
type: "noise-scale-point" /* noiseScalePoint */,
|
|
1064
|
+
group: "Noise Transformers" /* noiseTransformers */,
|
|
1065
|
+
data: {
|
|
1066
|
+
title: "Noise Scale Point",
|
|
1067
|
+
xScale: 1,
|
|
1068
|
+
yScale: 1,
|
|
1069
|
+
zScale: 1
|
|
1070
|
+
},
|
|
1071
|
+
handles: [
|
|
1072
|
+
{
|
|
1073
|
+
position: Position28.Left,
|
|
1074
|
+
dataType: "module" /* module */,
|
|
1075
|
+
connection: "target",
|
|
1076
|
+
label: "Source Module",
|
|
1077
|
+
maxConnections: 1
|
|
1376
1078
|
},
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
},
|
|
1385
|
-
{
|
|
1386
|
-
position: Position28.Right,
|
|
1387
|
-
dataType: 8 /* module */,
|
|
1388
|
-
connection: "source"
|
|
1389
|
-
}
|
|
1390
|
-
]
|
|
1391
|
-
};
|
|
1392
|
-
}
|
|
1393
|
-
isHandleAllowed() {
|
|
1394
|
-
return true;
|
|
1395
|
-
}
|
|
1396
|
-
getHandleAllowedDataType() {
|
|
1397
|
-
return 8 /* module */;
|
|
1398
|
-
}
|
|
1079
|
+
{
|
|
1080
|
+
position: Position28.Right,
|
|
1081
|
+
dataType: "module" /* module */,
|
|
1082
|
+
connection: "source"
|
|
1083
|
+
}
|
|
1084
|
+
]
|
|
1085
|
+
};
|
|
1399
1086
|
};
|
|
1400
1087
|
|
|
1401
1088
|
// src/templates/transformers/noise-translate-point-template.ts
|
|
1402
|
-
import { IDGenerator as IDGenerator29 } from "@awesome-flow/core/utils";
|
|
1403
1089
|
import { Position as Position29 } from "@xyflow/system";
|
|
1404
1090
|
var NoiseTranslatePointNodeTemplateFactory = class {
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1091
|
+
template = {
|
|
1092
|
+
type: "noise-translate-point" /* noiseTranslatePoint */,
|
|
1093
|
+
group: "Noise Transformers" /* noiseTransformers */,
|
|
1094
|
+
data: {
|
|
1095
|
+
title: "Noise Translate Point",
|
|
1096
|
+
translateX: 0,
|
|
1097
|
+
translateY: 0,
|
|
1098
|
+
translateZ: 0
|
|
1099
|
+
},
|
|
1100
|
+
handles: [
|
|
1101
|
+
{
|
|
1102
|
+
position: Position29.Left,
|
|
1103
|
+
dataType: "module" /* module */,
|
|
1104
|
+
connection: "target",
|
|
1105
|
+
label: "Source Module",
|
|
1106
|
+
maxConnections: 1
|
|
1414
1107
|
},
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
},
|
|
1423
|
-
{
|
|
1424
|
-
position: Position29.Right,
|
|
1425
|
-
dataType: 8 /* module */,
|
|
1426
|
-
connection: "source"
|
|
1427
|
-
}
|
|
1428
|
-
]
|
|
1429
|
-
};
|
|
1430
|
-
}
|
|
1431
|
-
isHandleAllowed() {
|
|
1432
|
-
return true;
|
|
1433
|
-
}
|
|
1434
|
-
getHandleAllowedDataType() {
|
|
1435
|
-
return 8 /* module */;
|
|
1436
|
-
}
|
|
1108
|
+
{
|
|
1109
|
+
position: Position29.Right,
|
|
1110
|
+
dataType: "module" /* module */,
|
|
1111
|
+
connection: "source"
|
|
1112
|
+
}
|
|
1113
|
+
]
|
|
1114
|
+
};
|
|
1437
1115
|
};
|
|
1438
1116
|
|
|
1439
1117
|
// src/templates/transformers/noise-turbulence-template.ts
|
|
1440
|
-
import {
|
|
1118
|
+
import { CoreHandleType as CoreHandleType8 } from "@awesome-flow/core/abstract";
|
|
1441
1119
|
import { Position as Position30 } from "@xyflow/system";
|
|
1442
1120
|
var NoiseTurbulenceNodeTemplateFactory = class {
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1121
|
+
template = {
|
|
1122
|
+
type: "noise-turbulence" /* noiseTurbulence */,
|
|
1123
|
+
group: "Noise Transformers" /* noiseTransformers */,
|
|
1124
|
+
data: {
|
|
1125
|
+
title: "Noise Turbulence",
|
|
1126
|
+
frequency: 1,
|
|
1127
|
+
power: 1,
|
|
1128
|
+
roughness: 1,
|
|
1129
|
+
seed: 0
|
|
1130
|
+
},
|
|
1131
|
+
handles: [
|
|
1132
|
+
{
|
|
1133
|
+
position: Position30.Left,
|
|
1134
|
+
dataType: "module" /* module */,
|
|
1135
|
+
connection: "target",
|
|
1136
|
+
label: "Source Module",
|
|
1137
|
+
maxConnections: 1
|
|
1453
1138
|
},
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
label: "Source Module",
|
|
1460
|
-
maxConnections: 1
|
|
1461
|
-
},
|
|
1462
|
-
{
|
|
1463
|
-
position: Position30.Left,
|
|
1464
|
-
dataType: 16 /* variableProperty */,
|
|
1465
|
-
label: "Variable Properties",
|
|
1466
|
-
connection: "target"
|
|
1467
|
-
},
|
|
1468
|
-
{
|
|
1469
|
-
position: Position30.Right,
|
|
1470
|
-
dataType: 8 /* module */,
|
|
1471
|
-
connection: "source"
|
|
1472
|
-
}
|
|
1473
|
-
]
|
|
1474
|
-
};
|
|
1475
|
-
}
|
|
1476
|
-
isHandleAllowed() {
|
|
1477
|
-
return true;
|
|
1478
|
-
}
|
|
1479
|
-
getHandleAllowedDataType() {
|
|
1480
|
-
return 8 /* module */;
|
|
1481
|
-
}
|
|
1482
|
-
};
|
|
1483
|
-
|
|
1484
|
-
// src/templates/generators/variable-property-template.ts
|
|
1485
|
-
import { IDGenerator as IDGenerator31 } from "@awesome-flow/core/utils";
|
|
1486
|
-
import { Position as Position31 } from "@xyflow/system";
|
|
1487
|
-
var VariablePropertyNodeTemplateFactory = class {
|
|
1488
|
-
create() {
|
|
1489
|
-
return {
|
|
1490
|
-
id: IDGenerator31.template(),
|
|
1491
|
-
type: "variable-property" /* variableProperty */,
|
|
1492
|
-
data: {
|
|
1493
|
-
title: "Variable Property",
|
|
1494
|
-
property: null
|
|
1495
|
-
},
|
|
1496
|
-
handles: [
|
|
1497
|
-
{
|
|
1498
|
-
position: Position31.Left,
|
|
1499
|
-
dataType: 32 /* variableValue */,
|
|
1500
|
-
connection: "target",
|
|
1501
|
-
maxConnections: 1
|
|
1502
|
-
},
|
|
1503
|
-
{
|
|
1504
|
-
position: Position31.Right,
|
|
1505
|
-
dataType: 16 /* variableProperty */,
|
|
1506
|
-
connection: "source"
|
|
1507
|
-
}
|
|
1508
|
-
]
|
|
1509
|
-
};
|
|
1510
|
-
}
|
|
1511
|
-
isHandleAllowed(type) {
|
|
1512
|
-
return true;
|
|
1513
|
-
}
|
|
1514
|
-
getHandleAllowedDataType(type) {
|
|
1515
|
-
switch (type) {
|
|
1516
|
-
case "source":
|
|
1517
|
-
return 16 /* variableProperty */;
|
|
1518
|
-
case "target":
|
|
1519
|
-
return 32 /* variableValue */;
|
|
1520
|
-
}
|
|
1521
|
-
}
|
|
1522
|
-
};
|
|
1523
|
-
|
|
1524
|
-
// src/templates/modifiers/variable-combine-template.ts
|
|
1525
|
-
import { IDGenerator as IDGenerator32 } from "@awesome-flow/core/utils";
|
|
1526
|
-
import { Position as Position32 } from "@xyflow/system";
|
|
1527
|
-
var VariableCombineNodeTemplateFactory = class {
|
|
1528
|
-
create() {
|
|
1529
|
-
return {
|
|
1530
|
-
id: IDGenerator32.template(),
|
|
1531
|
-
type: "variable-combine" /* variableCombine */,
|
|
1532
|
-
removable: false,
|
|
1533
|
-
data: {
|
|
1534
|
-
title: "Combine Values",
|
|
1535
|
-
operation: "add" /* add */,
|
|
1536
|
-
value: null
|
|
1139
|
+
{
|
|
1140
|
+
position: Position30.Left,
|
|
1141
|
+
dataType: CoreHandleType8.variableProperty,
|
|
1142
|
+
label: "Variable Properties",
|
|
1143
|
+
connection: "target"
|
|
1537
1144
|
},
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
position: Position32.Right,
|
|
1546
|
-
dataType: 32 /* variableValue */,
|
|
1547
|
-
connection: "source"
|
|
1548
|
-
}
|
|
1549
|
-
]
|
|
1550
|
-
};
|
|
1551
|
-
}
|
|
1552
|
-
isHandleAllowed() {
|
|
1553
|
-
return true;
|
|
1554
|
-
}
|
|
1555
|
-
getHandleAllowedDataType(type) {
|
|
1556
|
-
return 8 /* module */;
|
|
1557
|
-
}
|
|
1558
|
-
};
|
|
1559
|
-
|
|
1560
|
-
// src/templates/generators/variable-value-template.ts
|
|
1561
|
-
import { IDGenerator as IDGenerator33 } from "@awesome-flow/core/utils";
|
|
1562
|
-
import { Position as Position33 } from "@xyflow/system";
|
|
1563
|
-
var VariableValueNodeTemplateFactory = class {
|
|
1564
|
-
create() {
|
|
1565
|
-
return {
|
|
1566
|
-
id: IDGenerator33.template(),
|
|
1567
|
-
type: "variable-value" /* variableValue */,
|
|
1568
|
-
data: {
|
|
1569
|
-
title: "Variable Value",
|
|
1570
|
-
value: null
|
|
1571
|
-
},
|
|
1572
|
-
handles: [
|
|
1573
|
-
{
|
|
1574
|
-
position: Position33.Right,
|
|
1575
|
-
dataType: 32 /* variableValue */,
|
|
1576
|
-
connection: "source"
|
|
1577
|
-
}
|
|
1578
|
-
]
|
|
1579
|
-
};
|
|
1580
|
-
}
|
|
1581
|
-
isHandleAllowed(type) {
|
|
1582
|
-
return type === "source";
|
|
1583
|
-
}
|
|
1584
|
-
getHandleAllowedDataType(type) {
|
|
1585
|
-
return 32 /* variableValue */;
|
|
1586
|
-
}
|
|
1145
|
+
{
|
|
1146
|
+
position: Position30.Right,
|
|
1147
|
+
dataType: "module" /* module */,
|
|
1148
|
+
connection: "source"
|
|
1149
|
+
}
|
|
1150
|
+
]
|
|
1151
|
+
};
|
|
1587
1152
|
};
|
|
1588
1153
|
|
|
1589
1154
|
// src/templates/generators/noise-billow-template.ts
|
|
1590
|
-
import {
|
|
1591
|
-
import {
|
|
1155
|
+
import { CoreHandleType as CoreHandleType9 } from "@awesome-flow/core/abstract";
|
|
1156
|
+
import { IDGenerator as IDGenerator2 } from "@awesome-flow/core/utils";
|
|
1157
|
+
import { Position as Position31 } from "@xyflow/system";
|
|
1592
1158
|
var NoiseBillowNodeTemplateFactory = class {
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1159
|
+
template = {
|
|
1160
|
+
id: IDGenerator2.template(),
|
|
1161
|
+
type: "noise-billow" /* noiseBillow */,
|
|
1162
|
+
group: "Noise Generators" /* noiseGenerators */,
|
|
1163
|
+
data: {
|
|
1164
|
+
title: "Billow Noise",
|
|
1165
|
+
frequency: 0.1,
|
|
1166
|
+
lacunarity: 2,
|
|
1167
|
+
octaves: 5,
|
|
1168
|
+
persistence: 0.5,
|
|
1169
|
+
seed: 0
|
|
1170
|
+
},
|
|
1171
|
+
handles: [
|
|
1172
|
+
{
|
|
1173
|
+
position: Position31.Left,
|
|
1174
|
+
dataType: CoreHandleType9.variableProperty,
|
|
1175
|
+
connection: "target"
|
|
1605
1176
|
},
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
position: Position34.Right,
|
|
1614
|
-
dataType: 8 /* module */,
|
|
1615
|
-
connection: "source"
|
|
1616
|
-
}
|
|
1617
|
-
]
|
|
1618
|
-
};
|
|
1619
|
-
}
|
|
1620
|
-
isHandleAllowed(type) {
|
|
1621
|
-
return type === "source";
|
|
1622
|
-
}
|
|
1623
|
-
getHandleAllowedDataType() {
|
|
1624
|
-
return 8 /* module */;
|
|
1625
|
-
}
|
|
1177
|
+
{
|
|
1178
|
+
position: Position31.Right,
|
|
1179
|
+
dataType: "module" /* module */,
|
|
1180
|
+
connection: "source"
|
|
1181
|
+
}
|
|
1182
|
+
]
|
|
1183
|
+
};
|
|
1626
1184
|
};
|
|
1627
1185
|
|
|
1186
|
+
// src/nodes/groups/module-group-node.tsx
|
|
1187
|
+
import { NodeContainer as NodeContainer32, NodeCollapse, NodeTrackConnections as NodeTrackConnections27 } from "@awesome-flow/core/layout";
|
|
1188
|
+
import { NodeResizer, useStore, useUpdateNodeInternals } from "@xyflow/react";
|
|
1189
|
+
import { FlowContext } from "@awesome-flow/core/abstract";
|
|
1190
|
+
import { useCallback as useCallback15, useContext, useEffect as useEffect21, useMemo as useMemo12 } from "react";
|
|
1191
|
+
import { shallow } from "zustand/shallow";
|
|
1192
|
+
import { Badge, Group as Group15 } from "@mantine/core";
|
|
1193
|
+
import { useIncomingComputedData as useIncomingComputedData17, useUpdateNodeComputedData as useUpdateNodeComputedData30 } from "@awesome-flow/core/hooks";
|
|
1194
|
+
import { jsx as jsx32, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
1195
|
+
|
|
1628
1196
|
// src/abstract/node-types.ts
|
|
1629
1197
|
var noiseNodeTemplates = {
|
|
1630
1198
|
["noise-output" /* noiseOutput */]: new NoiseOutputNodeTemplateFactory(),
|
|
@@ -1658,52 +1226,42 @@ var noiseNodeTemplates = {
|
|
|
1658
1226
|
["noise-scale-point" /* noiseScalePoint */]: new NoiseScalePointNodeTemplateFactory(),
|
|
1659
1227
|
["noise-translate-point" /* noiseTranslatePoint */]: new NoiseTranslatePointNodeTemplateFactory(),
|
|
1660
1228
|
["noise-turbulence" /* noiseTurbulence */]: new NoiseTurbulenceNodeTemplateFactory(),
|
|
1661
|
-
["variable-property" /* variableProperty */]: new VariablePropertyNodeTemplateFactory(),
|
|
1662
|
-
["variable-combine" /* variableCombine */]: new VariableCombineNodeTemplateFactory(),
|
|
1663
|
-
["variable-value" /* variableValue */]: new VariableValueNodeTemplateFactory(),
|
|
1664
1229
|
["group-module" /* groupModule */]: new ModuleGroupNodeTemplateFactory()
|
|
1665
1230
|
};
|
|
1666
1231
|
|
|
1667
1232
|
// src/templates/groups/module-group-template.ts
|
|
1668
1233
|
var ModuleGroupNodeTemplateFactory = class {
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1234
|
+
template = {
|
|
1235
|
+
id: IDGenerator3.template(),
|
|
1236
|
+
type: "group-module" /* groupModule */,
|
|
1237
|
+
group: CoreTemplateGroup.groups,
|
|
1238
|
+
data: {
|
|
1239
|
+
title: "Modules Group",
|
|
1240
|
+
isGroup: true,
|
|
1241
|
+
initialSize: {
|
|
1242
|
+
width: 300,
|
|
1243
|
+
height: 200
|
|
1244
|
+
},
|
|
1245
|
+
collapsedSize: {
|
|
1246
|
+
width: 300,
|
|
1247
|
+
height: 80
|
|
1248
|
+
}
|
|
1249
|
+
},
|
|
1250
|
+
handles: [
|
|
1251
|
+
{
|
|
1252
|
+
position: Position32.Bottom,
|
|
1253
|
+
dataType: "module" /* module */,
|
|
1254
|
+
connection: "target",
|
|
1255
|
+
maxConnections: 1,
|
|
1256
|
+
hideOnCollapse: true
|
|
1684
1257
|
},
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
},
|
|
1693
|
-
{
|
|
1694
|
-
position: Position35.Right,
|
|
1695
|
-
dataType: 8 /* module */,
|
|
1696
|
-
connection: "source"
|
|
1697
|
-
}
|
|
1698
|
-
]
|
|
1699
|
-
};
|
|
1700
|
-
}
|
|
1701
|
-
isHandleAllowed(type) {
|
|
1702
|
-
return true;
|
|
1703
|
-
}
|
|
1704
|
-
getHandleAllowedDataType(type) {
|
|
1705
|
-
return 8 /* module */;
|
|
1706
|
-
}
|
|
1258
|
+
{
|
|
1259
|
+
position: Position32.Right,
|
|
1260
|
+
dataType: "module" /* module */,
|
|
1261
|
+
connection: "source"
|
|
1262
|
+
}
|
|
1263
|
+
]
|
|
1264
|
+
};
|
|
1707
1265
|
};
|
|
1708
1266
|
export {
|
|
1709
1267
|
ModuleGroupNodeTemplateFactory
|