@w6w/embed 0.2.29 → 0.2.30

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 (36) hide show
  1. package/dist/{DocumentFormModal-CCIgA7pR.js → DocumentFormModal-B3VudaLb.js} +2 -2
  2. package/dist/{DocumentFormModal-CCIgA7pR.js.map → DocumentFormModal-B3VudaLb.js.map} +1 -1
  3. package/dist/{ImportSpecModal-DoxsVxru.js → ImportSpecModal-C-B8Jwxk.js} +2 -2
  4. package/dist/{ImportSpecModal-DoxsVxru.js.map → ImportSpecModal-C-B8Jwxk.js.map} +1 -1
  5. package/dist/WorkflowEditor-8NAcpjO_.js +1140 -0
  6. package/dist/WorkflowEditor-8NAcpjO_.js.map +1 -0
  7. package/dist/{editor-tools--Y3wlBZE.js → editor-tools-BIAW-wzt.js} +53 -53
  8. package/dist/{editor-tools--Y3wlBZE.js.map → editor-tools-BIAW-wzt.js.map} +1 -1
  9. package/dist/editor.mjs +1 -1
  10. package/dist/editors.mjs +50 -51
  11. package/dist/editors.mjs.map +1 -1
  12. package/dist/lib/recent-activity.d.ts +2 -2
  13. package/dist/lib/workflow-version.d.ts +19 -2
  14. package/dist/lists/AiKeyCreate.d.ts +20 -0
  15. package/dist/lists/CallableKindList.d.ts +17 -1
  16. package/dist/lists/CallableRowParts.d.ts +33 -0
  17. package/dist/lists/CredentialCreate.d.ts +17 -17
  18. package/dist/lists/CredentialFields.d.ts +18 -0
  19. package/dist/lists/CredentialList.d.ts +35 -3
  20. package/dist/lists.d.ts +2 -0
  21. package/dist/lists.mjs +1989 -1507
  22. package/dist/lists.mjs.map +1 -1
  23. package/dist/rail.mjs +1 -1
  24. package/dist/repos.mjs +59 -59
  25. package/dist/spec-export-BtnoV0ex.js +33 -0
  26. package/dist/spec-export-BtnoV0ex.js.map +1 -0
  27. package/dist/spec-import-FygyV8sy.js +272 -0
  28. package/dist/spec-import-FygyV8sy.js.map +1 -0
  29. package/package.json +5 -5
  30. package/src/styles.css +56 -0
  31. package/dist/WorkflowEditor-CBUwh85L.js +0 -1117
  32. package/dist/WorkflowEditor-CBUwh85L.js.map +0 -1
  33. package/dist/spec-export-DMMET5VM.js +0 -189
  34. package/dist/spec-export-DMMET5VM.js.map +0 -1
  35. package/dist/spec-import-0B6oUewa.js +0 -116
  36. package/dist/spec-import-0B6oUewa.js.map +0 -1
package/dist/editor.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { W as e } from "./WorkflowEditor-CBUwh85L.js";
2
+ import { W as e } from "./WorkflowEditor-8NAcpjO_.js";
3
3
  export {
4
4
  e as WorkflowEditor
5
5
  };
package/dist/editors.mjs CHANGED
@@ -2,24 +2,23 @@
2
2
  var tn = Object.defineProperty;
3
3
  var an = (t, i, a) => i in t ? tn(t, i, { enumerable: !0, configurable: !0, writable: !0, value: a }) : t[i] = a;
4
4
  var Se = (t, i, a) => an(t, typeof i != "symbol" ? i + "" : i, a);
5
- import { H as sn, E as on, B as rn, a as Re, J as xe, b as De } from "./WorkflowEditor-CBUwh85L.js";
6
- import { W as Wt } from "./WorkflowEditor-CBUwh85L.js";
5
+ import { H as sn, E as on, B as rn, a as Re, J as xe, b as De } from "./WorkflowEditor-8NAcpjO_.js";
6
+ import { W as Lt } from "./WorkflowEditor-8NAcpjO_.js";
7
7
  import { jsx as e, jsxs as o, Fragment as D } from "react/jsx-runtime";
8
8
  import { EditButton as ln, DeleteButton as dn, Copyable as Ke, CodeBlock as cn, IconButton as pe, AppIcon as un, ExpressionInput as hn, StepBuilderModal as mn, ExpressionOptionsProvider as Te } from "@w6w/ui";
