@camunda/play 6.1.3-rc.6 → 6.1.3-rc.7
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/build/play.js +104 -101
- package/build/play.js.map +1 -1
- package/package.json +1 -1
package/build/play.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as i, jsxs as f, Fragment as L } from "react/jsx-runtime";
|
|
2
|
-
import * as
|
|
2
|
+
import * as C from "react";
|
|
3
3
|
import Jt, { useState as y, useEffect as F, useCallback as U, createContext as fi, forwardRef as Rs, Children as gi, cloneElement as mi, Fragment as wi, useRef as cA, PureComponent as bi, createRef as vi, useContext as tA, useLayoutEffect as lt, createElement as Ei } from "react";
|
|
4
4
|
import { makeObservable as nA, action as k, computed as H, observable as fA, autorun as Ps, when as Ie, override as IA, makeAutoObservable as GA, reaction as OA } from "mobx";
|
|
5
5
|
import { getBusinessObject as qA, is as K } from "bpmn-js/lib/util/ModelUtil.js";
|
|
@@ -1434,11 +1434,11 @@ class ma {
|
|
|
1434
1434
|
updateFileById: b,
|
|
1435
1435
|
originAppInstanceId: B,
|
|
1436
1436
|
canUserSaveExampleData: E,
|
|
1437
|
-
diagramId:
|
|
1437
|
+
diagramId: S,
|
|
1438
1438
|
authType: R,
|
|
1439
1439
|
operateBaseUrl: I
|
|
1440
1440
|
}) {
|
|
1441
|
-
this.xmlToDisplay = A, this.processId = n, this.folderId = s, this.projectId = t, this.processName = r, this.fetchFilesByProcessId = a, this.fetchFilesByDecisionId = o, this.fetchFileById = c, this.fetchFilesByFormId = l, this.onDeploymentError = d, this.consoleSecretsUrl = `${p}/cluster/${h}/secrets`, this.consoleDashboardPageUrl = p, this.currentDiagramRevision = g, this.updateFileById = b, this.originAppInstanceId = B, this.canUserSaveExampleData = E, this.diagramId =
|
|
1441
|
+
this.xmlToDisplay = A, this.processId = n, this.folderId = s, this.projectId = t, this.processName = r, this.fetchFilesByProcessId = a, this.fetchFilesByDecisionId = o, this.fetchFileById = c, this.fetchFilesByFormId = l, this.onDeploymentError = d, this.consoleSecretsUrl = `${p}/cluster/${h}/secrets`, this.consoleDashboardPageUrl = p, this.currentDiagramRevision = g, this.updateFileById = b, this.originAppInstanceId = B, this.canUserSaveExampleData = E, this.diagramId = S, this.authType = R, this.operateBaseUrl = I;
|
|
1442
1442
|
}
|
|
1443
1443
|
get isEnvironmentCreated() {
|
|
1444
1444
|
return this.state.status === "environment-created";
|
|
@@ -4526,17 +4526,17 @@ const ws = 5, fo = ft`
|
|
|
4526
4526
|
}) => {
|
|
4527
4527
|
const [d, p] = y({ top: 0, left: 0 }), [h, g] = y(n), b = cA();
|
|
4528
4528
|
return F(() => {
|
|
4529
|
-
const { top: B, bottom: E, left:
|
|
4529
|
+
const { top: B, bottom: E, left: S, width: R } = t.getBoundingClientRect(), I = (
|
|
4530
4530
|
//@ts-expect-error 'tooltip.current' is possibly 'undefined'.ts(18048)
|
|
4531
4531
|
E + b.current.offsetHeight + He > window.innerHeight
|
|
4532
4532
|
), v = () => {
|
|
4533
4533
|
switch (r) {
|
|
4534
4534
|
case "left":
|
|
4535
|
-
return
|
|
4535
|
+
return S;
|
|
4536
4536
|
case "right":
|
|
4537
|
-
return
|
|
4537
|
+
return S + R - b.current.offsetWidth;
|
|
4538
4538
|
default:
|
|
4539
|
-
return
|
|
4539
|
+
return S - b.current.offsetWidth / 2 + R / 2;
|
|
4540
4540
|
}
|
|
4541
4541
|
}, V = () => h == "top" || I ? B - b.current.offsetHeight - He - 5 : E + He + 5;
|
|
4542
4542
|
I && g("top"), p({
|
|
@@ -5349,9 +5349,12 @@ const qo = u.div`
|
|
|
5349
5349
|
}) => {
|
|
5350
5350
|
const h = tA(_).monacoLoaderConfig, [g, b] = y(null), B = e === "" && t !== void 0;
|
|
5351
5351
|
return F(() => {
|
|
5352
|
-
|
|
5353
|
-
|
|
5354
|
-
|
|
5352
|
+
let E = !1;
|
|
5353
|
+
return A && g === null && Zo(h).then((S) => {
|
|
5354
|
+
E || b(S);
|
|
5355
|
+
}), () => {
|
|
5356
|
+
E = !0;
|
|
5357
|
+
};
|
|
5355
5358
|
}, [h, A, g]), lt(() => {
|
|
5356
5359
|
A && g !== null && (l ? g?.languages.json.jsonDefaults.setDiagnosticsOptions({
|
|
5357
5360
|
schemaValidation: "error",
|
|
@@ -5784,13 +5787,13 @@ const cc = u.div`
|
|
|
5784
5787
|
element: a
|
|
5785
5788
|
}) => {
|
|
5786
5789
|
const o = tA(_), c = m.state.processInstance, [l, d] = y(A), [p, h] = y(t), [g, b] = y(""), [B, E] = y(""), {
|
|
5787
|
-
editedValue:
|
|
5790
|
+
editedValue: S,
|
|
5788
5791
|
isValid: R,
|
|
5789
5792
|
prefillSource: I,
|
|
5790
5793
|
isDirty: v,
|
|
5791
5794
|
setEditedValue: V,
|
|
5792
5795
|
resetPrefill: P
|
|
5793
|
-
} = yn(a, w.processId), { authType:
|
|
5796
|
+
} = yn(a, w.processId), { authType: D } = w, Q = cA(null);
|
|
5794
5797
|
return F(() => {
|
|
5795
5798
|
R && Q.current?.hideMarkers();
|
|
5796
5799
|
}, [R]), /* @__PURE__ */ i(
|
|
@@ -5814,7 +5817,7 @@ const cc = u.div`
|
|
|
5814
5817
|
elementId: n,
|
|
5815
5818
|
messageName: l,
|
|
5816
5819
|
correlationKey: p,
|
|
5817
|
-
variables:
|
|
5820
|
+
variables: S,
|
|
5818
5821
|
timeToLive: g,
|
|
5819
5822
|
messageId: B,
|
|
5820
5823
|
isStartEvent: r
|
|
@@ -5823,7 +5826,7 @@ const cc = u.div`
|
|
|
5823
5826
|
o.displayNotification?.error(
|
|
5824
5827
|
{
|
|
5825
5828
|
title: NA,
|
|
5826
|
-
subtitle: `Please contact your ${
|
|
5829
|
+
subtitle: `Please contact your ${D === "sm" ? "admin" : "organization owner or admin"} to give you the necessary permissions to publish the message.`
|
|
5827
5830
|
},
|
|
5828
5831
|
bA
|
|
5829
5832
|
);
|
|
@@ -5834,10 +5837,10 @@ const cc = u.div`
|
|
|
5834
5837
|
elementId: n,
|
|
5835
5838
|
messageName: l,
|
|
5836
5839
|
messageCorrelationKey: p,
|
|
5837
|
-
variables:
|
|
5840
|
+
variables: S,
|
|
5838
5841
|
timeToLive: g,
|
|
5839
5842
|
messageId: B
|
|
5840
|
-
}), G.trackUserCompletesElement(a,
|
|
5843
|
+
}), G.trackUserCompletesElement(a, S), r ? o.displayNotification?.success({
|
|
5841
5844
|
title: pe
|
|
5842
5845
|
}) : o.displayNotification?.info({
|
|
5843
5846
|
title: `Message "${l}" published`,
|
|
@@ -5845,7 +5848,7 @@ const cc = u.div`
|
|
|
5845
5848
|
}), ue({
|
|
5846
5849
|
processId: w.processId,
|
|
5847
5850
|
elementId: a.id,
|
|
5848
|
-
variables:
|
|
5851
|
+
variables: S ?? ""
|
|
5849
5852
|
})) : o.displayNotification?.error($);
|
|
5850
5853
|
},
|
|
5851
5854
|
modalBody: /* @__PURE__ */ i(Ks, { children: /* @__PURE__ */ f(J, { gap: 5, children: [
|
|
@@ -5855,7 +5858,7 @@ const cc = u.div`
|
|
|
5855
5858
|
xe,
|
|
5856
5859
|
{
|
|
5857
5860
|
isValid: R,
|
|
5858
|
-
editedValue:
|
|
5861
|
+
editedValue: S,
|
|
5859
5862
|
element: a,
|
|
5860
5863
|
onSuccess: () => {
|
|
5861
5864
|
P();
|
|
@@ -5873,7 +5876,7 @@ const cc = u.div`
|
|
|
5873
5876
|
Ne,
|
|
5874
5877
|
{
|
|
5875
5878
|
height: "10vh",
|
|
5876
|
-
value:
|
|
5879
|
+
value: S,
|
|
5877
5880
|
isVisible: e,
|
|
5878
5881
|
placeholder: vt,
|
|
5879
5882
|
onChange: (O) => {
|
|
@@ -6103,7 +6106,7 @@ const Mn = ({
|
|
|
6103
6106
|
onChange: B,
|
|
6104
6107
|
clearOnReset: E = !0
|
|
6105
6108
|
}) => {
|
|
6106
|
-
const [
|
|
6109
|
+
const [S, R] = y(a), [I, v] = y(!0), V = cA(null);
|
|
6107
6110
|
return F(() => {
|
|
6108
6111
|
t ? R(a) : (R(""), v(!0));
|
|
6109
6112
|
}, [t, a]), F(() => {
|
|
@@ -6131,19 +6134,19 @@ const Mn = ({
|
|
|
6131
6134
|
} : void 0,
|
|
6132
6135
|
onClose: l,
|
|
6133
6136
|
onSubmit: () => {
|
|
6134
|
-
I ? p?.(
|
|
6137
|
+
I ? p?.(S === "" ? void 0 : S) : V.current?.showMarkers();
|
|
6135
6138
|
},
|
|
6136
6139
|
modalBody: /* @__PURE__ */ f(J, { gap: 5, children: [
|
|
6137
6140
|
b,
|
|
6138
6141
|
/* @__PURE__ */ i(
|
|
6139
6142
|
Ne,
|
|
6140
6143
|
{
|
|
6141
|
-
value:
|
|
6144
|
+
value: S,
|
|
6142
6145
|
isVisible: t,
|
|
6143
6146
|
placeholder: o,
|
|
6144
6147
|
onChange: (P) => {
|
|
6145
|
-
const
|
|
6146
|
-
R(
|
|
6148
|
+
const D = P ?? "";
|
|
6149
|
+
R(D), v(A(D)), B?.(D);
|
|
6147
6150
|
},
|
|
6148
6151
|
readOnly: h,
|
|
6149
6152
|
onValidate: v,
|
|
@@ -6177,19 +6180,19 @@ const Mn = ({
|
|
|
6177
6180
|
clearOnReset: !1,
|
|
6178
6181
|
onReset: () => {
|
|
6179
6182
|
o(!1);
|
|
6180
|
-
const { prefillData:
|
|
6183
|
+
const { prefillData: S, prefillSource: R } = hA({
|
|
6181
6184
|
element: r,
|
|
6182
6185
|
useCache: !1,
|
|
6183
6186
|
processId: w.processId
|
|
6184
6187
|
});
|
|
6185
|
-
p(
|
|
6188
|
+
p(S), g(R), E(!1);
|
|
6186
6189
|
},
|
|
6187
6190
|
value: d,
|
|
6188
6191
|
primaryButtonLabel: t,
|
|
6189
6192
|
secondaryButtonLabel: "Cancel",
|
|
6190
|
-
isValidInput: (
|
|
6191
|
-
onChange: (
|
|
6192
|
-
p(
|
|
6193
|
+
isValidInput: (S) => Bs(S),
|
|
6194
|
+
onChange: (S) => {
|
|
6195
|
+
p(S), E(!0);
|
|
6193
6196
|
},
|
|
6194
6197
|
editorTopContent: /* @__PURE__ */ f(L, { children: [
|
|
6195
6198
|
/* @__PURE__ */ i(
|
|
@@ -6244,11 +6247,11 @@ function hc({
|
|
|
6244
6247
|
formPrefillSettings: t = { sanitizePrefillData: !1 }
|
|
6245
6248
|
}) {
|
|
6246
6249
|
const [s, n] = y(!1), [r, a] = y("none"), [o, c] = y(""), [l, d] = y(!1), [p, h] = y(!1), g = cA(null), b = cA(), B = U(
|
|
6247
|
-
(
|
|
6250
|
+
(D, Q) => {
|
|
6248
6251
|
const { cachedVariables: O, variablesFromExampleData: X } = Is({
|
|
6249
6252
|
element: e,
|
|
6250
6253
|
processId: w.processId
|
|
6251
|
-
}), AA = Q === "bpmn" && eA(
|
|
6254
|
+
}), AA = Q === "bpmn" && eA(D, X), gA = Q === "cache" && eA(D, O);
|
|
6252
6255
|
return AA || gA;
|
|
6253
6256
|
},
|
|
6254
6257
|
[e]
|
|
@@ -6262,12 +6265,12 @@ function hc({
|
|
|
6262
6265
|
);
|
|
6263
6266
|
}, [o, r, B]);
|
|
6264
6267
|
const E = U(
|
|
6265
|
-
({ data:
|
|
6266
|
-
d(Object.keys(Q).length === 0), c(JSON.stringify(
|
|
6268
|
+
({ data: D, errors: Q }) => {
|
|
6269
|
+
d(Object.keys(Q).length === 0), c(JSON.stringify(D));
|
|
6267
6270
|
},
|
|
6268
6271
|
[]
|
|
6269
|
-
),
|
|
6270
|
-
let
|
|
6272
|
+
), S = U(async () => {
|
|
6273
|
+
let D = {};
|
|
6271
6274
|
if (t.sanitizePrefillData) {
|
|
6272
6275
|
const { variables: X, success: AA } = await M.fetchVariablesByUserTask(
|
|
6273
6276
|
t.userTaskJobId
|
|
@@ -6276,7 +6279,7 @@ function hc({
|
|
|
6276
6279
|
console.error("Could not fetch user task variables"), n(!0);
|
|
6277
6280
|
return;
|
|
6278
6281
|
}
|
|
6279
|
-
|
|
6282
|
+
D = X.reduce((gA, { name: dA, value: z }) => (gA[dA] = JSON.parse(z), gA), {});
|
|
6280
6283
|
}
|
|
6281
6284
|
const { cachedVariables: Q, variablesFromExampleData: O } = Is(
|
|
6282
6285
|
{
|
|
@@ -6287,52 +6290,52 @@ function hc({
|
|
|
6287
6290
|
return {
|
|
6288
6291
|
variablesFromExampleData: O,
|
|
6289
6292
|
cachedVariables: Q,
|
|
6290
|
-
processVariables:
|
|
6293
|
+
processVariables: D
|
|
6291
6294
|
};
|
|
6292
6295
|
}, [e, t]), R = U(async () => {
|
|
6293
|
-
let
|
|
6296
|
+
let D = {};
|
|
6294
6297
|
const Q = await A();
|
|
6295
6298
|
if (Q === void 0) {
|
|
6296
6299
|
n(!0);
|
|
6297
6300
|
return;
|
|
6298
6301
|
}
|
|
6299
6302
|
try {
|
|
6300
|
-
|
|
6303
|
+
D = JSON.parse(Q ?? "{}");
|
|
6301
6304
|
} catch {
|
|
6302
6305
|
n(!0);
|
|
6303
6306
|
return;
|
|
6304
6307
|
}
|
|
6305
|
-
return
|
|
6308
|
+
return D;
|
|
6306
6309
|
}, [A]), I = U(
|
|
6307
6310
|
async ({
|
|
6308
|
-
ignoreCachedVariables:
|
|
6311
|
+
ignoreCachedVariables: D = !1,
|
|
6309
6312
|
parsedForm: Q
|
|
6310
6313
|
} = {
|
|
6311
6314
|
ignoreCachedVariables: !1,
|
|
6312
6315
|
parsedForm: void 0
|
|
6313
6316
|
}) => {
|
|
6314
|
-
const O = await
|
|
6317
|
+
const O = await S();
|
|
6315
6318
|
if (!O)
|
|
6316
6319
|
return;
|
|
6317
6320
|
const { variablesFromExampleData: X, cachedVariables: AA, processVariables: gA } = O, dA = {
|
|
6318
6321
|
...X,
|
|
6319
|
-
...
|
|
6322
|
+
...D ? {} : AA,
|
|
6320
6323
|
...gA
|
|
6321
6324
|
}, z = t.sanitizePrefillData ? pc(sr(Q), dA) : dA;
|
|
6322
6325
|
let jA = "none";
|
|
6323
|
-
return eA(z, X) ? jA = "bpmn" : !
|
|
6326
|
+
return eA(z, X) ? jA = "bpmn" : !D && eA(z, AA) && (jA = "cache"), a(jA), c(JSON.stringify(z)), z;
|
|
6324
6327
|
},
|
|
6325
|
-
[
|
|
6328
|
+
[S, t]
|
|
6326
6329
|
), v = U(
|
|
6327
6330
|
async ({
|
|
6328
|
-
ignoreCachedVariables:
|
|
6331
|
+
ignoreCachedVariables: D = !1
|
|
6329
6332
|
} = { ignoreCachedVariables: !1 }) => {
|
|
6330
6333
|
const Q = await R();
|
|
6331
6334
|
if (Q === void 0)
|
|
6332
6335
|
return;
|
|
6333
6336
|
const O = await I({
|
|
6334
6337
|
parsedForm: Q,
|
|
6335
|
-
ignoreCachedVariables:
|
|
6338
|
+
ignoreCachedVariables: D
|
|
6336
6339
|
}), { warnings: X } = await b.current?.importSchema(
|
|
6337
6340
|
Q,
|
|
6338
6341
|
O
|
|
@@ -6341,12 +6344,12 @@ function hc({
|
|
|
6341
6344
|
},
|
|
6342
6345
|
[R, I]
|
|
6343
6346
|
), V = U(async () => {
|
|
6344
|
-
const
|
|
6345
|
-
if (b.current =
|
|
6347
|
+
const D = new nr();
|
|
6348
|
+
if (b.current = D, g.current === null) {
|
|
6346
6349
|
n(!0);
|
|
6347
6350
|
return;
|
|
6348
6351
|
}
|
|
6349
|
-
await v(),
|
|
6352
|
+
await v(), D.attachTo(g.current), D.on("changed", E);
|
|
6350
6353
|
}, [E, v]), P = U(async () => {
|
|
6351
6354
|
v({ ignoreCachedVariables: !0 });
|
|
6352
6355
|
}, [v]);
|
|
@@ -6413,7 +6416,7 @@ const Dn = ({
|
|
|
6413
6416
|
isFormContentValid: b,
|
|
6414
6417
|
originalPrefillSource: B,
|
|
6415
6418
|
setOriginalPrefillSource: E,
|
|
6416
|
-
formVariables:
|
|
6419
|
+
formVariables: S,
|
|
6417
6420
|
hasFormLoadError: R,
|
|
6418
6421
|
setHasFormLoadError: I,
|
|
6419
6422
|
formContainerRef: v,
|
|
@@ -6447,7 +6450,7 @@ const Dn = ({
|
|
|
6447
6450
|
Array.isArray(z) ? AA.set(dA, [...z, gA]) : AA.set(dA, [gA]);
|
|
6448
6451
|
}), AA;
|
|
6449
6452
|
}
|
|
6450
|
-
async function
|
|
6453
|
+
async function D() {
|
|
6451
6454
|
d(!0);
|
|
6452
6455
|
try {
|
|
6453
6456
|
const { data: Q, errors: O, files: X } = V.current?.submit() ?? {
|
|
@@ -6480,7 +6483,7 @@ const Dn = ({
|
|
|
6480
6483
|
onClick: t
|
|
6481
6484
|
},
|
|
6482
6485
|
onClose: t,
|
|
6483
|
-
onSubmit:
|
|
6486
|
+
onSubmit: D,
|
|
6484
6487
|
ghostButton: {
|
|
6485
6488
|
label: "Reset",
|
|
6486
6489
|
onClick: h
|
|
@@ -6491,7 +6494,7 @@ const Dn = ({
|
|
|
6491
6494
|
xe,
|
|
6492
6495
|
{
|
|
6493
6496
|
isValid: b,
|
|
6494
|
-
editedValue:
|
|
6497
|
+
editedValue: S,
|
|
6495
6498
|
element: A,
|
|
6496
6499
|
onSuccess: () => {
|
|
6497
6500
|
E("bpmn");
|
|
@@ -6737,9 +6740,9 @@ const kn = N(() => {
|
|
|
6737
6740
|
);
|
|
6738
6741
|
}, [a, g, t]);
|
|
6739
6742
|
const E = U(
|
|
6740
|
-
async (
|
|
6743
|
+
async (D) => {
|
|
6741
6744
|
const Q = await M.fetchInstanceDetails(
|
|
6742
|
-
|
|
6745
|
+
D
|
|
6743
6746
|
);
|
|
6744
6747
|
if (!Q.success) {
|
|
6745
6748
|
t?.error($);
|
|
@@ -6752,14 +6755,14 @@ const kn = N(() => {
|
|
|
6752
6755
|
s?.({
|
|
6753
6756
|
processId: X,
|
|
6754
6757
|
processDefinitionKey: O,
|
|
6755
|
-
processInstanceKey:
|
|
6758
|
+
processInstanceKey: D
|
|
6756
6759
|
});
|
|
6757
6760
|
},
|
|
6758
6761
|
[t, s]
|
|
6759
6762
|
);
|
|
6760
6763
|
if (!r)
|
|
6761
6764
|
return null;
|
|
6762
|
-
const
|
|
6765
|
+
const S = Lo({
|
|
6763
6766
|
isReplayScenariosEnabled: n,
|
|
6764
6767
|
isCalledProcess: l
|
|
6765
6768
|
});
|
|
@@ -6767,19 +6770,19 @@ const kn = N(() => {
|
|
|
6767
6770
|
return /* @__PURE__ */ i(
|
|
6768
6771
|
Vo,
|
|
6769
6772
|
{
|
|
6770
|
-
headerColumns:
|
|
6773
|
+
headerColumns: S,
|
|
6771
6774
|
isReplayScenariosEnabled: n
|
|
6772
6775
|
}
|
|
6773
6776
|
);
|
|
6774
|
-
const R = o?.parentKey, I = o.incident ? "INCIDENT" : o.state, v = `${p}/processes/${r}`, V = c !== Dt, P = Object.keys(d).find((
|
|
6775
|
-
const Q = d[
|
|
6777
|
+
const R = o?.parentKey, I = o.incident ? "INCIDENT" : o.state, v = `${p}/processes/${r}`, V = c !== Dt, P = Object.keys(d).find((D) => {
|
|
6778
|
+
const Q = d[D];
|
|
6776
6779
|
return Q !== void 0 && Q.instanceKey === r && Q.status === "Failed";
|
|
6777
6780
|
});
|
|
6778
6781
|
return /* @__PURE__ */ f(gn, { "data-testid": "instance-header", children: [
|
|
6779
6782
|
/* @__PURE__ */ f(mn, { children: [
|
|
6780
6783
|
/* @__PURE__ */ i(Ct, { state: I, size: 24 }),
|
|
6781
6784
|
/* @__PURE__ */ f(wn, { children: [
|
|
6782
|
-
/* @__PURE__ */ i("thead", { children: /* @__PURE__ */ i("tr", { children:
|
|
6785
|
+
/* @__PURE__ */ i("thead", { children: /* @__PURE__ */ i("tr", { children: S.map(({ name: D }) => /* @__PURE__ */ i(bn, { children: D }, D)) }) }),
|
|
6783
6786
|
/* @__PURE__ */ i("tbody", { children: /* @__PURE__ */ f("tr", { children: [
|
|
6784
6787
|
/* @__PURE__ */ i(re, { style: { overflow: "visible" }, children: h ? /* @__PURE__ */ i(
|
|
6785
6788
|
Se,
|
|
@@ -6910,11 +6913,11 @@ const kn = N(() => {
|
|
|
6910
6913
|
) : /* @__PURE__ */ i(
|
|
6911
6914
|
Ro,
|
|
6912
6915
|
{
|
|
6913
|
-
onScenarioSaved: async (
|
|
6916
|
+
onScenarioSaved: async (D) => {
|
|
6914
6917
|
try {
|
|
6915
6918
|
await x.addScenario({
|
|
6916
6919
|
processId: B,
|
|
6917
|
-
name:
|
|
6920
|
+
name: D,
|
|
6918
6921
|
processInstanceId: r,
|
|
6919
6922
|
actions: oe(
|
|
6920
6923
|
q(r)
|
|
@@ -6926,10 +6929,10 @@ const kn = N(() => {
|
|
|
6926
6929
|
t?.error($);
|
|
6927
6930
|
return;
|
|
6928
6931
|
}
|
|
6929
|
-
m.setScenarioName(
|
|
6932
|
+
m.setScenarioName(D), t?.success(
|
|
6930
6933
|
{
|
|
6931
6934
|
title: "Scenario saved",
|
|
6932
|
-
subtitle: `${
|
|
6935
|
+
subtitle: `${D} was successfully saved.`
|
|
6933
6936
|
},
|
|
6934
6937
|
{
|
|
6935
6938
|
action: {
|
|
@@ -7203,7 +7206,7 @@ const Vc = u(se)`
|
|
|
7203
7206
|
/* @__PURE__ */ i(Ms, { width: "276px" }),
|
|
7204
7207
|
/* @__PURE__ */ i(Ms, { width: "384px" })
|
|
7205
7208
|
] }), Zc = () => /* @__PURE__ */ i(Uc, { "data-testid": "variables-skeleton", children: [...Array(20)].map((e, A) => /* @__PURE__ */ i(Kc, {}, A)) }), Tn = N(({ selectedScope: e, isActive: A }) => {
|
|
7206
|
-
const t = tA(_), { authType: s } = w, n = t.displayNotification, [r, a] = y(null), [o, c] = y(""), [l, d] = y(!1), [p, h] = y(!1), [g, b] = y(!1), B = pA.state.isUpdatingVariable, { instanceKey: E } = m.state,
|
|
7209
|
+
const t = tA(_), { authType: s } = w, n = t.displayNotification, [r, a] = y(null), [o, c] = y(""), [l, d] = y(!1), [p, h] = y(!1), [g, b] = y(!1), B = pA.state.isUpdatingVariable, { instanceKey: E } = m.state, S = pA.state.variables.filter(
|
|
7207
7210
|
(I) => I.scopeKey === e
|
|
7208
7211
|
);
|
|
7209
7212
|
F(() => {
|
|
@@ -7240,15 +7243,15 @@ const Vc = u(se)`
|
|
|
7240
7243
|
return /* @__PURE__ */ i(Ec, { children: /* @__PURE__ */ f(qi, { children: [
|
|
7241
7244
|
/* @__PURE__ */ i(Pc, { "aria-label": "Variables", children: /* @__PURE__ */ i(zi, { children: "Variables" }) }),
|
|
7242
7245
|
/* @__PURE__ */ i(Gc, { children: /* @__PURE__ */ i(Oc, { children: pA.isInitialLoadComplete ? /* @__PURE__ */ f(L, { children: [
|
|
7243
|
-
/* @__PURE__ */ f(yc, { $isEmpty:
|
|
7244
|
-
|
|
7245
|
-
|
|
7246
|
+
/* @__PURE__ */ f(yc, { $isEmpty: S.length === 0, children: [
|
|
7247
|
+
S.length === 0 && /* @__PURE__ */ i(Bc, { children: Z.isRootNodeSelected ? "This process instance has no variables" : "The flow node has no variables" }),
|
|
7248
|
+
S.length > 0 && /* @__PURE__ */ f(Ic, { children: [
|
|
7246
7249
|
/* @__PURE__ */ i(Mc, { children: /* @__PURE__ */ f("tr", { children: [
|
|
7247
7250
|
/* @__PURE__ */ i(Dc, { children: "Name" }),
|
|
7248
7251
|
/* @__PURE__ */ i(Cc, { children: "Value" }),
|
|
7249
7252
|
/* @__PURE__ */ i(kc, {})
|
|
7250
7253
|
] }) }),
|
|
7251
|
-
/* @__PURE__ */ i(Sc, { children:
|
|
7254
|
+
/* @__PURE__ */ i(Sc, { children: S.map((I) => /* @__PURE__ */ f("tr", { children: [
|
|
7252
7255
|
/* @__PURE__ */ i(xc, { title: I.name, children: I.name }),
|
|
7253
7256
|
/* @__PURE__ */ i(Fc, { children: /* @__PURE__ */ i(zs, { children: /* @__PURE__ */ i(
|
|
7254
7257
|
Rc,
|
|
@@ -7349,7 +7352,7 @@ const Vc = u(se)`
|
|
|
7349
7352
|
} : I.includes('"') || I.includes(" ") ? {
|
|
7350
7353
|
isValid: !1,
|
|
7351
7354
|
error: "Variable contains invalid characters. Use only alphabets, numbers and dashes (-)"
|
|
7352
|
-
} :
|
|
7355
|
+
} : S.some(
|
|
7353
7356
|
({ name: v }) => v === I
|
|
7354
7357
|
) ? {
|
|
7355
7358
|
isValid: !1,
|
|
@@ -7628,7 +7631,7 @@ const il = u.ul`
|
|
|
7628
7631
|
};
|
|
7629
7632
|
h[a.key] = b, g.push(b);
|
|
7630
7633
|
for (let B = 0; B < e.length; B++) {
|
|
7631
|
-
const E = e[B],
|
|
7634
|
+
const E = e[B], S = {
|
|
7632
7635
|
instance: E,
|
|
7633
7636
|
childNodes: [],
|
|
7634
7637
|
isSelected: Z.isSelected({
|
|
@@ -7637,7 +7640,7 @@ const il = u.ul`
|
|
|
7637
7640
|
isMultiInstance: E.type === "MULTI_INSTANCE_BODY"
|
|
7638
7641
|
})
|
|
7639
7642
|
};
|
|
7640
|
-
h[E.key] =
|
|
7643
|
+
h[E.key] = S, E.scopeKey !== null && h[E.scopeKey] !== void 0 && h[E.scopeKey].childNodes.push(S);
|
|
7641
7644
|
}
|
|
7642
7645
|
return { rootNodes: g, keyMap: h };
|
|
7643
7646
|
}, [a, e, o]), { keyMap: l, rootNodes: d } = c();
|
|
@@ -7648,11 +7651,11 @@ const il = u.ul`
|
|
|
7648
7651
|
originalSize: b.clientHeight,
|
|
7649
7652
|
dragStart: h.pageY
|
|
7650
7653
|
};
|
|
7651
|
-
const B = (
|
|
7654
|
+
const B = (S) => {
|
|
7652
7655
|
t(
|
|
7653
7656
|
Math.max(
|
|
7654
7657
|
10,
|
|
7655
|
-
(r.current?.originalSize ?? 0) + (r.current?.dragStart ?? 0) -
|
|
7658
|
+
(r.current?.originalSize ?? 0) + (r.current?.dragStart ?? 0) - S.pageY
|
|
7656
7659
|
)
|
|
7657
7660
|
);
|
|
7658
7661
|
}, E = () => {
|
|
@@ -7687,7 +7690,7 @@ Nn.displayName = "InstanceHistory";
|
|
|
7687
7690
|
const ll = (e = "", A = "new-diagram") => {
|
|
7688
7691
|
const t = e?.normalize().replace(/[^_0-9\p{Letter}\p{Mark}]+/gu, "-").replace(/-+/g, "-").replace(/(^-|-$)/g, "").toLowerCase();
|
|
7689
7692
|
return t === "" ? A : t;
|
|
7690
|
-
}, dl = "--", ul = (e, A) => e + dl + ll(A), pl = (e) => /* @__PURE__ */ D.createElement("svg", { width: 2, height: 10, viewBox: "0 0 2 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("path", { d: "M1 2C1.55228 2 2 1.55228 2 1C2 0.447715 1.55228 0 1 0C0.447715 0 0 0.447715 0 1C0 1.55228 0.447715 2 1 2Z", fill: "white" }), /* @__PURE__ */ D.createElement("path", { d: "M1 6C1.55228 6 2 5.55228 2 5C2 4.44772 1.55228 4 1 4C0.447715 4 0 4.44772 0 5C0 5.55228 0.447715 6 1 6Z", fill: "white" }), /* @__PURE__ */ D.createElement("path", { d: "M1 10C1.55228 10 2 9.55228 2 9C2 8.44771 1.55228 8 1 8C0.447715 8 0 8.44771 0 9C0 9.55228 0.447715 10 1 10Z", fill: "white" })), hl = (e) => /* @__PURE__ */ D.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("path", { d: "M14.7685 5.87999L13.12 4.23149C12.9713 4.08325 12.7699 4 12.56 4C12.3501 4 12.1487 4.08325 12 4.23149L5 11.2337V14H7.7663L14.7685 6.99999C14.9167 6.85132 15 6.64994 15 6.43999C15 6.23004 14.9167 6.02866 14.7685 5.87999ZM7.3521 13H6V11.6479L10.7205 6.92744L12.0725 8.27954L7.3521 13ZM12.7795 7.57249L11.4275 6.22044L12.5611 5.08684L13.9132 6.43894L12.7795 7.57249Z", fill: "white" }), /* @__PURE__ */ D.createElement("rect", { x: 1, y: 2, width: 10, height: 1, fill: "white" }), /* @__PURE__ */ D.createElement("rect", { x: 1, y: 5, width: 7, height: 1, fill: "white" }), /* @__PURE__ */ D.createElement("rect", { x: 1, y: 8, width: 4, height: 1, fill: "white" })), fl = (e) => /* @__PURE__ */ D.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, fill: "currentColor", className: "bi bi-envelope", viewBox: "0 0 16 16", ...e }, /* @__PURE__ */ D.createElement("path", { d: "M0 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V4Zm2-1a1 1 0 0 0-1 1v.217l7 4.2 7-4.2V4a1 1 0 0 0-1-1H2Zm13 2.383-4.708 2.825L15 11.105V5.383Zm-.034 6.876-5.64-3.471L8 9.583l-1.326-.795-5.64 3.47A1 1 0 0 0 2 13h12a1 1 0 0 0 .966-.741ZM1 11.105l4.708-2.897L1 5.383v5.722Z" })), gl = (e) => /* @__PURE__ */ D.createElement("svg", { viewBox: "0 0 18 18", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("g", { fill: "#52C16B" }, /* @__PURE__ */ D.createElement("path", { d: "M9 0C4.0374 0 0 4.0375 0 9c0 4.9627 4.0374 9 9 9s9-4.0373 9-9c0-4.9625-4.0374-9-9-9zm0 16.3636c-4.0604 0-7.3636-3.3032-7.3636-7.3635 0-4.0604 3.3032-7.3637 7.3636-7.3637S16.3636 4.9397 16.3636 9c0 4.0603-3.3033 7.3635-7.3636 7.3635z" }), /* @__PURE__ */ D.createElement("path", { d: "M5.101 9.85C5.0337 9.78 5 9.675 5 9.605s.0337-.175.101-.245l.4711-.49c.1346-.14.3366-.14.4712 0l.0336.035 1.851 2.065c.0673.07.1683.07.2356 0l4.5096-4.865h.0336c.1346-.14.3366-.14.4712 0l.4711.49c.1347.14.1347.35 0 .49l-5.3846 5.81c-.0673.07-.1346.105-.2356.105s-.1682-.035-.2355-.105l-2.625-2.94-.0673-.105z" }))), ml = (e) => /* @__PURE__ */ D.createElement("svg", { width: 17, height: 16, viewBox: "0 0 17 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("g", { clipPath: "url(#clip0_2557_56096)" }, /* @__PURE__ */ D.createElement("rect", { width: 16, height: 16, transform: "translate(0.5)", fill: "transparent" }), /* @__PURE__ */ D.createElement("g", { clipPath: "url(#clip1_2557_56096)" }, /* @__PURE__ */ D.createElement("path", { d: "M9.69601 7.99995L15.5 4.63295V11.3669L9.69601 7.99995ZM8.90401 7.30395C8.78141 7.37414 8.67952 7.47547 8.60866 7.59769C8.5378 7.71991 8.50049 7.85868 8.50049 7.99995C8.50049 8.14122 8.5378 8.27999 8.60866 8.40221C8.67952 8.52442 8.78141 8.62576 8.90401 8.69595L15.267 12.3879C15.787 12.6899 16.5 12.3449 16.5 11.6919V4.30795C16.5 3.65495 15.787 3.30995 15.267 3.61195L8.90401 7.30395Z" }), /* @__PURE__ */ D.createElement("path", { d: "M1.69601 7.99995L7.50001 4.63295V11.3669L1.69601 7.99995ZM0.904006 7.30395C0.781405 7.37414 0.679521 7.47547 0.608663 7.59769C0.537805 7.71991 0.500488 7.85868 0.500488 7.99995C0.500488 8.14122 0.537805 8.27999 0.608663 8.40221C0.679521 8.52442 0.781405 8.62576 0.904006 8.69595L7.26701 12.3879C7.78701 12.6899 8.50001 12.3449 8.50001 11.6919V4.30795C8.50001 3.65495 7.78701 3.30995 7.26701 3.61195L0.904006 7.30395Z" }))), /* @__PURE__ */ D.createElement("defs", null, /* @__PURE__ */ D.createElement("clipPath", { id: "clip0_2557_56096" }, /* @__PURE__ */ D.createElement("rect", { width: 16, height: 16, fill: "white", transform: "translate(0.5)" })), /* @__PURE__ */ D.createElement("clipPath", { id: "clip1_2557_56096" }, /* @__PURE__ */ D.createElement("rect", { width: 16, height: 16, fill: "white", transform: "translate(0.5)" })))), wl = (e) => /* @__PURE__ */ D.createElement("svg", { width: 180, height: 180, viewBox: "0 0 180 180", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("path", { d: "M150.804 55.8922L150.494 49.0623H126.417C126.82 39.786 126.418 29.1415 126.418 29.1415H53.5819C53.5819 29.1415 53.1795 39.786 53.5831 49.0623H29.5059L29.1962 55.8922C29.1692 56.4865 28.6164 70.6236 35.6237 86.0315C41.7589 99.5223 54.8975 116.447 82.846 122.946V131.977H77.9039V138.148H53.4032V152.456H126.597V138.148H102.096V131.977H97.1541V122.946C125.102 116.447 138.241 99.5222 144.376 86.0315C151.384 70.6235 150.831 56.4865 150.804 55.8922ZM48.8725 80.5957C45.861 74.1454 44.5261 67.8866 43.9383 63.3704H54.7619C56.2251 75.2305 59.1824 88.702 65.0259 99.9776C58.0146 95.0724 52.6113 88.6029 48.8725 80.5957ZM101.322 104.518H79.4116V92.1394H101.322V104.518ZM101.331 73.5114C101.279 80.9953 97.5643 85.2491 90.3501 85.2491C83.1358 85.2491 79.4211 80.9929 79.4211 73.5658L79.4116 49.2818C79.4637 41.798 83.1784 37.5441 90.3926 37.5441C97.6069 37.5441 101.322 41.8004 101.322 49.2818V53.8029H94.3864V48.8089C94.3864 45.4702 92.8801 44.1791 90.5652 44.1791C88.2007 44.1247 86.7417 45.4158 86.7417 48.7545V73.9962C86.7417 77.3349 88.2503 78.5196 90.5652 78.5196C92.9298 78.5196 94.3864 77.3373 94.3864 73.9962V67.321H101.331V73.5114ZM131.352 80.1083C127.607 88.3417 122.128 94.9736 114.974 99.9781C120.817 88.7023 123.775 75.2307 125.238 63.3704H136.06C135.486 67.7767 134.203 73.8395 131.352 80.1083Z", fill: "#FC5D0D" })), bl = (e) => /* @__PURE__ */ D.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("path", { fill: "currentColor", d: "M13 5H11V11H5V13H11V19H13V13H19V11H13V5Z" })), vl = (e) => /* @__PURE__ */ D.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...e }, /* @__PURE__ */ D.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M22.0833 10H1.9167c-.55 0-.9167.3667-.9167.9167V12.75c0 .55.3667.9167.9167.9167h20.1666c.55 0 .9167-.3667.9167-.9167v-1.8333c0-.55-.3667-.9167-.9167-.9167z" })), El = (e) => /* @__PURE__ */ D.createElement("svg", { viewBox: "0 0 15 15", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("path", { fill: "currentColor", d: "M.531 8.031H1.697c.2461 2.798 2.487 5.026 5.272 5.2721v1.1658c0 .285.2332.5311.5311.5311.285 0 .531-.2332.531-.531V13.303c2.798-.2461 5.026-2.487 5.2721-5.272h1.1658c.285 0 .5311-.2332.5311-.5311 0-.285-.2332-.531-.531-.531H13.303c-.2461-2.798-2.487-5.026-5.272-5.2721V.531C8.031.246 7.7979 0 7.5 0c-.285 0-.531.2332-.531.531V1.697c-2.798.2461-5.026 2.487-5.2721 5.272H.531C.233 6.969 0 7.2021 0 7.5c0 .298.2461.531.531.531zm4.3654-1.062H2.759c.246-2.2151 2.0077-3.9768 4.2098-4.21v2.1374c0 .285.2332.531.5311.531.285 0 .531-.2331.531-.531V2.759c2.2151.246 3.9768 2.0077 4.21 4.2098h-2.1374c-.285 0-.531.2332-.531.5311 0 .285.2331.531.531.531h2.1373c-.246 2.2151-2.0077 3.9768-4.2098 4.21v-2.1374c0-.285-.2332-.531-.5311-.531-.285 0-.531.2331-.531.531v2.1373c-2.2151-.246-3.9768-2.0077-4.21-4.2098h2.1374c.285 0 .531-.2332.531-.5311 0-.285-.246-.531-.531-.531z" })), yl = (e) => /* @__PURE__ */ D.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", ...e }, /* @__PURE__ */ D.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M18.8557 1.5478a.3332.3332 0 0 0-.328-.009l-5.5162 2.9204-5.516-2.9204a.5482.5482 0 0 0-.0627-.0234c-.046-.0113-.0647-.0127-.0837-.0133-.0434 0-.061.0033-.0788.0073-.0213.0047-2.0354.6745-6.042 2.0096A.3334.3334 0 0 0 1 3.8356v14.3471a.334.334 0 0 0 .3337.3336.3279.3279 0 0 0 .1054-.0173l5.8876-1.9625 5.5577 2.2885c.0514.016.0887.025.127.025a.334.334 0 0 0 .0888-.013c.0407-.0154.0548-.019.0674-.0257l5.6721-3.0029a.334.334 0 0 0 .1775-.295V1.8338a.334.334 0 0 0-.1615-.286zM2.0598 4.6795l4.6633-1.5897v12.188l-4.6633 1.5898V4.6796zM7.783 3.0898l4.5573 2.6495v11.6583L7.783 15.2779V3.0898zm10.1744 11.9761l-4.5043 2.3317V5.7393l4.5043-2.6495v11.9761z" })), Bl = (e) => /* @__PURE__ */ D.createElement("svg", { viewBox: "0 0 20 20", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("g", { fill: "currentColor" }, /* @__PURE__ */ D.createElement("path", { d: "M7.8434 11.358H1.7862a.7985.7985 0 1 0 0 1.5971h5.2587v5.2587a.7985.7985 0 1 0 1.597 0v-6.0572a.7985.7985 0 0 0-.7985-.7986zM18.2138 7.0449h-5.2586V1.7862a.7985.7985 0 1 0-1.5971 0v6.0572c0 .441.3575.7986.7985.7986h6.0572a.7985.7985 0 1 0 0-1.5971z" }), /* @__PURE__ */ D.createElement("path", { d: "M19.7667.2333a.7965.7965 0 0 0-1.1265 0l-7.0489 7.0489a.7966.7966 0 0 0 1.1265 1.1265l7.049-7.049a.7966.7966 0 0 0 0-1.1264zM8.4087 11.5913a.7965.7965 0 0 0-1.1265 0l-7.0489 7.049a.7965.7965 0 1 0 1.1265 1.1264l7.0489-7.049a.7965.7965 0 0 0 0-1.1264z" }))), Il = (e) => /* @__PURE__ */ D.createElement("svg", { viewBox: "0 0 20 20", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("g", { fill: "currentColor" }, /* @__PURE__ */ D.createElement("path", { d: "M19.2015 0h-6.0573a.7985.7985 0 1 0 0 1.5971h5.2587v5.2587a.7985.7985 0 1 0 1.5971 0V.7985A.7985.7985 0 0 0 19.2015 0zM6.8558 18.4029H1.597v-5.2587a.7985.7985 0 1 0-1.5971 0v6.0573c0 .441.3575.7985.7985.7985h6.0573a.7985.7985 0 1 0 0-1.5971z" }), /* @__PURE__ */ D.createElement("path", { d: "M19.7667.2333a.7965.7965 0 0 0-1.1265 0l-7.0489 7.0489a.7966.7966 0 0 0 1.1265 1.1265l7.049-7.049a.7966.7966 0 0 0 0-1.1264zM8.4087 11.5913a.7965.7965 0 0 0-1.1265 0l-7.0489 7.049a.7965.7965 0 1 0 1.1265 1.1264l7.0489-7.049a.7965.7965 0 0 0 0-1.1264z" }))), Ml = (e) => /* @__PURE__ */ D.createElement("svg", { width: 17, height: 15, viewBox: "0 0 17 15", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.7219 5.2691C8.6668 4.2126 7.7435 2.4757 7.0638 1.00772C7.0445 1.00316 7.0206 1 6.9941 1C6.9675 1 6.9436 1.00316 6.9243 1.00773C6.2447 2.4757 5.322 4.2122 4.2662 5.2687C3.2106 6.325 1.47501 7.2485 0.00802994 7.9287C0.00328994 7.9483 0 7.9728 0 8C0 8.0271 0.00324982 8.0515 0.00793982 8.071C1.47467 8.751 3.2101 9.6743 4.2659 10.7311C5.322 11.7875 6.2448 13.5244 6.9245 14.9923C6.9437 14.9969 6.9675 15 6.994 15C7.0205 15 7.0444 14.9968 7.0636 14.9923C7.7433 13.5244 8.666 11.7877 9.7215 10.7315M9.7215 10.7315C10.773 9.6791 12.4531 8.7468 13.8721 8.0577C13.8756 8.0415 13.878 8.0217 13.878 7.9998C13.878 7.9779 13.8756 7.9582 13.8721 7.942C12.4537 7.2529 10.7734 6.3207 9.7219 5.2691", fill: "white" }), /* @__PURE__ */ D.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M15.4808 1.52468C15.104 1.14737 14.7742 0.52704 14.5315 0.00275993C14.5246 0.00112993 14.5161 0 14.5066 0C14.4971 0 14.4885 0.00112993 14.4817 0.00275993C14.2389 0.52705 13.9094 1.14721 13.5323 1.52455C13.1553 1.9018 12.5355 2.2316 12.0116 2.4745C12.0099 2.4815 12.0087 2.4903 12.0087 2.5C12.0087 2.5097 12.0099 2.5184 12.0115 2.5254C12.5354 2.7682 13.1552 3.098 13.5322 3.4754C13.9094 3.8527 14.239 4.473 14.4817 4.9972C14.4886 4.9989 14.4971 5 14.5066 5C14.516 5 14.5246 4.9989 14.5314 4.9972C14.7742 4.473 15.1037 3.8528 15.4806 3.4755M15.4806 3.4755C15.8562 3.0997 16.4562 2.7667 16.963 2.5206C16.9643 2.5148 16.9651 2.5078 16.9651 2.4999C16.9651 2.4921 16.9643 2.4851 16.963 2.4793C16.4565 2.2332 15.8563 1.90026 15.4808 1.52468", fill: "white" })), Sl = (e) => /* @__PURE__ */ D.createElement("svg", { width: 18, height: 16, viewBox: "0 0 18 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("path", { d: "M1.18528 15.25L9 1.03773L16.8147 15.25H1.18528Z", stroke: "white" })), Dl = (e) => /* @__PURE__ */ D.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", ...e }, /* @__PURE__ */ D.createElement("path", { d: "M16,2C8.3,2,2,8.3,2,16s6.3,14,14,14s14-6.3,14-14C30,8.3,23.7,2,16,2z M14.9,8h2.2v11h-2.2V8z M16,25 c-0.8,0-1.5-0.7-1.5-1.5S15.2,22,16,22c0.8,0,1.5,0.7,1.5,1.5S16.8,25,16,25z", fill: "currentColor" })), xn = (e) => /* @__PURE__ */ D.createElement("svg", { width: 16, height: 16, fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("path", { d: "M12 3H4v10h8V3Z", fill: "#000" }), /* @__PURE__ */ D.createElement("path", { d: "M8 1C4.15 1 1 4.15 1 8s3.15 7 7 7 7-3.15 7-7-3.15-7-7-7Zm-.55 3h1.1v5.5h-1.1V4ZM8 12.5c-.4 0-.75-.35-.75-.75S7.6 11 8 11s.75.35.75.75-.35.75-.75.75Z", fill: "#FF832B" })), Cl = u.div`
|
|
7693
|
+
}, dl = "--", ul = (e, A) => e + dl + ll(A), pl = (e) => /* @__PURE__ */ C.createElement("svg", { width: 2, height: 10, viewBox: "0 0 2 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ C.createElement("path", { d: "M1 2C1.55228 2 2 1.55228 2 1C2 0.447715 1.55228 0 1 0C0.447715 0 0 0.447715 0 1C0 1.55228 0.447715 2 1 2Z", fill: "white" }), /* @__PURE__ */ C.createElement("path", { d: "M1 6C1.55228 6 2 5.55228 2 5C2 4.44772 1.55228 4 1 4C0.447715 4 0 4.44772 0 5C0 5.55228 0.447715 6 1 6Z", fill: "white" }), /* @__PURE__ */ C.createElement("path", { d: "M1 10C1.55228 10 2 9.55228 2 9C2 8.44771 1.55228 8 1 8C0.447715 8 0 8.44771 0 9C0 9.55228 0.447715 10 1 10Z", fill: "white" })), hl = (e) => /* @__PURE__ */ C.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ C.createElement("path", { d: "M14.7685 5.87999L13.12 4.23149C12.9713 4.08325 12.7699 4 12.56 4C12.3501 4 12.1487 4.08325 12 4.23149L5 11.2337V14H7.7663L14.7685 6.99999C14.9167 6.85132 15 6.64994 15 6.43999C15 6.23004 14.9167 6.02866 14.7685 5.87999ZM7.3521 13H6V11.6479L10.7205 6.92744L12.0725 8.27954L7.3521 13ZM12.7795 7.57249L11.4275 6.22044L12.5611 5.08684L13.9132 6.43894L12.7795 7.57249Z", fill: "white" }), /* @__PURE__ */ C.createElement("rect", { x: 1, y: 2, width: 10, height: 1, fill: "white" }), /* @__PURE__ */ C.createElement("rect", { x: 1, y: 5, width: 7, height: 1, fill: "white" }), /* @__PURE__ */ C.createElement("rect", { x: 1, y: 8, width: 4, height: 1, fill: "white" })), fl = (e) => /* @__PURE__ */ C.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 16, height: 16, fill: "currentColor", className: "bi bi-envelope", viewBox: "0 0 16 16", ...e }, /* @__PURE__ */ C.createElement("path", { d: "M0 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V4Zm2-1a1 1 0 0 0-1 1v.217l7 4.2 7-4.2V4a1 1 0 0 0-1-1H2Zm13 2.383-4.708 2.825L15 11.105V5.383Zm-.034 6.876-5.64-3.471L8 9.583l-1.326-.795-5.64 3.47A1 1 0 0 0 2 13h12a1 1 0 0 0 .966-.741ZM1 11.105l4.708-2.897L1 5.383v5.722Z" })), gl = (e) => /* @__PURE__ */ C.createElement("svg", { viewBox: "0 0 18 18", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ C.createElement("g", { fill: "#52C16B" }, /* @__PURE__ */ C.createElement("path", { d: "M9 0C4.0374 0 0 4.0375 0 9c0 4.9627 4.0374 9 9 9s9-4.0373 9-9c0-4.9625-4.0374-9-9-9zm0 16.3636c-4.0604 0-7.3636-3.3032-7.3636-7.3635 0-4.0604 3.3032-7.3637 7.3636-7.3637S16.3636 4.9397 16.3636 9c0 4.0603-3.3033 7.3635-7.3636 7.3635z" }), /* @__PURE__ */ C.createElement("path", { d: "M5.101 9.85C5.0337 9.78 5 9.675 5 9.605s.0337-.175.101-.245l.4711-.49c.1346-.14.3366-.14.4712 0l.0336.035 1.851 2.065c.0673.07.1683.07.2356 0l4.5096-4.865h.0336c.1346-.14.3366-.14.4712 0l.4711.49c.1347.14.1347.35 0 .49l-5.3846 5.81c-.0673.07-.1346.105-.2356.105s-.1682-.035-.2355-.105l-2.625-2.94-.0673-.105z" }))), ml = (e) => /* @__PURE__ */ C.createElement("svg", { width: 17, height: 16, viewBox: "0 0 17 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ C.createElement("g", { clipPath: "url(#clip0_2557_56096)" }, /* @__PURE__ */ C.createElement("rect", { width: 16, height: 16, transform: "translate(0.5)", fill: "transparent" }), /* @__PURE__ */ C.createElement("g", { clipPath: "url(#clip1_2557_56096)" }, /* @__PURE__ */ C.createElement("path", { d: "M9.69601 7.99995L15.5 4.63295V11.3669L9.69601 7.99995ZM8.90401 7.30395C8.78141 7.37414 8.67952 7.47547 8.60866 7.59769C8.5378 7.71991 8.50049 7.85868 8.50049 7.99995C8.50049 8.14122 8.5378 8.27999 8.60866 8.40221C8.67952 8.52442 8.78141 8.62576 8.90401 8.69595L15.267 12.3879C15.787 12.6899 16.5 12.3449 16.5 11.6919V4.30795C16.5 3.65495 15.787 3.30995 15.267 3.61195L8.90401 7.30395Z" }), /* @__PURE__ */ C.createElement("path", { d: "M1.69601 7.99995L7.50001 4.63295V11.3669L1.69601 7.99995ZM0.904006 7.30395C0.781405 7.37414 0.679521 7.47547 0.608663 7.59769C0.537805 7.71991 0.500488 7.85868 0.500488 7.99995C0.500488 8.14122 0.537805 8.27999 0.608663 8.40221C0.679521 8.52442 0.781405 8.62576 0.904006 8.69595L7.26701 12.3879C7.78701 12.6899 8.50001 12.3449 8.50001 11.6919V4.30795C8.50001 3.65495 7.78701 3.30995 7.26701 3.61195L0.904006 7.30395Z" }))), /* @__PURE__ */ C.createElement("defs", null, /* @__PURE__ */ C.createElement("clipPath", { id: "clip0_2557_56096" }, /* @__PURE__ */ C.createElement("rect", { width: 16, height: 16, fill: "white", transform: "translate(0.5)" })), /* @__PURE__ */ C.createElement("clipPath", { id: "clip1_2557_56096" }, /* @__PURE__ */ C.createElement("rect", { width: 16, height: 16, fill: "white", transform: "translate(0.5)" })))), wl = (e) => /* @__PURE__ */ C.createElement("svg", { width: 180, height: 180, viewBox: "0 0 180 180", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ C.createElement("path", { d: "M150.804 55.8922L150.494 49.0623H126.417C126.82 39.786 126.418 29.1415 126.418 29.1415H53.5819C53.5819 29.1415 53.1795 39.786 53.5831 49.0623H29.5059L29.1962 55.8922C29.1692 56.4865 28.6164 70.6236 35.6237 86.0315C41.7589 99.5223 54.8975 116.447 82.846 122.946V131.977H77.9039V138.148H53.4032V152.456H126.597V138.148H102.096V131.977H97.1541V122.946C125.102 116.447 138.241 99.5222 144.376 86.0315C151.384 70.6235 150.831 56.4865 150.804 55.8922ZM48.8725 80.5957C45.861 74.1454 44.5261 67.8866 43.9383 63.3704H54.7619C56.2251 75.2305 59.1824 88.702 65.0259 99.9776C58.0146 95.0724 52.6113 88.6029 48.8725 80.5957ZM101.322 104.518H79.4116V92.1394H101.322V104.518ZM101.331 73.5114C101.279 80.9953 97.5643 85.2491 90.3501 85.2491C83.1358 85.2491 79.4211 80.9929 79.4211 73.5658L79.4116 49.2818C79.4637 41.798 83.1784 37.5441 90.3926 37.5441C97.6069 37.5441 101.322 41.8004 101.322 49.2818V53.8029H94.3864V48.8089C94.3864 45.4702 92.8801 44.1791 90.5652 44.1791C88.2007 44.1247 86.7417 45.4158 86.7417 48.7545V73.9962C86.7417 77.3349 88.2503 78.5196 90.5652 78.5196C92.9298 78.5196 94.3864 77.3373 94.3864 73.9962V67.321H101.331V73.5114ZM131.352 80.1083C127.607 88.3417 122.128 94.9736 114.974 99.9781C120.817 88.7023 123.775 75.2307 125.238 63.3704H136.06C135.486 67.7767 134.203 73.8395 131.352 80.1083Z", fill: "#FC5D0D" })), bl = (e) => /* @__PURE__ */ C.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ C.createElement("path", { fill: "currentColor", d: "M13 5H11V11H5V13H11V19H13V13H19V11H13V5Z" })), vl = (e) => /* @__PURE__ */ C.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...e }, /* @__PURE__ */ C.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M22.0833 10H1.9167c-.55 0-.9167.3667-.9167.9167V12.75c0 .55.3667.9167.9167.9167h20.1666c.55 0 .9167-.3667.9167-.9167v-1.8333c0-.55-.3667-.9167-.9167-.9167z" })), El = (e) => /* @__PURE__ */ C.createElement("svg", { viewBox: "0 0 15 15", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ C.createElement("path", { fill: "currentColor", d: "M.531 8.031H1.697c.2461 2.798 2.487 5.026 5.272 5.2721v1.1658c0 .285.2332.5311.5311.5311.285 0 .531-.2332.531-.531V13.303c2.798-.2461 5.026-2.487 5.2721-5.272h1.1658c.285 0 .5311-.2332.5311-.5311 0-.285-.2332-.531-.531-.531H13.303c-.2461-2.798-2.487-5.026-5.272-5.2721V.531C8.031.246 7.7979 0 7.5 0c-.285 0-.531.2332-.531.531V1.697c-2.798.2461-5.026 2.487-5.2721 5.272H.531C.233 6.969 0 7.2021 0 7.5c0 .298.2461.531.531.531zm4.3654-1.062H2.759c.246-2.2151 2.0077-3.9768 4.2098-4.21v2.1374c0 .285.2332.531.5311.531.285 0 .531-.2331.531-.531V2.759c2.2151.246 3.9768 2.0077 4.21 4.2098h-2.1374c-.285 0-.531.2332-.531.5311 0 .285.2331.531.531.531h2.1373c-.246 2.2151-2.0077 3.9768-4.2098 4.21v-2.1374c0-.285-.2332-.531-.5311-.531-.285 0-.531.2331-.531.531v2.1373c-2.2151-.246-3.9768-2.0077-4.21-4.2098h2.1374c.285 0 .531-.2332.531-.5311 0-.285-.246-.531-.531-.531z" })), yl = (e) => /* @__PURE__ */ C.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", ...e }, /* @__PURE__ */ C.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M18.8557 1.5478a.3332.3332 0 0 0-.328-.009l-5.5162 2.9204-5.516-2.9204a.5482.5482 0 0 0-.0627-.0234c-.046-.0113-.0647-.0127-.0837-.0133-.0434 0-.061.0033-.0788.0073-.0213.0047-2.0354.6745-6.042 2.0096A.3334.3334 0 0 0 1 3.8356v14.3471a.334.334 0 0 0 .3337.3336.3279.3279 0 0 0 .1054-.0173l5.8876-1.9625 5.5577 2.2885c.0514.016.0887.025.127.025a.334.334 0 0 0 .0888-.013c.0407-.0154.0548-.019.0674-.0257l5.6721-3.0029a.334.334 0 0 0 .1775-.295V1.8338a.334.334 0 0 0-.1615-.286zM2.0598 4.6795l4.6633-1.5897v12.188l-4.6633 1.5898V4.6796zM7.783 3.0898l4.5573 2.6495v11.6583L7.783 15.2779V3.0898zm10.1744 11.9761l-4.5043 2.3317V5.7393l4.5043-2.6495v11.9761z" })), Bl = (e) => /* @__PURE__ */ C.createElement("svg", { viewBox: "0 0 20 20", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ C.createElement("g", { fill: "currentColor" }, /* @__PURE__ */ C.createElement("path", { d: "M7.8434 11.358H1.7862a.7985.7985 0 1 0 0 1.5971h5.2587v5.2587a.7985.7985 0 1 0 1.597 0v-6.0572a.7985.7985 0 0 0-.7985-.7986zM18.2138 7.0449h-5.2586V1.7862a.7985.7985 0 1 0-1.5971 0v6.0572c0 .441.3575.7986.7985.7986h6.0572a.7985.7985 0 1 0 0-1.5971z" }), /* @__PURE__ */ C.createElement("path", { d: "M19.7667.2333a.7965.7965 0 0 0-1.1265 0l-7.0489 7.0489a.7966.7966 0 0 0 1.1265 1.1265l7.049-7.049a.7966.7966 0 0 0 0-1.1264zM8.4087 11.5913a.7965.7965 0 0 0-1.1265 0l-7.0489 7.049a.7965.7965 0 1 0 1.1265 1.1264l7.0489-7.049a.7965.7965 0 0 0 0-1.1264z" }))), Il = (e) => /* @__PURE__ */ C.createElement("svg", { viewBox: "0 0 20 20", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ C.createElement("g", { fill: "currentColor" }, /* @__PURE__ */ C.createElement("path", { d: "M19.2015 0h-6.0573a.7985.7985 0 1 0 0 1.5971h5.2587v5.2587a.7985.7985 0 1 0 1.5971 0V.7985A.7985.7985 0 0 0 19.2015 0zM6.8558 18.4029H1.597v-5.2587a.7985.7985 0 1 0-1.5971 0v6.0573c0 .441.3575.7985.7985.7985h6.0573a.7985.7985 0 1 0 0-1.5971z" }), /* @__PURE__ */ C.createElement("path", { d: "M19.7667.2333a.7965.7965 0 0 0-1.1265 0l-7.0489 7.0489a.7966.7966 0 0 0 1.1265 1.1265l7.049-7.049a.7966.7966 0 0 0 0-1.1264zM8.4087 11.5913a.7965.7965 0 0 0-1.1265 0l-7.0489 7.049a.7965.7965 0 1 0 1.1265 1.1264l7.0489-7.049a.7965.7965 0 0 0 0-1.1264z" }))), Ml = (e) => /* @__PURE__ */ C.createElement("svg", { width: 17, height: 15, viewBox: "0 0 17 15", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ C.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.7219 5.2691C8.6668 4.2126 7.7435 2.4757 7.0638 1.00772C7.0445 1.00316 7.0206 1 6.9941 1C6.9675 1 6.9436 1.00316 6.9243 1.00773C6.2447 2.4757 5.322 4.2122 4.2662 5.2687C3.2106 6.325 1.47501 7.2485 0.00802994 7.9287C0.00328994 7.9483 0 7.9728 0 8C0 8.0271 0.00324982 8.0515 0.00793982 8.071C1.47467 8.751 3.2101 9.6743 4.2659 10.7311C5.322 11.7875 6.2448 13.5244 6.9245 14.9923C6.9437 14.9969 6.9675 15 6.994 15C7.0205 15 7.0444 14.9968 7.0636 14.9923C7.7433 13.5244 8.666 11.7877 9.7215 10.7315M9.7215 10.7315C10.773 9.6791 12.4531 8.7468 13.8721 8.0577C13.8756 8.0415 13.878 8.0217 13.878 7.9998C13.878 7.9779 13.8756 7.9582 13.8721 7.942C12.4537 7.2529 10.7734 6.3207 9.7219 5.2691", fill: "white" }), /* @__PURE__ */ C.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M15.4808 1.52468C15.104 1.14737 14.7742 0.52704 14.5315 0.00275993C14.5246 0.00112993 14.5161 0 14.5066 0C14.4971 0 14.4885 0.00112993 14.4817 0.00275993C14.2389 0.52705 13.9094 1.14721 13.5323 1.52455C13.1553 1.9018 12.5355 2.2316 12.0116 2.4745C12.0099 2.4815 12.0087 2.4903 12.0087 2.5C12.0087 2.5097 12.0099 2.5184 12.0115 2.5254C12.5354 2.7682 13.1552 3.098 13.5322 3.4754C13.9094 3.8527 14.239 4.473 14.4817 4.9972C14.4886 4.9989 14.4971 5 14.5066 5C14.516 5 14.5246 4.9989 14.5314 4.9972C14.7742 4.473 15.1037 3.8528 15.4806 3.4755M15.4806 3.4755C15.8562 3.0997 16.4562 2.7667 16.963 2.5206C16.9643 2.5148 16.9651 2.5078 16.9651 2.4999C16.9651 2.4921 16.9643 2.4851 16.963 2.4793C16.4565 2.2332 15.8563 1.90026 15.4808 1.52468", fill: "white" })), Sl = (e) => /* @__PURE__ */ C.createElement("svg", { width: 18, height: 16, viewBox: "0 0 18 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ C.createElement("path", { d: "M1.18528 15.25L9 1.03773L16.8147 15.25H1.18528Z", stroke: "white" })), Dl = (e) => /* @__PURE__ */ C.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", ...e }, /* @__PURE__ */ C.createElement("path", { d: "M16,2C8.3,2,2,8.3,2,16s6.3,14,14,14s14-6.3,14-14C30,8.3,23.7,2,16,2z M14.9,8h2.2v11h-2.2V8z M16,25 c-0.8,0-1.5-0.7-1.5-1.5S15.2,22,16,22c0.8,0,1.5,0.7,1.5,1.5S16.8,25,16,25z", fill: "currentColor" })), xn = (e) => /* @__PURE__ */ C.createElement("svg", { width: 16, height: 16, fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ C.createElement("path", { d: "M12 3H4v10h8V3Z", fill: "#000" }), /* @__PURE__ */ C.createElement("path", { d: "M8 1C4.15 1 1 4.15 1 8s3.15 7 7 7 7-3.15 7-7-3.15-7-7-7Zm-.55 3h1.1v5.5h-1.1V4ZM8 12.5c-.4 0-.75-.35-.75-.75S7.6 11 8 11s.75.35.75.75-.35.75-.75.75Z", fill: "#FF832B" })), Cl = u.div`
|
|
7691
7694
|
height: 30px;
|
|
7692
7695
|
margin: 5px 10px;
|
|
7693
7696
|
`, kl = u(gl)`
|
|
@@ -9225,7 +9228,7 @@ function at(e, A, t) {
|
|
|
9225
9228
|
}
|
|
9226
9229
|
const qn = N(({ element: e }) => {
|
|
9227
9230
|
const { displayNotification: A } = tA(_), [t, s] = y(!1), [n, r] = y(!1), [a, o] = y(""), [c, l] = y(!1), { instanceKey: d, processInstance: p } = m.state, h = yt(e), b = aA.state.statistics.some(
|
|
9228
|
-
({ activityId: P, active:
|
|
9231
|
+
({ activityId: P, active: D }) => P === e.id && D > 0
|
|
9229
9232
|
) && en.includes(e.businessObject.$type) && h !== void 0;
|
|
9230
9233
|
F(() => {
|
|
9231
9234
|
l(!1);
|
|
@@ -9245,13 +9248,13 @@ const qn = N(({ element: e }) => {
|
|
|
9245
9248
|
errorCode: a,
|
|
9246
9249
|
taskDefinitionType: h
|
|
9247
9250
|
});
|
|
9248
|
-
const
|
|
9251
|
+
const D = B.find(
|
|
9249
9252
|
(Q) => Q.errorCode === a
|
|
9250
9253
|
)?.errorElementId;
|
|
9251
9254
|
A?.success(
|
|
9252
9255
|
{
|
|
9253
9256
|
title: Zn({
|
|
9254
|
-
elementId:
|
|
9257
|
+
elementId: D,
|
|
9255
9258
|
errorCode: a
|
|
9256
9259
|
})
|
|
9257
9260
|
},
|
|
@@ -9282,7 +9285,7 @@ const qn = N(({ element: e }) => {
|
|
|
9282
9285
|
h,
|
|
9283
9286
|
a,
|
|
9284
9287
|
d
|
|
9285
|
-
]),
|
|
9288
|
+
]), S = U(async () => {
|
|
9286
9289
|
A?.error(
|
|
9287
9290
|
{
|
|
9288
9291
|
title: $.title,
|
|
@@ -9320,10 +9323,10 @@ const qn = N(({ element: e }) => {
|
|
|
9320
9323
|
variables: R || void 0,
|
|
9321
9324
|
taskDefinitionType: h
|
|
9322
9325
|
}), G.trackUserCompletesElement(e, R)), !P)
|
|
9323
|
-
|
|
9326
|
+
S(), l(!1);
|
|
9324
9327
|
else {
|
|
9325
|
-
const
|
|
9326
|
-
at(e, A,
|
|
9328
|
+
const D = CA({ prefillSource: I }) || void 0;
|
|
9329
|
+
at(e, A, D);
|
|
9327
9330
|
}
|
|
9328
9331
|
}
|
|
9329
9332
|
},
|
|
@@ -9359,13 +9362,13 @@ const qn = N(({ element: e }) => {
|
|
|
9359
9362
|
element: e,
|
|
9360
9363
|
onSubmit: async (P) => {
|
|
9361
9364
|
s(!1), l(!0);
|
|
9362
|
-
let
|
|
9363
|
-
|
|
9365
|
+
let D = !1;
|
|
9366
|
+
D = await Ae.completeJob({
|
|
9364
9367
|
taskDefinitionType: h,
|
|
9365
9368
|
processInstanceKey: p?.key,
|
|
9366
9369
|
variables: P,
|
|
9367
9370
|
elementId: e.id
|
|
9368
|
-
}),
|
|
9371
|
+
}), D && p !== void 0 && (oA(q(p.key), {
|
|
9369
9372
|
action: "completeJob",
|
|
9370
9373
|
type: "serviceTask",
|
|
9371
9374
|
elementId: e.id,
|
|
@@ -9378,7 +9381,7 @@ const qn = N(({ element: e }) => {
|
|
|
9378
9381
|
processId: w.processId,
|
|
9379
9382
|
elementId: e.id,
|
|
9380
9383
|
variables: P ?? ""
|
|
9381
|
-
})),
|
|
9384
|
+
})), D ? at(e, A) : (S(), l(!1));
|
|
9382
9385
|
}
|
|
9383
9386
|
}
|
|
9384
9387
|
),
|
|
@@ -9403,9 +9406,9 @@ const qn = N(({ element: e }) => {
|
|
|
9403
9406
|
id: "error",
|
|
9404
9407
|
"aria-label": "Select an Error",
|
|
9405
9408
|
items: B.map(
|
|
9406
|
-
({ errorCode: P, errorName:
|
|
9409
|
+
({ errorCode: P, errorName: D, errorElementId: Q }) => ({
|
|
9407
9410
|
id: P,
|
|
9408
|
-
label:
|
|
9411
|
+
label: D ?? Q
|
|
9409
9412
|
})
|
|
9410
9413
|
),
|
|
9411
9414
|
onChange: ({ selectedItem: P }) => {
|
|
@@ -10082,10 +10085,10 @@ const _n = N(({ element: e, addOverlay: A }) => {
|
|
|
10082
10085
|
v
|
|
10083
10086
|
);
|
|
10084
10087
|
}
|
|
10085
|
-
const
|
|
10088
|
+
const S = le.startSignalCandidates?.find(
|
|
10086
10089
|
(v) => v.elementId === e.id
|
|
10087
10090
|
);
|
|
10088
|
-
if (
|
|
10091
|
+
if (S && t === void 0) {
|
|
10089
10092
|
const v = A(
|
|
10090
10093
|
e,
|
|
10091
10094
|
"BROADCAST_SIGNAL_BUTTON",
|
|
@@ -10096,7 +10099,7 @@ const _n = N(({ element: e, addOverlay: A }) => {
|
|
|
10096
10099
|
ot,
|
|
10097
10100
|
{
|
|
10098
10101
|
element: e,
|
|
10099
|
-
signalCandidate:
|
|
10102
|
+
signalCandidate: S,
|
|
10100
10103
|
isStartEvent: !0
|
|
10101
10104
|
}
|
|
10102
10105
|
),
|
|
@@ -10352,7 +10355,7 @@ const ru = ({
|
|
|
10352
10355
|
document.body?.removeEventListener("click", I, !0);
|
|
10353
10356
|
};
|
|
10354
10357
|
}, [n, g]);
|
|
10355
|
-
const { x:
|
|
10358
|
+
const { x: S, y: R } = p.arrow ?? {};
|
|
10356
10359
|
return e === null ? null : Y(
|
|
10357
10360
|
/* @__PURE__ */ i(
|
|
10358
10361
|
su,
|
|
@@ -10373,7 +10376,7 @@ const ru = ({
|
|
|
10373
10376
|
style: {
|
|
10374
10377
|
...nu({
|
|
10375
10378
|
side: iu(h),
|
|
10376
|
-
x: we(
|
|
10379
|
+
x: we(S),
|
|
10377
10380
|
y: we(R)
|
|
10378
10381
|
})
|
|
10379
10382
|
}
|
|
@@ -10988,13 +10991,13 @@ const $u = ({
|
|
|
10988
10991
|
fetchFilesByDecisionId: b,
|
|
10989
10992
|
fetchFilesByFormId: B,
|
|
10990
10993
|
fetchFileById: E,
|
|
10991
|
-
fetchTestsByProcessId:
|
|
10994
|
+
fetchTestsByProcessId: S,
|
|
10992
10995
|
createFile: R,
|
|
10993
10996
|
featureFlags: I,
|
|
10994
10997
|
consoleDashboardPageUrl: v,
|
|
10995
10998
|
isUserOrgOwnerOrAdmin: V,
|
|
10996
10999
|
organizationManagementPageUrl: P,
|
|
10997
|
-
currentDiagramRevision:
|
|
11000
|
+
currentDiagramRevision: D,
|
|
10998
11001
|
updateFileById: Q,
|
|
10999
11002
|
originAppInstanceId: O,
|
|
11000
11003
|
canUserSaveExampleData: X,
|
|
@@ -11052,7 +11055,7 @@ const $u = ({
|
|
|
11052
11055
|
xml: t,
|
|
11053
11056
|
consoleDashboardPageUrl: v,
|
|
11054
11057
|
clusterId: ne,
|
|
11055
|
-
currentDiagramRevision:
|
|
11058
|
+
currentDiagramRevision: D,
|
|
11056
11059
|
updateFileById: Q,
|
|
11057
11060
|
originAppInstanceId: O,
|
|
11058
11061
|
canUserSaveExampleData: X,
|
|
@@ -11073,7 +11076,7 @@ const $u = ({
|
|
|
11073
11076
|
n,
|
|
11074
11077
|
t,
|
|
11075
11078
|
v,
|
|
11076
|
-
|
|
11079
|
+
D,
|
|
11077
11080
|
Q,
|
|
11078
11081
|
O,
|
|
11079
11082
|
X,
|
|
@@ -11082,14 +11085,14 @@ const $u = ({
|
|
|
11082
11085
|
jA
|
|
11083
11086
|
]), F(() => {
|
|
11084
11087
|
x.init({
|
|
11085
|
-
fetchTestsByProcessId:
|
|
11088
|
+
fetchTestsByProcessId: S,
|
|
11086
11089
|
displayNotification: l,
|
|
11087
11090
|
createFile: R,
|
|
11088
11091
|
updateFileById: Q,
|
|
11089
11092
|
originAppInstanceId: O
|
|
11090
11093
|
});
|
|
11091
11094
|
}, [
|
|
11092
|
-
|
|
11095
|
+
S,
|
|
11093
11096
|
l,
|
|
11094
11097
|
O,
|
|
11095
11098
|
R,
|