@oomol-lab/open-flow 0.1.0-beta.4 → 0.1.0-beta.5

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 (34) hide show
  1. package/dist/browser/{DesignerIcon-DdfuH2jW.js → DesignerIcon-XKBRy_0Q.js} +640 -640
  2. package/dist/browser/createResourceDialog-Cf7QpXp6.js +505 -0
  3. package/dist/browser/{dist-BMqL-qR5.js → dist-BMRLCebL.js} +291 -292
  4. package/dist/browser/{dist-DWADUsVB.js → dist-By46o5UV.js} +47 -47
  5. package/dist/browser/{dist-CJpzJrLM.js → dist-Cc0y2Pli.js} +811 -812
  6. package/dist/browser/{dist-DUzA0Ukh.js → dist-Dg_VXC8f.js} +134 -135
  7. package/dist/browser/{dist-3Mj8q8Pr.js → dist-DmuE3M0R.js} +53 -54
  8. package/dist/browser/{dist-BN4ZCyOB.js → dist-DpDLsYtO.js} +14 -15
  9. package/dist/browser/dist-DxahK_I8.js +2688 -0
  10. package/dist/browser/{dist-CPuF50D9.js → dist-meg_oHVR.js} +335 -335
  11. package/dist/browser/{esm-C9jQK70n.js → esm-xWDFFpGd.js} +5 -6
  12. package/dist/browser/flow-authoring-module.d.ts +2 -2
  13. package/dist/browser/flow-authoring-node.d.ts +2 -2
  14. package/dist/browser/flow-authoring.js +469 -209
  15. package/dist/browser/flow-change.d.ts +96 -8
  16. package/dist/browser/flow-change.js +319 -96
  17. package/dist/browser/{flowChanges-Bs-ZcJV8.js → flowChanges-CeMiiZIO.js} +1578 -1541
  18. package/dist/browser/{flowRunInputEditorStore-BYa8zFLC.js → flowRunInputEditorStore-DDidwd8h.js} +9 -1
  19. package/dist/browser/{flowWorkspace-BewofPeU.js → flowWorkspace-VnS8nLMT.js} +9354 -9349
  20. package/dist/browser/{getPseudoElementBounds-qDxSDwzN.js → getPseudoElementBounds-5LArT6Xc.js} +494 -474
  21. package/dist/browser/icons-CRxvozBE.js +726 -0
  22. package/dist/browser/{typeScriptSession-CwMPjseS.js → typeScriptSession-Bj2HDFRd.js} +255 -256
  23. package/dist/browser/{waitNotificationInputs-DtrPBwA1.js → waitNotificationInputs-ClCAEIAM.js} +2 -2
  24. package/dist/browser/workbench.css +1 -1
  25. package/dist/browser/workbench.js +547 -611
  26. package/dist/browser/{workbenchSelect-CX8KtT7L.js → workbenchSelect-Cf1zlVm9.js} +398 -398
  27. package/dist/common/control-api-conformance.js +21 -19
  28. package/dist/common/control-api.d.ts +4 -11
  29. package/dist/common/control-api.js +6 -18
  30. package/package.json +1 -1
  31. package/dist/browser/createResourceDialog-4YQKl8lG.js +0 -505
  32. package/dist/browser/dist-BpopSHwP.js +0 -1543
  33. package/dist/browser/dist-CUSrALSX.js +0 -1620
  34. package/dist/browser/icons-DRoMXL5h.js +0 -521