9
9
  import { useState as g, Component as fn, useRef as _, useEffect as se, useMemo as L, useCallback as he } from "react";
10
10
  import { b as pn, C as yn } from "./ConfirmModal-WqBfWftD.js";
11
- import { D as vn } from "./DocumentFormModal-CCIgA7pR.js";
11
+ import { D as vn } from "./DocumentFormModal-B3VudaLb.js";
12
12
  import { u as ke } from "./project-context-Tvp-La7A.js";
13
- import { j as bn, i as gn } from "./spec-import-0B6oUewa.js";
13
+ import { j as bn, i as gn, r as Ae, m as kn, o as wn } from "./spec-import-FygyV8sy.js";
14
14
  import { ApiError as ye } from "@w6w/sdk";
15
- import { k as kn, i as wn } from "./apps-FMcQfyL2.js";
16
- import { C as Nn, c as Ae } from "./editor-tools--Y3wlBZE.js";
17
- import { a as Cn, b as Sn } from "./use-callable-draft-DCauHt5o.js";
18
- import { E as En, F as In } from "./CreateFunctionModal-CCYi9deY.js";
19
- import { d as Oe, z as Fn, b as Pn, u as Bn, w as je, v as Me, A as Rn } from "./endpoints-DArAqoLT.js";
20
- import { t as xn, a as Je, c as Le, I as Dn, b as Kn, p as ve, f as Tn, u as Ee, s as We, m as Qe, g as Ue, i as Ie, e as An, h as On } from "./coerce-input-DFJ4n_wc.js";
15
+ import { k as Nn, i as Cn } from "./apps-FMcQfyL2.js";
16
+ import { C as Sn, c as Oe } from "./editor-tools-BIAW-wzt.js";
17
+ import { a as En, b as In } from "./use-callable-draft-DCauHt5o.js";
18
+ import { E as Fn, F as Pn } from "./CreateFunctionModal-CCYi9deY.js";
19
+ import { d as je, z as Bn, b as Rn, u as xn, w as Me, v as Je, A as Dn } from "./endpoints-DArAqoLT.js";
20
+ import { t as Kn, a as Le, c as We, I as Tn, b as An, p as ve, f as On, u as Ee, s as Qe, m as Ue, g as qe, i as Ie, e as jn, h as Mn } from "./coerce-input-DFJ4n_wc.js";
21
21
  import { e as me } from "./import-bindings-EUtxZ9Ti.js";
22
- import { h as qe, b as jn, e as Mn } from "./spec-export-DMMET5VM.js";
23
22
  import { useQueryClient as we } from "@tanstack/react-query";
24
23
  import { o as $e, a1 as Jn, a0 as Ln } from "./workflows-Dz8LMjnt.js";
25
24
  import { SECRET_MASK as Wn } from "@w6w/sdk/console";
@@ -41,7 +40,7 @@ function Hn(t) {
41
40
  return "plaintext";
42
41
  }
43
42
  }
