@code0-tech/pictor 0.0.0-mvp.45 → 0.0.0-mvp.46
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/dist/assets/components/d-flow-input/DFlowInputDataType.style.css +1 -1
- package/dist/assets/components/d-flow-suggestion/DFlowSuggestionSearchInput.style.css +1 -1
- package/dist/components/d-flow/DFlow.service.js +31 -23
- package/dist/components/d-flow-data-type/DFlowDataType.service.d.ts +2 -2
- package/dist/components/d-flow-data-type/rules/DFlowDataTypeContainsKeyRule.js +22 -13
- package/dist/components/d-flow-data-type/rules/DFlowDataTypeContainsTypeRule.js +19 -13
- package/dist/components/d-flow-file/DFlowTabDefault.js +38 -37
- package/dist/components/d-flow-file/DFlowTabTrigger.js +1 -1
- package/dist/components/d-flow-input/DFlowInput.d.ts +11 -0
- package/dist/components/d-flow-input/DFlowInput.js +29 -0
- package/dist/components/d-flow-input/DFlowInputDefault.d.ts +2 -7
- package/dist/components/d-flow-input/DFlowInputNodeBadge.js +13 -13
- package/dist/components/d-flow-input/DFlowInputObject.d.ts +10 -0
- package/dist/components/d-flow-input/DFlowInputObject.js +83 -0
- package/dist/components/d-flow-input/DFlowInputObjectEditDialog.d.ts +16 -0
- package/dist/components/d-flow-input/DFlowInputObjectEditDialog.js +118 -0
- package/dist/components/d-flow-input/DFlowInputObjectTree.d.ts +16 -0
- package/dist/components/d-flow-input/DFlowInputObjectTree.js +99 -0
- package/dist/components/d-flow-input/DFlowInputReferenceBadge.js +12 -12
- package/dist/components/d-flow-node/DFlowNodeReference.return.hook.d.ts +4 -0
- package/dist/components/d-flow-node/DFlowNodeReference.return.hook.js +77 -0
- package/dist/components/d-flow-suggestion/DFlowReferenceSuggestions.hook.js +104 -103
- package/dist/components/d-flow-suggestion/DFlowSuggestionMenu.js +43 -50
- package/dist/components/d-flow-validation/DNodeValidation.hook.js +44 -39
- package/dist/components/editor/Editor.js +15 -15
- package/dist/components/form/InputSuggestion.js +29 -29
- package/dist/components/form/useForm.d.ts +3 -3
- package/dist/components/form/useForm.js +16 -16
- package/dist/node_modules/prettier/plugins/babel.js +6674 -6685
- package/dist/node_modules/prettier/plugins/estree.js +2830 -2628
- package/dist/node_modules/prettier/standalone.js +1657 -1440
- package/dist/utils/generics.js +85 -97
- package/package.json +22 -22
package/dist/utils/generics.js
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { useReturnType as
|
|
2
|
-
const _ = "GENERIC",
|
|
1
|
+
import { useReturnType as j } from "../components/d-flow-function/DFlowFunction.return.hook.js";
|
|
2
|
+
const _ = "GENERIC", p = (e) => typeof e == "object" && e !== null && !Array.isArray(e), d = (e) => p(e) ? "genericKey" in e || "genericType" in e || "dataType" in e : !1, A = (e) => p(e) && "target" in e && Array.isArray(e.sourceDataTypeIdentifiers), R = (e) => p(e) && "variant" in e && "identifier" in e, P = (e) => p(e) && "variant" in e && "config" in e, S = (e) => {
|
|
3
3
|
if (e)
|
|
4
4
|
return typeof e == "string" ? e : e?.dataType?.identifier ?? e?.genericType?.dataType?.identifier ?? void 0;
|
|
5
|
-
},
|
|
5
|
+
}, M = (e, t) => {
|
|
6
6
|
if (e)
|
|
7
7
|
return typeof e == "string" ? t && t.has(e) ? e : void 0 : e.genericKey ?? void 0;
|
|
8
|
-
}, b = (e) => !e || typeof e == "string" ? [] : e.genericType?.genericMappers ?? [],
|
|
8
|
+
}, b = (e) => !e || typeof e == "string" ? [] : e.genericType?.genericMappers ?? [], G = (e, t) => ({
|
|
9
9
|
...e,
|
|
10
10
|
sourceDataTypeIdentifiers: t
|
|
11
|
-
}),
|
|
11
|
+
}), w = (e) => {
|
|
12
12
|
const t = e.genericCombinationStrategies ?? [];
|
|
13
13
|
return new Set(t.map((r) => r.type));
|
|
14
|
-
},
|
|
14
|
+
}, K = (e) => {
|
|
15
15
|
if (Array.isArray(e))
|
|
16
|
-
return e.map(
|
|
17
|
-
if (
|
|
16
|
+
return e.map(K);
|
|
17
|
+
if (p(e)) {
|
|
18
18
|
const t = {};
|
|
19
19
|
return Object.entries(e).forEach(([r, s]) => {
|
|
20
|
-
s != null && (r === "__typename" || r === "id" || r === "createdAt" || r === "updatedAt" || (t[r] =
|
|
20
|
+
s != null && (r === "__typename" || r === "id" || r === "createdAt" || r === "updatedAt" || (t[r] = K(s)));
|
|
21
21
|
}), t;
|
|
22
22
|
}
|
|
23
23
|
return e;
|
|
24
|
-
},
|
|
24
|
+
}, O = (e, t) => {
|
|
25
25
|
if (!t) return !e;
|
|
26
26
|
if (typeof t == "string")
|
|
27
|
-
return t === _ ? !0 :
|
|
27
|
+
return t === _ ? !0 : S(e) === t;
|
|
28
28
|
if (t.genericKey) return !0;
|
|
29
|
-
const s =
|
|
29
|
+
const s = S(t), a = S(e);
|
|
30
30
|
return !!s && s === a;
|
|
31
31
|
}, D = (e, t) => {
|
|
32
32
|
switch (e.__typename) {
|
|
@@ -53,7 +53,7 @@ const _ = "GENERIC", y = (e) => typeof e == "object" && e !== null && !Array.isA
|
|
|
53
53
|
default:
|
|
54
54
|
return e;
|
|
55
55
|
}
|
|
56
|
-
},
|
|
56
|
+
}, L = (e, t) => {
|
|
57
57
|
switch (e.variant) {
|
|
58
58
|
case "CONTAINS_KEY": {
|
|
59
59
|
const r = D({
|
|
@@ -108,10 +108,10 @@ const _ = "GENERIC", y = (e) => typeof e == "object" && e !== null && !Array.isA
|
|
|
108
108
|
default:
|
|
109
109
|
return e;
|
|
110
110
|
}
|
|
111
|
-
},
|
|
111
|
+
}, z = (e, t, r) => {
|
|
112
112
|
const s = {}, a = new Set(r), c = (i, n) => {
|
|
113
113
|
if (!i || !n) return;
|
|
114
|
-
const f =
|
|
114
|
+
const f = M(i, a);
|
|
115
115
|
if (f && a.has(f)) {
|
|
116
116
|
d(n) && (s[f] = n);
|
|
117
117
|
return;
|
|
@@ -119,17 +119,17 @@ const _ = "GENERIC", y = (e) => typeof e == "object" && e !== null && !Array.isA
|
|
|
119
119
|
const o = b(i);
|
|
120
120
|
if (o.length === 0) return;
|
|
121
121
|
const u = b(n);
|
|
122
|
-
for (const
|
|
123
|
-
const l = u.find((T) => T.target ===
|
|
122
|
+
for (const y of o) {
|
|
123
|
+
const l = u.find((T) => T.target === y.target);
|
|
124
124
|
if (!l) continue;
|
|
125
|
-
const m = (
|
|
126
|
-
if ((g.has("AND") || g.has("OR")) && I.length === 1 && m.length === (
|
|
125
|
+
const m = (y.sourceDataTypeIdentifiers ?? []).map((T) => M(T, a)).filter((T) => !!T && a.has(T)), g = w(y), I = l.sourceDataTypeIdentifiers ?? [];
|
|
126
|
+
if ((g.has("AND") || g.has("OR")) && I.length === 1 && m.length === (y.sourceDataTypeIdentifiers?.length ?? 0))
|
|
127
127
|
for (const T of m)
|
|
128
128
|
s[T] = I[0];
|
|
129
129
|
else {
|
|
130
|
-
const T = Math.min(
|
|
130
|
+
const T = Math.min(y.sourceDataTypeIdentifiers?.length ?? 0, I.length);
|
|
131
131
|
for (let h = 0; h < T; h++)
|
|
132
|
-
c(
|
|
132
|
+
c(y.sourceDataTypeIdentifiers[h], I[h]);
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
135
|
};
|
|
@@ -155,7 +155,7 @@ const _ = "GENERIC", y = (e) => typeof e == "object" && e !== null && !Array.isA
|
|
|
155
155
|
o && A(o) ? i.push(...o.sourceDataTypeIdentifiers) : o && d(o) ? i.push(o) : i.push(n);
|
|
156
156
|
} else d(n) ? i.push(E(n, t)) : i.push(n);
|
|
157
157
|
}
|
|
158
|
-
return
|
|
158
|
+
return G(c, i);
|
|
159
159
|
});
|
|
160
160
|
return {
|
|
161
161
|
...e,
|
|
@@ -164,7 +164,7 @@ const _ = "GENERIC", y = (e) => typeof e == "object" && e !== null && !Array.isA
|
|
|
164
164
|
genericMappers: a
|
|
165
165
|
}
|
|
166
166
|
};
|
|
167
|
-
},
|
|
167
|
+
}, F = (e, t, r) => {
|
|
168
168
|
const s = {}, a = new Set(r), c = (i, n, f) => {
|
|
169
169
|
if (!(!i || !n || a.size === 0)) {
|
|
170
170
|
if (d(i)) {
|
|
@@ -179,15 +179,15 @@ const _ = "GENERIC", y = (e) => typeof e == "object" && e !== null && !Array.isA
|
|
|
179
179
|
return;
|
|
180
180
|
}
|
|
181
181
|
if (R(i) && R(n)) {
|
|
182
|
-
const o = i.rules?.nodes ?? [], u = n.rules?.nodes ?? [],
|
|
183
|
-
for (let l = 0; l <
|
|
182
|
+
const o = i.rules?.nodes ?? [], u = n.rules?.nodes ?? [], y = Math.min(o.length, u.length);
|
|
183
|
+
for (let l = 0; l < y; l++) {
|
|
184
184
|
const m = o[l], g = u[l];
|
|
185
185
|
if (!(!m || !g) && (c(m, g), a.size === 0))
|
|
186
186
|
return;
|
|
187
187
|
}
|
|
188
188
|
return;
|
|
189
189
|
}
|
|
190
|
-
if (
|
|
190
|
+
if (P(i) && P(n)) {
|
|
191
191
|
c(i.config, n.config);
|
|
192
192
|
return;
|
|
193
193
|
}
|
|
@@ -197,7 +197,7 @@ const _ = "GENERIC", y = (e) => typeof e == "object" && e !== null && !Array.isA
|
|
|
197
197
|
if (c(i[u], n[u], f), a.size === 0) return;
|
|
198
198
|
return;
|
|
199
199
|
}
|
|
200
|
-
if (
|
|
200
|
+
if (p(i) && p(n)) {
|
|
201
201
|
for (const o of Object.keys(i))
|
|
202
202
|
if (o in n && o !== "__typename" && (c(i[o], n[o], f), a.size === 0))
|
|
203
203
|
return;
|
|
@@ -205,7 +205,7 @@ const _ = "GENERIC", y = (e) => typeof e == "object" && e !== null && !Array.isA
|
|
|
205
205
|
}
|
|
206
206
|
};
|
|
207
207
|
return c(e, t), s;
|
|
208
|
-
},
|
|
208
|
+
}, U = (e, t) => {
|
|
209
209
|
const r = e.rules ? {
|
|
210
210
|
...e.rules,
|
|
211
211
|
nodes: e.rules.nodes?.map((s) => s && {
|
|
@@ -217,45 +217,45 @@ const _ = "GENERIC", y = (e) => typeof e == "object" && e !== null && !Array.isA
|
|
|
217
217
|
...e,
|
|
218
218
|
rules: r
|
|
219
219
|
};
|
|
220
|
-
},
|
|
220
|
+
}, V = (e, t, r, s, a) => {
|
|
221
221
|
const c = /* @__PURE__ */ new Map(), i = e?.genericKeys ?? [];
|
|
222
222
|
if (!e?.parameterDefinitions || i.length <= 0) return c;
|
|
223
223
|
const n = new Set(i);
|
|
224
224
|
return e.parameterDefinitions.forEach((f, o) => {
|
|
225
|
-
const u = f.dataTypeIdentifier,
|
|
226
|
-
const g = a?.nodes?.nodes?.find((h) => h?.id ===
|
|
227
|
-
return
|
|
228
|
-
})() : r.getTypeFromValue(
|
|
225
|
+
const u = f.dataTypeIdentifier, y = t[o], l = y?.__typename === "ReferenceValue" ? (() => {
|
|
226
|
+
const g = a?.nodes?.nodes?.find((h) => h?.id === y.nodeFunctionId), I = g?.parameters?.nodes?.map((h) => h?.value) ?? [], T = s.getById(g?.functionDefinition?.id);
|
|
227
|
+
return j(T, I, r, s);
|
|
228
|
+
})() : r.getTypeFromValue(y, a);
|
|
229
229
|
if (!u || !l) return;
|
|
230
|
-
const m =
|
|
230
|
+
const m = z(u, l, i);
|
|
231
231
|
for (const [g, I] of Object.entries(m))
|
|
232
232
|
n.has(g) && (c.has(g) || c.set(g, I));
|
|
233
233
|
}), c;
|
|
234
234
|
};
|
|
235
|
-
function
|
|
235
|
+
function k(e, t) {
|
|
236
236
|
if (e.variant !== t.variant) return !1;
|
|
237
237
|
const r = t.rules?.nodes ?? [];
|
|
238
238
|
if (r.length === 0) return !0;
|
|
239
239
|
const s = e.rules?.nodes ?? [];
|
|
240
240
|
for (const a of r) {
|
|
241
241
|
if (!a) continue;
|
|
242
|
-
if (!s.some((i) => i ?
|
|
242
|
+
if (!s.some((i) => i ? Y(i, a) : !1)) return !1;
|
|
243
243
|
}
|
|
244
244
|
return !0;
|
|
245
245
|
}
|
|
246
|
-
function
|
|
246
|
+
function Y(e, t) {
|
|
247
247
|
if (e.variant !== t.variant) return !1;
|
|
248
248
|
switch (t.variant) {
|
|
249
249
|
case "CONTAINS_TYPE":
|
|
250
250
|
case "RETURN_TYPE":
|
|
251
|
-
return
|
|
251
|
+
return O(e.config.dataTypeIdentifier, t.config.dataTypeIdentifier);
|
|
252
252
|
case "CONTAINS_KEY": {
|
|
253
253
|
const r = e.config, s = t.config;
|
|
254
|
-
return r.key !== s.key ? !1 :
|
|
254
|
+
return r.key !== s.key ? !1 : O(r.dataTypeIdentifier, s.dataTypeIdentifier);
|
|
255
255
|
}
|
|
256
256
|
case "INPUT_TYPES": {
|
|
257
257
|
const r = e.config, a = t.config.inputTypes ?? [], c = r.inputTypes ?? [];
|
|
258
|
-
return a.every((i) => c.some((n) =>
|
|
258
|
+
return a.every((i) => c.some((n) => O(n.dataTypeIdentifier, i.dataTypeIdentifier)));
|
|
259
259
|
}
|
|
260
260
|
case "ITEM_OF_COLLECTION": {
|
|
261
261
|
const r = e.config.items ?? [], s = t.config.items ?? [];
|
|
@@ -270,59 +270,47 @@ function x(e, t) {
|
|
|
270
270
|
return r === s;
|
|
271
271
|
}
|
|
272
272
|
default:
|
|
273
|
-
return JSON.stringify(
|
|
273
|
+
return JSON.stringify(K(e.config)) === JSON.stringify(K(t.config));
|
|
274
274
|
}
|
|
275
275
|
}
|
|
276
|
-
function
|
|
277
|
-
const r = (i) => !!(i === _ || d(i) && i.genericKey), s = (i, n) => r(i) || r(n) ? !0 : i == null || n == null ? i === n : Array.isArray(n) ? !Array.isArray(i) || i.length !== n.length ? !1 : i.every((f, o) => s(f, n[o])) :
|
|
276
|
+
function B(e, t) {
|
|
277
|
+
const r = (i) => !!(i === _ || d(i) && i.genericKey), s = (i, n) => i && i.identifier && n && n.identifier && i?.identifier === n?.identifier || r(i) || r(n) ? !0 : i == null || n == null ? i === n : Array.isArray(n) ? !Array.isArray(i) || i.length !== n.length ? !1 : i.every((f, o) => s(f, n[o])) : p(n) ? p(i) ? Object.keys(n).every((o) => s(i[o], n[o])) : !1 : i === n, a = K(e), c = K(t);
|
|
278
278
|
return s(a, c);
|
|
279
279
|
}
|
|
280
|
-
const
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
const
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
if (i) {
|
|
288
|
-
const [n] = a;
|
|
289
|
-
return n ? {
|
|
290
|
-
dataType: s.json,
|
|
291
|
-
genericType: {
|
|
292
|
-
dataType: s.json,
|
|
293
|
-
genericMappers: [{
|
|
294
|
-
target: n,
|
|
295
|
-
sourceDataTypeIdentifiers: [j(i, t)]
|
|
296
|
-
}]
|
|
297
|
-
}
|
|
298
|
-
} : e;
|
|
280
|
+
const x = (e, t) => {
|
|
281
|
+
const r = t.getDataType(e);
|
|
282
|
+
if (!r) return e;
|
|
283
|
+
if (r.variant === "ARRAY" && r.identifier !== "LIST") {
|
|
284
|
+
const s = t.getDataType({
|
|
285
|
+
dataType: {
|
|
286
|
+
identifier: "LIST"
|
|
299
287
|
}
|
|
288
|
+
}), c = r.rules?.nodes?.find((i) => i?.variant === "CONTAINS_TYPE")?.config?.dataTypeIdentifier;
|
|
289
|
+
if (c && s) {
|
|
290
|
+
const [i] = s?.genericKeys;
|
|
291
|
+
return i ? {
|
|
292
|
+
genericType: {
|
|
293
|
+
dataType: s?.json,
|
|
294
|
+
genericMappers: [{
|
|
295
|
+
target: i,
|
|
296
|
+
sourceDataTypeIdentifiers: [x(c, t)]
|
|
297
|
+
}]
|
|
298
|
+
}
|
|
299
|
+
} : e;
|
|
300
300
|
}
|
|
301
|
-
return e;
|
|
302
301
|
}
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
...s,
|
|
306
|
-
sourceDataTypeIdentifiers: s?.sourceDataTypeIdentifiers?.map((a) => j(a, t))
|
|
307
|
-
})) ?? [];
|
|
308
|
-
return {
|
|
309
|
-
...e,
|
|
310
|
-
genericType: {
|
|
311
|
-
...e.genericType,
|
|
312
|
-
genericMappers: r
|
|
313
|
-
}
|
|
314
|
-
};
|
|
315
|
-
}, K = (e) => {
|
|
302
|
+
return e;
|
|
303
|
+
}, C = (e) => {
|
|
316
304
|
if (Array.isArray(e)) {
|
|
317
|
-
const t = e.map(
|
|
318
|
-
return t.length <= 1 ? t : t.every(
|
|
305
|
+
const t = e.map(C);
|
|
306
|
+
return t.length <= 1 ? t : t.every(p) ? [...t].sort((a, c) => JSON.stringify(a).localeCompare(JSON.stringify(c))) : t.every((a) => !Array.isArray(a) && !p(a)) ? [...t].sort((a, c) => JSON.stringify(a).localeCompare(JSON.stringify(c))) : t;
|
|
319
307
|
}
|
|
320
|
-
if (
|
|
308
|
+
if (p(e)) {
|
|
321
309
|
const t = e;
|
|
322
|
-
return Object.keys(t).sort().reduce((r, s) => (r[s] =
|
|
310
|
+
return Object.keys(t).sort().reduce((r, s) => (r[s] = C(t[s]), r), {});
|
|
323
311
|
}
|
|
324
312
|
return e;
|
|
325
|
-
},
|
|
313
|
+
}, v = (e, t) => {
|
|
326
314
|
if (!t.genericType) return /* @__PURE__ */ new Map();
|
|
327
315
|
const r = new Set(e.genericKeys ?? []), s = /* @__PURE__ */ new Map();
|
|
328
316
|
for (const a of t.genericType.genericMappers ?? []) {
|
|
@@ -336,8 +324,8 @@ const j = (e, t) => {
|
|
|
336
324
|
return s;
|
|
337
325
|
}, H = (e, t = []) => {
|
|
338
326
|
const r = new Set(t), s = (n) => n ? r.size === 0 ? !0 : r.has(n) : !1, a = (n) => {
|
|
339
|
-
const o = s(n.target) ? _ : n.target, u = (n.sourceDataTypeIdentifiers ?? []).map((
|
|
340
|
-
return
|
|
327
|
+
const o = s(n.target) ? _ : n.target, u = (n.sourceDataTypeIdentifiers ?? []).map((y) => i(y));
|
|
328
|
+
return C({
|
|
341
329
|
...n,
|
|
342
330
|
target: o,
|
|
343
331
|
sourceDataTypeIdentifiers: u
|
|
@@ -349,37 +337,37 @@ const j = (e, t) => {
|
|
|
349
337
|
dataType: n.dataType ? i(n.dataType) : n.dataType,
|
|
350
338
|
genericType: n.genericType ? i(n.genericType) : n.genericType
|
|
351
339
|
};
|
|
352
|
-
return
|
|
340
|
+
return C(u);
|
|
353
341
|
};
|
|
354
342
|
function i(n) {
|
|
355
343
|
if (n == null) return n;
|
|
356
344
|
if (Array.isArray(n)) {
|
|
357
345
|
const f = n.map((o) => i(o));
|
|
358
|
-
return
|
|
346
|
+
return C(f);
|
|
359
347
|
}
|
|
360
348
|
if (d(n))
|
|
361
349
|
return c(n);
|
|
362
350
|
if (A(n))
|
|
363
351
|
return a(n);
|
|
364
|
-
if (
|
|
365
|
-
const f = Object.entries(n).reduce((o, [u,
|
|
366
|
-
return
|
|
352
|
+
if (p(n)) {
|
|
353
|
+
const f = Object.entries(n).reduce((o, [u, y]) => (o[u] = i(y), o), {});
|
|
354
|
+
return C(f);
|
|
367
355
|
}
|
|
368
356
|
return n;
|
|
369
357
|
}
|
|
370
358
|
return i(e);
|
|
371
359
|
};
|
|
372
360
|
export {
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
361
|
+
k as isMatchingDataTypeObject,
|
|
362
|
+
B as isMatchingType,
|
|
363
|
+
U as replaceGenericKeysInDataTypeObject,
|
|
376
364
|
E as replaceGenericKeysInType,
|
|
377
365
|
H as replaceGenericsAndSortType,
|
|
378
366
|
D as replaceIdentifiersInConfig,
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
367
|
+
L as replaceIdentifiersInRule,
|
|
368
|
+
F as resolveAllGenericKeysInDataTypeObject,
|
|
369
|
+
z as resolveGenericKeyMappings,
|
|
370
|
+
V as resolveGenericKeys,
|
|
371
|
+
x as resolveType,
|
|
372
|
+
v as targetForGenericKey
|
|
385
373
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@code0-tech/pictor",
|
|
3
|
-
"version": "0.0.0-mvp.
|
|
3
|
+
"version": "0.0.0-mvp.46",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A simple template for a custom React component library",
|
|
6
6
|
"scripts": {
|
|
@@ -20,14 +20,14 @@
|
|
|
20
20
|
"@ariakit/react": "^0.4.17",
|
|
21
21
|
"@babel/plugin-proposal-decorators": "^7.29.0",
|
|
22
22
|
"@babel/plugin-transform-class-properties": "^7.28.6",
|
|
23
|
-
"@code0-tech/sagittarius-graphql-types": "
|
|
23
|
+
"@code0-tech/sagittarius-graphql-types": "0.0.0-experimental-2342308809-931efb40b4bf3245999c53abbdd9164cea82e82d",
|
|
24
24
|
"@codemirror/autocomplete": "^6.20.0",
|
|
25
25
|
"@codemirror/lang-json": "^6.0.2",
|
|
26
26
|
"@codemirror/language": "^6.12.1",
|
|
27
27
|
"@codemirror/lint": "^6.9.4",
|
|
28
28
|
"@codemirror/state": "^6.5.4",
|
|
29
|
-
"@codemirror/view": "^6.39.
|
|
30
|
-
"@dagrejs/dagre": "^2.0.
|
|
29
|
+
"@codemirror/view": "^6.39.15",
|
|
30
|
+
"@dagrejs/dagre": "^2.0.4",
|
|
31
31
|
"@lezer/common": "^1.5.1",
|
|
32
32
|
"@mdx-js/react": "^3.1.1",
|
|
33
33
|
"@monaco-editor/react": "^4.7.0",
|
|
@@ -46,14 +46,14 @@
|
|
|
46
46
|
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
47
47
|
"@rollup/plugin-terser": "^0.4.4",
|
|
48
48
|
"@rollup/plugin-typescript": "^12.3.0",
|
|
49
|
-
"@storybook/addon-a11y": "^10.
|
|
50
|
-
"@storybook/addon-docs": "^10.
|
|
51
|
-
"@storybook/addon-links": "^10.
|
|
52
|
-
"@storybook/addon-onboarding": "^10.
|
|
53
|
-
"@storybook/addon-vitest": "^10.
|
|
54
|
-
"@storybook/builder-vite": "^10.
|
|
55
|
-
"@storybook/cli": "^10.
|
|
56
|
-
"@storybook/react-vite": "^10.
|
|
49
|
+
"@storybook/addon-a11y": "^10.2.10",
|
|
50
|
+
"@storybook/addon-docs": "^10.2.10",
|
|
51
|
+
"@storybook/addon-links": "^10.2.10",
|
|
52
|
+
"@storybook/addon-onboarding": "^10.2.10",
|
|
53
|
+
"@storybook/addon-vitest": "^10.2.10",
|
|
54
|
+
"@storybook/builder-vite": "^10.2.10",
|
|
55
|
+
"@storybook/cli": "^10.2.10",
|
|
56
|
+
"@storybook/react-vite": "^10.2.10",
|
|
57
57
|
"@tabler/icons-react": "3.36.1",
|
|
58
58
|
"@types/jest-image-snapshot": "^6.4.1",
|
|
59
59
|
"@types/react": "^19.2.14",
|
|
@@ -61,16 +61,16 @@
|
|
|
61
61
|
"@types/react-syntax-highlighter": "^15.5.13",
|
|
62
62
|
"@uiw/codemirror-themes": "^4.25.4",
|
|
63
63
|
"@uiw/react-codemirror": "^4.25.4",
|
|
64
|
-
"@vitejs/plugin-react": "^5.1.
|
|
65
|
-
"@vitest/browser-playwright": "^4.0.
|
|
66
|
-
"@vitest/coverage-v8": "^4.0.
|
|
67
|
-
"@xyflow/react": "^12.10.
|
|
64
|
+
"@vitejs/plugin-react": "^5.1.4",
|
|
65
|
+
"@vitest/browser-playwright": "^4.0.18",
|
|
66
|
+
"@vitest/coverage-v8": "^4.0.18",
|
|
67
|
+
"@xyflow/react": "^12.10.1",
|
|
68
68
|
"axe-playwright": "^2.2.2",
|
|
69
69
|
"babel-loader": "^10.0.0",
|
|
70
70
|
"babel-plugin-react-compiler": "^19.1.0-rc.3",
|
|
71
71
|
"cmdk": "^1.1.1",
|
|
72
72
|
"concurrently": "^9.2.1",
|
|
73
|
-
"css-loader": "^7.1.
|
|
73
|
+
"css-loader": "^7.1.4",
|
|
74
74
|
"html-webpack-plugin": "^5.6.6",
|
|
75
75
|
"identity-obj-proxy": "^3.0.0",
|
|
76
76
|
"jest-image-snapshot": "^6.5.1",
|
|
@@ -82,14 +82,14 @@
|
|
|
82
82
|
"react": "^19.2.4",
|
|
83
83
|
"react-contenteditable": "^3.3.7",
|
|
84
84
|
"react-dom": "^19.2.4",
|
|
85
|
-
"react-resizable-panels": "^4.6.
|
|
85
|
+
"react-resizable-panels": "^4.6.4",
|
|
86
86
|
"react-syntax-highlighter": "^16.1.0",
|
|
87
87
|
"react-zoom-pan-pinch": "^3.7.0",
|
|
88
|
-
"rimraf": "^6.1.
|
|
88
|
+
"rimraf": "^6.1.3",
|
|
89
89
|
"sass": "^1.97.3",
|
|
90
90
|
"sass-loader": "^16.0.6",
|
|
91
91
|
"sonner": "^2.0.7",
|
|
92
|
-
"storybook": "^10.
|
|
92
|
+
"storybook": "^10.2.10",
|
|
93
93
|
"style-loader": "^4.0.0",
|
|
94
94
|
"ts-jest": "^29.4.6",
|
|
95
95
|
"ts-node": "^10.9.2",
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"vite": "^7.3.1",
|
|
98
98
|
"vite-plugin-dts": "^4.5.4",
|
|
99
99
|
"vite-plugin-lib-inject-css": "^2.2.2",
|
|
100
|
-
"vitest": "^4.0.
|
|
100
|
+
"vitest": "^4.0.18",
|
|
101
101
|
"avvvatars-react": "^0.4.2"
|
|
102
102
|
},
|
|
103
103
|
"main": "dist/index.js",
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
"types": "dist/index.d.ts",
|
|
112
112
|
"peerDependencies": {
|
|
113
113
|
"@ariakit/react": "^0.4.17",
|
|
114
|
-
"@code0-tech/sagittarius-graphql-types": "0.0.0-
|
|
114
|
+
"@code0-tech/sagittarius-graphql-types": "0.0.0-experimental-2342308809-931efb40b4bf3245999c53abbdd9164cea82e82d",
|
|
115
115
|
"@codemirror/autocomplete": "^6.20.0",
|
|
116
116
|
"@codemirror/lang-json": "^6.0.2",
|
|
117
117
|
"@codemirror/language": "^6.12.1",
|