@@ -1,521 +0,0 @@
1
- import { Hn as e, Un as t, kt as n } from "./getPseudoElementBounds-qDxSDwzN.js";
2
- import { useMemo as r } from "react";
3
- import { Fragment as i, jsx as a, jsxs as o } from "react/jsx-runtime";
4
- //#region src/ui/browser/label.tsx
5
- function s({ className: t, ...n }) {
6
- return /* @__PURE__ */ a("label", {
7
- "data-slot": "label",
8
- className: e("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50", t),
9
- ...n
10
- });
11
- }
12
- //#endregion
13
- //#region src/ui/browser/field.tsx
14
- function c({ className: t, ...n }) {
15
- return /* @__PURE__ */ a("div", {
16
- "data-slot": "field-group",
17
- className: e("group/field-group @container/field-group flex w-full flex-col gap-5 data-[slot=checkbox-group]:gap-3 *:data-[slot=field-group]:gap-4", t),
18
- ...n
19
- });
20
- }
21
- var l = t("group/field flex w-full gap-2 data-[invalid=true]:text-destructive", {
22
- variants: { orientation: {
23
- vertical: "flex-col *:w-full [&>.sr-only]:w-auto",
24
- horizontal: "flex-row items-center has-[>[data-slot=field-content]]:items-start *:data-[slot=field-label]:flex-auto has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px",
25
- responsive: "flex-col *:w-full @md/field-group:flex-row @md/field-group:items-center @md/field-group:*:w-auto @md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:*:data-[slot=field-label]:flex-auto [&>.sr-only]:w-auto @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"
26
- } },
27
- defaultVariants: { orientation: "vertical" }
28
- });
29
- function u({ className: t, orientation: n = "vertical", ...r }) {
30
- return /* @__PURE__ */ a("div", {
31
- role: "group",
32
- "data-slot": "field",
33
- "data-orientation": n,
34
- className: e(l({ orientation: n }), t),
35
- ...r
36
- });
37
- }
38
- function d({ className: t, ...n }) {
39
- return /* @__PURE__ */ a(s, {
40
- "data-slot": "field-label",
41
- className: e("group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50 has-data-checked:border-primary/30 has-data-checked:bg-primary/5 has-[>[data-slot=field]]:rounded-lg has-[>[data-slot=field]]:border has-[>[data-slot=field]]:not-has-[:disabled,[data-disabled]]:hover:bg-muted/50 has-[>[data-slot=field]]:has-[:focus-visible]:border-ring has-[>[data-slot=field]]:has-[:focus-visible]:ring-3 has-[>[data-slot=field]]:has-[:focus-visible]:ring-ring/50 *:data-[slot=field]:p-2.5 dark:has-data-checked:border-primary/20 dark:has-data-checked:bg-primary/10", "has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col", t),
42
- ...n
43
- });
44
- }
45
- function f({ className: t, ...n }) {
46
- return /* @__PURE__ */ a("p", {
47
- "data-slot": "field-description",
48
- className: e("text-left text-sm leading-normal font-normal text-muted-foreground group-has-data-horizontal/field:text-balance [[data-variant=legend]+&]:-mt-1.5", "last:mt-0 nth-last-2:-mt-1", "[&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary", t),
49
- ...n
50
- });
51
- }
52
- function p({ className: t, children: n, errors: i, ...o }) {
53
- let s = r(() => {
54
- if (n) return n;
55
- if (!i?.length) return null;
56
- let e = [...new Map(i.map((e) => [e?.message, e])).values()];
57
- return e?.length == 1 ? e[0]?.message : /* @__PURE__ */ a("ul", {
58
- className: "ml-4 flex list-disc flex-col gap-1",
59
- children: e.map((e, t) => e?.message && /* @__PURE__ */ a("li", { children: e.message }, t))
60
- });
61
- }, [n, i]);
62
- return s ? /* @__PURE__ */ a("div", {
63
- role: "alert",
64
- "data-slot": "field-error",
65
- className: e("text-sm font-normal text-destructive", t),
66
- ...o,
67
- children: s
68
- }) : null;
69
- }
70
- //#endregion
71
- //#region ../../node_modules/.bun/lucide-react@0.468.0+f4eacebf2041cd4f/node_modules/lucide-react/dist/esm/icons/chevron-down.js
72
- var m = n("ChevronDown", [["path", {
73
- d: "m6 9 6 6 6-6",
74
- key: "qrunsl"
75
- }]]), h = n("LoaderCircle", [["path", {
76
- d: "M21 12a9 9 0 1 1-6.219-8.56",
77
- key: "13zald"
78
- }]]);
79
- //#endregion
80
- //#region src/ui/browser/spinner.tsx
81
- function g({ className: t, ...n }) {
82
- return /* @__PURE__ */ a(h, {
83
- "data-slot": "spinner",
84
- role: "status",
85
- "aria-label": "Loading",
86
- className: e("size-4 animate-spin", t),
87
- ...n
88
- });
89
- }
90
- function _(e) {
91
- let t = e.trim();
92
- if (t.length == 0) return "empty";
93
- if (t.length > 80) return "tooLong";
94
- for (let e of t) {
95
- let t = e.charCodeAt(0);
96
- if (t <= 31 || t >= 127 && t <= 159) return "controlCharacter";
97
- }
98
- if (!/^[\p{L}\p{N}](?:[\p{L}\p{N} _-]*[\p{L}\p{N}])?$/u.test(t)) return "specialCharacter";
99
- }
100
- function v(e) {
101
- return Object.fromEntries(e.flatMap((e) => "handle" in e ? [[e.handle, e]] : []));
102
- }
103
- var y = class extends Error {};
104
- function b() {
105
- throw new y();
106
- }
107
- function x(e, t) {
108
- if (t.kind == "flow") return e.graph;
109
- let n = e.subflows[t.id];
110
- return n ?? b(), n.graph;
111
- }
112
- function S(e, t, n) {
113
- if (t.kind == "flow") return {
114
- ...e,
115
- graph: n
116
- };
117
- let r = e.subflows[t.id];
118
- return r ?? b(), {
119
- ...e,
120
- subflows: {
121
- ...e.subflows,
122
- [t.id]: {
123
- ...r,
124
- graph: n
125
- }
126
- }
127
- };
128
- }
129
- function C(e, t) {
130
- if (!("inputs" in e)) return e;
131
- let n = { ...e.inputs };
132
- for (let [e, r] of Object.entries(n)) {
133
- if (r.kind != "sources") continue;
134
- let i = r.sources.filter((e) => e.kind != "node" || !t.has(e.nodeId));
135
- i.length == 0 ? delete n[e] : n[e] = {
136
- kind: "sources",
137
- sources: i
138
- };
139
- }
140
- return {
141
- ...e,
142
- inputs: n
143
- };
144
- }
145
- function w(e, t) {
146
- let n = { ...e.document }, r = { ...e.modules };
147
- for (let e of t) switch (e.kind) {
148
- case "binding.create":
149
- n.bindings[e.bindingId] != null && b(), n.bindings = {
150
- ...n.bindings,
151
- [e.bindingId]: e.binding
152
- };
153
- break;
154
- case "binding.replace":
155
- n.bindings[e.bindingId] ?? b(), n.bindings = {
156
- ...n.bindings,
157
- [e.bindingId]: e.binding
158
- };
159
- break;
160
- case "binding.delete": {
161
- n.bindings[e.bindingId] ?? b();
162
- let t = { ...n.bindings };
163
- delete t[e.bindingId], n.bindings = t;
164
- break;
165
- }
166
- case "graph.edge.connect": {
167
- let t = x(n, e.target);
168
- t.nodes[e.edge.source] ?? b();
169
- let r = t.nodes[e.edge.target];
170
- (r == null || !("inputs" in r)) && b();
171
- let i = r.inputs[e.edge.targetHandle], a = {
172
- kind: "node",
173
- nodeId: e.edge.source,
174
- output: e.edge.sourceHandle
175
- }, o = i?.kind == "sources" ? i.sources.filter((e) => e.kind != "binding" || n.bindings[e.bindingId]?.kind != "variable") : [];
176
- o.some((e) => e.kind == "node" && e.nodeId == a.nodeId && e.output == a.output) && b();
177
- let s = {
178
- ...r,
179
- inputs: {
180
- ...r.inputs,
181
- [e.edge.targetHandle]: {
182
- kind: "sources",
183
- sources: [...o, a]
184
- }
185
- }
186
- };
187
- Object.assign(n, S(n, e.target, { nodes: {
188
- ...t.nodes,
189
- [e.edge.target]: s
190
- } }));
191
- break;
192
- }
193
- case "graph.edge.disconnect": {
194
- let t = x(n, e.target), r = t.nodes[e.edge.target];
195
- (r == null || !("inputs" in r)) && b();
196
- let i = r.inputs[e.edge.targetHandle];
197
- i?.kind != "sources" && b();
198
- let a = i.sources.filter((t) => t.kind != "node" || t.nodeId != e.edge.source || t.output != e.edge.sourceHandle);
199
- a.length == i.sources.length && b();
200
- let o = { ...r.inputs };
201
- a.length == 0 ? delete o[e.edge.targetHandle] : o[e.edge.targetHandle] = {
202
- kind: "sources",
203
- sources: a
204
- }, Object.assign(n, S(n, e.target, { nodes: {
205
- ...t.nodes,
206
- [e.edge.target]: {
207
- ...r,
208
- inputs: o
209
- }
210
- } }));
211
- break;
212
- }
213
- case "graph.node.create": {
214
- let t = x(n, e.target);
215
- (t.nodes[e.nodeId] != null || e.target.kind == "subflow" && !("inputs" in e.node)) && b(), Object.assign(n, S(n, e.target, { nodes: {
216
- ...t.nodes,
217
- [e.nodeId]: e.node
218
- } }));
219
- break;
220
- }
221
- case "graph.node.delete": {
222
- let t = x(n, e.target);
223
- t.nodes[e.nodeId] ?? b();
224
- let r = /* @__PURE__ */ new Set([e.nodeId]), i = Object.fromEntries(Object.entries(t.nodes).flatMap(([e, t]) => r.has(e) ? [] : [[e, C(t, r)]]));
225
- if (Object.assign(n, S(n, e.target, { nodes: i })), e.target.kind == "subflow") {
226
- let t = n.subflows[e.target.id], i = t.outputs.map((e) => ({
227
- ...e,
228
- sources: e.sources.filter((e) => e.kind != "node" || !r.has(e.nodeId))
229
- }));
230
- n.subflows = {
231
- ...n.subflows,
232
- [e.target.id]: {
233
- ...t,
234
- outputs: i
235
- }
236
- };
237
- }
238
- break;
239
- }
240
- case "graph.node.replace": {
241
- let t = x(n, e.target);
242
- (t.nodes[e.nodeId] == null || e.target.kind == "subflow" && !("inputs" in e.node)) && b(), Object.assign(n, S(n, e.target, { nodes: {
243
- ...t.nodes,
244
- [e.nodeId]: e.node
245
- } }));
246
- break;
247
- }
248
- case "module.create":
249
- r[e.moduleId] != null && b(), r[e.moduleId] = e.module;
250
- break;
251
- case "module.delete":
252
- r[e.moduleId] ?? b(), delete r[e.moduleId];
253
- break;
254
- case "module.rename": {
255
- let t = r[e.moduleId];
256
- t ?? b(), r[e.moduleId] = {
257
- ...t,
258
- name: e.name
259
- };
260
- break;
261
- }
262
- case "module.source.replace": {
263
- let t = r[e.moduleId];
264
- t ?? b(), r[e.moduleId] = {
265
- ...t,
266
- imports: e.imports,
267
- source: e.source
268
- };
269
- break;
270
- }
271
- case "subflow.create":
272
- n.subflows[e.subflowId] != null && b(), n.subflows = {
273
- ...n.subflows,
274
- [e.subflowId]: e.subflow
275
- };
276
- break;
277
- case "subflow.definition.replace": {
278
- let t = n.subflows[e.subflowId];
279
- t ?? b(), n.subflows = {
280
- ...n.subflows,
281
- [e.subflowId]: {
282
- ...e.definition,
283
- graph: t.graph
284
- }
285
- };
286
- break;
287
- }
288
- case "subflow.delete": {
289
- n.subflows[e.subflowId] ?? b();
290
- let t = { ...n.subflows };
291
- delete t[e.subflowId], n.subflows = t;
292
- break;
293
- }
294
- case "task.create":
295
- n.tasks[e.taskId] != null && b(), n.tasks = {
296
- ...n.tasks,
297
- [e.taskId]: e.task
298
- };
299
- break;
300
- case "task.delete": {
301
- n.tasks[e.taskId] ?? b();
302
- let t = { ...n.tasks };
303
- delete t[e.taskId], n.tasks = t;
304
- break;
305
- }
306
- case "task.replace": n.tasks[e.taskId] ?? b(), n.tasks = {
307
- ...n.tasks,
308
- [e.taskId]: e.task
309
- };
310
- }
311
- return {
312
- document: n,
313
- modelVersion: e.modelVersion,
314
- modules: r
315
- };
316
- }
317
- //#endregion
318
- //#region src/workbench/browser/runtime/icons.tsx
319
- function T(e) {
320
- switch (e) {
321
- case "alert": return /* @__PURE__ */ o(i, { children: [
322
- /* @__PURE__ */ a("circle", {
323
- cx: "12",
324
- cy: "12",
325
- r: "9"
326
- }),
327
- /* @__PURE__ */ a("path", { d: "M12 7v6" }),
328
- /* @__PURE__ */ a("path", { d: "M12 17h.01" })
329
- ] });
330
- case "check": return /* @__PURE__ */ a("path", { d: "m5 12 4 4L19 6" });
331
- case "chevron-down": return /* @__PURE__ */ a("path", { d: "m7 10 5 5 5-5" });
332
- case "chevron-left": return /* @__PURE__ */ a("path", { d: "m15 18-6-6 6-6" });
333
- case "chevron-up": return /* @__PURE__ */ a("path", { d: "m7 14 5-5 5 5" });
334
- case "close": return /* @__PURE__ */ o(i, { children: [/* @__PURE__ */ a("path", { d: "m6 6 12 12" }), /* @__PURE__ */ a("path", { d: "M18 6 6 18" })] });
335
- case "condition": return /* @__PURE__ */ a(i, { children: /* @__PURE__ */ a("path", { d: "M5 5h14l-5.5 6v6l-3 2v-8z" }) });
336
- case "connection": return /* @__PURE__ */ o(i, { children: [/* @__PURE__ */ a("path", { d: "M10 13a5 5 0 0 0 7.1.1l2-2a5 5 0 0 0-7.1-7.1l-1.1 1.1" }), /* @__PURE__ */ a("path", { d: "M14 11a5 5 0 0 0-7.1-.1l-2 2A5 5 0 0 0 12 20l1.1-1.1" })] });
337
- case "download": return /* @__PURE__ */ o(i, { children: [
338
- /* @__PURE__ */ a("path", { d: "M12 4v11" }),
339
- /* @__PURE__ */ a("path", { d: "m7 10 5 5 5-5" }),
340
- /* @__PURE__ */ a("path", { d: "M5 20h14" })
341
- ] });
342
- case "fit": return /* @__PURE__ */ o(i, { children: [
343
- /* @__PURE__ */ a("path", { d: "M8 3H3v5" }),
344
- /* @__PURE__ */ a("path", { d: "M16 3h5v5" }),
345
- /* @__PURE__ */ a("path", { d: "M8 21H3v-5" }),
346
- /* @__PURE__ */ a("path", { d: "M16 21h5v-5" })
347
- ] });
348
- case "filter": return /* @__PURE__ */ a("path", { d: "M4 6h16l-6 7v5l-4 2v-7z" });
349
- case "flow": return /* @__PURE__ */ o(i, { children: [
350
- /* @__PURE__ */ a("circle", {
351
- cx: "12",
352
- cy: "5",
353
- r: "2"
354
- }),
355
- /* @__PURE__ */ a("circle", {
356
- cx: "6",
357
- cy: "18",
358
- r: "2"
359
- }),
360
- /* @__PURE__ */ a("circle", {
361
- cx: "18",
362
- cy: "18",
363
- r: "2"
364
- }),
365
- /* @__PURE__ */ a("path", { d: "M12 7v4M6 16v-3h12v3" })
366
- ] });
367
- case "hand": return /* @__PURE__ */ a("path", { d: "M8 11V6a1.5 1.5 0 0 1 3 0v4-6a1.5 1.5 0 0 1 3 0v6-4a1.5 1.5 0 0 1 3 0v5-2a1.5 1.5 0 0 1 3 0v4a8 8 0 0 1-16 0v-2a2 2 0 0 1 4 0Z" });
368
- case "logo": return /* @__PURE__ */ o(i, { children: [
369
- /* @__PURE__ */ a("circle", {
370
- cx: "7",
371
- cy: "5",
372
- r: "2.5"
373
- }),
374
- /* @__PURE__ */ a("circle", {
375
- cx: "7",
376
- cy: "19",
377
- r: "2.5"
378
- }),
379
- /* @__PURE__ */ a("circle", {
380
- cx: "18",
381
- cy: "12",
382
- r: "2.5"
383
- }),
384
- /* @__PURE__ */ a("path", { d: "M9.2 6.2 15.7 10M9.2 17.8l6.5-3.8M7 7.5v9" })
385
- ] });
386
- case "llm": return /* @__PURE__ */ o(i, { children: [
387
- /* @__PURE__ */ a("path", { d: "M7 7h10v10H7z" }),
388
- /* @__PURE__ */ a("path", { d: "M9 2v3m6-3v3M9 19v3m6-3v3M2 9h3m-3 6h3m14-6h3m-3 6h3" }),
389
- /* @__PURE__ */ a("circle", {
390
- cx: "10",
391
- cy: "11",
392
- r: ".7",
393
- fill: "currentColor",
394
- stroke: "none"
395
- }),
396
- /* @__PURE__ */ a("circle", {
397
- cx: "14",
398
- cy: "11",
399
- r: ".7",
400
- fill: "currentColor",
401
- stroke: "none"
402
- }),
403
- /* @__PURE__ */ a("path", { d: "M10 14h4" })
404
- ] });
405
- case "more": return /* @__PURE__ */ o(i, { children: [
406
- /* @__PURE__ */ a("circle", {
407
- cx: "5",
408
- cy: "12",
409
- r: "1",
410
- fill: "currentColor",
411
- stroke: "none"
412
- }),
413
- /* @__PURE__ */ a("circle", {
414
- cx: "12",
415
- cy: "12",
416
- r: "1",
417
- fill: "currentColor",
418
- stroke: "none"
419
- }),
420
- /* @__PURE__ */ a("circle", {
421
- cx: "19",
422
- cy: "12",
423
- r: "1",
424
- fill: "currentColor",
425
- stroke: "none"
426
- })
427
- ] });
428
- case "panel": return /* @__PURE__ */ o(i, { children: [/* @__PURE__ */ a("rect", {
429
- x: "3",
430
- y: "4",
431
- width: "18",
432
- height: "16",
433
- rx: "2"
434
- }), /* @__PURE__ */ a("path", { d: "M15 4v16" })] });
435
- case "play":
436
- case "run": return /* @__PURE__ */ a("path", { d: "m8 5 11 7-11 7z" });
437
- case "pointer": return /* @__PURE__ */ a("path", { d: "m5 3 13 9-6 1-3 6z" });
438
- case "plus": return /* @__PURE__ */ o(i, { children: [/* @__PURE__ */ a("path", { d: "M12 5v14" }), /* @__PURE__ */ a("path", { d: "M5 12h14" })] });
439
- case "project": return /* @__PURE__ */ o(i, { children: [/* @__PURE__ */ a("path", { d: "M3 7h6l2 2h10v10H3z" }), /* @__PURE__ */ a("path", { d: "M3 7V5h7l2 2" })] });
440
- case "publish": return /* @__PURE__ */ o(i, { children: [
441
- /* @__PURE__ */ a("path", { d: "M12 16V4" }),
442
- /* @__PURE__ */ a("path", { d: "m7 9 5-5 5 5" }),
443
- /* @__PURE__ */ a("path", { d: "M5 14v5h14v-5" })
444
- ] });
445
- case "refresh": return /* @__PURE__ */ o(i, { children: [
446
- /* @__PURE__ */ a("path", { d: "M20 11a8 8 0 0 0-14.7-4.4L3 9" }),
447
- /* @__PURE__ */ a("path", { d: "M3 4v5h5" }),
448
- /* @__PURE__ */ a("path", { d: "M4 13a8 8 0 0 0 14.7 4.4L21 15" }),
449
- /* @__PURE__ */ a("path", { d: "M21 20v-5h-5" })
450
- ] });
451
- case "search": return /* @__PURE__ */ o(i, { children: [/* @__PURE__ */ a("circle", {
452
- cx: "11",
453
- cy: "11",
454
- r: "7"
455
- }), /* @__PURE__ */ a("path", { d: "m16 16 4 4" })] });
456
- case "settings": return /* @__PURE__ */ o(i, { children: [/* @__PURE__ */ a("circle", {
457
- cx: "12",
458
- cy: "12",
459
- r: "3"
460
- }), /* @__PURE__ */ a("path", {
461
- d: "M19 13.5v-3l-2-.6-.7-1.7 1-1.8-2.1-2.1-1.8 1-1.7-.7L10.5 3h-3l-.6 2-1.7.7-1.8-1-2.1 2.1 1 1.8-.7 1.7-2 .6v3l2 .6.7 1.7-1 1.8 2.1 2.1 1.8-1 1.7.7.6 2h3l.6-2 1.7-.7 1.8 1 2.1-2.1-1-1.8.7-1.7z",
462
- transform: "translate(2.5) scale(.8)"
463
- })] });
464
- case "subflow": return /* @__PURE__ */ o(i, { children: [
465
- /* @__PURE__ */ a("rect", {
466
- x: "4",
467
- y: "4",
468
- width: "6",
469
- height: "6",
470
- rx: "1"
471
- }),
472
- /* @__PURE__ */ a("rect", {
473
- x: "14",
474
- y: "14",
475
- width: "6",
476
- height: "6",
477
- rx: "1"
478
- }),
479
- /* @__PURE__ */ a("path", { d: "M10 7h4a3 3 0 0 1 3 3v4M14 17h-4a3 3 0 0 1-3-3v-4" })
480
- ] });
481
- case "value": return /* @__PURE__ */ a("path", { d: "m12 3 8 9-8 9-8-9z" });
482
- case "wait": return /* @__PURE__ */ o(i, { children: [/* @__PURE__ */ a("circle", {
483
- cx: "12",
484
- cy: "12",
485
- r: "9"
486
- }), /* @__PURE__ */ a("path", { d: "M12 7v5l3 2" })] });
487
- case "task": return /* @__PURE__ */ o(i, { children: [/* @__PURE__ */ a("rect", {
488
- x: "4",
489
- y: "4",
490
- width: "16",
491
- height: "16",
492
- rx: "3"
493
- }), /* @__PURE__ */ a("path", { d: "m9 12 2 2 4-5" })] });
494
- case "trigger": return /* @__PURE__ */ a(i, { children: /* @__PURE__ */ a("path", { d: "M13 2 5 14h6l-1 8 8-12h-6z" }) });
495
- case "trash": return /* @__PURE__ */ o(i, { children: [
496
- /* @__PURE__ */ a("path", { d: "M4 7h16" }),
497
- /* @__PURE__ */ a("path", { d: "M9 7V4h6v3" }),
498
- /* @__PURE__ */ a("path", { d: "m6 7 1 13h10l1-13" }),
499
- /* @__PURE__ */ a("path", { d: "M10 11v5M14 11v5" })
500
- ] });
501
- }
502
- }
503
- function E({ name: e, size: t = 18, ...n }) {
504
- return /* @__PURE__ */ a("svg", {
505
- "aria-hidden": "true",
506
- fill: "none",
507
- height: t,
508
- viewBox: "0 0 24 24",
509
- width: t,
510
- ...n,
511
- children: /* @__PURE__ */ a("g", {
512
- stroke: "currentColor",
513
- strokeLinecap: "round",
514
- strokeLinejoin: "round",
515
- strokeWidth: "1.7",
516
- children: T(e)
517
- })
518
- });
519
- }
520
- //#endregion
521
- export { g as a, f as c, d, s as f, _ as i, p as l, w as n, m as o, v as r, u as s, E as t, c as u };