@camunda/play 0.0.6-rc.2 → 0.0.6

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 (2) hide show
  1. package/build/play.js +151 -142
  2. package/package.json +1 -1
package/build/play.js CHANGED
@@ -23,8 +23,8 @@ var B1 = { exports: {} }, K0 = {};
23
23
  var n2;
24
24
  function Oz() {
25
25
  return n2 || (n2 = 1, process.env.NODE_ENV !== "production" && function() {
26
- var o = e, r = Symbol.for("react.element"), A = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), t = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), h = Symbol.for("react.provider"), p = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), E = Symbol.for("react.suspense_list"), u = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), w = Symbol.iterator, z = "@@iterator";
27
- function y(s) {
26
+ var o = e, r = Symbol.for("react.element"), A = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), t = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), h = Symbol.for("react.provider"), p = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), E = Symbol.for("react.suspense_list"), u = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), y = Symbol.for("react.offscreen"), w = Symbol.iterator, z = "@@iterator";
27
+ function C(s) {
28
28
  if (s === null || typeof s != "object")
29
29
  return null;
30
30
  var M = w && s[w] || s[z];
@@ -51,7 +51,7 @@ function Oz() {
51
51
  var j = !1, m = !1, R = !1, q = !1, Q = !1, n0;
52
52
  n0 = Symbol.for("react.module.reference");
53
53
  function w0(s) {
54
- return !!(typeof s == "string" || typeof s == "function" || s === n || s === a || Q || s === t || s === f || s === E || q || s === C || j || m || R || typeof s == "object" && s !== null && (s.$$typeof === g || s.$$typeof === u || s.$$typeof === h || s.$$typeof === p || s.$$typeof === d || // This needs to include all possible module reference object
54
+ return !!(typeof s == "string" || typeof s == "function" || s === n || s === a || Q || s === t || s === f || s === E || q || s === y || j || m || R || typeof s == "object" && s !== null && (s.$$typeof === g || s.$$typeof === u || s.$$typeof === h || s.$$typeof === p || s.$$typeof === d || // This needs to include all possible module reference object
55
55
  // types supported by any Flight configuration anywhere since
56
56
  // we don't know which Flight build this will end up being used
57
57
  // with.
@@ -523,7 +523,7 @@ Check the top-level render call using <` + D + ">.");
523
523
  else if (w1(s))
524
524
  s._store && (s._store.validated = !0);
525
525
  else if (s) {
526
- var e0 = y(s);
526
+ var e0 = C(s);
527
527
  if (typeof e0 == "function" && e0 !== s.entries)
528
528
  for (var s0 = e0.call(s), _; !(_ = s0.next()).done; )
529
529
  w1(_.value) && _1(_.value, M);
@@ -624,14 +624,14 @@ function bz() {
624
624
  a2 = 1;
625
625
  var o = e, r = Symbol.for("react.element"), A = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, t = o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, a = { key: !0, ref: !0, __self: !0, __source: !0 };
626
626
  function h(p, d, f) {
627
- var E, u = {}, g = null, C = null;
628
- f !== void 0 && (g = "" + f), d.key !== void 0 && (g = "" + d.key), d.ref !== void 0 && (C = d.ref);
627
+ var E, u = {}, g = null, y = null;
628
+ f !== void 0 && (g = "" + f), d.key !== void 0 && (g = "" + d.key), d.ref !== void 0 && (y = d.ref);
629
629
  for (E in d)
630
630
  n.call(d, E) && !a.hasOwnProperty(E) && (u[E] = d[E]);
631
631
  if (p && p.defaultProps)
632
632
  for (E in d = p.defaultProps, d)
633
633
  u[E] === void 0 && (u[E] = d[E]);
634
- return { $$typeof: r, type: p, key: g, ref: C, props: u, _owner: t.current };
634
+ return { $$typeof: r, type: p, key: g, ref: y, props: u, _owner: t.current };
635
635
  }
636
636
  return X0.Fragment = A, X0.jsx = h, X0.jsxs = h, X0;
637
637
  }
@@ -1198,7 +1198,7 @@ const Qz = /["|{]?secrets\.((\w|-)+)["|}]?/gm, Pz = ({
1198
1198
  ), g(!0);
1199
1199
  })();
1200
1200
  }, [o, r]);
1201
- async function C(w, z) {
1201
+ async function y(w, z) {
1202
1202
  if ((await A0.setConnectorSecret({ endpoint: r, name: w, value: z }))?.success === !1)
1203
1203
  return !1;
1204
1204
  const B = [
@@ -1220,7 +1220,7 @@ const Qz = /["|{]?secrets\.((\w|-)+)["|}]?/gm, Pz = ({
1220
1220
  connectorElementsWithMissingSecrets: p,
1221
1221
  secrets: f,
1222
1222
  ready: u,
1223
- setConnectorSecret: C
1223
+ setConnectorSecret: y
1224
1224
  };
1225
1225
  };
1226
1226
  function kz(o) {
@@ -1288,29 +1288,29 @@ function IC(o, r, A) {
1288
1288
  if (typeof o != "function")
1289
1289
  throw new TypeError(OC);
1290
1290
  r = h2(r) || 0, TC(A) && (E = !!A.leading, u = "maxWait" in A, a = u ? bC(h2(A.maxWait) || 0, r) : a, g = "trailing" in A ? !!A.trailing : g);
1291
- function C(R) {
1291
+ function y(R) {
1292
1292
  var q = n, Q = t;
1293
1293
  return n = t = void 0, f = R, h = o.apply(Q, q), h;
1294
1294
  }
1295
1295
  function w(R) {
1296
- return f = R, p = setTimeout(B, r), E ? C(R) : h;
1296
+ return f = R, p = setTimeout(B, r), E ? y(R) : h;
1297
1297
  }
1298
1298
  function z(R) {
1299
1299
  var q = R - d, Q = R - f, n0 = r - q;
1300
1300
  return u ? SC(n0, a - Q) : n0;
1301
1301
  }
1302
- function y(R) {
1302
+ function C(R) {
1303
1303
  var q = R - d, Q = R - f;
1304
1304
  return d === void 0 || q >= r || q < 0 || u && Q >= a;
1305
1305
  }
1306
1306
  function B() {
1307
1307
  var R = f1();
1308
- if (y(R))
1308
+ if (C(R))
1309
1309
  return P(R);
1310
1310
  p = setTimeout(B, z(R));
1311
1311
  }
1312
1312
  function P(R) {
1313
- return p = void 0, g && n ? C(R) : (n = t = void 0, h);
1313
+ return p = void 0, g && n ? y(R) : (n = t = void 0, h);
1314
1314
  }
1315
1315
  function T() {
1316
1316
  p !== void 0 && clearTimeout(p), f = 0, n = d = t = p = void 0;
@@ -1319,12 +1319,12 @@ function IC(o, r, A) {
1319
1319
  return p === void 0 ? h : P(f1());
1320
1320
  }
1321
1321
  function m() {
1322
- var R = f1(), q = y(R);
1322
+ var R = f1(), q = C(R);
1323
1323
  if (n = arguments, t = this, d = R, q) {
1324
1324
  if (p === void 0)
1325
1325
  return w(d);
1326
1326
  if (u)
1327
- return clearTimeout(p), p = setTimeout(B, r), C(d);
1327
+ return clearTimeout(p), p = setTimeout(B, r), y(d);
1328
1328
  }
1329
1329
  return p === void 0 && (p = setTimeout(B, r)), h;
1330
1330
  }
@@ -1339,7 +1339,7 @@ function PC({
1339
1339
  processId: n,
1340
1340
  modeler: t
1341
1341
  }) {
1342
- const [a, h] = N(), [p, d] = N([]), [f, E] = N([]), [u, g] = N([]), [C, w] = N([]), [z, y] = N(
1342
+ const [a, h] = N(), [p, d] = N([]), [f, E] = N([]), [u, g] = N([]), [y, w] = N([]), [z, C] = N(
1343
1343
  []
1344
1344
  ), [B, P] = N([]), [T, j] = N([]), [m, R] = N([]), [q, Q] = N(!1), [n0, w0] = N(void 0), [f0, V0] = N([]), [o0, $] = N(!1), u0 = B0(0);
1345
1345
  function Y(H, V) {
@@ -1420,7 +1420,7 @@ function PC({
1420
1420
  A0.fetchProcessTimers({ endpoint: o, playId: V }),
1421
1421
  A0.fetchProcessMessageSubscriptions({ endpoint: o, playId: V })
1422
1422
  ]);
1423
- (L === void 0 || Z === void 0) && Q(!0), y(L ?? []), P(Z ?? []);
1423
+ (L === void 0 || Z === void 0) && Q(!0), C(L ?? []), P(Z ?? []);
1424
1424
  },
1425
1425
  150
1426
1426
  ), p0 = async function() {
@@ -1449,7 +1449,7 @@ function PC({
1449
1449
  userTasks: f,
1450
1450
  timers: u,
1451
1451
  definitionTimers: z,
1452
- messageSubscriptions: C,
1452
+ messageSubscriptions: y,
1453
1453
  definitionMessageSubscriptions: B,
1454
1454
  incidents: T,
1455
1455
  variables: m,
@@ -1610,10 +1610,10 @@ var A1 = { exports: {} }, t0 = {};
1610
1610
  var m2;
1611
1611
  function KC() {
1612
1612
  return m2 || (m2 = 1, process.env.NODE_ENV !== "production" && function() {
1613
- var o = typeof Symbol == "function" && Symbol.for, r = o ? Symbol.for("react.element") : 60103, A = o ? Symbol.for("react.portal") : 60106, n = o ? Symbol.for("react.fragment") : 60107, t = o ? Symbol.for("react.strict_mode") : 60108, a = o ? Symbol.for("react.profiler") : 60114, h = o ? Symbol.for("react.provider") : 60109, p = o ? Symbol.for("react.context") : 60110, d = o ? Symbol.for("react.async_mode") : 60111, f = o ? Symbol.for("react.concurrent_mode") : 60111, E = o ? Symbol.for("react.forward_ref") : 60112, u = o ? Symbol.for("react.suspense") : 60113, g = o ? Symbol.for("react.suspense_list") : 60120, C = o ? Symbol.for("react.memo") : 60115, w = o ? Symbol.for("react.lazy") : 60116, z = o ? Symbol.for("react.block") : 60121, y = o ? Symbol.for("react.fundamental") : 60117, B = o ? Symbol.for("react.responder") : 60118, P = o ? Symbol.for("react.scope") : 60119;
1613
+ var o = typeof Symbol == "function" && Symbol.for, r = o ? Symbol.for("react.element") : 60103, A = o ? Symbol.for("react.portal") : 60106, n = o ? Symbol.for("react.fragment") : 60107, t = o ? Symbol.for("react.strict_mode") : 60108, a = o ? Symbol.for("react.profiler") : 60114, h = o ? Symbol.for("react.provider") : 60109, p = o ? Symbol.for("react.context") : 60110, d = o ? Symbol.for("react.async_mode") : 60111, f = o ? Symbol.for("react.concurrent_mode") : 60111, E = o ? Symbol.for("react.forward_ref") : 60112, u = o ? Symbol.for("react.suspense") : 60113, g = o ? Symbol.for("react.suspense_list") : 60120, y = o ? Symbol.for("react.memo") : 60115, w = o ? Symbol.for("react.lazy") : 60116, z = o ? Symbol.for("react.block") : 60121, C = o ? Symbol.for("react.fundamental") : 60117, B = o ? Symbol.for("react.responder") : 60118, P = o ? Symbol.for("react.scope") : 60119;
1614
1614
  function T(x) {
1615
1615
  return typeof x == "string" || typeof x == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
1616
- x === n || x === f || x === a || x === t || x === u || x === g || typeof x == "object" && x !== null && (x.$$typeof === w || x.$$typeof === C || x.$$typeof === h || x.$$typeof === p || x.$$typeof === E || x.$$typeof === y || x.$$typeof === B || x.$$typeof === P || x.$$typeof === z);
1616
+ x === n || x === f || x === a || x === t || x === u || x === g || typeof x == "object" && x !== null && (x.$$typeof === w || x.$$typeof === y || x.$$typeof === h || x.$$typeof === p || x.$$typeof === E || x.$$typeof === C || x.$$typeof === B || x.$$typeof === P || x.$$typeof === z);
1617
1617
  }
1618
1618
  function j(x) {
1619
1619
  if (typeof x == "object" && x !== null) {
@@ -1635,7 +1635,7 @@ function KC() {
1635
1635
  case p:
1636
1636
  case E:
1637
1637
  case w:
1638
- case C:
1638
+ case y:
1639
1639
  case h:
1640
1640
  return N0;
1641
1641
  default:
@@ -1647,7 +1647,7 @@ function KC() {
1647
1647
  }
1648
1648
  }
1649
1649
  }
1650
- var m = d, R = f, q = p, Q = h, n0 = r, w0 = E, f0 = n, V0 = w, o0 = C, $ = A, u0 = a, Y = t, i0 = u, h0 = !1;
1650
+ var m = d, R = f, q = p, Q = h, n0 = r, w0 = E, f0 = n, V0 = w, o0 = y, $ = A, u0 = a, Y = t, i0 = u, h0 = !1;
1651
1651
  function p0(x) {
1652
1652
  return h0 || (h0 = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), H(x) || j(x) === d;
1653
1653
  }
@@ -1673,7 +1673,7 @@ function KC() {
1673
1673
  return j(x) === w;
1674
1674
  }
1675
1675
  function G(x) {
1676
- return j(x) === C;
1676
+ return j(x) === y;
1677
1677
  }
1678
1678
  function F(x) {
1679
1679
  return j(x) === A;
@@ -1704,7 +1704,7 @@ function XC() {
1704
1704
  if (E2)
1705
1705
  return r0;
1706
1706
  E2 = 1;
1707
- var o = typeof Symbol == "function" && Symbol.for, r = o ? Symbol.for("react.element") : 60103, A = o ? Symbol.for("react.portal") : 60106, n = o ? Symbol.for("react.fragment") : 60107, t = o ? Symbol.for("react.strict_mode") : 60108, a = o ? Symbol.for("react.profiler") : 60114, h = o ? Symbol.for("react.provider") : 60109, p = o ? Symbol.for("react.context") : 60110, d = o ? Symbol.for("react.async_mode") : 60111, f = o ? Symbol.for("react.concurrent_mode") : 60111, E = o ? Symbol.for("react.forward_ref") : 60112, u = o ? Symbol.for("react.suspense") : 60113, g = o ? Symbol.for("react.suspense_list") : 60120, C = o ? Symbol.for("react.memo") : 60115, w = o ? Symbol.for("react.lazy") : 60116, z = o ? Symbol.for("react.block") : 60121, y = o ? Symbol.for("react.fundamental") : 60117, B = o ? Symbol.for("react.responder") : 60118, P = o ? Symbol.for("react.scope") : 60119;
1707
+ var o = typeof Symbol == "function" && Symbol.for, r = o ? Symbol.for("react.element") : 60103, A = o ? Symbol.for("react.portal") : 60106, n = o ? Symbol.for("react.fragment") : 60107, t = o ? Symbol.for("react.strict_mode") : 60108, a = o ? Symbol.for("react.profiler") : 60114, h = o ? Symbol.for("react.provider") : 60109, p = o ? Symbol.for("react.context") : 60110, d = o ? Symbol.for("react.async_mode") : 60111, f = o ? Symbol.for("react.concurrent_mode") : 60111, E = o ? Symbol.for("react.forward_ref") : 60112, u = o ? Symbol.for("react.suspense") : 60113, g = o ? Symbol.for("react.suspense_list") : 60120, y = o ? Symbol.for("react.memo") : 60115, w = o ? Symbol.for("react.lazy") : 60116, z = o ? Symbol.for("react.block") : 60121, C = o ? Symbol.for("react.fundamental") : 60117, B = o ? Symbol.for("react.responder") : 60118, P = o ? Symbol.for("react.scope") : 60119;
1708
1708
  function T(m) {
1709
1709
  if (typeof m == "object" && m !== null) {
1710
1710
  var R = m.$$typeof;
@@ -1723,7 +1723,7 @@ function XC() {
1723
1723
  case p:
1724
1724
  case E:
1725
1725
  case w:
1726
- case C:
1726
+ case y:
1727
1727
  case h:
1728
1728
  return m;
1729
1729
  default:
@@ -1738,7 +1738,7 @@ function XC() {
1738
1738
  function j(m) {
1739
1739
  return T(m) === f;
1740
1740
  }
1741
- return r0.AsyncMode = d, r0.ConcurrentMode = f, r0.ContextConsumer = p, r0.ContextProvider = h, r0.Element = r, r0.ForwardRef = E, r0.Fragment = n, r0.Lazy = w, r0.Memo = C, r0.Portal = A, r0.Profiler = a, r0.StrictMode = t, r0.Suspense = u, r0.isAsyncMode = function(m) {
1741
+ return r0.AsyncMode = d, r0.ConcurrentMode = f, r0.ContextConsumer = p, r0.ContextProvider = h, r0.Element = r, r0.ForwardRef = E, r0.Fragment = n, r0.Lazy = w, r0.Memo = y, r0.Portal = A, r0.Profiler = a, r0.StrictMode = t, r0.Suspense = u, r0.isAsyncMode = function(m) {
1742
1742
  return j(m) || T(m) === d;
1743
1743
  }, r0.isConcurrentMode = j, r0.isContextConsumer = function(m) {
1744
1744
  return T(m) === p;
@@ -1753,7 +1753,7 @@ function XC() {
1753
1753
  }, r0.isLazy = function(m) {
1754
1754
  return T(m) === w;
1755
1755
  }, r0.isMemo = function(m) {
1756
- return T(m) === C;
1756
+ return T(m) === y;
1757
1757
  }, r0.isPortal = function(m) {
1758
1758
  return T(m) === A;
1759
1759
  }, r0.isProfiler = function(m) {
@@ -1763,7 +1763,7 @@ function XC() {
1763
1763
  }, r0.isSuspense = function(m) {
1764
1764
  return T(m) === u;
1765
1765
  }, r0.isValidElementType = function(m) {
1766
- return typeof m == "string" || typeof m == "function" || m === n || m === f || m === a || m === t || m === u || m === g || typeof m == "object" && m !== null && (m.$$typeof === w || m.$$typeof === C || m.$$typeof === h || m.$$typeof === p || m.$$typeof === E || m.$$typeof === y || m.$$typeof === B || m.$$typeof === P || m.$$typeof === z);
1766
+ return typeof m == "string" || typeof m == "function" || m === n || m === f || m === a || m === t || m === u || m === g || typeof m == "object" && m !== null && (m.$$typeof === w || m.$$typeof === y || m.$$typeof === h || m.$$typeof === p || m.$$typeof === E || m.$$typeof === C || m.$$typeof === B || m.$$typeof === P || m.$$typeof === z);
1767
1767
  }, r0.typeOf = T, r0;
1768
1768
  }
1769
1769
  var v2;
@@ -1864,9 +1864,9 @@ function $C() {
1864
1864
  (d || "React class") + ": type specification of " + p + " `" + E + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof u + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
1865
1865
  ), u instanceof Error && !(u.message in A)) {
1866
1866
  A[u.message] = !0;
1867
- var C = f ? f() : "";
1867
+ var y = f ? f() : "";
1868
1868
  o(
1869
- "Failed " + p + " type: " + u.message + (C ?? "")
1869
+ "Failed " + p + " type: " + u.message + (y ?? "")
1870
1870
  );
1871
1871
  }
1872
1872
  }
@@ -1901,7 +1901,7 @@ function ey() {
1901
1901
  if (typeof V == "function")
1902
1902
  return V;
1903
1903
  }
1904
- var g = "<<anonymous>>", C = {
1904
+ var g = "<<anonymous>>", y = {
1905
1905
  array: B("array"),
1906
1906
  bigint: B("bigint"),
1907
1907
  bool: B("boolean"),
@@ -1929,7 +1929,7 @@ function ey() {
1929
1929
  this.message = H, this.data = V && typeof V == "object" ? V : {}, this.stack = "";
1930
1930
  }
1931
1931
  z.prototype = Error.prototype;
1932
- function y(H) {
1932
+ function C(H) {
1933
1933
  if (process.env.NODE_ENV !== "production")
1934
1934
  var V = {}, L = 0;
1935
1935
  function Z(O, S, G, F, J, U, I) {
@@ -1964,10 +1964,10 @@ function ey() {
1964
1964
  }
1965
1965
  return null;
1966
1966
  }
1967
- return y(V);
1967
+ return C(V);
1968
1968
  }
1969
1969
  function P() {
1970
- return y(h);
1970
+ return C(h);
1971
1971
  }
1972
1972
  function T(H) {
1973
1973
  function V(L, Z, b, O, S) {
@@ -1985,7 +1985,7 @@ function ey() {
1985
1985
  }
1986
1986
  return null;
1987
1987
  }
1988
- return y(V);
1988
+ return C(V);
1989
1989
  }
1990
1990
  function j() {
1991
1991
  function H(V, L, Z, b, O) {
@@ -1996,7 +1996,7 @@ function ey() {
1996
1996
  }
1997
1997
  return null;
1998
1998
  }
1999
- return y(H);
1999
+ return C(H);
2000
2000
  }
2001
2001
  function m() {
2002
2002
  function H(V, L, Z, b, O) {
@@ -2007,7 +2007,7 @@ function ey() {
2007
2007
  }
2008
2008
  return null;
2009
2009
  }
2010
- return y(H);
2010
+ return C(H);
2011
2011
  }
2012
2012
  function R(H) {
2013
2013
  function V(L, Z, b, O, S) {
@@ -2017,7 +2017,7 @@ function ey() {
2017
2017
  }
2018
2018
  return null;
2019
2019
  }
2020
- return y(V);
2020
+ return C(V);
2021
2021
  }
2022
2022
  function q(H) {
2023
2023
  if (!Array.isArray(H))
@@ -2034,7 +2034,7 @@ function ey() {
2034
2034
  });
2035
2035
  return new z("Invalid " + O + " `" + S + "` of value `" + String(G) + "` " + ("supplied to `" + b + "`, expected one of " + J + "."));
2036
2036
  }
2037
- return y(V);
2037
+ return C(V);
2038
2038
  }
2039
2039
  function Q(H) {
2040
2040
  function V(L, Z, b, O, S) {
@@ -2051,7 +2051,7 @@ function ey() {
2051
2051
  }
2052
2052
  return null;
2053
2053
  }
2054
- return y(V);
2054
+ return C(V);
2055
2055
  }
2056
2056
  function n0(H) {
2057
2057
  if (!Array.isArray(H))
@@ -2073,13 +2073,13 @@ function ey() {
2073
2073
  var c0 = J.length > 0 ? ", expected one of type [" + J.join(", ") + "]" : "";
2074
2074
  return new z("Invalid " + G + " `" + F + "` supplied to " + ("`" + S + "`" + c0 + "."));
2075
2075
  }
2076
- return y(Z);
2076
+ return C(Z);
2077
2077
  }
2078
2078
  function w0() {
2079
2079
  function H(V, L, Z, b, O) {
2080
2080
  return $(V[L]) ? null : new z("Invalid " + b + " `" + O + "` supplied to " + ("`" + Z + "`, expected a ReactNode."));
2081
2081
  }
2082
- return y(H);
2082
+ return C(H);
2083
2083
  }
2084
2084
  function f0(H, V, L, Z, b) {
2085
2085
  return new z(
@@ -2101,7 +2101,7 @@ function ey() {
2101
2101
  }
2102
2102
  return null;
2103
2103
  }
2104
- return y(V);
2104
+ return C(V);
2105
2105
  }
2106
2106
  function o0(H) {
2107
2107
  function V(L, Z, b, O, S) {
@@ -2124,7 +2124,7 @@ Valid keys: ` + JSON.stringify(Object.keys(H), null, " ")
2124
2124
  }
2125
2125
  return null;
2126
2126
  }
2127
- return y(V);
2127
+ return C(V);
2128
2128
  }
2129
2129
  function $(H) {
2130
2130
  switch (typeof H) {
@@ -2195,7 +2195,7 @@ Valid keys: ` + JSON.stringify(Object.keys(H), null, " ")
2195
2195
  function p0(H) {
2196
2196
  return !H.constructor || !H.constructor.name ? g : H.constructor.name;
2197
2197
  }
2198
- return C.checkPropTypes = t, C.resetWarningCache = t.resetWarningCache, C.PropTypes = C, C;
2198
+ return y.checkPropTypes = t, y.resetWarningCache = t.resetWarningCache, y.PropTypes = y, y;
2199
2199
  }, g1;
2200
2200
  }
2201
2201
  if (process.env.NODE_ENV !== "production") {
@@ -21496,7 +21496,7 @@ const eF = v.div`
21496
21496
  const d = o?.toLowerCase() + "-" + Math.random().toString(36).replace(/[^a-z]+/g, "").substr(2, 10), f = (u) => {
21497
21497
  const g = u ? u.target : p.current;
21498
21498
  g.style.height = "initial";
21499
- const C = window.getComputedStyle(g), w = parseInt(C.getPropertyValue("border-top-width"), 10) + g.scrollHeight + parseInt(C.getPropertyValue("border-bottom-width"), 10);
21499
+ const y = window.getComputedStyle(g), w = parseInt(y.getPropertyValue("border-top-width"), 10) + g.scrollHeight + parseInt(y.getPropertyValue("border-bottom-width"), 10);
21500
21500
  g.style.height = w + "px";
21501
21501
  }, E = (u) => {
21502
21502
  u.key == "Enter" && f();
@@ -21623,19 +21623,19 @@ const eF = v.div`
21623
21623
  disabled: h,
21624
21624
  ...p
21625
21625
  }) => {
21626
- const [d, f] = N(), [E, u] = N(), g = B0(), C = t > 0, w = t === 0;
21626
+ const [d, f] = N(), [E, u] = N(), g = B0(), y = t > 0, w = t === 0;
21627
21627
  a0(() => {
21628
- let y, B;
21629
- return C && (y = setTimeout(() => f(g.current), t), a > 0 && (B = setTimeout(() => f(), t + a))), () => {
21630
- y && clearTimeout(y), B && clearTimeout(B);
21628
+ let C, B;
21629
+ return y && (C = setTimeout(() => f(g.current), t), a > 0 && (B = setTimeout(() => f(), t + a))), () => {
21630
+ C && clearTimeout(C), B && clearTimeout(B);
21631
21631
  };
21632
- }, []), A = Vz.map(A, (y, B) => {
21633
- if (C)
21634
- return B === 0 ? r2(y, {
21632
+ }, []), A = Vz.map(A, (C, B) => {
21633
+ if (y)
21634
+ return B === 0 ? r2(C, {
21635
21635
  ref: g
21636
- }) : y;
21636
+ }) : C;
21637
21637
  if (w)
21638
- return r2(y, {
21638
+ return r2(C, {
21639
21639
  //@ts-expect-error Argument of type 'EventTarget & HTMLElement' is not assignable to parameter of type 'SetStateAction<undefined>'.ts(2345)
21640
21640
  onMouseEnter: (P) => f(P.currentTarget),
21641
21641
  onMouseLeave: () => {
@@ -21653,7 +21653,7 @@ const eF = v.div`
21653
21653
  anchorEl: d,
21654
21654
  setAnchorEl: f,
21655
21655
  timer: E,
21656
- controlledByTimer: C,
21656
+ controlledByTimer: y,
21657
21657
  ...p
21658
21658
  }
21659
21659
  )
@@ -21694,11 +21694,11 @@ const eF = v.div`
21694
21694
  //@ts-expect-error Binding element 'keepOpen' implicitly has an 'any' type.ts(7031)
21695
21695
  keepOpen: f
21696
21696
  }) => {
21697
- const [E, u] = N({ top: 0, left: 0 }), [g, C] = N(t), w = B0();
21697
+ const [E, u] = N({ top: 0, left: 0 }), [g, y] = N(t), w = B0();
21698
21698
  return a0(() => {
21699
- const { top: z, bottom: y, left: B, width: P } = A.getBoundingClientRect(), T = (
21699
+ const { top: z, bottom: C, left: B, width: P } = A.getBoundingClientRect(), T = (
21700
21700
  //@ts-expect-error 'tooltip.current' is possibly 'undefined'.ts(18048)
21701
- y + w.current.offsetHeight + z1 > window.innerHeight
21701
+ C + w.current.offsetHeight + z1 > window.innerHeight
21702
21702
  ), j = () => {
21703
21703
  switch (a) {
21704
21704
  case "left":
@@ -21708,15 +21708,15 @@ const eF = v.div`
21708
21708
  default:
21709
21709
  return B - w.current.offsetWidth / 2 + P / 2;
21710
21710
  }
21711
- }, m = () => g == "top" || T ? z - w.current.offsetHeight - z1 - 5 : y + z1 + 5;
21712
- T && C("top"), u({
21711
+ }, m = () => g == "top" || T ? z - w.current.offsetHeight - z1 - 5 : C + z1 + 5;
21712
+ T && y("top"), u({
21713
21713
  top: m(),
21714
21714
  left: j()
21715
21715
  });
21716
21716
  }, [A, A?.getBoundingClientRect().top]), a0(() => {
21717
21717
  if (h) {
21718
- const z = (y) => {
21719
- w.current.contains(y.target) || f || r();
21718
+ const z = (C) => {
21719
+ w.current.contains(C.target) || f || r();
21720
21720
  };
21721
21721
  return document.addEventListener("mousedown", z), () => {
21722
21722
  document.removeEventListener("mousedown", z);
@@ -22271,7 +22271,7 @@ const VF = v.div`
22271
22271
  onClose: n,
22272
22272
  shouldShowSuccessNotification: t
22273
22273
  }) => {
22274
- const a = M0(H0), [h, p] = N(""), [d, f] = N(r), [E, u] = N(A), [g, C] = N(""), [w, z] = N("");
22274
+ const a = M0(H0), [h, p] = N(""), [d, f] = N(r), [E, u] = N(A), [g, y] = N(""), [w, z] = N("");
22275
22275
  return /* @__PURE__ */ c.jsxs(k, { open: o, onClose: n, maxWidth: 500, children: [
22276
22276
  /* @__PURE__ */ c.jsx(k.Header, { children: /* @__PURE__ */ c.jsx(k.Title, { children: "Publish Message" }) }),
22277
22277
  /* @__PURE__ */ c.jsx(k.Content, { children: /* @__PURE__ */ c.jsx(Y0, { children: /* @__PURE__ */ c.jsxs(U0, { gap: 7, children: [
@@ -22282,8 +22282,8 @@ const VF = v.div`
22282
22282
  labelText: "Message Name",
22283
22283
  placeholder: "new order",
22284
22284
  value: d,
22285
- onChange: (y) => {
22286
- f(y.target.value);
22285
+ onChange: (C) => {
22286
+ f(C.target.value);
22287
22287
  }
22288
22288
  }
22289
22289
  ),
@@ -22294,8 +22294,8 @@ const VF = v.div`
22294
22294
  labelText: "Message Correlation Key",
22295
22295
  placeholder: "order-key-123",
22296
22296
  value: E,
22297
- onChange: (y) => {
22298
- u(y.target.value);
22297
+ onChange: (C) => {
22298
+ u(C.target.value);
22299
22299
  }
22300
22300
  }
22301
22301
  ),
@@ -22304,7 +22304,7 @@ const VF = v.div`
22304
22304
  {
22305
22305
  labelText: "Variables (JSON)",
22306
22306
  placeholder: '{"variableName": "variableValue"}',
22307
- onChange: (y) => p(y.target.value),
22307
+ onChange: (C) => p(C.target.value),
22308
22308
  value: h
22309
22309
  }
22310
22310
  ),
@@ -22315,8 +22315,8 @@ const VF = v.div`
22315
22315
  labelText: "Message Time-To-Live (TTL)",
22316
22316
  placeholder: "PT5M",
22317
22317
  value: g,
22318
- onChange: (y) => {
22319
- C(y.target.value);
22318
+ onChange: (C) => {
22319
+ y(C.target.value);
22320
22320
  }
22321
22321
  }
22322
22322
  ),
@@ -22327,8 +22327,8 @@ const VF = v.div`
22327
22327
  labelText: "Message Id",
22328
22328
  placeholder: "tracking-id-123",
22329
22329
  value: w,
22330
- onChange: (y) => {
22331
- z(y.target.value);
22330
+ onChange: (C) => {
22331
+ z(C.target.value);
22332
22332
  }
22333
22333
  }
22334
22334
  )
@@ -22758,12 +22758,12 @@ const GF = (o) => o === "zeebe:CalledElement" || o === "zeebe:calledElement", WF
22758
22758
  })();
22759
22759
  }, [n]), A.elementsById === void 0)
22760
22760
  return;
22761
- const y = A.elementsById[o.id]?.get("extensionElements")?.get("values")?.find((m) => m.$type === "zeebe:formDefinition")?.formKey, T = FF(
22761
+ const C = A.elementsById[o.id]?.get("extensionElements")?.get("values")?.find((m) => m.$type === "zeebe:formDefinition")?.formKey, T = FF(
22762
22762
  //@ts-expect-error Property 'definitions' does not exist on type 'ContextType'.ts(2339)
22763
22763
  A.definitions
22764
22764
  )?.get("extensionElements")?.get("values")?.find(
22765
22765
  //@ts-expect-error Parameter 'elem' implicitly has an 'any' type.ts(7006)
22766
- (m) => m.$type === "zeebe:userTaskForm" && y?.includes(m.id)
22766
+ (m) => m.$type === "zeebe:userTaskForm" && C?.includes(m.id)
22767
22767
  )?.$body, j = r ? P1 : T ? Ix : bj;
22768
22768
  return /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
22769
22769
  /* @__PURE__ */ c.jsx(
@@ -23198,7 +23198,7 @@ const $F = v.form`
23198
23198
  width: 100%;
23199
23199
  gap: 1rem;
23200
23200
  `, lG = ({ element: o }) => {
23201
- const r = M0(H0), [A, n] = N(!1), [t, a] = N(!1), h = B0(), p = B0(), d = B0(), [f, E] = N(!1), [u, g] = N(!1), [C, w] = N(0), [z, y] = N(""), [B, P] = N(""), T = B0(), [j, m] = N(!1), [R, q] = N(!1), Q = r.jobs?.find(
23201
+ const r = M0(H0), [A, n] = N(!1), [t, a] = N(!1), h = B0(), p = B0(), d = B0(), [f, E] = N(!1), [u, g] = N(!1), [y, w] = N(0), [z, C] = N(""), [B, P] = N(""), T = B0(), [j, m] = N(!1), [R, q] = N(!1), Q = r.jobs?.find(
23202
23202
  (Y) => Y.elementInstance.element.elementId === o.id && Y.state === "ACTIVATABLE"
23203
23203
  ), n0 = r.userTasks?.find(
23204
23204
  (Y) => Y.elementInstance.element.elementId === o.id && Y.state === "CREATED"
@@ -23271,13 +23271,13 @@ const $F = v.form`
23271
23271
  {
23272
23272
  label: "Fail",
23273
23273
  onClick: () => {
23274
- w(0), y(""), E(!0);
23274
+ w(0), C(""), E(!0);
23275
23275
  }
23276
23276
  },
23277
23277
  {
23278
23278
  label: "Throw Error",
23279
23279
  onClick: () => {
23280
- P(""), y(""), g(!0);
23280
+ P(""), C(""), g(!0);
23281
23281
  }
23282
23282
  }
23283
23283
  ), /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
@@ -23309,7 +23309,7 @@ const $F = v.form`
23309
23309
  ref: T,
23310
23310
  id: "retries",
23311
23311
  label: "Job Retries",
23312
- value: C,
23312
+ value: y,
23313
23313
  min: 0,
23314
23314
  onChange: (Y, { value: i0 }) => {
23315
23315
  w(+i0);
@@ -23320,7 +23320,7 @@ const $F = v.form`
23320
23320
  a1,
23321
23321
  {
23322
23322
  labelText: "Error Message",
23323
- onChange: (Y) => y(Y.target.value),
23323
+ onChange: (Y) => C(Y.target.value),
23324
23324
  value: z
23325
23325
  }
23326
23326
  )
@@ -23333,7 +23333,7 @@ const $F = v.form`
23333
23333
  onClick: async () => {
23334
23334
  E(!1), m(!0), await r.failJob?.(
23335
23335
  w0.key,
23336
- C,
23336
+ y,
23337
23337
  z
23338
23338
  ) || r.showNotification?.({
23339
23339
  message: v0,
@@ -23370,7 +23370,7 @@ const $F = v.form`
23370
23370
  a1,
23371
23371
  {
23372
23372
  labelText: "Error Message",
23373
- onChange: (Y) => y(Y.target.value),
23373
+ onChange: (Y) => C(Y.target.value),
23374
23374
  value: z
23375
23375
  }
23376
23376
  )
@@ -23602,12 +23602,12 @@ const $F = v.form`
23602
23602
  w
23603
23603
  );
23604
23604
  }
23605
- const C = n.addOverlay(
23605
+ const y = n.addOverlay(
23606
23606
  o,
23607
23607
  "JOB_COMPLETE_BUTTON",
23608
23608
  ZF
23609
23609
  );
23610
- return z0(/* @__PURE__ */ c.jsx(lG, { element: o }), C);
23610
+ return z0(/* @__PURE__ */ c.jsx(lG, { element: o }), y);
23611
23611
  }, cG = v.div`
23612
23612
  position: relative;
23613
23613
  display: flex;
@@ -23705,7 +23705,7 @@ const $F = v.form`
23705
23705
  border-bottom-color: transparent;
23706
23706
  animation: ${Yx} 1.2s linear infinite;
23707
23707
  `, yG = ({ selectedScope: o, isActive: r }) => {
23708
- const A = M0(H0), [n, t] = N(!1), [a, h] = N(null), [p, d] = N(""), [f, E] = N(""), [u, g] = N(!0), [C, w] = N(!0), [z, y] = N(!1), [B, P] = N(!1), [T, j] = N(!1), m = A.isUpdating, R = A.variables?.filter(
23708
+ const A = M0(H0), [n, t] = N(!1), [a, h] = N(null), [p, d] = N(""), [f, E] = N(""), [u, g] = N(!0), [y, w] = N(!0), [z, C] = N(!1), [B, P] = N(!1), [T, j] = N(!1), m = A.isUpdating, R = A.variables?.filter(
23709
23709
  (Q) => Q.scope.key === o
23710
23710
  ) ?? [];
23711
23711
  a0(() => {
@@ -23714,9 +23714,9 @@ const $F = v.form`
23714
23714
  m || (t(!1), h(null));
23715
23715
  }, [m]), a0(() => {
23716
23716
  try {
23717
- JSON.parse(f), y(f.trim() !== "");
23717
+ JSON.parse(f), C(f.trim() !== "");
23718
23718
  } catch {
23719
- y(!1);
23719
+ C(!1);
23720
23720
  }
23721
23721
  }, [f]), a0(() => {
23722
23722
  P(
@@ -23832,10 +23832,10 @@ const $F = v.form`
23832
23832
  labelText: "Value",
23833
23833
  placeholder: "Value",
23834
23834
  value: f,
23835
- invalid: !z && !C,
23835
+ invalid: !z && !y,
23836
23836
  disabled: A.isUpdating || T,
23837
23837
  onChange: (Q) => {
23838
- E(Q.target.value), C && (clearTimeout(q.current), q.current = setTimeout(
23838
+ E(Q.target.value), y && (clearTimeout(q.current), q.current = setTimeout(
23839
23839
  () => w(!1),
23840
23840
  1e3
23841
23841
  ));
@@ -23967,19 +23967,19 @@ const $F = v.form`
23967
23967
  }, [n]);
23968
23968
  const f = {}, E = [];
23969
23969
  for (let w = 0; w < o.length; w++) {
23970
- const z = o[w], y = {
23970
+ const z = o[w], C = {
23971
23971
  instance: z,
23972
23972
  children: [],
23973
23973
  hasIncident: (z.element.bpmnElementType === "PROCESS" && (d.instanceDetails?.incidents.length ?? 0) > 0 || d.incidents?.some(
23974
23974
  (B) => B.elementInstance.key === z.key && B.state === "CREATED"
23975
23975
  )) ?? !1
23976
23976
  };
23977
- f[z.key] = y, z.scope?.key ? f[z.scope.key].children.push(y) : E.push(y);
23977
+ f[z.key] = C, z.scope?.key ? f[z.scope.key].children.push(C) : E.push(C);
23978
23978
  }
23979
23979
  function u({
23980
23980
  instance: w,
23981
23981
  hasIncident: z,
23982
- children: y
23982
+ children: C
23983
23983
  }) {
23984
23984
  return /* @__PURE__ */ c.jsx(
23985
23985
  Rz,
@@ -23997,17 +23997,17 @@ const $F = v.form`
23997
23997
  w.element.elementName || w.element.elementId
23998
23998
  ] }),
23999
23999
  isExpanded: !0,
24000
- children: y.length && y.map(u)
24000
+ children: C.length && C.map(u)
24001
24001
  },
24002
24002
  w.key
24003
24003
  );
24004
24004
  }
24005
24005
  const g = r || E?.[0]?.instance.key;
24006
- function C(w) {
24006
+ function y(w) {
24007
24007
  w.preventDefault(), h(!0);
24008
- const y = w.target.parentNode;
24008
+ const C = w.target.parentNode;
24009
24009
  p.current = {
24010
- originalSize: y.clientHeight,
24010
+ originalSize: C.clientHeight,
24011
24011
  dragStart: w.pageY
24012
24012
  };
24013
24013
  const B = (T) => {
@@ -24023,7 +24023,7 @@ const $F = v.form`
24023
24023
  document.addEventListener("mousemove", B), document.addEventListener("mouseup", P);
24024
24024
  }
24025
24025
  return /* @__PURE__ */ c.jsxs(BG, { style: { height: n + "px" }, children: [
24026
- /* @__PURE__ */ c.jsx(NG, { $isResizing: a, onMouseDown: C }),
24026
+ /* @__PURE__ */ c.jsx(NG, { $isResizing: a, onMouseDown: y }),
24027
24027
  /* @__PURE__ */ c.jsxs(DG, { children: [
24028
24028
  /* @__PURE__ */ c.jsx(ZG, { children: "Instance History" }),
24029
24029
  /* @__PURE__ */ c.jsx(RG, { children: /* @__PURE__ */ c.jsx(Zz, { hideLabel: !0, label: "Instance History", children: E.map(u) }) })
@@ -24294,23 +24294,32 @@ const jG = v.div`
24294
24294
  /* @__PURE__ */ c.jsx(R0, { children: "Started at" }),
24295
24295
  /* @__PURE__ */ c.jsx(R0, { children: "Operations" })
24296
24296
  ] }) }),
24297
- /* @__PURE__ */ c.jsx(O1, { children: p?.map(({ key: g, startTime: C, state: w }) => /* @__PURE__ */ c.jsxs(Q0, { children: [
24298
- /* @__PURE__ */ c.jsxs(x0, { children: [
24299
- /* @__PURE__ */ c.jsx(FG, { children: /* @__PURE__ */ c.jsx(Q1, { state: w, size: 20 }) }),
24300
- /* @__PURE__ */ c.jsx(
24301
- GG,
24302
- {
24303
- variant: "text",
24304
- onClick: () => {
24305
- o(g);
24306
- },
24307
- children: g
24308
- }
24309
- )
24310
- ] }),
24311
- /* @__PURE__ */ c.jsx(x0, { children: Sx(C) }),
24312
- /* @__PURE__ */ c.jsx(x0, { children: "-" })
24313
- ] }, g)) ?? /* @__PURE__ */ c.jsx(Q0, { children: /* @__PURE__ */ c.jsx(x0, { children: "No Content" }) }) })
24297
+ /* @__PURE__ */ c.jsx(O1, { children: p?.map(({ key: g, startTime: y, state: w, incidents: z }) => {
24298
+ const C = z.length > 0;
24299
+ return /* @__PURE__ */ c.jsxs(Q0, { children: [
24300
+ /* @__PURE__ */ c.jsxs(x0, { children: [
24301
+ /* @__PURE__ */ c.jsx(FG, { children: /* @__PURE__ */ c.jsx(
24302
+ Q1,
24303
+ {
24304
+ state: C ? "INCIDENT" : w,
24305
+ size: 20
24306
+ }
24307
+ ) }),
24308
+ /* @__PURE__ */ c.jsx(
24309
+ GG,
24310
+ {
24311
+ variant: "text",
24312
+ onClick: () => {
24313
+ o(g);
24314
+ },
24315
+ children: g
24316
+ }
24317
+ )
24318
+ ] }),
24319
+ /* @__PURE__ */ c.jsx(x0, { children: Sx(y) }),
24320
+ /* @__PURE__ */ c.jsx(x0, { children: "-" })
24321
+ ] }, g);
24322
+ }) ?? /* @__PURE__ */ c.jsx(Q0, { children: /* @__PURE__ */ c.jsx(x0, { children: "No Content" }) }) })
24314
24323
  ] }) : /* @__PURE__ */ c.jsxs(QG, { children: [
24315
24324
  /* @__PURE__ */ c.jsx(PG, { children: "Start by activating a process instance" }),
24316
24325
  /* @__PURE__ */ c.jsx(kG, { children: "To activate an instance, click the Play button on the canvas" })
@@ -24404,23 +24413,23 @@ function lW({
24404
24413
  if (!(h.length === 0 && p.length === 0))
24405
24414
  return new Promise((d) => {
24406
24415
  const f = {}, E = h.map(
24407
- ({ id: g, element: C }) => i1({
24416
+ ({ id: g, element: y }) => i1({
24408
24417
  projectId: o,
24409
24418
  type: "decision",
24410
24419
  id: g,
24411
24420
  relatedFiles: f,
24412
- element: C,
24421
+ element: y,
24413
24422
  fetchFilesByDecisionId: A,
24414
24423
  fetchFilesByProcessId: n,
24415
24424
  fetchFileById: t
24416
24425
  })
24417
24426
  ), u = p.map(
24418
- ({ id: g, element: C }) => i1({
24427
+ ({ id: g, element: y }) => i1({
24419
24428
  projectId: o,
24420
24429
  type: "process",
24421
24430
  id: g,
24422
24431
  relatedFiles: f,
24423
- element: C,
24432
+ element: y,
24424
24433
  fetchFilesByDecisionId: A,
24425
24434
  fetchFilesByProcessId: n,
24426
24435
  fetchFileById: t
@@ -24467,7 +24476,7 @@ function i1({
24467
24476
  fetchFilesByProcessId: h,
24468
24477
  fetchFileById: p
24469
24478
  })
24470
- ), y = Object.values(w).filter((B) => b1(B, "bpmn:CallActivity")).map(
24479
+ ), C = Object.values(w).filter((B) => b1(B, "bpmn:CallActivity")).map(
24471
24480
  (B) => Fx(B?.get("extensionElements"))
24472
24481
  ).filter((B) => !!B).map(
24473
24482
  (B) => i1({
@@ -24481,7 +24490,7 @@ function i1({
24481
24490
  fetchFileById: p
24482
24491
  })
24483
24492
  );
24484
- await Promise.all([...z, ...y]);
24493
+ await Promise.all([...z, ...C]);
24485
24494
  }
24486
24495
  f({
24487
24496
  type: r,
@@ -24602,17 +24611,17 @@ const wW = ({
24602
24611
  fetchFilesByDecisionId: u,
24603
24612
  fetchFilesByProcessId: g,
24604
24613
  //@ts-expect-error Property 'fetchFileById' does not exist on type 'Props'.ts(2339)
24605
- fetchFileById: C,
24614
+ fetchFileById: y,
24606
24615
  convertLinkedFormsToEmbeddedForms: w
24607
24616
  }) => {
24608
- const [z, y] = N(!1), [B, P] = N(!1), [T, j] = N(!1), [m, R] = N(!1), [q, Q] = N(), [n0, w0] = N(), f0 = B0(null), V0 = q?.some((h0) => h0.status !== "success") || r?.connectorElementsWithMissingSecrets?.length > 0, o0 = !!q && r?.ready, $ = n0 && !z && o0 && !V0, u0 = async () => {
24617
+ const [z, C] = N(!1), [B, P] = N(!1), [T, j] = N(!1), [m, R] = N(!1), [q, Q] = N(), [n0, w0] = N(), f0 = B0(null), V0 = q?.some((h0) => h0.status !== "success") || r?.connectorElementsWithMissingSecrets?.length > 0, o0 = !!q && r?.ready, $ = n0 && !z && o0 && !V0, u0 = async () => {
24609
24618
  R(!0), d?.("8.2.0");
24610
24619
  const h0 = lW({
24611
24620
  projectId: h,
24612
24621
  modeler: p,
24613
24622
  fetchFilesByDecisionId: u,
24614
24623
  fetchFilesByProcessId: g,
24615
- fetchFileById: C
24624
+ fetchFileById: y
24616
24625
  });
24617
24626
  try {
24618
24627
  const [p0, H] = await Promise.all([
@@ -24699,7 +24708,7 @@ const wW = ({
24699
24708
  );
24700
24709
  }
24701
24710
  async function i0(h0) {
24702
- y(!1);
24711
+ C(!1);
24703
24712
  const p0 = sx((await p.saveXML({ format: !0 })).xml), H = !!mW(E), V = await cx({
24704
24713
  diagramId: f,
24705
24714
  content: p0,
@@ -24716,7 +24725,7 @@ const wW = ({
24716
24725
  const S = JSON.parse(b.payload || "{}").deployedProcesses[0].processKey;
24717
24726
  return EW(E, S), O0.trackDeployment({ redeployment: H, success: !0 }), { playId: S, elementsById: Z, definitions: L };
24718
24727
  } else {
24719
- y(!0);
24728
+ C(!0);
24720
24729
  const O = JSON.parse(b.payload || "{}");
24721
24730
  O0.trackDeployment({
24722
24731
  redeployment: H,
@@ -24865,22 +24874,22 @@ const VW = ({ onRefresh: o }) => {
24865
24874
  mixpanelTrack: E,
24866
24875
  handlePostRequest: u,
24867
24876
  fetchFilesByProcessId: g,
24868
- fetchFilesByDecisionId: C,
24877
+ fetchFilesByDecisionId: y,
24869
24878
  fetchFileById: w,
24870
24879
  convertLinkedFormsToEmbeddedForms: z
24871
24880
  }) => {
24872
- const y = localStorage.getItem("play-directAccess");
24881
+ const C = localStorage.getItem("play-directAccess");
24873
24882
  let B, P, T, j = [];
24874
- if (y) {
24883
+ if (C) {
24875
24884
  localStorage.removeItem("play-directAccess");
24876
- const I = JSON.parse(y);
24885
+ const I = JSON.parse(C);
24877
24886
  B = I.endpoint, P = I.definition, T = I.instance, j = I.filesStatus;
24878
24887
  }
24879
24888
  const [m, R] = N(B), [q, Q] = N(
24880
24889
  j
24881
24890
  ), [n0, w0] = N(!1), [f0, V0] = N(P), [o0, $] = N(
24882
24891
  T
24883
- ), [u0, Y] = N(!y), [i0, h0] = N(!1), [p0, H] = N(!1), [V, L] = N(void 0), [Z, b] = N(null);
24892
+ ), [u0, Y] = N(!C), [i0, h0] = N(!1), [p0, H] = N(!1), [V, L] = N(void 0), [Z, b] = N(null);
24884
24893
  a0(() => {
24885
24894
  A0.init({
24886
24895
  handlePostRequest: u
@@ -24943,7 +24952,7 @@ const VW = ({ onRefresh: o }) => {
24943
24952
  setExecutionPlatformVersion: p,
24944
24953
  diagramId: d,
24945
24954
  processId: t,
24946
- fetchFilesByDecisionId: C,
24955
+ fetchFilesByDecisionId: y,
24947
24956
  fetchFilesByProcessId: g,
24948
24957
  fetchFileById: w,
24949
24958
  convertLinkedFormsToEmbeddedForms: z
@@ -25094,27 +25103,27 @@ function J0(o, r, A, n, t, a, h, p, d, f) {
25094
25103
  r.on(F1, gW, (w) => {
25095
25104
  E = w.active, E && (t.cancel(), A.close(), n.cancel()), p._update();
25096
25105
  });
25097
- function u(w, z, y) {
25106
+ function u(w, z, C) {
25098
25107
  const B = w[z];
25099
25108
  w[z] = function() {
25100
- return y.call(this, B, arguments);
25109
+ return C.call(this, B, arguments);
25101
25110
  };
25102
25111
  }
25103
25112
  function g(w, z) {
25104
- u(w, z, function(y, B) {
25113
+ u(w, z, function(C, B) {
25105
25114
  if (!E)
25106
- return y.apply(this, B);
25115
+ return C.apply(this, B);
25107
25116
  });
25108
25117
  }
25109
- function C(w, z) {
25110
- u(w, z, function(y, B) {
25118
+ function y(w, z) {
25119
+ u(w, z, function(C, B) {
25111
25120
  if (E)
25112
25121
  throw new Error("model is read-only");
25113
- return y.apply(this, B);
25122
+ return C.apply(this, B);
25114
25123
  });
25115
25124
  }
25116
- g(A, "open"), g(n, "init"), g(t, "activate"), g(n, "init"), g(t, "activate"), C(h, "moveShape"), C(h, "updateAttachment"), C(h, "moveElements"), C(h, "moveConnection"), C(h, "layoutConnection"), C(h, "createConnection"), C(h, "createShape"), C(h, "createLabel"), C(h, "appendShape"), C(h, "removeElements"), C(h, "distributeElements"), C(h, "removeShape"), C(h, "removeConnection"), C(h, "replaceShape"), C(h, "pasteElements"), C(h, "alignElements"), C(h, "resizeShape"), C(h, "createSpace"), C(h, "updateWaypoints"), C(h, "reconnectStart"), C(h, "reconnectEnd"), u(a, "trigger", function(w, z) {
25117
- const y = z[0];
25125
+ g(A, "open"), g(n, "init"), g(t, "activate"), g(n, "init"), g(t, "activate"), y(h, "moveShape"), y(h, "updateAttachment"), y(h, "moveElements"), y(h, "moveConnection"), y(h, "layoutConnection"), y(h, "createConnection"), y(h, "createShape"), y(h, "createLabel"), y(h, "appendShape"), y(h, "removeElements"), y(h, "distributeElements"), y(h, "removeShape"), y(h, "removeConnection"), y(h, "replaceShape"), y(h, "pasteElements"), y(h, "alignElements"), y(h, "resizeShape"), y(h, "createSpace"), y(h, "updateWaypoints"), y(h, "reconnectStart"), y(h, "reconnectEnd"), u(a, "trigger", function(w, z) {
25126
+ const C = z[0];
25118
25127
  if (!(E && HW(
25119
25128
  [
25120
25129
  "undo",
@@ -25129,7 +25138,7 @@ function J0(o, r, A, n, t, a, h, p, d, f) {
25129
25138
  "alignElements",
25130
25139
  "directEditing"
25131
25140
  ],
25132
- y
25141
+ C
25133
25142
  )))
25134
25143
  return w.apply(this, z);
25135
25144
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/play",
3
- "version": "0.0.6-rc.2",
3
+ "version": "0.0.6",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "start": "vite",