44
- function Ot({
43
+ function At({
45
44
  documentId: t,
46
45
  project: i,
47
46
  onDeleted: a,
@@ -159,7 +158,7 @@ function Ve({
159
158
  );
160
159
  }
161
160
  function _n({ kind: t, id: i, onOpenRun: a }) {
162
- const { hasExecuted: h } = kn(i), [d, n] = g(!1), c = _(null), I = _(!1);
161
+ const { hasExecuted: h } = Nn(i), [d, n] = g(!1), c = _(null), I = _(!1);
163
162
  return se(() => {
164
163
  var v;
165
164
  I.current && !d && ((v = c.current) == null || v.focus()), I.current = d;
@@ -206,8 +205,8 @@ function be(t) {
206
205
  ...h,
207
206
  key: String(t.key ?? "").trim()
208
207
  };
209
- xn(i) && (d.target = i);
210
- const n = Je(a ?? [], { emptyMeansPassthrough: !0 });
208
+ Kn(i) && (d.target = i);
209
+ const n = Le(a ?? [], { emptyMeansPassthrough: !0 });
211
210
  return n !== void 0 && (d.input = n), d;
212
211
  }
213
212
  function ze(t) {
@@ -227,7 +226,7 @@ function Gn(t, i, a) {
227
226
  const Xn = (t) => t instanceof Error ? t.message : String(t);
228
227
  function Zn(t) {
229
228
  var y;
230
- const { kind: i, id: a, onError: h } = t, d = qe(i, a, !0), n = jn(i), [c, I] = g(!1), v = ((y = d.data) == null ? void 0 : y.currentPublishedVersion) != null, N = i === "function" ? "fn-publish" : "ep-publish";
229
+ const { kind: i, id: a, onError: h } = t, d = Ae(i, a, !0), n = kn(i), [c, I] = g(!1), v = ((y = d.data) == null ? void 0 : y.currentPublishedVersion) != null, N = i === "function" ? "fn-publish" : "ep-publish";
231
230
  async function m() {
232
231
  h(null), I(!0);
233
232
  try {
@@ -258,7 +257,7 @@ function Zn(t) {
258
257
  );
259
258
  }
260
259
  function Ge(t) {
261
- const i = Oe(t.kind), [a, h] = g(null), d = t.slots, n = (d == null ? void 0 : d.backLabel) ?? i.editor.backLabel, c = () => t.onNavigate({ type: "list" });
260
+ const i = je(t.kind), [a, h] = g(null), d = t.slots, n = (d == null ? void 0 : d.backLabel) ?? i.editor.backLabel, c = () => t.onNavigate({ type: "list" });
262
261
  return t.notFound ? /* @__PURE__ */ o("div", { children: [
263
262
  /* @__PURE__ */ e("button", { type: "button", className: "btn ghost", onClick: c, children: n }),
264
263
  /* @__PURE__ */ o("div", { className: "card", children: [
@@ -469,10 +468,10 @@ function ge(t) {
469
468
  ] });
470
469
  }
471
470
  function tt(t) {
472
- const { id: i, inputs: a } = t, [h, d] = g({}), [n, c] = g(void 0), [I, v] = g(null), [N, m] = g(!1), y = we(), s = Fn(), P = async () => {
471
+ const { id: i, inputs: a } = t, [h, d] = g({}), [n, c] = g(void 0), [I, v] = g(null), [N, m] = g(!1), y = we(), s = Bn(), P = async () => {
473
472
  const u = {};
474
473
  for (const r of a) {
475
- const b = Le(r.type, h[r.key] ?? "");
474
+ const b = We(r.type, h[r.key] ?? "");
476
475
  b !== void 0 && (u[r.key] = b);
477
476
  }
478
477
  m(!0);
@@ -597,7 +596,7 @@ function Xe(t) {
597
596
  value: m.type,
598
597
  "aria-label": "Input type",
599
598
  onChange: (s) => v(y, { type: s.target.value }),
600
- children: Dn.map((s) => /* @__PURE__ */ e("option", { value: s, children: s }, s))
599
+ children: Tn.map((s) => /* @__PURE__ */ e("option", { value: s, children: s }, s))
601
600
  }
602
601
  ),
603
602
  /* @__PURE__ */ o("label", { className: "row", style: { gap: 4, alignItems: "center" }, children: [
@@ -639,7 +638,7 @@ const at = ["action", "function", "workflow", "endpoint"], it = {
639
638
  };
640
639
  function Ze(t) {
641
640
  var F;
642
- const { kind: i, id: a, uses: h, dirty: d } = t, n = (h == null ? void 0 : h.app) ?? "", c = (h == null ? void 0 : h.connection) ?? "", I = we(), v = _e(n, n !== ""), N = (F = qe(i, a, !0).data) == null ? void 0 : F.enabled, m = Mn(i), y = v.isSuccess && !v.isFetching, s = L(() => new Set((v.data ?? []).map((k) => k.id)), [v.data]), P = He(
641
+ const { kind: i, id: a, uses: h, dirty: d } = t, n = (h == null ? void 0 : h.app) ?? "", c = (h == null ? void 0 : h.connection) ?? "", I = we(), v = _e(n, n !== ""), N = (F = Ae(i, a, !0).data) == null ? void 0 : F.enabled, m = wn(i), y = v.isSuccess && !v.isFetching, s = L(() => new Set((v.data ?? []).map((k) => k.id)), [v.data]), P = He(
643
642
  [{ id: "target", uses: h }],
644
643
  () => y ? { state: "ready", ids: s } : void 0
645
644
  ).length, u = _({ id: a, had: !1 });
@@ -681,7 +680,7 @@ function en(t) {
681
680
  function u(l) {
682
681
  d(l);
683
682
  }
684
- const r = y.kind === "action" ? y : void 0, b = (r == null ? void 0 : r.uses.app) ?? "", F = (r == null ? void 0 : r.uses.action) ?? "", k = Kn(y), B = qn(b), [W, V] = g(null);
683
+ const r = y.kind === "action" ? y : void 0, b = (r == null ? void 0 : r.uses.app) ?? "", F = (r == null ? void 0 : r.uses.action) ?? "", k = An(y), B = qn(b), [W, V] = g(null);
685
684
  se(() => {
686
685
  let l = !1;
687
686
  return import("@w6w/ui/flow").then((E) => {
@@ -690,15 +689,15 @@ function en(t) {
690
689
  l = !0;
691
690
  };
692
691
  }, []);
693
- const Q = wn(b, b !== ""), K = _e(b, b !== ""), oe = He(
692
+ const Q = Cn(b, b !== ""), K = _e(b, b !== ""), oe = He(
694
693
  [{ id: "target", uses: r == null ? void 0 : r.uses }],
695
694
  () => K.isSuccess && !K.isFetching ? { state: "ready", ids: new Set((K.data ?? []).map((l) => l.id)) } : void 0
696
695
  ).length > 0, R = L(
697
696
  () => (Q.data ?? []).find((l) => l.key === F),
698
697
  [Q.data, F]
699
- ), $ = ["function", "workflow"].filter(P), re = `Choose ${c.charAt(0).toLowerCase()}${c.slice(1)}`, S = Pn(P("function")), f = Jn(void 0, P("workflow")), x = Bn(P("endpoint")), Y = je(k, s === "function" && k !== ""), z = Ln(k, s === "workflow" && k !== ""), Z = Me(k, s === "endpoint" && k !== ""), O = L(() => {
698
+ ), $ = ["function", "workflow"].filter(P), re = `Choose ${c.charAt(0).toLowerCase()}${c.slice(1)}`, S = Rn(P("function")), f = Jn(void 0, P("workflow")), x = xn(P("endpoint")), Y = Me(k, s === "function" && k !== ""), z = Ln(k, s === "workflow" && k !== ""), Z = Je(k, s === "endpoint" && k !== ""), O = L(() => {
700
699
  var l, E, w;
701
- return s === "action" ? ve((R == null ? void 0 : R.params) ?? []) : s === "function" ? ve(((l = Y.data) == null ? void 0 : l.inputs) ?? []) : s === "workflow" ? W ? Tn(
700
+ return s === "action" ? ve((R == null ? void 0 : R.params) ?? []) : s === "function" ? ve(((l = Y.data) == null ? void 0 : l.inputs) ?? []) : s === "workflow" ? W ? On(
702
701
  (E = z.data) == null ? void 0 : E.workflow,
703
702
  W
704
703
  ) : [] : s === "endpoint" ? ve(((w = Z.data) == null ? void 0 : w.endpoint.input) ?? []) : [];
@@ -714,7 +713,7 @@ function en(t) {
714
713
  n == null || n({ meta: { kind: s, ref: s === "action" ? b : k }, kind: s, fields: O });
715
714
  }, [s, b, k, O, n]);
716
715
  function X(l) {
717
- if (l.uses.app === Nn) {
716
+ if (l.uses.app === Sn) {
718
717
  const T = l.with ?? {}, M = T.targetKind === "workflow" ? "workflow" : "function", p = typeof T.targetId == "string" ? T.targetId : "";
719
718
  if (!p) return;
720
719
  u(
@@ -879,7 +878,7 @@ const st = () => {
879
878
  function de(t) {
880
879
  return t instanceof ye || t instanceof Error ? t.message : String(t);
881
880
  }
882
- function jt(t) {
881
+ function Ot(t) {
883
882
  const { endpointId: i, onNavigate: a = st, slots: h, tools: d } = t, n = ke(t.project), c = he(
884
883
  (I) => a(I),
885
884
  [a]
@@ -913,7 +912,7 @@ function jt(t) {
913
912
  }
914
913
  function ot(t) {
915
914
  var Ne;
916
- const { id: i, onNavigate: a, slots: h } = t, d = Oe("endpoint"), n = Me(i).data, [c, I] = g([]), v = _(c);
915
+ const { id: i, onNavigate: a, slots: h } = t, d = je("endpoint"), n = Je(i).data, [c, I] = g([]), v = _(c);
917
916
  v.current = c;
918
917
  const N = _(!1), m = _(!1), [y, s] = g("id"), [P, u] = g(null), [r, b] = g(!1), [F, k] = g(!1), [B, W] = g(!1), [V, Q] = g(""), [K, oe] = g({ id: i, key: "" }), [R, $] = g(null), re = he((C) => {
919
918
  const H = ce(C), j = Ee({
@@ -922,7 +921,7 @@ function ot(t) {
922
921
  fields: v.current
923
922
  });
924
923
  return j.length > 0 ? `The target needs: ${j.join(", ")}` : null;
925
- }, []), S = Cn({ id: i, saveGuard: re }), f = L(
924
+ }, []), S = En({ id: i, saveGuard: re }), f = L(
926
925
  () => S.definition ? ce(S.definition) : null,
927
926
  [S.definition]
928
927
  ), x = (f == null ? void 0 : f.input) ?? [], Y = Ze({
@@ -933,7 +932,7 @@ function ot(t) {
933
932
  }), z = ((Ne = f == null ? void 0 : f.exposure) == null ? void 0 : Ne.security) ?? {
934
933
  auth: "platform"
935
934
  }, Z = ze(n == null ? void 0 : n.invokeUrls), O = zn(n == null ? void 0 : n.invokeUrls, P);
936
- Ae({
935
+ Oe({
937
936
  kind: "endpoint",
938
937
  id: i,
939
938
  label: (f == null ? void 0 : f.displayName) || void 0,
@@ -968,18 +967,18 @@ function ot(t) {
968
967
  }
969
968
  se(() => {
970
969
  if (N.current) {
971
- if (!We({ rows: x, touched: m.current })) {
970
+ if (!Qe({ rows: x, touched: m.current })) {
972
971
  N.current = !1;
973
972
  return;
974
973
  }
975
- c.length !== 0 && (U({ input: Qe(x, c) }), N.current = !1);
974
+ c.length !== 0 && (U({ input: Ue(x, c) }), N.current = !1);
976
975
  }
977
976
  }, [c]);
978
977
  const te = L(
979
978
  () => ({ inputs: x.map((C) => C.key).filter(Boolean) }),
980
979
  [x]
981
980
  ), ae = L(
982
- () => Ue(x, c),
981
+ () => qe(x, c),
983
982
  [x, c]
984
983
  ), G = L(
985
984
  () => f ? Ee({
@@ -1150,7 +1149,7 @@ function ot(t) {
1150
1149
  }
1151
1150
  ),
1152
1151
  r && /* @__PURE__ */ e(
1153
- En,
1152
+ Fn,
1154
1153
  {
1155
1154
  initial: {
1156
1155
  key: f.key,
@@ -1188,7 +1187,7 @@ function ot(t) {
1188
1187
  }
1189
1188
  const rt = () => {
1190
1189
  }, Be = (t) => t instanceof Error ? t.message : String(t);
1191
- function Mt(t) {
1190
+ function jt(t) {
1192
1191
  const { functionId: i, onNavigate: a = rt, slots: h, tools: d } = t, n = ke(t.project);
1193
1192
  return /* @__PURE__ */ e(
1194
1193
  "div",
@@ -1210,18 +1209,18 @@ function Mt(t) {
1210
1209
  );
1211
1210
  }
1212
1211
  function lt(t) {
1213
- const i = Sn({ id: t.functionId });
1212
+ const i = In({ id: t.functionId });
1214
1213
  return /* @__PURE__ */ e(dt, { ...t, draft: i }, t.functionId);
1215
1214
  }
1216
1215
  function dt(t) {
1217
1216
  var M;
1218
- const { functionId: i, draft: a, onNavigate: h, slots: d } = t, n = a.definition, c = (n == null ? void 0 : n.inputs) ?? [], v = ((M = je(i).data) == null ? void 0 : M.valid) === !0, N = a.loadError, m = n ? Ie(n.impl) : void 0, y = Ze({
1217
+ const { functionId: i, draft: a, onNavigate: h, slots: d } = t, n = a.definition, c = (n == null ? void 0 : n.inputs) ?? [], v = ((M = Me(i).data) == null ? void 0 : M.valid) === !0, N = a.loadError, m = n ? Ie(n.impl) : void 0, y = Ze({
1219
1218
  kind: "function",
1220
1219
  id: i,
1221
1220
  uses: (m == null ? void 0 : m.kind) === "action" ? m.uses : void 0,
1222
1221
  dirty: a.dirty
1223
1222
  }), s = N instanceof ye && N.status === 404, [P, u] = g(!1), [r, b] = g(null), [F, k] = g(!1), [B, W] = g(!1), V = ((n == null ? void 0 : n.key) ?? "").trim() || $n((n == null ? void 0 : n.displayName) ?? "");
1224
- Ae({
1223
+ Oe({
1225
1224
  kind: "function",
1226
1225
  id: i,
1227
1226
  label: (n == null ? void 0 : n.displayName) || void 0,
@@ -1233,32 +1232,32 @@ function dt(t) {
1233
1232
  const Q = (p) => a.setDefinition((A) => ({ ...A, ...p })), [K, oe] = g([]), R = _(!1), $ = _(!1);
1234
1233
  se(() => {
1235
1234
  if (R.current) {
1236
- if (!We({ rows: c, touched: $.current })) {
1235
+ if (!Qe({ rows: c, touched: $.current })) {
1237
1236
  R.current = !1;
1238
1237
  return;
1239
1238
  }
1240
- K.length !== 0 && (Q({ inputs: Qe(c, K) }), R.current = !1);
1239
+ K.length !== 0 && (Q({ inputs: Ue(c, K) }), R.current = !1);
1241
1240
  }
1242
1241
  }, [K]);
1243
1242
  const re = L(
1244
- () => Ue(c, K),
1243
+ () => qe(c, K),
1245
1244
  [c, K]
1246
1245
  ), S = L(
1247
1246
  () => ({ inputs: c.map((p) => p.key).filter(Boolean) }),
1248
1247
  [c]
1249
1248
  );
1250
1249
  function f(p) {
1251
- R.current = !0, Q({ impl: On(n == null ? void 0 : n.impl, p) });
1250
+ R.current = !0, Q({ impl: Mn(n == null ? void 0 : n.impl, p) });
1252
1251
  }
1253
1252
  const x = L(
1254
- () => An({ impl: n == null ? void 0 : n.impl, fields: K }),
1253
+ () => jn({ impl: n == null ? void 0 : n.impl, fields: K }),
1255
1254
  [n == null ? void 0 : n.impl, K]
1256
1255
  ), Y = !!V && x.length === 0 && a.canSave;
1257
1256
  function z() {
1258
1257
  return {
1259
1258
  ...n,
1260
1259
  key: V,
1261
- inputs: Je(c, { emptyMeansPassthrough: !1 })
1260
+ inputs: Le(c, { emptyMeansPassthrough: !1 })
1262
1261
  };
1263
1262
  }
1264
1263
  async function Z() {
@@ -1398,7 +1397,7 @@ function dt(t) {
1398
1397
  }
1399
1398
  ),
1400
1399
  P && /* @__PURE__ */ e(
1401
- In,
1400
+ Pn,
1402
1401
  {
1403
1402
  initial: {
1404
1403
  key: n.key,
@@ -1432,11 +1431,11 @@ function dt(t) {
1432
1431
  ) }) });
1433
1432
  }
1434
1433
  function ct(t) {
1435
- const { id: i, inputs: a } = t, [h, d] = g({}), [n, c] = g(void 0), [I, v] = g(null), [N, m] = g(!1), y = we(), s = Rn();
1434
+ const { id: i, inputs: a } = t, [h, d] = g({}), [n, c] = g(void 0), [I, v] = g(null), [N, m] = g(!1), y = we(), s = Dn();
1436
1435
  async function P() {
1437
1436
  const u = {};
1438
1437
  for (const r of a) {
1439
- const b = Le(r.type, h[r.key] ?? "");
1438
+ const b = We(r.type, h[r.key] ?? "");
1440
1439
  b !== void 0 && (u[r.key] = b);
1441
1440
  }
1442
1441
  m(!0);
@@ -1517,9 +1516,9 @@ function ct(t) {
1517
1516
  ] });
1518
1517
  }
1519
1518
  export {
1520
- Ot as DocumentEditor,
1521
- jt as EndpointEditor,
1522
- Mt as FunctionEditor,
1523
- Wt as WorkflowEditor
1519
+ At as DocumentEditor,
1520
+ Ot as EndpointEditor,
1521
+ jt as FunctionEditor,
1522
+ Lt as WorkflowEditor
1524
1523
  };
1525
1524
  //# sourceMappingURL=editors.mjs.map