@ovalbee/flow-viewer 0.0.2 → 0.0.4
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/README.md +5 -2
- package/dist/FlowViewer.vue.d.ts +2 -0
- package/dist/flow-viewer.cjs +83 -83
- package/dist/flow-viewer.css +1 -1
- package/dist/flow-viewer.js +460 -452
- package/package.json +1 -1
package/dist/flow-viewer.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as E, inject as
|
|
2
|
-
import { Handle as
|
|
3
|
-
import { Controls as
|
|
4
|
-
import { MiniMap as
|
|
5
|
-
const Q = Symbol("flow-viewer-details"),
|
|
1
|
+
import { defineComponent as E, inject as ne, createElementBlock as l, openBlock as i, unref as M, normalizeClass as X, createElementVNode as m, createCommentVNode as z, createBlock as A, normalizeStyle as B, toDisplayString as H, Fragment as q, computed as C, markRaw as G, ref as ie, onBeforeUnmount as se, provide as ce, createVNode as de, withCtx as le, Teleport as re, renderList as S, h as U, resolveDynamicComponent as he } from "vue";
|
|
2
|
+
import { Handle as T, Position as I, ConnectionLineType as ye, VueFlow as pe } from "@vue-flow/core";
|
|
3
|
+
import { Controls as ke } from "@vue-flow/controls";
|
|
4
|
+
import { MiniMap as ue } from "@vue-flow/minimap";
|
|
5
|
+
const Q = Symbol("flow-viewer-details"), me = ["aria-label"], ve = { class: "ob-flow-viewer-node__header" }, we = ["innerHTML"], ge = { key: 1 }, fe = { class: "ob-flow-viewer-node__title-wrap" }, Me = { class: "ob-flow-viewer-node__title" }, xe = { class: "ob-flow-viewer-node__key" }, be = { class: "ob-flow-viewer-node__description ob-flow-viewer-node__description--clamped" }, ze = {
|
|
6
6
|
key: 1,
|
|
7
7
|
class: "ob-flow-viewer-node__widget-image",
|
|
8
8
|
"aria-hidden": "true"
|
|
9
|
-
},
|
|
9
|
+
}, _e = /* @__PURE__ */ E({
|
|
10
10
|
__name: "FlowViewerNode",
|
|
11
11
|
props: {
|
|
12
12
|
id: {},
|
|
@@ -30,103 +30,103 @@ const Q = Symbol("flow-viewer-details"), ue = ["aria-label"], me = { class: "ob-
|
|
|
30
30
|
events: {}
|
|
31
31
|
},
|
|
32
32
|
setup(t) {
|
|
33
|
-
const
|
|
34
|
-
return (
|
|
35
|
-
var
|
|
36
|
-
return
|
|
33
|
+
const n = t, v = ne(Q), x = n.data.available ? n.data.description : "This node template is unavailable.";
|
|
34
|
+
return (r, y) => {
|
|
35
|
+
var k, b;
|
|
36
|
+
return i(), l("article", {
|
|
37
37
|
class: X(["ob-flow-viewer-node", { "ob-flow-viewer-node--unavailable": !t.data.available }]),
|
|
38
38
|
tabindex: "0",
|
|
39
39
|
"aria-label": `${t.data.name} node`,
|
|
40
|
-
onMouseenter:
|
|
40
|
+
onMouseenter: y[0] || (y[0] = (o) => {
|
|
41
41
|
var c;
|
|
42
|
-
return (c =
|
|
42
|
+
return (c = M(v)) == null ? void 0 : c.show(t.data, o);
|
|
43
43
|
}),
|
|
44
|
-
onMouseleave:
|
|
44
|
+
onMouseleave: y[1] || (y[1] = (o) => {
|
|
45
45
|
var c;
|
|
46
|
-
return (c =
|
|
46
|
+
return (c = M(v)) == null ? void 0 : c.hide();
|
|
47
47
|
}),
|
|
48
|
-
onClick:
|
|
48
|
+
onClick: y[2] || (y[2] = (o) => {
|
|
49
49
|
var c;
|
|
50
|
-
return (c =
|
|
50
|
+
return (c = M(v)) == null ? void 0 : c.show(t.data, o);
|
|
51
51
|
}),
|
|
52
|
-
onFocus:
|
|
52
|
+
onFocus: y[3] || (y[3] = (o) => {
|
|
53
53
|
var c;
|
|
54
|
-
return (c =
|
|
54
|
+
return (c = M(v)) == null ? void 0 : c.show(t.data, o);
|
|
55
55
|
}),
|
|
56
|
-
onBlur:
|
|
56
|
+
onBlur: y[4] || (y[4] = (o) => {
|
|
57
57
|
var c;
|
|
58
|
-
return (c =
|
|
58
|
+
return (c = M(v)) == null ? void 0 : c.hide();
|
|
59
59
|
})
|
|
60
60
|
}, [
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
m("header", ve, [
|
|
62
|
+
m("span", {
|
|
63
63
|
class: "ob-flow-viewer-node__icon",
|
|
64
|
-
style:
|
|
64
|
+
style: B({ "--ob-node-icon-color": ((k = t.data.icon) == null ? void 0 : k.color) ?? "#64748b" }),
|
|
65
65
|
"aria-hidden": "true"
|
|
66
66
|
}, [
|
|
67
|
-
(
|
|
67
|
+
(b = t.data.icon) != null && b.svg ? (i(), l("span", {
|
|
68
68
|
key: 0,
|
|
69
69
|
class: "ob-flow-viewer-node__icon-svg",
|
|
70
70
|
innerHTML: t.data.icon.svg
|
|
71
|
-
}, null, 8,
|
|
71
|
+
}, null, 8, we)) : (i(), l("span", ge, H(t.data.available ? t.data.name.slice(0, 1).toUpperCase() : "?"), 1))
|
|
72
72
|
], 4),
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
73
|
+
m("span", fe, [
|
|
74
|
+
m("strong", Me, H(t.data.name), 1),
|
|
75
|
+
m("span", xe, H(t.data.key), 1)
|
|
76
76
|
])
|
|
77
77
|
]),
|
|
78
|
-
|
|
79
|
-
t.data.widgetPreview && t.data.available ? (
|
|
78
|
+
m("p", be, H(M(x)), 1),
|
|
79
|
+
t.data.widgetPreview && t.data.available ? (i(), l("div", {
|
|
80
80
|
key: 0,
|
|
81
81
|
class: X(["ob-flow-viewer-node__widget", `ob-flow-viewer-node__widget--${t.data.widgetPreview}`]),
|
|
82
82
|
"aria-label": "Widget preview"
|
|
83
83
|
}, [
|
|
84
|
-
t.data.widgetPreview === "button" ? (
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
], 64)) : t.data.widgetPreview === "dataset" ? (
|
|
88
|
-
|
|
89
|
-
|
|
84
|
+
t.data.widgetPreview === "button" ? (i(), l(q, { key: 0 }, [
|
|
85
|
+
y[5] || (y[5] = m("span", { class: "ob-flow-viewer-node__widget-icon" }, "↗", -1)),
|
|
86
|
+
y[6] || (y[6] = m("span", { class: "ob-flow-viewer-node__widget-label" }, null, -1))
|
|
87
|
+
], 64)) : t.data.widgetPreview === "dataset" ? (i(), l("span", ze)) : (i(), l(q, { key: 2 }, [
|
|
88
|
+
y[7] || (y[7] = m("span", null, null, -1)),
|
|
89
|
+
y[8] || (y[8] = m("span", null, null, -1))
|
|
90
90
|
], 64))
|
|
91
|
-
], 2)) :
|
|
92
|
-
t.data.connectedHandles.has("target") ? (
|
|
91
|
+
], 2)) : z("", !0),
|
|
92
|
+
t.data.connectedHandles.has("target") ? (i(), A(M(T), {
|
|
93
93
|
key: 1,
|
|
94
94
|
type: "target",
|
|
95
|
-
position:
|
|
96
|
-
}, null, 8, ["position"])) :
|
|
97
|
-
t.data.connectedHandles.has("left") ? (
|
|
95
|
+
position: M(I).Top
|
|
96
|
+
}, null, 8, ["position"])) : z("", !0),
|
|
97
|
+
t.data.connectedHandles.has("left") ? (i(), A(M(T), {
|
|
98
98
|
key: 2,
|
|
99
99
|
id: "left",
|
|
100
100
|
type: "target",
|
|
101
|
-
position:
|
|
102
|
-
}, null, 8, ["position"])) :
|
|
103
|
-
t.data.connectedHandles.has("right") ? (
|
|
101
|
+
position: M(I).Left
|
|
102
|
+
}, null, 8, ["position"])) : z("", !0),
|
|
103
|
+
t.data.connectedHandles.has("right") ? (i(), A(M(T), {
|
|
104
104
|
key: 3,
|
|
105
105
|
id: "right",
|
|
106
106
|
type: "target",
|
|
107
|
-
position:
|
|
108
|
-
}, null, 8, ["position"])) :
|
|
109
|
-
t.data.connectedHandles.has("source") ? (
|
|
107
|
+
position: M(I).Right
|
|
108
|
+
}, null, 8, ["position"])) : z("", !0),
|
|
109
|
+
t.data.connectedHandles.has("source") ? (i(), A(M(T), {
|
|
110
110
|
key: 4,
|
|
111
111
|
type: "source",
|
|
112
|
-
position:
|
|
113
|
-
}, null, 8, ["position"])) :
|
|
114
|
-
t.data.connectedHandles.has("left-source") ? (
|
|
112
|
+
position: M(I).Bottom
|
|
113
|
+
}, null, 8, ["position"])) : z("", !0),
|
|
114
|
+
t.data.connectedHandles.has("left-source") ? (i(), A(M(T), {
|
|
115
115
|
key: 5,
|
|
116
116
|
id: "left-source",
|
|
117
117
|
type: "source",
|
|
118
|
-
position:
|
|
119
|
-
}, null, 8, ["position"])) :
|
|
120
|
-
t.data.connectedHandles.has("right-source") ? (
|
|
118
|
+
position: M(I).Left
|
|
119
|
+
}, null, 8, ["position"])) : z("", !0),
|
|
120
|
+
t.data.connectedHandles.has("right-source") ? (i(), A(M(T), {
|
|
121
121
|
key: 6,
|
|
122
122
|
id: "right-source",
|
|
123
123
|
type: "source",
|
|
124
|
-
position:
|
|
125
|
-
}, null, 8, ["position"])) :
|
|
126
|
-
], 42,
|
|
124
|
+
position: M(I).Right
|
|
125
|
+
}, null, 8, ["position"])) : z("", !0)
|
|
126
|
+
], 42, me);
|
|
127
127
|
};
|
|
128
128
|
}
|
|
129
|
-
}),
|
|
129
|
+
}), He = ["innerHTML"], Ve = /* @__PURE__ */ E({
|
|
130
130
|
__name: "FlowViewerNote",
|
|
131
131
|
props: {
|
|
132
132
|
id: {},
|
|
@@ -150,180 +150,188 @@ const Q = Symbol("flow-viewer-details"), ue = ["aria-label"], me = { class: "ob-
|
|
|
150
150
|
events: {}
|
|
151
151
|
},
|
|
152
152
|
setup(t) {
|
|
153
|
-
const
|
|
154
|
-
width: `${
|
|
155
|
-
minHeight:
|
|
153
|
+
const n = t, v = C(() => ({
|
|
154
|
+
width: `${n.data.appearance.width}px`,
|
|
155
|
+
minHeight: n.data.appearance.height ? `${n.data.appearance.height}px` : void 0
|
|
156
156
|
}));
|
|
157
|
-
return (
|
|
157
|
+
return (x, r) => (i(), l("article", {
|
|
158
158
|
class: X(["ob-flow-viewer-note", `ob-flow-viewer-note--${t.data.appearance.color}`]),
|
|
159
|
-
style:
|
|
160
|
-
|
|
159
|
+
style: B(v.value),
|
|
160
|
+
innerHTML: t.data.content
|
|
161
|
+
}, null, 14, He));
|
|
161
162
|
}
|
|
162
|
-
}),
|
|
163
|
+
}), Ae = ["data-theme"], Ce = ["data-theme"], qe = { class: "ob-flow-viewer-tooltip__header" }, $e = ["innerHTML"], Le = { key: 1 }, Pe = { class: "ob-flow-viewer-tooltip__title-wrap" }, Te = { class: "ob-flow-viewer-tooltip__body" }, Ie = {
|
|
163
164
|
key: 0,
|
|
164
165
|
class: "ob-flow-viewer-tooltip__unavailable"
|
|
165
|
-
},
|
|
166
|
+
}, je = {
|
|
166
167
|
key: 1,
|
|
167
168
|
class: "ob-flow-viewer-tooltip__description"
|
|
168
|
-
},
|
|
169
|
+
}, Se = {
|
|
169
170
|
key: 2,
|
|
170
171
|
class: "ob-flow-viewer-node__ports"
|
|
171
|
-
},
|
|
172
|
+
}, Be = { class: "ob-flow-viewer-node__port-group" }, Ne = {
|
|
172
173
|
key: 0,
|
|
173
174
|
class: "ob-flow-viewer-node__empty"
|
|
174
|
-
},
|
|
175
|
+
}, Fe = { key: 0 }, De = { class: "ob-flow-viewer-node__port-group ob-flow-viewer-node__port-group--outputs" }, Oe = {
|
|
175
176
|
key: 0,
|
|
176
177
|
class: "ob-flow-viewer-node__empty"
|
|
177
|
-
},
|
|
178
|
+
}, Ee = { key: 0 }, Y = 72, W = 64, Ze = 1.45, $a = /* @__PURE__ */ E({
|
|
178
179
|
__name: "FlowViewer",
|
|
179
180
|
props: {
|
|
180
181
|
document: {},
|
|
181
182
|
fitViewOnInit: { type: Boolean, default: !1 },
|
|
182
183
|
showControls: { type: Boolean, default: !0 },
|
|
183
184
|
showMiniMap: { type: Boolean, default: !0 },
|
|
185
|
+
panOnScroll: { type: Boolean, default: !1 },
|
|
184
186
|
minZoom: { default: 0.1 },
|
|
185
187
|
maxZoom: { default: 2 },
|
|
186
188
|
initialZoom: { default: 0.8 },
|
|
187
189
|
theme: { default: "light" }
|
|
188
190
|
},
|
|
189
191
|
setup(t) {
|
|
190
|
-
const
|
|
191
|
-
catalog: G(
|
|
192
|
-
note: G(
|
|
192
|
+
const n = t, v = {
|
|
193
|
+
catalog: G(_e),
|
|
194
|
+
note: G(Ve)
|
|
193
195
|
};
|
|
194
|
-
function
|
|
195
|
-
if (
|
|
196
|
-
const
|
|
197
|
-
return 60 +
|
|
196
|
+
function x(a) {
|
|
197
|
+
if (a.kind === "note") return a.appearance.height ?? 130;
|
|
198
|
+
const h = a.description ? Math.min(2, Math.max(1, Math.ceil(a.description.length / 34))) : a.available ? 0 : 1, p = h > 0 ? 10 + h * 19.5 : 0, u = a.available && a.widgetPreview ? 10 + (a.widgetPreview === "dataset" ? 72 : 32) : 0;
|
|
199
|
+
return 60 + p + u;
|
|
198
200
|
}
|
|
199
|
-
const
|
|
200
|
-
let
|
|
201
|
-
function
|
|
202
|
-
|
|
201
|
+
const r = ie(null);
|
|
202
|
+
let y = null;
|
|
203
|
+
function k() {
|
|
204
|
+
y !== null && (clearTimeout(y), y = null);
|
|
203
205
|
}
|
|
204
|
-
function
|
|
205
|
-
|
|
206
|
-
|
|
206
|
+
function b() {
|
|
207
|
+
k(), y = setTimeout(() => {
|
|
208
|
+
r.value = null, y = null;
|
|
207
209
|
}, 140);
|
|
208
210
|
}
|
|
209
|
-
|
|
210
|
-
function a
|
|
211
|
-
const
|
|
212
|
-
for (const
|
|
213
|
-
|
|
214
|
-
return
|
|
211
|
+
se(k);
|
|
212
|
+
function o(a) {
|
|
213
|
+
const h = /* @__PURE__ */ new Set();
|
|
214
|
+
for (const p of n.document.edges)
|
|
215
|
+
p.source === a && h.add(p.sourceHandle ?? "source"), p.target === a && h.add(p.targetHandle ?? "target");
|
|
216
|
+
return h;
|
|
215
217
|
}
|
|
216
|
-
function c(
|
|
217
|
-
|
|
218
|
-
const
|
|
219
|
-
if (!(
|
|
220
|
-
const
|
|
221
|
-
let g =
|
|
222
|
-
g +
|
|
223
|
-
node:
|
|
218
|
+
function c(a, h) {
|
|
219
|
+
k();
|
|
220
|
+
const p = h.currentTarget;
|
|
221
|
+
if (!(p instanceof HTMLElement)) return;
|
|
222
|
+
const u = p.getBoundingClientRect(), s = 12, d = Math.min(404, window.innerWidth - s * 2), f = Math.min(520, window.innerHeight - s * 2);
|
|
223
|
+
let g = u.right + s + d / 2;
|
|
224
|
+
g + d / 2 > window.innerWidth - s && (g = u.left - s - d / 2), g = Math.max(d / 2 + s, Math.min(g, window.innerWidth - d / 2 - s)), r.value = {
|
|
225
|
+
node: a,
|
|
224
226
|
x: g,
|
|
225
|
-
y: Math.max(
|
|
227
|
+
y: Math.max(s, Math.min(u.top, window.innerHeight - f - s))
|
|
226
228
|
};
|
|
227
229
|
}
|
|
228
|
-
function
|
|
229
|
-
|
|
230
|
+
function w() {
|
|
231
|
+
b();
|
|
230
232
|
}
|
|
231
|
-
ce(Q, { show: c, hide:
|
|
232
|
-
const
|
|
233
|
-
const
|
|
234
|
-
for (const
|
|
235
|
-
|
|
236
|
-
for (let
|
|
237
|
-
for (const
|
|
238
|
-
if (
|
|
239
|
-
const g =
|
|
233
|
+
ce(Q, { show: c, hide: w });
|
|
234
|
+
const _ = C(() => {
|
|
235
|
+
const a = new Map(n.document.nodes.map((d) => [d.id, { ...d.position }])), h = Math.min(...n.document.nodes.map((d) => d.position.x)), p = Math.max(...n.document.nodes.map((d) => d.position.x)), u = (h + p) / 2;
|
|
236
|
+
for (const d of a.values())
|
|
237
|
+
d.x = u + (d.x - u) * Ze;
|
|
238
|
+
for (let d = 0; d < n.document.nodes.length; d += 1)
|
|
239
|
+
for (const f of n.document.edges) {
|
|
240
|
+
if (f.sourceHandle || f.targetHandle) continue;
|
|
241
|
+
const g = a.get(f.source), V = a.get(f.target);
|
|
240
242
|
if (!(!g || !V || Math.abs(g.x - V.x) >= 40) && (V.x = g.x, V.y > g.y)) {
|
|
241
|
-
const P =
|
|
243
|
+
const P = n.document.nodes.find((Z) => Z.id === f.source);
|
|
242
244
|
P && (V.y = Math.max(
|
|
243
245
|
V.y,
|
|
244
|
-
g.y +
|
|
246
|
+
g.y + x(P) + Y
|
|
245
247
|
));
|
|
246
248
|
}
|
|
247
249
|
}
|
|
248
|
-
const
|
|
249
|
-
(
|
|
250
|
+
const s = [...n.document.nodes].sort(
|
|
251
|
+
(d, f) => d.position.y - f.position.y || d.position.x - f.position.x
|
|
250
252
|
);
|
|
251
|
-
for (const [
|
|
252
|
-
const g =
|
|
253
|
+
for (const [d, f] of s.entries()) {
|
|
254
|
+
const g = a.get(f.id);
|
|
253
255
|
if (g)
|
|
254
|
-
for (const V of
|
|
255
|
-
const P =
|
|
256
|
+
for (const V of s.slice(0, d)) {
|
|
257
|
+
const P = a.get(V.id);
|
|
256
258
|
if (!P) continue;
|
|
257
|
-
const Z =
|
|
258
|
-
g.x >= P.x +
|
|
259
|
+
const Z = f.kind === "note" ? f.appearance.width : 260, oe = V.kind === "note" ? V.appearance.width : 260;
|
|
260
|
+
g.x >= P.x + oe + W || P.x >= g.x + Z + W || (g.y = Math.max(
|
|
259
261
|
g.y,
|
|
260
|
-
P.y +
|
|
262
|
+
P.y + x(V) + Y
|
|
261
263
|
));
|
|
262
264
|
}
|
|
263
265
|
}
|
|
264
|
-
return
|
|
265
|
-
}), $ =
|
|
266
|
-
const
|
|
267
|
-
return
|
|
268
|
-
id:
|
|
266
|
+
return a;
|
|
267
|
+
}), $ = C(() => n.document.nodes.map((a) => {
|
|
268
|
+
const h = _.value.get(a.id) ?? a.position;
|
|
269
|
+
return a.kind === "note" ? {
|
|
270
|
+
id: a.id,
|
|
269
271
|
type: "note",
|
|
270
|
-
position:
|
|
271
|
-
data:
|
|
272
|
+
position: h,
|
|
273
|
+
data: a,
|
|
272
274
|
style: {
|
|
273
|
-
width: `${
|
|
274
|
-
height:
|
|
275
|
+
width: `${a.appearance.width}px`,
|
|
276
|
+
height: a.appearance.height ? `${a.appearance.height}px` : void 0
|
|
275
277
|
}
|
|
276
278
|
} : {
|
|
277
|
-
id:
|
|
279
|
+
id: a.id,
|
|
278
280
|
type: "catalog",
|
|
279
|
-
position:
|
|
281
|
+
position: h,
|
|
280
282
|
data: {
|
|
281
|
-
...
|
|
282
|
-
connectedHandles: a
|
|
283
|
+
...a,
|
|
284
|
+
connectedHandles: o(a.id)
|
|
283
285
|
},
|
|
284
286
|
selectable: !1
|
|
285
287
|
};
|
|
286
|
-
})), L =
|
|
287
|
-
id: `viewer-edge-${
|
|
288
|
-
source:
|
|
289
|
-
target:
|
|
290
|
-
sourceHandle:
|
|
291
|
-
targetHandle:
|
|
292
|
-
type:
|
|
293
|
-
data:
|
|
294
|
-
style:
|
|
288
|
+
})), L = C(() => n.document.edges.map((a, h) => ({
|
|
289
|
+
id: `viewer-edge-${h}-${a.source}-${a.target}`,
|
|
290
|
+
source: a.source,
|
|
291
|
+
target: a.target,
|
|
292
|
+
sourceHandle: a.sourceHandle,
|
|
293
|
+
targetHandle: a.targetHandle,
|
|
294
|
+
type: ye.SmoothStep,
|
|
295
|
+
data: a.data,
|
|
296
|
+
style: a.isVisual ? { strokeDasharray: "6 4" } : void 0,
|
|
295
297
|
selectable: !1
|
|
296
|
-
}))), ee =
|
|
297
|
-
if (
|
|
298
|
-
let
|
|
299
|
-
for (const
|
|
300
|
-
const
|
|
301
|
-
|
|
298
|
+
}))), ee = C(() => {
|
|
299
|
+
if (n.document.nodes.length === 0) return { minX: 0, minY: 0, maxX: 0, maxY: 0 };
|
|
300
|
+
let a = 1 / 0, h = 1 / 0, p = -1 / 0, u = -1 / 0;
|
|
301
|
+
for (const s of n.document.nodes) {
|
|
302
|
+
const d = _.value.get(s.id) ?? s.position, f = s.kind === "note" ? s.appearance.width : 260, g = x(s);
|
|
303
|
+
a = Math.min(a, d.x), h = Math.min(h, d.y), p = Math.max(p, d.x + f), u = Math.max(u, d.y + g);
|
|
302
304
|
}
|
|
303
|
-
return { minX:
|
|
305
|
+
return { minX: a, minY: h, maxX: p, maxY: u };
|
|
306
|
+
}), te = C(() => {
|
|
307
|
+
const a = n.document.nodes.filter((s) => s.kind === "node"), h = new Set(n.document.edges.map((s) => s.target)), p = a.filter((s) => !h.has(s.id));
|
|
308
|
+
return [...p.length > 0 ? p : a.length > 0 ? a : n.document.nodes].sort((s, d) => {
|
|
309
|
+
const f = _.value.get(s.id) ?? s.position, g = _.value.get(d.id) ?? d.position;
|
|
310
|
+
return f.y - g.y || f.x - g.x;
|
|
311
|
+
})[0];
|
|
304
312
|
});
|
|
305
|
-
function
|
|
306
|
-
if (
|
|
307
|
-
|
|
313
|
+
function ae(a) {
|
|
314
|
+
if (n.fitViewOnInit) {
|
|
315
|
+
a.fitView({ padding: 0.15, maxZoom: 1 });
|
|
308
316
|
return;
|
|
309
317
|
}
|
|
310
|
-
const
|
|
311
|
-
|
|
312
|
-
x:
|
|
313
|
-
y: 24 -
|
|
314
|
-
zoom:
|
|
318
|
+
const h = ee.value, p = n.initialZoom, u = te.value, s = u ? _.value.get(u.id) ?? u.position : null, d = (u == null ? void 0 : u.kind) === "note" ? u.appearance.width : 260, f = s ? (s.x + d / 2) * p : (h.minX + h.maxX) / 2 * p;
|
|
319
|
+
a.setViewport({
|
|
320
|
+
x: a.dimensions.value.width / 2 - f,
|
|
321
|
+
y: 24 - h.minY * p,
|
|
322
|
+
zoom: p
|
|
315
323
|
});
|
|
316
324
|
}
|
|
317
|
-
return (
|
|
318
|
-
var
|
|
319
|
-
return
|
|
325
|
+
return (a, h) => {
|
|
326
|
+
var p, u;
|
|
327
|
+
return i(), l("div", {
|
|
320
328
|
class: "ob-flow-viewer",
|
|
321
329
|
"data-theme": t.theme
|
|
322
330
|
}, [
|
|
323
|
-
|
|
331
|
+
de(M(pe), {
|
|
324
332
|
nodes: $.value,
|
|
325
333
|
edges: L.value,
|
|
326
|
-
"node-types":
|
|
334
|
+
"node-types": v,
|
|
327
335
|
"fit-view-on-init": !1,
|
|
328
336
|
"min-zoom": t.minZoom,
|
|
329
337
|
"max-zoom": t.maxZoom,
|
|
@@ -336,85 +344,85 @@ const Q = Symbol("flow-viewer-details"), ue = ["aria-label"], me = { class: "ob-
|
|
|
336
344
|
"delete-key-code": [],
|
|
337
345
|
"multi-selection-key-code": [],
|
|
338
346
|
"pan-on-drag": !0,
|
|
339
|
-
"pan-on-scroll":
|
|
347
|
+
"pan-on-scroll": t.panOnScroll,
|
|
340
348
|
"zoom-on-scroll": !1,
|
|
341
349
|
"zoom-on-pinch": !0,
|
|
342
350
|
class: "ob-flow-viewer__canvas",
|
|
343
|
-
onPaneReady:
|
|
351
|
+
onPaneReady: ae
|
|
344
352
|
}, {
|
|
345
|
-
default:
|
|
346
|
-
t.showControls ? (
|
|
353
|
+
default: le(() => [
|
|
354
|
+
t.showControls ? (i(), A(M(ke), {
|
|
347
355
|
key: 0,
|
|
348
356
|
"show-interactive": !1
|
|
349
|
-
})) :
|
|
350
|
-
t.showMiniMap ? (
|
|
357
|
+
})) : z("", !0),
|
|
358
|
+
t.showMiniMap ? (i(), A(M(ue), {
|
|
351
359
|
key: 1,
|
|
352
360
|
pannable: !0,
|
|
353
361
|
zoomable: !0
|
|
354
|
-
})) :
|
|
362
|
+
})) : z("", !0)
|
|
355
363
|
]),
|
|
356
364
|
_: 1
|
|
357
|
-
}, 8, ["nodes", "edges", "min-zoom", "max-zoom"]),
|
|
358
|
-
(
|
|
359
|
-
|
|
365
|
+
}, 8, ["nodes", "edges", "min-zoom", "max-zoom", "pan-on-scroll"]),
|
|
366
|
+
(i(), A(re, { to: "body" }, [
|
|
367
|
+
r.value ? (i(), l("section", {
|
|
360
368
|
key: 0,
|
|
361
369
|
class: "ob-flow-viewer-tooltip",
|
|
362
370
|
"data-theme": t.theme,
|
|
363
|
-
style:
|
|
371
|
+
style: B({ left: `${r.value.x}px`, top: `${r.value.y}px` }),
|
|
364
372
|
role: "tooltip",
|
|
365
373
|
tabindex: "0",
|
|
366
|
-
onMouseenter:
|
|
367
|
-
onMouseleave:
|
|
368
|
-
onFocusin:
|
|
369
|
-
onFocusout:
|
|
374
|
+
onMouseenter: k,
|
|
375
|
+
onMouseleave: w,
|
|
376
|
+
onFocusin: k,
|
|
377
|
+
onFocusout: w
|
|
370
378
|
}, [
|
|
371
|
-
|
|
372
|
-
|
|
379
|
+
m("header", qe, [
|
|
380
|
+
m("span", {
|
|
373
381
|
class: "ob-flow-viewer-tooltip__icon",
|
|
374
|
-
style:
|
|
382
|
+
style: B({ "--ob-node-icon-color": ((p = r.value.node.icon) == null ? void 0 : p.color) ?? "#64748b" }),
|
|
375
383
|
"aria-hidden": "true"
|
|
376
384
|
}, [
|
|
377
|
-
(
|
|
385
|
+
(u = r.value.node.icon) != null && u.svg ? (i(), l("span", {
|
|
378
386
|
key: 0,
|
|
379
387
|
class: "ob-flow-viewer-node__icon-svg",
|
|
380
|
-
innerHTML:
|
|
381
|
-
}, null, 8,
|
|
388
|
+
innerHTML: r.value.node.icon.svg
|
|
389
|
+
}, null, 8, $e)) : (i(), l("span", Le, H(r.value.node.available ? r.value.node.name.slice(0, 1).toUpperCase() : "?"), 1))
|
|
382
390
|
], 4),
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
391
|
+
m("span", Pe, [
|
|
392
|
+
m("strong", null, H(r.value.node.name), 1),
|
|
393
|
+
m("code", null, H(r.value.node.key), 1)
|
|
386
394
|
])
|
|
387
395
|
]),
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
(
|
|
395
|
-
key:
|
|
396
|
+
m("div", Te, [
|
|
397
|
+
r.value.node.available ? r.value.node.description ? (i(), l("p", je, H(r.value.node.description), 1)) : z("", !0) : (i(), l("p", Ie, " This node template is unavailable. ")),
|
|
398
|
+
r.value.node.available ? (i(), l("div", Se, [
|
|
399
|
+
m("div", Be, [
|
|
400
|
+
h[0] || (h[0] = m("span", { class: "ob-flow-viewer-node__port-heading" }, "Inputs", -1)),
|
|
401
|
+
r.value.node.inputs.length === 0 ? (i(), l("span", Ne, "None")) : z("", !0),
|
|
402
|
+
(i(!0), l(q, null, S(r.value.node.inputs, (s) => (i(), l("span", {
|
|
403
|
+
key: s.key,
|
|
396
404
|
class: "ob-flow-viewer-node__port"
|
|
397
405
|
}, [
|
|
398
|
-
|
|
399
|
-
|
|
406
|
+
m("span", null, H(s.name), 1),
|
|
407
|
+
s.description ? (i(), l("small", Fe, H(s.description), 1)) : z("", !0)
|
|
400
408
|
]))), 128))
|
|
401
409
|
]),
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
(
|
|
406
|
-
key:
|
|
410
|
+
m("div", De, [
|
|
411
|
+
h[1] || (h[1] = m("span", { class: "ob-flow-viewer-node__port-heading" }, "Outputs", -1)),
|
|
412
|
+
r.value.node.outputs.length === 0 ? (i(), l("span", Oe, "None")) : z("", !0),
|
|
413
|
+
(i(!0), l(q, null, S(r.value.node.outputs, (s) => (i(), l("span", {
|
|
414
|
+
key: s.key,
|
|
407
415
|
class: "ob-flow-viewer-node__port"
|
|
408
416
|
}, [
|
|
409
|
-
|
|
410
|
-
|
|
417
|
+
m("span", null, H(s.name), 1),
|
|
418
|
+
s.description ? (i(), l("small", Ee, H(s.description), 1)) : z("", !0)
|
|
411
419
|
]))), 128))
|
|
412
420
|
])
|
|
413
|
-
])) :
|
|
421
|
+
])) : z("", !0)
|
|
414
422
|
])
|
|
415
|
-
], 44,
|
|
423
|
+
], 44, Ce)) : z("", !0)
|
|
416
424
|
]))
|
|
417
|
-
], 8,
|
|
425
|
+
], 8, Ae);
|
|
418
426
|
};
|
|
419
427
|
}
|
|
420
428
|
});
|
|
@@ -424,9 +432,9 @@ const Q = Symbol("flow-viewer-details"), ue = ["aria-label"], me = { class: "ob-
|
|
|
424
432
|
* This source code is licensed under the ISC license.
|
|
425
433
|
* See the LICENSE file in the root directory of this source tree.
|
|
426
434
|
*/
|
|
427
|
-
const
|
|
428
|
-
for (const
|
|
429
|
-
if (
|
|
435
|
+
const Re = (t) => {
|
|
436
|
+
for (const n in t)
|
|
437
|
+
if (n.startsWith("aria-") || n === "role" || n === "title")
|
|
430
438
|
return !0;
|
|
431
439
|
return !1;
|
|
432
440
|
};
|
|
@@ -443,7 +451,7 @@ const J = (t) => t === "";
|
|
|
443
451
|
* This source code is licensed under the ISC license.
|
|
444
452
|
* See the LICENSE file in the root directory of this source tree.
|
|
445
453
|
*/
|
|
446
|
-
const
|
|
454
|
+
const Xe = (...t) => t.filter((n, v, x) => !!n && n.trim() !== "" && x.indexOf(n) === v).join(" ").trim();
|
|
447
455
|
/**
|
|
448
456
|
* @license lucide-vue-next v0.577.0 - ISC
|
|
449
457
|
*
|
|
@@ -457,9 +465,9 @@ const K = (t) => t.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
|
|
457
465
|
* This source code is licensed under the ISC license.
|
|
458
466
|
* See the LICENSE file in the root directory of this source tree.
|
|
459
467
|
*/
|
|
460
|
-
const
|
|
468
|
+
const Ue = (t) => t.replace(
|
|
461
469
|
/^([A-Z])|[\s-_]+(\w)/g,
|
|
462
|
-
(
|
|
470
|
+
(n, v, x) => x ? x.toUpperCase() : v.toLowerCase()
|
|
463
471
|
);
|
|
464
472
|
/**
|
|
465
473
|
* @license lucide-vue-next v0.577.0 - ISC
|
|
@@ -467,9 +475,9 @@ const Re = (t) => t.replace(
|
|
|
467
475
|
* This source code is licensed under the ISC license.
|
|
468
476
|
* See the LICENSE file in the root directory of this source tree.
|
|
469
477
|
*/
|
|
470
|
-
const
|
|
471
|
-
const
|
|
472
|
-
return
|
|
478
|
+
const Ge = (t) => {
|
|
479
|
+
const n = Ue(t);
|
|
480
|
+
return n.charAt(0).toUpperCase() + n.slice(1);
|
|
473
481
|
};
|
|
474
482
|
/**
|
|
475
483
|
* @license lucide-vue-next v0.577.0 - ISC
|
|
@@ -494,33 +502,33 @@ var j = {
|
|
|
494
502
|
* This source code is licensed under the ISC license.
|
|
495
503
|
* See the LICENSE file in the root directory of this source tree.
|
|
496
504
|
*/
|
|
497
|
-
const
|
|
505
|
+
const Ye = ({
|
|
498
506
|
name: t,
|
|
499
|
-
iconNode:
|
|
500
|
-
absoluteStrokeWidth:
|
|
501
|
-
"absolute-stroke-width":
|
|
502
|
-
strokeWidth:
|
|
503
|
-
"stroke-width":
|
|
504
|
-
size:
|
|
505
|
-
color:
|
|
506
|
-
...
|
|
507
|
+
iconNode: n,
|
|
508
|
+
absoluteStrokeWidth: v,
|
|
509
|
+
"absolute-stroke-width": x,
|
|
510
|
+
strokeWidth: r,
|
|
511
|
+
"stroke-width": y,
|
|
512
|
+
size: k = j.width,
|
|
513
|
+
color: b = j.stroke,
|
|
514
|
+
...o
|
|
507
515
|
}, { slots: c }) => U(
|
|
508
516
|
"svg",
|
|
509
517
|
{
|
|
510
518
|
...j,
|
|
511
|
-
...
|
|
512
|
-
width:
|
|
513
|
-
height:
|
|
514
|
-
stroke:
|
|
515
|
-
"stroke-width": J(
|
|
516
|
-
class:
|
|
519
|
+
...o,
|
|
520
|
+
width: k,
|
|
521
|
+
height: k,
|
|
522
|
+
stroke: b,
|
|
523
|
+
"stroke-width": J(v) || J(x) || v === !0 || x === !0 ? Number(r || y || j["stroke-width"]) * 24 / Number(k) : r || y || j["stroke-width"],
|
|
524
|
+
class: Xe(
|
|
517
525
|
"lucide",
|
|
518
|
-
|
|
519
|
-
...t ? [`lucide-${K(
|
|
526
|
+
o.class,
|
|
527
|
+
...t ? [`lucide-${K(Ge(t))}-icon`, `lucide-${K(t)}`] : ["lucide-icon"]
|
|
520
528
|
),
|
|
521
|
-
...!c.default && !
|
|
529
|
+
...!c.default && !Re(o) && { "aria-hidden": "true" }
|
|
522
530
|
},
|
|
523
|
-
[...
|
|
531
|
+
[...n.map((w) => U(...w)), ...c.default ? [c.default()] : []]
|
|
524
532
|
);
|
|
525
533
|
/**
|
|
526
534
|
* @license lucide-vue-next v0.577.0 - ISC
|
|
@@ -528,15 +536,15 @@ const Ue = ({
|
|
|
528
536
|
* This source code is licensed under the ISC license.
|
|
529
537
|
* See the LICENSE file in the root directory of this source tree.
|
|
530
538
|
*/
|
|
531
|
-
const e = (t,
|
|
532
|
-
|
|
539
|
+
const e = (t, n) => (v, { slots: x, attrs: r }) => U(
|
|
540
|
+
Ye,
|
|
533
541
|
{
|
|
534
|
-
...
|
|
535
|
-
...
|
|
536
|
-
iconNode:
|
|
542
|
+
...r,
|
|
543
|
+
...v,
|
|
544
|
+
iconNode: n,
|
|
537
545
|
name: t
|
|
538
546
|
},
|
|
539
|
-
|
|
547
|
+
x
|
|
540
548
|
);
|
|
541
549
|
/**
|
|
542
550
|
* @license lucide-vue-next v0.577.0 - ISC
|
|
@@ -544,7 +552,7 @@ const e = (t, i) => (u, { slots: f, attrs: d }) => U(
|
|
|
544
552
|
* This source code is licensed under the ISC license.
|
|
545
553
|
* See the LICENSE file in the root directory of this source tree.
|
|
546
554
|
*/
|
|
547
|
-
const
|
|
555
|
+
const We = e("archive-restore", [
|
|
548
556
|
["rect", { width: "20", height: "5", x: "2", y: "3", rx: "1", key: "1wp1u1" }],
|
|
549
557
|
["path", { d: "M4 8v11a2 2 0 0 0 2 2h2", key: "tvwodi" }],
|
|
550
558
|
["path", { d: "M20 8v11a2 2 0 0 1-2 2h-2", key: "1gkqxj" }],
|
|
@@ -557,7 +565,7 @@ const Ge = e("archive-restore", [
|
|
|
557
565
|
* This source code is licensed under the ISC license.
|
|
558
566
|
* See the LICENSE file in the root directory of this source tree.
|
|
559
567
|
*/
|
|
560
|
-
const
|
|
568
|
+
const Je = e("archive", [
|
|
561
569
|
["rect", { width: "20", height: "5", x: "2", y: "3", rx: "1", key: "1wp1u1" }],
|
|
562
570
|
["path", { d: "M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8", key: "1s80jp" }],
|
|
563
571
|
["path", { d: "M10 12h4", key: "a56b0p" }]
|
|
@@ -568,7 +576,7 @@ const Ye = e("archive", [
|
|
|
568
576
|
* This source code is licensed under the ISC license.
|
|
569
577
|
* See the LICENSE file in the root directory of this source tree.
|
|
570
578
|
*/
|
|
571
|
-
const
|
|
579
|
+
const Ke = e("arrow-down-to-line", [
|
|
572
580
|
["path", { d: "M12 17V3", key: "1cwfxf" }],
|
|
573
581
|
["path", { d: "m6 11 6 6 6-6", key: "12ii2o" }],
|
|
574
582
|
["path", { d: "M19 21H5", key: "150jfl" }]
|
|
@@ -579,7 +587,7 @@ const We = e("arrow-down-to-line", [
|
|
|
579
587
|
* This source code is licensed under the ISC license.
|
|
580
588
|
* See the LICENSE file in the root directory of this source tree.
|
|
581
589
|
*/
|
|
582
|
-
const
|
|
590
|
+
const Qe = e("badge-check", [
|
|
583
591
|
[
|
|
584
592
|
"path",
|
|
585
593
|
{
|
|
@@ -595,7 +603,7 @@ const Je = e("badge-check", [
|
|
|
595
603
|
* This source code is licensed under the ISC license.
|
|
596
604
|
* See the LICENSE file in the root directory of this source tree.
|
|
597
605
|
*/
|
|
598
|
-
const
|
|
606
|
+
const et = e("bot", [
|
|
599
607
|
["path", { d: "M12 8V4H8", key: "hb8ula" }],
|
|
600
608
|
["rect", { width: "16", height: "12", x: "4", y: "8", rx: "2", key: "enze0r" }],
|
|
601
609
|
["path", { d: "M2 14h2", key: "vft8re" }],
|
|
@@ -609,7 +617,7 @@ const Ke = e("bot", [
|
|
|
609
617
|
* This source code is licensed under the ISC license.
|
|
610
618
|
* See the LICENSE file in the root directory of this source tree.
|
|
611
619
|
*/
|
|
612
|
-
const
|
|
620
|
+
const tt = e("box", [
|
|
613
621
|
[
|
|
614
622
|
"path",
|
|
615
623
|
{
|
|
@@ -626,7 +634,7 @@ const Qe = e("box", [
|
|
|
626
634
|
* This source code is licensed under the ISC license.
|
|
627
635
|
* See the LICENSE file in the root directory of this source tree.
|
|
628
636
|
*/
|
|
629
|
-
const
|
|
637
|
+
const at = e("brain-circuit", [
|
|
630
638
|
[
|
|
631
639
|
"path",
|
|
632
640
|
{
|
|
@@ -653,7 +661,7 @@ const et = e("brain-circuit", [
|
|
|
653
661
|
* This source code is licensed under the ISC license.
|
|
654
662
|
* See the LICENSE file in the root directory of this source tree.
|
|
655
663
|
*/
|
|
656
|
-
const
|
|
664
|
+
const ot = e("brain", [
|
|
657
665
|
["path", { d: "M12 18V5", key: "adv99a" }],
|
|
658
666
|
["path", { d: "M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4", key: "1e3is1" }],
|
|
659
667
|
["path", { d: "M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5", key: "1gqd8o" }],
|
|
@@ -669,7 +677,7 @@ const tt = e("brain", [
|
|
|
669
677
|
* This source code is licensed under the ISC license.
|
|
670
678
|
* See the LICENSE file in the root directory of this source tree.
|
|
671
679
|
*/
|
|
672
|
-
const
|
|
680
|
+
const nt = e("chart-column", [
|
|
673
681
|
["path", { d: "M3 3v16a2 2 0 0 0 2 2h16", key: "c24i48" }],
|
|
674
682
|
["path", { d: "M18 17V9", key: "2bz60n" }],
|
|
675
683
|
["path", { d: "M13 17V5", key: "1frdt8" }],
|
|
@@ -681,7 +689,7 @@ const at = e("chart-column", [
|
|
|
681
689
|
* This source code is licensed under the ISC license.
|
|
682
690
|
* See the LICENSE file in the root directory of this source tree.
|
|
683
691
|
*/
|
|
684
|
-
const
|
|
692
|
+
const it = e("clipboard-check", [
|
|
685
693
|
["rect", { width: "8", height: "4", x: "8", y: "2", rx: "1", ry: "1", key: "tgr4d6" }],
|
|
686
694
|
[
|
|
687
695
|
"path",
|
|
@@ -698,7 +706,7 @@ const ot = e("clipboard-check", [
|
|
|
698
706
|
* This source code is licensed under the ISC license.
|
|
699
707
|
* See the LICENSE file in the root directory of this source tree.
|
|
700
708
|
*/
|
|
701
|
-
const
|
|
709
|
+
const st = e("clock-3", [
|
|
702
710
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
703
711
|
["path", { d: "M12 6v6h4", key: "135r8i" }]
|
|
704
712
|
]);
|
|
@@ -708,7 +716,7 @@ const nt = e("clock-3", [
|
|
|
708
716
|
* This source code is licensed under the ISC license.
|
|
709
717
|
* See the LICENSE file in the root directory of this source tree.
|
|
710
718
|
*/
|
|
711
|
-
const
|
|
719
|
+
const ct = e("cloud-download", [
|
|
712
720
|
["path", { d: "M12 13v8l-4-4", key: "1f5nwf" }],
|
|
713
721
|
["path", { d: "m12 21 4-4", key: "1lfcce" }],
|
|
714
722
|
["path", { d: "M4.393 15.269A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.436 8.284", key: "ui1hmy" }]
|
|
@@ -719,7 +727,7 @@ const it = e("cloud-download", [
|
|
|
719
727
|
* This source code is licensed under the ISC license.
|
|
720
728
|
* See the LICENSE file in the root directory of this source tree.
|
|
721
729
|
*/
|
|
722
|
-
const
|
|
730
|
+
const dt = e("combine", [
|
|
723
731
|
["path", { d: "M14 3a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1", key: "1l7d7l" }],
|
|
724
732
|
["path", { d: "M19 3a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1", key: "9955pe" }],
|
|
725
733
|
["path", { d: "m7 15 3 3", key: "4hkfgk" }],
|
|
@@ -733,7 +741,7 @@ const ct = e("combine", [
|
|
|
733
741
|
* This source code is licensed under the ISC license.
|
|
734
742
|
* See the LICENSE file in the root directory of this source tree.
|
|
735
743
|
*/
|
|
736
|
-
const
|
|
744
|
+
const lt = e("copy", [
|
|
737
745
|
["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
|
|
738
746
|
["path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2", key: "zix9uf" }]
|
|
739
747
|
]);
|
|
@@ -743,7 +751,7 @@ const st = e("copy", [
|
|
|
743
751
|
* This source code is licensed under the ISC license.
|
|
744
752
|
* See the LICENSE file in the root directory of this source tree.
|
|
745
753
|
*/
|
|
746
|
-
const
|
|
754
|
+
const rt = e("cpu", [
|
|
747
755
|
["path", { d: "M12 20v2", key: "1lh1kg" }],
|
|
748
756
|
["path", { d: "M12 2v2", key: "tus03m" }],
|
|
749
757
|
["path", { d: "M17 20v2", key: "1rnc9c" }],
|
|
@@ -765,7 +773,7 @@ const dt = e("cpu", [
|
|
|
765
773
|
* This source code is licensed under the ISC license.
|
|
766
774
|
* See the LICENSE file in the root directory of this source tree.
|
|
767
775
|
*/
|
|
768
|
-
const
|
|
776
|
+
const ht = e("crop", [
|
|
769
777
|
["path", { d: "M6 2v14a2 2 0 0 0 2 2h14", key: "ron5a4" }],
|
|
770
778
|
["path", { d: "M18 22V8a2 2 0 0 0-2-2H2", key: "7s9ehn" }]
|
|
771
779
|
]);
|
|
@@ -775,7 +783,7 @@ const lt = e("crop", [
|
|
|
775
783
|
* This source code is licensed under the ISC license.
|
|
776
784
|
* See the LICENSE file in the root directory of this source tree.
|
|
777
785
|
*/
|
|
778
|
-
const
|
|
786
|
+
const yt = e("crosshair", [
|
|
779
787
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
780
788
|
["line", { x1: "22", x2: "18", y1: "12", y2: "12", key: "l9bcsi" }],
|
|
781
789
|
["line", { x1: "6", x2: "2", y1: "12", y2: "12", key: "13hhkx" }],
|
|
@@ -788,7 +796,7 @@ const rt = e("crosshair", [
|
|
|
788
796
|
* This source code is licensed under the ISC license.
|
|
789
797
|
* See the LICENSE file in the root directory of this source tree.
|
|
790
798
|
*/
|
|
791
|
-
const
|
|
799
|
+
const pt = e("database", [
|
|
792
800
|
["ellipse", { cx: "12", cy: "5", rx: "9", ry: "3", key: "msslwz" }],
|
|
793
801
|
["path", { d: "M3 5V19A9 3 0 0 0 21 19V5", key: "1wlel7" }],
|
|
794
802
|
["path", { d: "M3 12A9 3 0 0 0 21 12", key: "mv7ke4" }]
|
|
@@ -799,7 +807,7 @@ const ht = e("database", [
|
|
|
799
807
|
* This source code is licensed under the ISC license.
|
|
800
808
|
* See the LICENSE file in the root directory of this source tree.
|
|
801
809
|
*/
|
|
802
|
-
const
|
|
810
|
+
const kt = e("download", [
|
|
803
811
|
["path", { d: "M12 15V3", key: "m9g1x1" }],
|
|
804
812
|
["path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4", key: "ih7n3h" }],
|
|
805
813
|
["path", { d: "m7 10 5 5 5-5", key: "brsn70" }]
|
|
@@ -810,7 +818,7 @@ const yt = e("download", [
|
|
|
810
818
|
* This source code is licensed under the ISC license.
|
|
811
819
|
* See the LICENSE file in the root directory of this source tree.
|
|
812
820
|
*/
|
|
813
|
-
const
|
|
821
|
+
const ut = e("eye", [
|
|
814
822
|
[
|
|
815
823
|
"path",
|
|
816
824
|
{
|
|
@@ -826,7 +834,7 @@ const pt = e("eye", [
|
|
|
826
834
|
* This source code is licensed under the ISC license.
|
|
827
835
|
* See the LICENSE file in the root directory of this source tree.
|
|
828
836
|
*/
|
|
829
|
-
const
|
|
837
|
+
const mt = e("file-down", [
|
|
830
838
|
[
|
|
831
839
|
"path",
|
|
832
840
|
{
|
|
@@ -844,7 +852,7 @@ const kt = e("file-down", [
|
|
|
844
852
|
* This source code is licensed under the ISC license.
|
|
845
853
|
* See the LICENSE file in the root directory of this source tree.
|
|
846
854
|
*/
|
|
847
|
-
const
|
|
855
|
+
const vt = e("files", [
|
|
848
856
|
["path", { d: "M15 2h-4a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V8", key: "14sh0y" }],
|
|
849
857
|
[
|
|
850
858
|
"path",
|
|
@@ -861,7 +869,7 @@ const ut = e("files", [
|
|
|
861
869
|
* This source code is licensed under the ISC license.
|
|
862
870
|
* See the LICENSE file in the root directory of this source tree.
|
|
863
871
|
*/
|
|
864
|
-
const
|
|
872
|
+
const wt = e("film", [
|
|
865
873
|
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
|
|
866
874
|
["path", { d: "M7 3v18", key: "bbkbws" }],
|
|
867
875
|
["path", { d: "M3 7.5h4", key: "zfgn84" }],
|
|
@@ -877,7 +885,7 @@ const mt = e("film", [
|
|
|
877
885
|
* This source code is licensed under the ISC license.
|
|
878
886
|
* See the LICENSE file in the root directory of this source tree.
|
|
879
887
|
*/
|
|
880
|
-
const
|
|
888
|
+
const gt = e("folder-plus", [
|
|
881
889
|
["path", { d: "M12 10v6", key: "1bos4e" }],
|
|
882
890
|
["path", { d: "M9 13h6", key: "1uhe8q" }],
|
|
883
891
|
[
|
|
@@ -894,7 +902,7 @@ const vt = e("folder-plus", [
|
|
|
894
902
|
* This source code is licensed under the ISC license.
|
|
895
903
|
* See the LICENSE file in the root directory of this source tree.
|
|
896
904
|
*/
|
|
897
|
-
const
|
|
905
|
+
const ft = e("folder-root", [
|
|
898
906
|
[
|
|
899
907
|
"path",
|
|
900
908
|
{
|
|
@@ -911,7 +919,7 @@ const wt = e("folder-root", [
|
|
|
911
919
|
* This source code is licensed under the ISC license.
|
|
912
920
|
* See the LICENSE file in the root directory of this source tree.
|
|
913
921
|
*/
|
|
914
|
-
const
|
|
922
|
+
const Mt = e("folder-sync", [
|
|
915
923
|
[
|
|
916
924
|
"path",
|
|
917
925
|
{
|
|
@@ -930,7 +938,7 @@ const gt = e("folder-sync", [
|
|
|
930
938
|
* This source code is licensed under the ISC license.
|
|
931
939
|
* See the LICENSE file in the root directory of this source tree.
|
|
932
940
|
*/
|
|
933
|
-
const
|
|
941
|
+
const xt = e("funnel", [
|
|
934
942
|
[
|
|
935
943
|
"path",
|
|
936
944
|
{
|
|
@@ -945,7 +953,7 @@ const ft = e("funnel", [
|
|
|
945
953
|
* This source code is licensed under the ISC license.
|
|
946
954
|
* See the LICENSE file in the root directory of this source tree.
|
|
947
955
|
*/
|
|
948
|
-
const
|
|
956
|
+
const bt = e("gallery-vertical-end", [
|
|
949
957
|
["path", { d: "M7 2h10", key: "nczekb" }],
|
|
950
958
|
["path", { d: "M5 6h14", key: "u2x4p" }],
|
|
951
959
|
["rect", { width: "18", height: "12", x: "3", y: "10", rx: "2", key: "l0tzu3" }]
|
|
@@ -956,7 +964,7 @@ const Mt = e("gallery-vertical-end", [
|
|
|
956
964
|
* This source code is licensed under the ISC license.
|
|
957
965
|
* See the LICENSE file in the root directory of this source tree.
|
|
958
966
|
*/
|
|
959
|
-
const
|
|
967
|
+
const zt = e("gauge", [
|
|
960
968
|
["path", { d: "m12 14 4-4", key: "9kzdfg" }],
|
|
961
969
|
["path", { d: "M3.34 19a10 10 0 1 1 17.32 0", key: "19p75a" }]
|
|
962
970
|
]);
|
|
@@ -966,7 +974,7 @@ const xt = e("gauge", [
|
|
|
966
974
|
* This source code is licensed under the ISC license.
|
|
967
975
|
* See the LICENSE file in the root directory of this source tree.
|
|
968
976
|
*/
|
|
969
|
-
const
|
|
977
|
+
const _t = e("git-branch", [
|
|
970
978
|
["path", { d: "M15 6a9 9 0 0 0-9 9V3", key: "1cii5b" }],
|
|
971
979
|
["circle", { cx: "18", cy: "6", r: "3", key: "1h7g24" }],
|
|
972
980
|
["circle", { cx: "6", cy: "18", r: "3", key: "fqmcym" }]
|
|
@@ -977,7 +985,7 @@ const bt = e("git-branch", [
|
|
|
977
985
|
* This source code is licensed under the ISC license.
|
|
978
986
|
* See the LICENSE file in the root directory of this source tree.
|
|
979
987
|
*/
|
|
980
|
-
const
|
|
988
|
+
const Ht = e("git-merge", [
|
|
981
989
|
["circle", { cx: "18", cy: "18", r: "3", key: "1xkwt0" }],
|
|
982
990
|
["circle", { cx: "6", cy: "6", r: "3", key: "1lh9wr" }],
|
|
983
991
|
["path", { d: "M6 21V9a9 9 0 0 0 9 9", key: "7kw0sc" }]
|
|
@@ -988,7 +996,7 @@ const zt = e("git-merge", [
|
|
|
988
996
|
* This source code is licensed under the ISC license.
|
|
989
997
|
* See the LICENSE file in the root directory of this source tree.
|
|
990
998
|
*/
|
|
991
|
-
const
|
|
999
|
+
const Vt = e("hard-drive-download", [
|
|
992
1000
|
["path", { d: "M12 2v8", key: "1q4o3n" }],
|
|
993
1001
|
["path", { d: "m16 6-4 4-4-4", key: "6wukr" }],
|
|
994
1002
|
["rect", { width: "20", height: "8", x: "2", y: "14", rx: "2", key: "w68u3i" }],
|
|
@@ -1001,7 +1009,7 @@ const _t = e("hard-drive-download", [
|
|
|
1001
1009
|
* This source code is licensed under the ISC license.
|
|
1002
1010
|
* See the LICENSE file in the root directory of this source tree.
|
|
1003
1011
|
*/
|
|
1004
|
-
const
|
|
1012
|
+
const At = e("hard-drive-upload", [
|
|
1005
1013
|
["path", { d: "m16 6-4-4-4 4", key: "13yo43" }],
|
|
1006
1014
|
["path", { d: "M12 2v8", key: "1q4o3n" }],
|
|
1007
1015
|
["rect", { width: "20", height: "8", x: "2", y: "14", rx: "2", key: "w68u3i" }],
|
|
@@ -1014,7 +1022,7 @@ const Ht = e("hard-drive-upload", [
|
|
|
1014
1022
|
* This source code is licensed under the ISC license.
|
|
1015
1023
|
* See the LICENSE file in the root directory of this source tree.
|
|
1016
1024
|
*/
|
|
1017
|
-
const
|
|
1025
|
+
const Ct = e("history", [
|
|
1018
1026
|
["path", { d: "M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8", key: "1357e3" }],
|
|
1019
1027
|
["path", { d: "M3 3v5h5", key: "1xhq8a" }],
|
|
1020
1028
|
["path", { d: "M12 7v5l4 2", key: "1fdv2h" }]
|
|
@@ -1025,7 +1033,7 @@ const Vt = e("history", [
|
|
|
1025
1033
|
* This source code is licensed under the ISC license.
|
|
1026
1034
|
* See the LICENSE file in the root directory of this source tree.
|
|
1027
1035
|
*/
|
|
1028
|
-
const
|
|
1036
|
+
const qt = e("image-up", [
|
|
1029
1037
|
[
|
|
1030
1038
|
"path",
|
|
1031
1039
|
{
|
|
@@ -1043,7 +1051,7 @@ const At = e("image-up", [
|
|
|
1043
1051
|
* This source code is licensed under the ISC license.
|
|
1044
1052
|
* See the LICENSE file in the root directory of this source tree.
|
|
1045
1053
|
*/
|
|
1046
|
-
const
|
|
1054
|
+
const $t = e("image-plus", [
|
|
1047
1055
|
["path", { d: "M16 5h6", key: "1vod17" }],
|
|
1048
1056
|
["path", { d: "M19 2v6", key: "4bpg5p" }],
|
|
1049
1057
|
["path", { d: "M21 11.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7.5", key: "1ue2ih" }],
|
|
@@ -1056,7 +1064,7 @@ const Ct = e("image-plus", [
|
|
|
1056
1064
|
* This source code is licensed under the ISC license.
|
|
1057
1065
|
* See the LICENSE file in the root directory of this source tree.
|
|
1058
1066
|
*/
|
|
1059
|
-
const
|
|
1067
|
+
const Lt = e("image", [
|
|
1060
1068
|
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", ry: "2", key: "1m3agn" }],
|
|
1061
1069
|
["circle", { cx: "9", cy: "9", r: "2", key: "af1f0g" }],
|
|
1062
1070
|
["path", { d: "m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21", key: "1xmnt7" }]
|
|
@@ -1067,7 +1075,7 @@ const qt = e("image", [
|
|
|
1067
1075
|
* This source code is licensed under the ISC license.
|
|
1068
1076
|
* See the LICENSE file in the root directory of this source tree.
|
|
1069
1077
|
*/
|
|
1070
|
-
const
|
|
1078
|
+
const Pt = e("images", [
|
|
1071
1079
|
["path", { d: "m22 11-1.296-1.296a2.4 2.4 0 0 0-3.408 0L11 16", key: "9kzy35" }],
|
|
1072
1080
|
["path", { d: "M4 8a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2", key: "1t0f0t" }],
|
|
1073
1081
|
["circle", { cx: "13", cy: "7", r: "1", fill: "currentColor", key: "1obus6" }],
|
|
@@ -1079,7 +1087,7 @@ const $t = e("images", [
|
|
|
1079
1087
|
* This source code is licensed under the ISC license.
|
|
1080
1088
|
* See the LICENSE file in the root directory of this source tree.
|
|
1081
1089
|
*/
|
|
1082
|
-
const
|
|
1090
|
+
const Tt = e("layers", [
|
|
1083
1091
|
[
|
|
1084
1092
|
"path",
|
|
1085
1093
|
{
|
|
@@ -1108,7 +1116,7 @@ const Lt = e("layers", [
|
|
|
1108
1116
|
* This source code is licensed under the ISC license.
|
|
1109
1117
|
* See the LICENSE file in the root directory of this source tree.
|
|
1110
1118
|
*/
|
|
1111
|
-
const
|
|
1119
|
+
const It = e("list-checks", [
|
|
1112
1120
|
["path", { d: "M13 5h8", key: "a7qcls" }],
|
|
1113
1121
|
["path", { d: "M13 12h8", key: "h98zly" }],
|
|
1114
1122
|
["path", { d: "M13 19h8", key: "c3s6r1" }],
|
|
@@ -1121,7 +1129,7 @@ const Pt = e("list-checks", [
|
|
|
1121
1129
|
* This source code is licensed under the ISC license.
|
|
1122
1130
|
* See the LICENSE file in the root directory of this source tree.
|
|
1123
1131
|
*/
|
|
1124
|
-
const
|
|
1132
|
+
const jt = e("loader-circle", [
|
|
1125
1133
|
["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]
|
|
1126
1134
|
]);
|
|
1127
1135
|
/**
|
|
@@ -1130,7 +1138,7 @@ const It = e("loader-circle", [
|
|
|
1130
1138
|
* This source code is licensed under the ISC license.
|
|
1131
1139
|
* See the LICENSE file in the root directory of this source tree.
|
|
1132
1140
|
*/
|
|
1133
|
-
const
|
|
1141
|
+
const St = e("mail", [
|
|
1134
1142
|
["path", { d: "m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7", key: "132q7q" }],
|
|
1135
1143
|
["rect", { x: "2", y: "4", width: "20", height: "16", rx: "2", key: "izxlao" }]
|
|
1136
1144
|
]);
|
|
@@ -1140,7 +1148,7 @@ const Tt = e("mail", [
|
|
|
1140
1148
|
* This source code is licensed under the ISC license.
|
|
1141
1149
|
* See the LICENSE file in the root directory of this source tree.
|
|
1142
1150
|
*/
|
|
1143
|
-
const
|
|
1151
|
+
const Bt = e("moon", [
|
|
1144
1152
|
[
|
|
1145
1153
|
"path",
|
|
1146
1154
|
{
|
|
@@ -1155,7 +1163,7 @@ const jt = e("moon", [
|
|
|
1155
1163
|
* This source code is licensed under the ISC license.
|
|
1156
1164
|
* See the LICENSE file in the root directory of this source tree.
|
|
1157
1165
|
*/
|
|
1158
|
-
const
|
|
1166
|
+
const Nt = e("move-right", [
|
|
1159
1167
|
["path", { d: "M18 8L22 12L18 16", key: "1r0oui" }],
|
|
1160
1168
|
["path", { d: "M2 12H22", key: "1m8cig" }]
|
|
1161
1169
|
]);
|
|
@@ -1165,7 +1173,7 @@ const Bt = e("move-right", [
|
|
|
1165
1173
|
* This source code is licensed under the ISC license.
|
|
1166
1174
|
* See the LICENSE file in the root directory of this source tree.
|
|
1167
1175
|
*/
|
|
1168
|
-
const
|
|
1176
|
+
const Ft = e("octagon-x", [
|
|
1169
1177
|
["path", { d: "m15 9-6 6", key: "1uzhvr" }],
|
|
1170
1178
|
[
|
|
1171
1179
|
"path",
|
|
@@ -1182,7 +1190,7 @@ const St = e("octagon-x", [
|
|
|
1182
1190
|
* This source code is licensed under the ISC license.
|
|
1183
1191
|
* See the LICENSE file in the root directory of this source tree.
|
|
1184
1192
|
*/
|
|
1185
|
-
const
|
|
1193
|
+
const Dt = e("package-minus", [
|
|
1186
1194
|
["path", { d: "M12 22V12", key: "d0xqtd" }],
|
|
1187
1195
|
["path", { d: "M16 17h6", key: "1ook5g" }],
|
|
1188
1196
|
[
|
|
@@ -1201,7 +1209,7 @@ const Nt = e("package-minus", [
|
|
|
1201
1209
|
* This source code is licensed under the ISC license.
|
|
1202
1210
|
* See the LICENSE file in the root directory of this source tree.
|
|
1203
1211
|
*/
|
|
1204
|
-
const
|
|
1212
|
+
const Ot = e("package-open", [
|
|
1205
1213
|
["path", { d: "M12 22v-9", key: "x3hkom" }],
|
|
1206
1214
|
[
|
|
1207
1215
|
"path",
|
|
@@ -1231,7 +1239,7 @@ const Ft = e("package-open", [
|
|
|
1231
1239
|
* This source code is licensed under the ISC license.
|
|
1232
1240
|
* See the LICENSE file in the root directory of this source tree.
|
|
1233
1241
|
*/
|
|
1234
|
-
const
|
|
1242
|
+
const Et = e("package-plus", [
|
|
1235
1243
|
["path", { d: "M12 22V12", key: "d0xqtd" }],
|
|
1236
1244
|
["path", { d: "M16 17h6", key: "1ook5g" }],
|
|
1237
1245
|
["path", { d: "M19 14v6", key: "1ckrd5" }],
|
|
@@ -1251,7 +1259,7 @@ const Dt = e("package-plus", [
|
|
|
1251
1259
|
* This source code is licensed under the ISC license.
|
|
1252
1260
|
* See the LICENSE file in the root directory of this source tree.
|
|
1253
1261
|
*/
|
|
1254
|
-
const
|
|
1262
|
+
const Zt = e("play", [
|
|
1255
1263
|
[
|
|
1256
1264
|
"path",
|
|
1257
1265
|
{
|
|
@@ -1266,7 +1274,7 @@ const Ot = e("play", [
|
|
|
1266
1274
|
* This source code is licensed under the ISC license.
|
|
1267
1275
|
* See the LICENSE file in the root directory of this source tree.
|
|
1268
1276
|
*/
|
|
1269
|
-
const
|
|
1277
|
+
const Rt = e("radar", [
|
|
1270
1278
|
["path", { d: "M19.07 4.93A10 10 0 0 0 6.99 3.34", key: "z3du51" }],
|
|
1271
1279
|
["path", { d: "M4 6h.01", key: "oypzma" }],
|
|
1272
1280
|
["path", { d: "M2.29 9.62A10 10 0 1 0 21.31 8.35", key: "qzzz0" }],
|
|
@@ -1282,7 +1290,7 @@ const Et = e("radar", [
|
|
|
1282
1290
|
* This source code is licensed under the ISC license.
|
|
1283
1291
|
* See the LICENSE file in the root directory of this source tree.
|
|
1284
1292
|
*/
|
|
1285
|
-
const
|
|
1293
|
+
const Xt = e("route", [
|
|
1286
1294
|
["circle", { cx: "6", cy: "19", r: "3", key: "1kj8tv" }],
|
|
1287
1295
|
["path", { d: "M9 19h8.5a3.5 3.5 0 0 0 0-7h-11a3.5 3.5 0 0 1 0-7H15", key: "1d8sl" }],
|
|
1288
1296
|
["circle", { cx: "18", cy: "5", r: "3", key: "gq8acd" }]
|
|
@@ -1293,7 +1301,7 @@ const Zt = e("route", [
|
|
|
1293
1301
|
* This source code is licensed under the ISC license.
|
|
1294
1302
|
* See the LICENSE file in the root directory of this source tree.
|
|
1295
1303
|
*/
|
|
1296
|
-
const
|
|
1304
|
+
const Ut = e("ruler", [
|
|
1297
1305
|
[
|
|
1298
1306
|
"path",
|
|
1299
1307
|
{
|
|
@@ -1312,7 +1320,7 @@ const Rt = e("ruler", [
|
|
|
1312
1320
|
* This source code is licensed under the ISC license.
|
|
1313
1321
|
* See the LICENSE file in the root directory of this source tree.
|
|
1314
1322
|
*/
|
|
1315
|
-
const
|
|
1323
|
+
const Gt = e("scale", [
|
|
1316
1324
|
["path", { d: "M12 3v18", key: "108xh3" }],
|
|
1317
1325
|
["path", { d: "m19 8 3 8a5 5 0 0 1-6 0zV7", key: "zcdpyk" }],
|
|
1318
1326
|
["path", { d: "M3 7h1a17 17 0 0 0 8-2 17 17 0 0 0 8 2h1", key: "1yorad" }],
|
|
@@ -1325,7 +1333,7 @@ const Xt = e("scale", [
|
|
|
1325
1333
|
* This source code is licensed under the ISC license.
|
|
1326
1334
|
* See the LICENSE file in the root directory of this source tree.
|
|
1327
1335
|
*/
|
|
1328
|
-
const
|
|
1336
|
+
const Yt = e("scan-eye", [
|
|
1329
1337
|
["path", { d: "M3 7V5a2 2 0 0 1 2-2h2", key: "aa7l1z" }],
|
|
1330
1338
|
["path", { d: "M17 3h2a2 2 0 0 1 2 2v2", key: "4qcy5o" }],
|
|
1331
1339
|
["path", { d: "M21 17v2a2 2 0 0 1-2 2h-2", key: "6vwrx8" }],
|
|
@@ -1345,7 +1353,7 @@ const Ut = e("scan-eye", [
|
|
|
1345
1353
|
* This source code is licensed under the ISC license.
|
|
1346
1354
|
* See the LICENSE file in the root directory of this source tree.
|
|
1347
1355
|
*/
|
|
1348
|
-
const
|
|
1356
|
+
const Wt = e("scan-search", [
|
|
1349
1357
|
["path", { d: "M3 7V5a2 2 0 0 1 2-2h2", key: "aa7l1z" }],
|
|
1350
1358
|
["path", { d: "M17 3h2a2 2 0 0 1 2 2v2", key: "4qcy5o" }],
|
|
1351
1359
|
["path", { d: "M21 17v2a2 2 0 0 1-2 2h-2", key: "6vwrx8" }],
|
|
@@ -1359,7 +1367,7 @@ const Gt = e("scan-search", [
|
|
|
1359
1367
|
* This source code is licensed under the ISC license.
|
|
1360
1368
|
* See the LICENSE file in the root directory of this source tree.
|
|
1361
1369
|
*/
|
|
1362
|
-
const
|
|
1370
|
+
const Jt = e("scan-text", [
|
|
1363
1371
|
["path", { d: "M3 7V5a2 2 0 0 1 2-2h2", key: "aa7l1z" }],
|
|
1364
1372
|
["path", { d: "M17 3h2a2 2 0 0 1 2 2v2", key: "4qcy5o" }],
|
|
1365
1373
|
["path", { d: "M21 17v2a2 2 0 0 1-2 2h-2", key: "6vwrx8" }],
|
|
@@ -1374,7 +1382,7 @@ const Yt = e("scan-text", [
|
|
|
1374
1382
|
* This source code is licensed under the ISC license.
|
|
1375
1383
|
* See the LICENSE file in the root directory of this source tree.
|
|
1376
1384
|
*/
|
|
1377
|
-
const
|
|
1385
|
+
const Kt = e("scissors", [
|
|
1378
1386
|
["circle", { cx: "6", cy: "6", r: "3", key: "1lh9wr" }],
|
|
1379
1387
|
["path", { d: "M8.12 8.12 12 12", key: "1alkpv" }],
|
|
1380
1388
|
["path", { d: "M20 4 8.12 15.88", key: "xgtan2" }],
|
|
@@ -1387,7 +1395,7 @@ const Wt = e("scissors", [
|
|
|
1387
1395
|
* This source code is licensed under the ISC license.
|
|
1388
1396
|
* See the LICENSE file in the root directory of this source tree.
|
|
1389
1397
|
*/
|
|
1390
|
-
const
|
|
1398
|
+
const Qt = e("search", [
|
|
1391
1399
|
["path", { d: "m21 21-4.34-4.34", key: "14j7rj" }],
|
|
1392
1400
|
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }]
|
|
1393
1401
|
]);
|
|
@@ -1397,7 +1405,7 @@ const Jt = e("search", [
|
|
|
1397
1405
|
* This source code is licensed under the ISC license.
|
|
1398
1406
|
* See the LICENSE file in the root directory of this source tree.
|
|
1399
1407
|
*/
|
|
1400
|
-
const
|
|
1408
|
+
const ea = e("settings", [
|
|
1401
1409
|
[
|
|
1402
1410
|
"path",
|
|
1403
1411
|
{
|
|
@@ -1413,7 +1421,7 @@ const Kt = e("settings", [
|
|
|
1413
1421
|
* This source code is licensed under the ISC license.
|
|
1414
1422
|
* See the LICENSE file in the root directory of this source tree.
|
|
1415
1423
|
*/
|
|
1416
|
-
const
|
|
1424
|
+
const ta = e("shield-check", [
|
|
1417
1425
|
[
|
|
1418
1426
|
"path",
|
|
1419
1427
|
{
|
|
@@ -1429,7 +1437,7 @@ const Qt = e("shield-check", [
|
|
|
1429
1437
|
* This source code is licensed under the ISC license.
|
|
1430
1438
|
* See the LICENSE file in the root directory of this source tree.
|
|
1431
1439
|
*/
|
|
1432
|
-
const
|
|
1440
|
+
const aa = e("shuffle", [
|
|
1433
1441
|
["path", { d: "m18 14 4 4-4 4", key: "10pe0f" }],
|
|
1434
1442
|
["path", { d: "m18 2 4 4-4 4", key: "pucp1d" }],
|
|
1435
1443
|
["path", { d: "M2 18h1.973a4 4 0 0 0 3.3-1.7l5.454-8.6a4 4 0 0 1 3.3-1.7H22", key: "1ailkh" }],
|
|
@@ -1442,7 +1450,7 @@ const e1 = e("shuffle", [
|
|
|
1442
1450
|
* This source code is licensed under the ISC license.
|
|
1443
1451
|
* See the LICENSE file in the root directory of this source tree.
|
|
1444
1452
|
*/
|
|
1445
|
-
const
|
|
1453
|
+
const oa = e("sparkles", [
|
|
1446
1454
|
[
|
|
1447
1455
|
"path",
|
|
1448
1456
|
{
|
|
@@ -1460,7 +1468,7 @@ const t1 = e("sparkles", [
|
|
|
1460
1468
|
* This source code is licensed under the ISC license.
|
|
1461
1469
|
* See the LICENSE file in the root directory of this source tree.
|
|
1462
1470
|
*/
|
|
1463
|
-
const
|
|
1471
|
+
const na = e("split", [
|
|
1464
1472
|
["path", { d: "M16 3h5v5", key: "1806ms" }],
|
|
1465
1473
|
["path", { d: "M8 3H3v5", key: "15dfkv" }],
|
|
1466
1474
|
["path", { d: "M12 22v-8.3a4 4 0 0 0-1.172-2.872L3 3", key: "1qrqzj" }],
|
|
@@ -1472,7 +1480,7 @@ const a1 = e("split", [
|
|
|
1472
1480
|
* This source code is licensed under the ISC license.
|
|
1473
1481
|
* See the LICENSE file in the root directory of this source tree.
|
|
1474
1482
|
*/
|
|
1475
|
-
const
|
|
1483
|
+
const ia = e("tag", [
|
|
1476
1484
|
[
|
|
1477
1485
|
"path",
|
|
1478
1486
|
{
|
|
@@ -1488,7 +1496,7 @@ const o1 = e("tag", [
|
|
|
1488
1496
|
* This source code is licensed under the ISC license.
|
|
1489
1497
|
* See the LICENSE file in the root directory of this source tree.
|
|
1490
1498
|
*/
|
|
1491
|
-
const
|
|
1499
|
+
const sa = e("tags", [
|
|
1492
1500
|
[
|
|
1493
1501
|
"path",
|
|
1494
1502
|
{
|
|
@@ -1508,7 +1516,7 @@ const n1 = e("tags", [
|
|
|
1508
1516
|
* This source code is licensed under the ISC license.
|
|
1509
1517
|
* See the LICENSE file in the root directory of this source tree.
|
|
1510
1518
|
*/
|
|
1511
|
-
const
|
|
1519
|
+
const ca = e("terminal", [
|
|
1512
1520
|
["path", { d: "M12 19h8", key: "baeox8" }],
|
|
1513
1521
|
["path", { d: "m4 17 6-6-6-6", key: "1yngyt" }]
|
|
1514
1522
|
]);
|
|
@@ -1518,7 +1526,7 @@ const i1 = e("terminal", [
|
|
|
1518
1526
|
* This source code is licensed under the ISC license.
|
|
1519
1527
|
* See the LICENSE file in the root directory of this source tree.
|
|
1520
1528
|
*/
|
|
1521
|
-
const
|
|
1529
|
+
const da = e("text-cursor-input", [
|
|
1522
1530
|
["path", { d: "M12 20h-1a2 2 0 0 1-2-2 2 2 0 0 1-2 2H6", key: "1528k5" }],
|
|
1523
1531
|
["path", { d: "M13 8h7a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-7", key: "13ksps" }],
|
|
1524
1532
|
["path", { d: "M5 16H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h1", key: "1n9rhb" }],
|
|
@@ -1531,7 +1539,7 @@ const c1 = e("text-cursor-input", [
|
|
|
1531
1539
|
* This source code is licensed under the ISC license.
|
|
1532
1540
|
* See the LICENSE file in the root directory of this source tree.
|
|
1533
1541
|
*/
|
|
1534
|
-
const
|
|
1542
|
+
const la = e("trash-2", [
|
|
1535
1543
|
["path", { d: "M10 11v6", key: "nco0om" }],
|
|
1536
1544
|
["path", { d: "M14 11v6", key: "outv1u" }],
|
|
1537
1545
|
["path", { d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6", key: "miytrc" }],
|
|
@@ -1544,7 +1552,7 @@ const s1 = e("trash-2", [
|
|
|
1544
1552
|
* This source code is licensed under the ISC license.
|
|
1545
1553
|
* See the LICENSE file in the root directory of this source tree.
|
|
1546
1554
|
*/
|
|
1547
|
-
const
|
|
1555
|
+
const ra = e("triangle-alert", [
|
|
1548
1556
|
[
|
|
1549
1557
|
"path",
|
|
1550
1558
|
{
|
|
@@ -1561,7 +1569,7 @@ const d1 = e("triangle-alert", [
|
|
|
1561
1569
|
* This source code is licensed under the ISC license.
|
|
1562
1570
|
* See the LICENSE file in the root directory of this source tree.
|
|
1563
1571
|
*/
|
|
1564
|
-
const
|
|
1572
|
+
const ha = e("trophy", [
|
|
1565
1573
|
["path", { d: "M10 14.66v1.626a2 2 0 0 1-.976 1.696A5 5 0 0 0 7 21.978", key: "1n3hpd" }],
|
|
1566
1574
|
["path", { d: "M14 14.66v1.626a2 2 0 0 0 .976 1.696A5 5 0 0 1 17 21.978", key: "rfe1zi" }],
|
|
1567
1575
|
["path", { d: "M18 9h1.5a1 1 0 0 0 0-5H18", key: "7xy6bh" }],
|
|
@@ -1575,7 +1583,7 @@ const l1 = e("trophy", [
|
|
|
1575
1583
|
* This source code is licensed under the ISC license.
|
|
1576
1584
|
* See the LICENSE file in the root directory of this source tree.
|
|
1577
1585
|
*/
|
|
1578
|
-
const
|
|
1586
|
+
const ya = e("video", [
|
|
1579
1587
|
[
|
|
1580
1588
|
"path",
|
|
1581
1589
|
{
|
|
@@ -1591,7 +1599,7 @@ const r1 = e("video", [
|
|
|
1591
1599
|
* This source code is licensed under the ISC license.
|
|
1592
1600
|
* See the LICENSE file in the root directory of this source tree.
|
|
1593
1601
|
*/
|
|
1594
|
-
const
|
|
1602
|
+
const pa = e("wand-sparkles", [
|
|
1595
1603
|
[
|
|
1596
1604
|
"path",
|
|
1597
1605
|
{
|
|
@@ -1613,7 +1621,7 @@ const h1 = e("wand-sparkles", [
|
|
|
1613
1621
|
* This source code is licensed under the ISC license.
|
|
1614
1622
|
* See the LICENSE file in the root directory of this source tree.
|
|
1615
1623
|
*/
|
|
1616
|
-
const
|
|
1624
|
+
const ka = e("webhook", [
|
|
1617
1625
|
[
|
|
1618
1626
|
"path",
|
|
1619
1627
|
{
|
|
@@ -1623,7 +1631,7 @@ const y1 = e("webhook", [
|
|
|
1623
1631
|
],
|
|
1624
1632
|
["path", { d: "m6 17 3.13-5.78c.53-.97.1-2.18-.5-3.1a4 4 0 1 1 6.89-4.06", key: "1go1hn" }],
|
|
1625
1633
|
["path", { d: "m12 6 3.13 5.73C15.66 12.7 16.9 13 18 13a4 4 0 0 1 0 8", key: "qlwsc0" }]
|
|
1626
|
-
]),
|
|
1634
|
+
]), ua = [
|
|
1627
1635
|
"archive",
|
|
1628
1636
|
"archive-restore",
|
|
1629
1637
|
"arrow-down-to-line",
|
|
@@ -1697,191 +1705,191 @@ const y1 = e("webhook", [
|
|
|
1697
1705
|
"video",
|
|
1698
1706
|
"wand-sparkles",
|
|
1699
1707
|
"webhook"
|
|
1700
|
-
],
|
|
1701
|
-
archive:
|
|
1702
|
-
"archive-restore":
|
|
1703
|
-
"arrow-down-to-line":
|
|
1704
|
-
"badge-check":
|
|
1705
|
-
bot:
|
|
1706
|
-
box:
|
|
1707
|
-
brain:
|
|
1708
|
-
"brain-circuit":
|
|
1709
|
-
"chart-column":
|
|
1710
|
-
"clipboard-check":
|
|
1711
|
-
"clock-3":
|
|
1712
|
-
"cloud-download":
|
|
1713
|
-
combine:
|
|
1714
|
-
copy:
|
|
1715
|
-
cpu:
|
|
1716
|
-
crop:
|
|
1717
|
-
crosshair:
|
|
1718
|
-
database:
|
|
1719
|
-
download:
|
|
1720
|
-
eye:
|
|
1721
|
-
"file-down":
|
|
1722
|
-
files:
|
|
1723
|
-
film:
|
|
1724
|
-
"folder-plus":
|
|
1725
|
-
"folder-root":
|
|
1726
|
-
"folder-sync":
|
|
1727
|
-
funnel:
|
|
1728
|
-
"gallery-vertical-end":
|
|
1729
|
-
gauge:
|
|
1730
|
-
"git-branch":
|
|
1731
|
-
"git-merge":
|
|
1732
|
-
"hard-drive-download":
|
|
1733
|
-
"hard-drive-upload":
|
|
1734
|
-
history:
|
|
1735
|
-
image:
|
|
1736
|
-
"image-plus":
|
|
1737
|
-
"image-up":
|
|
1738
|
-
images:
|
|
1739
|
-
layers:
|
|
1740
|
-
"list-checks":
|
|
1741
|
-
"loader-circle":
|
|
1742
|
-
mail:
|
|
1743
|
-
moon:
|
|
1744
|
-
"move-right":
|
|
1745
|
-
"octagon-x":
|
|
1746
|
-
"package-minus":
|
|
1747
|
-
"package-open":
|
|
1748
|
-
"package-plus":
|
|
1749
|
-
play:
|
|
1750
|
-
radar:
|
|
1751
|
-
route:
|
|
1752
|
-
ruler:
|
|
1753
|
-
scale:
|
|
1754
|
-
"scan-eye":
|
|
1755
|
-
"scan-search":
|
|
1756
|
-
"scan-text":
|
|
1757
|
-
scissors:
|
|
1758
|
-
search:
|
|
1759
|
-
settings:
|
|
1760
|
-
"shield-check":
|
|
1761
|
-
shuffle:
|
|
1762
|
-
sparkles:
|
|
1763
|
-
split:
|
|
1764
|
-
tag:
|
|
1765
|
-
tags:
|
|
1766
|
-
terminal:
|
|
1767
|
-
"text-cursor-input":
|
|
1768
|
-
"trash-2":
|
|
1769
|
-
"triangle-alert":
|
|
1770
|
-
trophy:
|
|
1771
|
-
video:
|
|
1772
|
-
"wand-sparkles":
|
|
1773
|
-
webhook:
|
|
1774
|
-
}),
|
|
1708
|
+
], La = Object.freeze(ua), ma = Object.freeze({
|
|
1709
|
+
archive: Je,
|
|
1710
|
+
"archive-restore": We,
|
|
1711
|
+
"arrow-down-to-line": Ke,
|
|
1712
|
+
"badge-check": Qe,
|
|
1713
|
+
bot: et,
|
|
1714
|
+
box: tt,
|
|
1715
|
+
brain: ot,
|
|
1716
|
+
"brain-circuit": at,
|
|
1717
|
+
"chart-column": nt,
|
|
1718
|
+
"clipboard-check": it,
|
|
1719
|
+
"clock-3": st,
|
|
1720
|
+
"cloud-download": ct,
|
|
1721
|
+
combine: dt,
|
|
1722
|
+
copy: lt,
|
|
1723
|
+
cpu: rt,
|
|
1724
|
+
crop: ht,
|
|
1725
|
+
crosshair: yt,
|
|
1726
|
+
database: pt,
|
|
1727
|
+
download: kt,
|
|
1728
|
+
eye: ut,
|
|
1729
|
+
"file-down": mt,
|
|
1730
|
+
files: vt,
|
|
1731
|
+
film: wt,
|
|
1732
|
+
"folder-plus": gt,
|
|
1733
|
+
"folder-root": ft,
|
|
1734
|
+
"folder-sync": Mt,
|
|
1735
|
+
funnel: xt,
|
|
1736
|
+
"gallery-vertical-end": bt,
|
|
1737
|
+
gauge: zt,
|
|
1738
|
+
"git-branch": _t,
|
|
1739
|
+
"git-merge": Ht,
|
|
1740
|
+
"hard-drive-download": Vt,
|
|
1741
|
+
"hard-drive-upload": At,
|
|
1742
|
+
history: Ct,
|
|
1743
|
+
image: Lt,
|
|
1744
|
+
"image-plus": $t,
|
|
1745
|
+
"image-up": qt,
|
|
1746
|
+
images: Pt,
|
|
1747
|
+
layers: Tt,
|
|
1748
|
+
"list-checks": It,
|
|
1749
|
+
"loader-circle": jt,
|
|
1750
|
+
mail: St,
|
|
1751
|
+
moon: Bt,
|
|
1752
|
+
"move-right": Nt,
|
|
1753
|
+
"octagon-x": Ft,
|
|
1754
|
+
"package-minus": Dt,
|
|
1755
|
+
"package-open": Ot,
|
|
1756
|
+
"package-plus": Et,
|
|
1757
|
+
play: Zt,
|
|
1758
|
+
radar: Rt,
|
|
1759
|
+
route: Xt,
|
|
1760
|
+
ruler: Ut,
|
|
1761
|
+
scale: Gt,
|
|
1762
|
+
"scan-eye": Yt,
|
|
1763
|
+
"scan-search": Wt,
|
|
1764
|
+
"scan-text": Jt,
|
|
1765
|
+
scissors: Kt,
|
|
1766
|
+
search: Qt,
|
|
1767
|
+
settings: ea,
|
|
1768
|
+
"shield-check": ta,
|
|
1769
|
+
shuffle: aa,
|
|
1770
|
+
sparkles: oa,
|
|
1771
|
+
split: na,
|
|
1772
|
+
tag: ia,
|
|
1773
|
+
tags: sa,
|
|
1774
|
+
terminal: ca,
|
|
1775
|
+
"text-cursor-input": da,
|
|
1776
|
+
"trash-2": la,
|
|
1777
|
+
"triangle-alert": ra,
|
|
1778
|
+
trophy: ha,
|
|
1779
|
+
video: ya,
|
|
1780
|
+
"wand-sparkles": pa,
|
|
1781
|
+
webhook: ka
|
|
1782
|
+
}), va = { class: "ob-flow-preview" }, wa = ["viewBox"], ga = ["d"], fa = ["x", "y"], Ma = ["x", "y"], xa = ["href", "x", "y"], ba = ["x", "y"], za = ["x", "y"], N = 260, F = 100, D = 140, _a = 140, R = 48, O = 26, Pa = /* @__PURE__ */ E({
|
|
1775
1783
|
__name: "FlowPreview",
|
|
1776
1784
|
props: {
|
|
1777
1785
|
preview: {},
|
|
1778
|
-
icons: { default: () =>
|
|
1786
|
+
icons: { default: () => ma },
|
|
1779
1787
|
iconUrl: { type: Function, default: void 0 }
|
|
1780
1788
|
},
|
|
1781
1789
|
setup(t) {
|
|
1782
|
-
const
|
|
1783
|
-
var
|
|
1784
|
-
const
|
|
1785
|
-
for (let
|
|
1786
|
-
for (const
|
|
1787
|
-
const $ =
|
|
1788
|
-
$ && L && Math.abs($.x - L.x) <
|
|
1790
|
+
const n = t, v = C(() => {
|
|
1791
|
+
var o, c;
|
|
1792
|
+
const k = ((o = n.preview) == null ? void 0 : o.n) ?? [], b = new Map(k.map((w) => [w.id, { x: w.x, y: w.y }]));
|
|
1793
|
+
for (let w = 0; w < k.length; w += 1)
|
|
1794
|
+
for (const _ of ((c = n.preview) == null ? void 0 : c.e) ?? []) {
|
|
1795
|
+
const $ = b.get(_.s), L = b.get(_.t);
|
|
1796
|
+
$ && L && Math.abs($.x - L.x) < _a && (L.x = $.x);
|
|
1789
1797
|
}
|
|
1790
|
-
return
|
|
1791
|
-
...
|
|
1792
|
-
...
|
|
1798
|
+
return k.map((w) => ({
|
|
1799
|
+
...w,
|
|
1800
|
+
...b.get(w.id) ?? { x: w.x, y: w.y }
|
|
1793
1801
|
}));
|
|
1794
|
-
}),
|
|
1795
|
-
const
|
|
1796
|
-
if (
|
|
1797
|
-
let
|
|
1798
|
-
for (const
|
|
1799
|
-
|
|
1800
|
-
return `${
|
|
1801
|
-
}),
|
|
1802
|
-
() => new Map(
|
|
1802
|
+
}), x = C(() => {
|
|
1803
|
+
const k = v.value;
|
|
1804
|
+
if (k.length === 0) return "0 0 1 1";
|
|
1805
|
+
let b = 1 / 0, o = 1 / 0, c = -1 / 0, w = -1 / 0;
|
|
1806
|
+
for (const _ of k)
|
|
1807
|
+
b = Math.min(b, _.x), o = Math.min(o, _.y), c = Math.max(c, _.x + N), w = Math.max(w, _.y + F);
|
|
1808
|
+
return `${b - D} ${o - D} ${c - b + D * 2} ${w - o + D * 2}`;
|
|
1809
|
+
}), r = C(
|
|
1810
|
+
() => new Map(v.value.map((k) => [k.id, k]))
|
|
1803
1811
|
);
|
|
1804
|
-
function
|
|
1805
|
-
const
|
|
1806
|
-
if (!
|
|
1807
|
-
const
|
|
1808
|
-
return `M ${
|
|
1812
|
+
function y(k, b) {
|
|
1813
|
+
const o = r.value.get(k), c = r.value.get(b);
|
|
1814
|
+
if (!o || !c) return "";
|
|
1815
|
+
const w = o.x + N / 2, _ = o.y + F / 2, $ = c.x + N / 2, L = c.y + F / 2;
|
|
1816
|
+
return `M ${w} ${_} L ${$} ${L}`;
|
|
1809
1817
|
}
|
|
1810
|
-
return (
|
|
1811
|
-
t.preview && t.preview.n.length > 0 ? (
|
|
1818
|
+
return (k, b) => (i(), l("div", va, [
|
|
1819
|
+
t.preview && t.preview.n.length > 0 ? (i(), l("svg", {
|
|
1812
1820
|
key: 0,
|
|
1813
1821
|
class: "ob-flow-preview__svg",
|
|
1814
|
-
viewBox:
|
|
1822
|
+
viewBox: x.value,
|
|
1815
1823
|
preserveAspectRatio: "xMidYMid meet"
|
|
1816
1824
|
}, [
|
|
1817
|
-
(
|
|
1825
|
+
(i(!0), l(q, null, S(t.preview.e, (o, c) => (i(), l("path", {
|
|
1818
1826
|
key: c,
|
|
1819
|
-
d:
|
|
1827
|
+
d: y(o.s, o.t),
|
|
1820
1828
|
class: "ob-flow-preview__edge",
|
|
1821
1829
|
"vector-effect": "non-scaling-stroke"
|
|
1822
|
-
}, null, 8,
|
|
1823
|
-
(
|
|
1824
|
-
key:
|
|
1825
|
-
x:
|
|
1826
|
-
y:
|
|
1830
|
+
}, null, 8, ga))), 128)),
|
|
1831
|
+
(i(!0), l(q, null, S(v.value, (o) => (i(), l("rect", {
|
|
1832
|
+
key: o.id,
|
|
1833
|
+
x: o.x,
|
|
1834
|
+
y: o.y,
|
|
1827
1835
|
width: N,
|
|
1828
1836
|
height: F,
|
|
1829
1837
|
rx: "16",
|
|
1830
1838
|
class: "ob-flow-preview__node",
|
|
1831
1839
|
"vector-effect": "non-scaling-stroke"
|
|
1832
|
-
}, null, 8,
|
|
1833
|
-
(
|
|
1834
|
-
key: `content-${
|
|
1840
|
+
}, null, 8, fa))), 128)),
|
|
1841
|
+
(i(!0), l(q, null, S(v.value, (o) => (i(), l(q, {
|
|
1842
|
+
key: `content-${o.id}`
|
|
1835
1843
|
}, [
|
|
1836
|
-
|
|
1837
|
-
x:
|
|
1838
|
-
y:
|
|
1844
|
+
m("rect", {
|
|
1845
|
+
x: o.x + 18,
|
|
1846
|
+
y: o.y + 18,
|
|
1839
1847
|
width: "64",
|
|
1840
1848
|
height: "64",
|
|
1841
1849
|
rx: "16",
|
|
1842
1850
|
class: "ob-flow-preview__icon-background",
|
|
1843
|
-
style:
|
|
1844
|
-
}, null, 12,
|
|
1845
|
-
|
|
1851
|
+
style: B(o.c ? { fill: o.c } : void 0)
|
|
1852
|
+
}, null, 12, Ma),
|
|
1853
|
+
o.i && t.icons[o.i] ? (i(), A(he(t.icons[o.i]), {
|
|
1846
1854
|
key: 0,
|
|
1847
|
-
x:
|
|
1848
|
-
y:
|
|
1855
|
+
x: o.x + O,
|
|
1856
|
+
y: o.y + O,
|
|
1849
1857
|
size: R,
|
|
1850
1858
|
color: "white",
|
|
1851
1859
|
"stroke-width": 2.5,
|
|
1852
1860
|
"aria-hidden": "true"
|
|
1853
|
-
}, null, 8, ["x", "y"])) :
|
|
1861
|
+
}, null, 8, ["x", "y"])) : o.i && t.iconUrl ? (i(), l("image", {
|
|
1854
1862
|
key: 1,
|
|
1855
|
-
href: t.iconUrl(
|
|
1856
|
-
x:
|
|
1857
|
-
y:
|
|
1863
|
+
href: t.iconUrl(o.i),
|
|
1864
|
+
x: o.x + O,
|
|
1865
|
+
y: o.y + O,
|
|
1858
1866
|
width: R,
|
|
1859
1867
|
height: R
|
|
1860
|
-
}, null, 8,
|
|
1868
|
+
}, null, 8, xa)) : (i(), l("text", {
|
|
1861
1869
|
key: 2,
|
|
1862
|
-
x:
|
|
1863
|
-
y:
|
|
1870
|
+
x: o.x + 50,
|
|
1871
|
+
y: o.y + 68,
|
|
1864
1872
|
fill: "white",
|
|
1865
1873
|
"font-size": "42",
|
|
1866
1874
|
"font-family": "sans-serif",
|
|
1867
1875
|
"text-anchor": "middle"
|
|
1868
|
-
}, " * ", 8,
|
|
1869
|
-
|
|
1870
|
-
x:
|
|
1871
|
-
y:
|
|
1876
|
+
}, " * ", 8, ba)),
|
|
1877
|
+
m("rect", {
|
|
1878
|
+
x: o.x + 100,
|
|
1879
|
+
y: o.y + 45,
|
|
1872
1880
|
width: "128",
|
|
1873
1881
|
height: "10",
|
|
1874
1882
|
rx: "5",
|
|
1875
1883
|
class: "ob-flow-preview__line"
|
|
1876
|
-
}, null, 8,
|
|
1884
|
+
}, null, 8, za)
|
|
1877
1885
|
], 64))), 128))
|
|
1878
|
-
], 8,
|
|
1886
|
+
], 8, wa)) : z("", !0)
|
|
1879
1887
|
]));
|
|
1880
1888
|
}
|
|
1881
1889
|
});
|
|
1882
1890
|
export {
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1891
|
+
Pa as FlowPreview,
|
|
1892
|
+
$a as FlowViewer,
|
|
1893
|
+
La as nodePreviewIconNames,
|
|
1894
|
+
ma as nodePreviewIcons
|
|
1887
1895
|
};
|