@orchestrator-ui/orchestrator-ui-components 5.5.3 → 5.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -15304,10 +15304,10 @@ var require_jsstacktrace = __commonJS({
15304
15304
  var require_jsx = __commonJS({
15305
15305
  "../../node_modules/refractor/lang/jsx.js"(exports, module) {
15306
15306
  "use strict";
15307
- module.exports = jsx269;
15308
- jsx269.displayName = "jsx";
15309
- jsx269.aliases = [];
15310
- function jsx269(Prism) {
15307
+ module.exports = jsx271;
15308
+ jsx271.displayName = "jsx";
15309
+ jsx271.aliases = [];
15310
+ function jsx271(Prism) {
15311
15311
  ;
15312
15312
  (function(Prism2) {
15313
15313
  var javascript = Prism2.util.clone(Prism2.languages.javascript);
@@ -26800,7 +26800,7 @@ var PolicyResource = /* @__PURE__ */ ((PolicyResource2) => {
26800
26800
  })(PolicyResource || {});
26801
26801
 
26802
26802
  // src/configuration/version.ts
26803
- var ORCHESTRATOR_UI_LIBRARY_VERSION = "5.5.3";
26803
+ var ORCHESTRATOR_UI_LIBRARY_VERSION = "5.6.0";
26804
26804
 
26805
26805
  // src/types/types.ts
26806
26806
  var EngineStatus = /* @__PURE__ */ ((EngineStatus3) => {
@@ -44842,6 +44842,10 @@ var getAcceptFieldStyles = ({ theme }) => {
44842
44842
  label: {
44843
44843
  marginTop: 0
44844
44844
  }
44845
+ },
44846
+ ".labelTitle": {
44847
+ fontWeight: "600",
44848
+ color: theme.colors.text
44845
44849
  }
44846
44850
  }
44847
44851
  });
@@ -48684,7 +48688,7 @@ var WfoDropdownButton = ({
48684
48688
  };
48685
48689
 
48686
48690
  // src/components/WfoProcessList/WfoProcessesList.tsx
48687
- import { useTranslations as useTranslations76 } from "next-intl";
48691
+ import { useTranslations as useTranslations77 } from "next-intl";
48688
48692
  import Link12 from "next/link";
48689
48693
  import { useRouter as useRouter14 } from "next/router";
48690
48694
 
@@ -50324,13 +50328,13 @@ var WfoProcessDetailPage = ({
50324
50328
  };
50325
50329
 
50326
50330
  // src/pages/processes/WfoStartProcessPage.tsx
50327
- import { useCallback as useCallback8, useEffect as useEffect34, useMemo as useMemo6, useState as useState50 } from "react";
50328
- import { useTranslations as useTranslations68 } from "next-intl";
50331
+ import { useCallback as useCallback9, useEffect as useEffect34, useMemo as useMemo7, useState as useState50 } from "react";
50332
+ import { useTranslations as useTranslations69 } from "next-intl";
50329
50333
  import { useRouter as useRouter10 } from "next/router";
50330
50334
  import {
50331
50335
  EuiFlexGroup as EuiFlexGroup25,
50332
- EuiFlexItem as EuiFlexItem29,
50333
- EuiHorizontalRule as EuiHorizontalRule8,
50336
+ EuiFlexItem as EuiFlexItem30,
50337
+ EuiHorizontalRule as EuiHorizontalRule9,
50334
50338
  EuiPanel as EuiPanel5,
50335
50339
  EuiText as EuiText42
50336
50340
  } from "@elastic/eui";
@@ -50357,6 +50361,7 @@ import { useTranslations as useTranslations60 } from "next-intl";
50357
50361
  import { usePydanticFormContext } from "pydantic-forms";
50358
50362
  import { Fragment as Fragment49, jsx as jsx203, jsxs as jsxs108 } from "@emotion/react/jsx-runtime";
50359
50363
  var RenderFormErrors = () => {
50364
+ const { errorStyle } = useWithOrchestratorTheme(getCommonFormFieldStyles);
50360
50365
  const { errorDetails } = usePydanticFormContext();
50361
50366
  const t = useTranslations60("pydanticForms.userInputForm");
50362
50367
  if (!errorDetails) {
@@ -50365,7 +50370,7 @@ var RenderFormErrors = () => {
50365
50370
  const errors2 = errorDetails.source;
50366
50371
  const rootError = errors2.filter((err) => err.loc.includes("__root__")).shift();
50367
50372
  const otherErrors = errors2.filter((err) => !err.loc.includes("__root__"));
50368
- return /* @__PURE__ */ jsxs108("em", { className: "error backend-validation-metadata", children: [
50373
+ return /* @__PURE__ */ jsxs108("em", { css: errorStyle, children: [
50369
50374
  rootError && /* @__PURE__ */ jsx203("div", { children: rootError.msg }),
50370
50375
  otherErrors?.length >= 1 && t("inputFieldsHaveValidationErrors", {
50371
50376
  nrOfValidationErrors: otherErrors.length
@@ -50613,7 +50618,7 @@ var WfoSummary = ({ pydanticFormField }) => {
50613
50618
  const columns = summaryData?.columns || [];
50614
50619
  const extraColumnsData = columns.filter((_2, index) => index !== 0);
50615
50620
  const rows = columns[0].map((row, index) => /* @__PURE__ */ jsxs111("tr", { children: [
50616
- labels && /* @__PURE__ */ jsx212("td", { className: `label`, children: labels[index] }),
50621
+ labels && /* @__PURE__ */ jsx212("td", { className: `label`, children: getNestedSummaryLabel(labels, index) }),
50617
50622
  /* @__PURE__ */ jsx212("td", { className: `value`, children: typeof row === "string" && row.includes("<!doctype html>") ? /* @__PURE__ */ jsx212(
50618
50623
  "div",
50619
50624
  {
@@ -50621,7 +50626,7 @@ var WfoSummary = ({ pydanticFormField }) => {
50621
50626
  dangerouslySetInnerHTML: { __html: row }
50622
50627
  }
50623
50628
  ) : row }),
50624
- extraColumnsData && extraColumnsData.map((_2, idx) => /* @__PURE__ */ jsx212("td", { className: `value`, children: extraColumnsData[idx][index] }, idx))
50629
+ extraColumnsData && extraColumnsData.map((_2, idx) => /* @__PURE__ */ jsx212("td", { className: `value`, children: extraColumnsData[idx][index].toString() }, idx))
50625
50630
  ] }, index));
50626
50631
  const tableHeader = !headers || headers.length === 0 ? null : /* @__PURE__ */ jsxs111("tr", { children: [
50627
50632
  labels && /* @__PURE__ */ jsx212("th", {}),
@@ -51734,6 +51739,17 @@ var WfoMultiCheckboxField = ({
51734
51739
  );
51735
51740
  };
51736
51741
 
51742
+ // src/components/WfoPydanticForm/fields/wfoPydanticFormUtils.ts
51743
+ import { capitalize as capitalize3 } from "lodash";
51744
+ var getNestedSummaryLabel = (labels, index) => {
51745
+ const value = labels[index];
51746
+ if (typeof value === "object" && value !== null) {
51747
+ const firstKey = Object.keys(value)[0] ?? "";
51748
+ return capitalize3(firstKey);
51749
+ }
51750
+ return String(value);
51751
+ };
51752
+
51737
51753
  // src/components/WfoPydanticForm/WfoPydanticForm.tsx
51738
51754
  import { jsx as jsx220 } from "@emotion/react/jsx-runtime";
51739
51755
  var useWfoPydanticFormConfig = () => {
@@ -51991,18 +52007,63 @@ var WfoPydanticForm = ({
51991
52007
  };
51992
52008
 
51993
52009
  // src/components/WfoWorkflowSteps/WfoStep/WfoStep.tsx
51994
- import React71, { useState as useState46 } from "react";
51995
- import { useTranslations as useTranslations63 } from "next-intl";
52010
+ import React72, { useState as useState46 } from "react";
52011
+ import { useTranslations as useTranslations64 } from "next-intl";
51996
52012
  import {
51997
- EuiButton as EuiButton12,
52013
+ EuiButton as EuiButton13,
51998
52014
  EuiFlexGroup as EuiFlexGroup22,
51999
- EuiFlexItem as EuiFlexItem27,
52015
+ EuiFlexItem as EuiFlexItem28,
52000
52016
  EuiPanel as EuiPanel4,
52001
52017
  EuiText as EuiText37
52002
52018
  } from "@elastic/eui";
52003
52019
 
52004
- // src/components/WfoWorkflowSteps/WfoStepStatusIcon/WfoStepStatusIcon.tsx
52020
+ // src/components/WfoWorkflowSteps/WfoStep/WfoStepFormOld.tsx
52021
+ import { useState as useState45 } from "react";
52005
52022
  import { EuiFlexItem as EuiFlexItem25 } from "@elastic/eui";
52023
+ import { jsx as jsx221 } from "@emotion/react/jsx-runtime";
52024
+ var WfoStepFormOld = ({
52025
+ userInputForm,
52026
+ isTask,
52027
+ processId,
52028
+ userPermissions
52029
+ }) => {
52030
+ const [isProcessing, setIsProcessing] = useState45(false);
52031
+ const [hasError, setHasError] = useState45(false);
52032
+ const { theme } = useOrchestratorTheme();
52033
+ const [resumeProcess] = useResumeProcessMutation();
52034
+ const submitForm = (processInput) => {
52035
+ if (!processId) {
52036
+ return Promise.reject();
52037
+ }
52038
+ return resumeProcess({ processId, userInputs: processInput }).unwrap().then(() => {
52039
+ setIsProcessing(true);
52040
+ }).catch((error) => {
52041
+ if (error?.status !== 510 /* FormNotComplete */) {
52042
+ if (error?.status === 400 /* BadRequest */) {
52043
+ throw error;
52044
+ }
52045
+ console.error(error);
52046
+ setHasError(true);
52047
+ } else {
52048
+ throw error;
52049
+ }
52050
+ });
52051
+ };
52052
+ return /* @__PURE__ */ jsx221(EuiFlexItem25, { css: { margin: theme.size.m }, children: hasError && /* @__PURE__ */ jsx221(WfoError, {}) || isProcessing && /* @__PURE__ */ jsx221(WfoLoading, {}) || /* @__PURE__ */ jsx221(
52053
+ UserInputFormWizard,
52054
+ {
52055
+ stepUserInput: userInputForm,
52056
+ stepSubmit: submitForm,
52057
+ hasNext: false,
52058
+ isTask,
52059
+ isResuming: true,
52060
+ allowSubmit: userPermissions.resumeAllowed
52061
+ }
52062
+ ) });
52063
+ };
52064
+
52065
+ // src/components/WfoWorkflowSteps/WfoStepStatusIcon/WfoStepStatusIcon.tsx
52066
+ import { EuiFlexItem as EuiFlexItem26 } from "@elastic/eui";
52006
52067
 
52007
52068
  // src/components/WfoWorkflowSteps/styles.ts
52008
52069
  import { css as css40 } from "@emotion/react";
@@ -52113,26 +52174,26 @@ var getWorkflowStepsStyles = ({
52113
52174
  };
52114
52175
 
52115
52176
  // src/components/WfoWorkflowSteps/WfoStepStatusIcon/WfoStepStatusIcon.tsx
52116
- import { jsx as jsx221, jsxs as jsxs114 } from "@emotion/react/jsx-runtime";
52177
+ import { jsx as jsx222, jsxs as jsxs114 } from "@emotion/react/jsx-runtime";
52117
52178
  var SubIcon = ({ stepStatus, color = "" }) => {
52118
52179
  switch (stepStatus) {
52119
52180
  case "suspend" /* SUSPEND */:
52120
- return /* @__PURE__ */ jsx221(WfoMinusCircleFill, { color });
52181
+ return /* @__PURE__ */ jsx222(WfoMinusCircleFill, { color });
52121
52182
  case "failed" /* FAILED */:
52122
- return /* @__PURE__ */ jsx221(WfoXCircleFill, { color });
52183
+ return /* @__PURE__ */ jsx222(WfoXCircleFill, { color });
52123
52184
  default:
52124
- return /* @__PURE__ */ jsx221(WfoCheckmarkCircleFill, { color });
52185
+ return /* @__PURE__ */ jsx222(WfoCheckmarkCircleFill, { color });
52125
52186
  }
52126
52187
  };
52127
52188
  var MainIcon = ({ stepStatus, color = "", isStartStep }) => {
52128
52189
  if (isStartStep) {
52129
- return /* @__PURE__ */ jsx221(WfoPlayFill, { color });
52190
+ return /* @__PURE__ */ jsx222(WfoPlayFill, { color });
52130
52191
  }
52131
52192
  switch (stepStatus) {
52132
52193
  case "form" /* FORM */:
52133
- return /* @__PURE__ */ jsx221(WfoPencilAlt, { color });
52194
+ return /* @__PURE__ */ jsx222(WfoPencilAlt, { color });
52134
52195
  default:
52135
- return /* @__PURE__ */ jsx221(WfoCogFill, { color, width: 16, height: 16 });
52196
+ return /* @__PURE__ */ jsx222(WfoCogFill, { color, width: 16, height: 16 });
52136
52197
  }
52137
52198
  };
52138
52199
  var WfoStepStatusIcon = ({
@@ -52187,8 +52248,8 @@ var WfoStepStatusIcon = ({
52187
52248
  ];
52188
52249
  }
52189
52250
  })();
52190
- return /* @__PURE__ */ jsxs114(EuiFlexItem25, { css: { flexDirection: "row" }, grow: 0, children: [
52191
- /* @__PURE__ */ jsx221("div", { css: stepStateStyle, children: /* @__PURE__ */ jsx221(
52251
+ return /* @__PURE__ */ jsxs114(EuiFlexItem26, { css: { flexDirection: "row" }, grow: 0, children: [
52252
+ /* @__PURE__ */ jsx222("div", { css: stepStateStyle, children: /* @__PURE__ */ jsx222(
52192
52253
  MainIcon,
52193
52254
  {
52194
52255
  color: mainIconColor,
@@ -52196,7 +52257,7 @@ var WfoStepStatusIcon = ({
52196
52257
  isStartStep
52197
52258
  }
52198
52259
  ) }),
52199
- /* @__PURE__ */ jsx221(
52260
+ /* @__PURE__ */ jsx222(
52200
52261
  "div",
52201
52262
  {
52202
52263
  css: {
@@ -52204,7 +52265,7 @@ var WfoStepStatusIcon = ({
52204
52265
  width: `${theme.base}`,
52205
52266
  visibility: hasSubIcon ? "visible" : "hidden"
52206
52267
  },
52207
- children: /* @__PURE__ */ jsx221(SubIcon, { color: subIconColor, stepStatus })
52268
+ children: /* @__PURE__ */ jsx222(SubIcon, { color: subIconColor, stepStatus })
52208
52269
  }
52209
52270
  )
52210
52271
  ] });
@@ -52233,53 +52294,118 @@ var getStepContent = (stepDelta, showHiddenKeys) => {
52233
52294
  };
52234
52295
 
52235
52296
  // src/components/WfoWorkflowSteps/WfoStep/WfoStepForm.tsx
52236
- import { useState as useState45 } from "react";
52237
- import { EuiFlexItem as EuiFlexItem26 } from "@elastic/eui";
52238
- import { jsx as jsx222 } from "@emotion/react/jsx-runtime";
52297
+ import { useCallback as useCallback7, useMemo as useMemo5 } from "react";
52298
+ import { PydanticForm as PydanticForm3 } from "pydantic-forms";
52299
+ import { EuiFlexItem as EuiFlexItem27 } from "@elastic/eui";
52300
+
52301
+ // src/components/WfoWorkflowSteps/WfoStep/WfoStepFormFooter.tsx
52302
+ import { useTranslations as useTranslations63 } from "next-intl";
52303
+ import { EuiButton as EuiButton12, EuiHorizontalRule as EuiHorizontalRule8 } from "@elastic/eui";
52304
+ import { jsx as jsx223, jsxs as jsxs115 } from "@emotion/react/jsx-runtime";
52305
+ var StepFormFooter = ({
52306
+ isTask,
52307
+ isResumeAllowed
52308
+ }) => {
52309
+ const t = useTranslations63("pydanticForms.userInputForm");
52310
+ const SubmitButton = () => {
52311
+ const submitButtonLabel = isTask ? t("resumeTask") : t("resumeWorkflow");
52312
+ return /* @__PURE__ */ jsx223(
52313
+ EuiButton12,
52314
+ {
52315
+ "data-testid": "button-submit-form-submit",
52316
+ id: "button-submit-form-submit",
52317
+ tabIndex: 0,
52318
+ fill: true,
52319
+ color: "primary",
52320
+ iconType: () => /* @__PURE__ */ jsx223(
52321
+ WfoPlayCircle,
52322
+ {
52323
+ color: "currentColor",
52324
+ width: "18",
52325
+ height: "18"
52326
+ }
52327
+ ),
52328
+ iconSide: "right",
52329
+ type: "submit",
52330
+ "aria-label": submitButtonLabel,
52331
+ disabled: !isResumeAllowed,
52332
+ children: submitButtonLabel
52333
+ }
52334
+ );
52335
+ };
52336
+ return /* @__PURE__ */ jsxs115("div", { "data-testid": "pydantic-step-form-footer", children: [
52337
+ /* @__PURE__ */ jsx223(RenderFormErrors, {}),
52338
+ /* @__PURE__ */ jsx223(EuiHorizontalRule8, {}),
52339
+ /* @__PURE__ */ jsx223("div", { style: { display: "flex", justifyContent: "flex-end" }, children: /* @__PURE__ */ jsx223(SubmitButton, {}) })
52340
+ ] });
52341
+ };
52342
+
52343
+ // src/components/WfoWorkflowSteps/WfoStep/WfoStepForm.tsx
52344
+ import { jsx as jsx224 } from "@emotion/react/jsx-runtime";
52239
52345
  var WfoStepForm = ({
52240
52346
  userInputForm,
52241
52347
  isTask,
52242
52348
  processId,
52243
52349
  userPermissions
52244
52350
  }) => {
52245
- const [isProcessing, setIsProcessing] = useState45(false);
52246
- const [hasError, setHasError] = useState45(false);
52247
52351
  const { theme } = useOrchestratorTheme();
52352
+ const {
52353
+ wfoComponentMatcherExtender,
52354
+ pydanticLabelProvider,
52355
+ customTranslations
52356
+ } = useWfoPydanticFormConfig();
52248
52357
  const [resumeProcess] = useResumeProcessMutation();
52249
- const submitForm = (processInput) => {
52250
- if (!processId) {
52251
- return Promise.reject();
52252
- }
52253
- return resumeProcess({ processId, userInputs: processInput }).unwrap().then(() => {
52254
- setIsProcessing(true);
52255
- }).catch((error) => {
52256
- if (error?.status !== 510 /* FormNotComplete */) {
52257
- if (error?.status === 400 /* BadRequest */) {
52258
- throw error;
52358
+ const getInitialStepInput = useMemo5(() => userInputForm, [userInputForm]);
52359
+ const getStepFormProvider = useCallback7(
52360
+ () => async ({ requestBody = [] }) => {
52361
+ if (requestBody.length === 0) {
52362
+ return {
52363
+ form: getInitialStepInput,
52364
+ meta: { hasNext: false }
52365
+ };
52366
+ }
52367
+ return resumeProcess({ processId, userInputs: requestBody }).unwrap().catch((error) => {
52368
+ if (error.status === 502 /* BadGateway */) {
52369
+ return {};
52370
+ } else if (error.status === 510 /* FormNotComplete */) {
52371
+ return error.data;
52372
+ } else if (error.status === 400 /* BadRequest */) {
52373
+ return {
52374
+ ...error.data,
52375
+ status: error.status
52376
+ };
52259
52377
  }
52260
- console.error(error);
52261
- setHasError(true);
52262
- } else {
52263
52378
  throw error;
52264
- }
52265
- });
52266
- };
52267
- return /* @__PURE__ */ jsx222(EuiFlexItem26, { css: { margin: theme.size.m }, children: hasError && /* @__PURE__ */ jsx222(WfoError, {}) || isProcessing && /* @__PURE__ */ jsx222(WfoLoading, {}) || /* @__PURE__ */ jsx222(
52268
- UserInputFormWizard,
52379
+ });
52380
+ },
52381
+ [getInitialStepInput, processId, resumeProcess]
52382
+ );
52383
+ return /* @__PURE__ */ jsx224(EuiFlexItem27, { css: { margin: theme.size.m }, children: /* @__PURE__ */ jsx224(
52384
+ PydanticForm3,
52269
52385
  {
52270
- stepUserInput: userInputForm,
52271
- stepSubmit: submitForm,
52272
- hasNext: false,
52273
- isTask,
52274
- isResuming: true,
52275
- allowSubmit: userPermissions.resumeAllowed
52386
+ formKey: processId,
52387
+ config: {
52388
+ apiProvider: getStepFormProvider(),
52389
+ footerRenderer: () => /* @__PURE__ */ jsx224(
52390
+ StepFormFooter,
52391
+ {
52392
+ isTask,
52393
+ isResumeAllowed: userPermissions.resumeAllowed
52394
+ }
52395
+ ),
52396
+ headerRenderer: Header,
52397
+ componentMatcherExtender: wfoComponentMatcherExtender,
52398
+ rowRenderer: Row,
52399
+ labelProvider: pydanticLabelProvider,
52400
+ customTranslations
52401
+ }
52276
52402
  }
52277
52403
  ) });
52278
52404
  };
52279
52405
 
52280
52406
  // src/components/WfoWorkflowSteps/WfoStep/WfoStep.tsx
52281
- import { Fragment as Fragment51, jsx as jsx223, jsxs as jsxs115 } from "@emotion/react/jsx-runtime";
52282
- var WfoStep = React71.forwardRef(
52407
+ import { Fragment as Fragment51, jsx as jsx225, jsxs as jsxs116 } from "@emotion/react/jsx-runtime";
52408
+ var WfoStep = React72.forwardRef(
52283
52409
  ({
52284
52410
  stepListItem,
52285
52411
  onToggleStepDetail,
@@ -52303,7 +52429,7 @@ var WfoStep = React71.forwardRef(
52303
52429
  stepRowStyle,
52304
52430
  getStepToggleExpandStyle
52305
52431
  } = useWithOrchestratorTheme(getWorkflowStepsStyles);
52306
- const t = useTranslations63("processes.steps");
52432
+ const t = useTranslations64("processes.steps");
52307
52433
  const hasHtmlMail = Object.prototype.hasOwnProperty.call(
52308
52434
  step?.stateDelta || {},
52309
52435
  "confirmation_mail"
@@ -52314,29 +52440,29 @@ var WfoStep = React71.forwardRef(
52314
52440
  if (!value) {
52315
52441
  return "";
52316
52442
  }
52317
- return /* @__PURE__ */ jsxs115(EuiText37, { size: "s", children: [
52318
- /* @__PURE__ */ jsx223("h4", { children: "To" }),
52319
- /* @__PURE__ */ jsx223("p", { children: value.to.map(
52320
- (v, i) => /* @__PURE__ */ jsxs115("div", { children: [
52443
+ return /* @__PURE__ */ jsxs116(EuiText37, { size: "s", children: [
52444
+ /* @__PURE__ */ jsx225("h4", { children: "To" }),
52445
+ /* @__PURE__ */ jsx225("p", { children: value.to.map(
52446
+ (v, i) => /* @__PURE__ */ jsxs116("div", { children: [
52321
52447
  v.name,
52322
52448
  " <",
52323
- /* @__PURE__ */ jsx223("a", { href: `mailto: ${v.email}`, children: v.email }),
52449
+ /* @__PURE__ */ jsx225("a", { href: `mailto: ${v.email}`, children: v.email }),
52324
52450
  ">"
52325
52451
  ] }, `to-${i}`)
52326
52452
  ) }),
52327
- /* @__PURE__ */ jsx223("h4", { children: "CC" }),
52328
- /* @__PURE__ */ jsx223("p", { children: value.cc.map(
52329
- (v, i) => /* @__PURE__ */ jsxs115("div", { children: [
52453
+ /* @__PURE__ */ jsx225("h4", { children: "CC" }),
52454
+ /* @__PURE__ */ jsx225("p", { children: value.cc.map(
52455
+ (v, i) => /* @__PURE__ */ jsxs116("div", { children: [
52330
52456
  v.name,
52331
52457
  " <",
52332
- /* @__PURE__ */ jsx223("a", { href: `mailto: ${v.email}`, children: v.email }),
52458
+ /* @__PURE__ */ jsx225("a", { href: `mailto: ${v.email}`, children: v.email }),
52333
52459
  ">"
52334
52460
  ] }, `cc-${i}`)
52335
52461
  ) }),
52336
- /* @__PURE__ */ jsx223("h4", { children: "Subject" }),
52337
- /* @__PURE__ */ jsx223("p", { children: value.subject }),
52338
- /* @__PURE__ */ jsx223("h4", { children: "Message" }),
52339
- /* @__PURE__ */ jsx223(
52462
+ /* @__PURE__ */ jsx225("h4", { children: "Subject" }),
52463
+ /* @__PURE__ */ jsx225("p", { children: value.subject }),
52464
+ /* @__PURE__ */ jsx225("h4", { children: "Message" }),
52465
+ /* @__PURE__ */ jsx225(
52340
52466
  "div",
52341
52467
  {
52342
52468
  className: "emailMessage",
@@ -52345,31 +52471,35 @@ var WfoStep = React71.forwardRef(
52345
52471
  )
52346
52472
  ] });
52347
52473
  };
52348
- return /* @__PURE__ */ jsx223("div", { ref, children: /* @__PURE__ */ jsxs115(EuiPanel4, { children: [
52349
- /* @__PURE__ */ jsxs115(
52474
+ const whitelist = ["confirm_corelink"];
52475
+ const isCorelinkForm = whitelist.includes(
52476
+ Object.keys(userInputForm?.properties ?? {})[0]
52477
+ );
52478
+ return /* @__PURE__ */ jsx225("div", { ref, children: /* @__PURE__ */ jsxs116(EuiPanel4, { children: [
52479
+ /* @__PURE__ */ jsxs116(
52350
52480
  EuiFlexGroup22,
52351
52481
  {
52352
52482
  css: getStepHeaderStyle(hasStepContent),
52353
52483
  onClick: () => hasStepContent && onToggleStepDetail(),
52354
52484
  children: [
52355
- /* @__PURE__ */ jsx223(
52485
+ /* @__PURE__ */ jsx225(
52356
52486
  WfoStepStatusIcon,
52357
52487
  {
52358
52488
  stepStatus: step.status,
52359
52489
  isStartStep
52360
52490
  }
52361
52491
  ),
52362
- /* @__PURE__ */ jsxs115(EuiFlexItem27, { grow: 0, children: [
52363
- /* @__PURE__ */ jsx223(EuiText37, { css: stepListContentBoldTextStyle, children: step.name }),
52364
- /* @__PURE__ */ jsxs115(EuiText37, { children: [
52492
+ /* @__PURE__ */ jsxs116(EuiFlexItem28, { grow: 0, children: [
52493
+ /* @__PURE__ */ jsx225(EuiText37, { css: stepListContentBoldTextStyle, children: step.name }),
52494
+ /* @__PURE__ */ jsxs116(EuiText37, { children: [
52365
52495
  step.status,
52366
52496
  " ",
52367
52497
  step.completed && `- ${formatDate(step.completed)}`
52368
52498
  ] })
52369
52499
  ] }),
52370
- /* @__PURE__ */ jsx223(EuiFlexGroup22, { css: stepRowStyle, children: step.completed && /* @__PURE__ */ jsxs115(Fragment51, { children: [
52371
- isExpanded && /* @__PURE__ */ jsx223(
52372
- EuiButton12,
52500
+ /* @__PURE__ */ jsx225(EuiFlexGroup22, { css: stepRowStyle, children: step.completed && /* @__PURE__ */ jsxs116(Fragment51, { children: [
52501
+ isExpanded && /* @__PURE__ */ jsx225(
52502
+ EuiButton13,
52373
52503
  {
52374
52504
  onClick: (event) => {
52375
52505
  setTableView(!tableView);
@@ -52381,33 +52511,33 @@ var WfoStep = React71.forwardRef(
52381
52511
  )
52382
52512
  }
52383
52513
  ),
52384
- /* @__PURE__ */ jsxs115(
52385
- EuiFlexItem27,
52514
+ /* @__PURE__ */ jsxs116(
52515
+ EuiFlexItem28,
52386
52516
  {
52387
52517
  grow: 0,
52388
52518
  css: stepHeaderRightStyle,
52389
52519
  children: [
52390
- /* @__PURE__ */ jsx223(EuiText37, { css: stepDurationStyle, children: t("duration") }),
52391
- /* @__PURE__ */ jsx223(EuiText37, { size: "m", children: calculateTimeDifference(
52520
+ /* @__PURE__ */ jsx225(EuiText37, { css: stepDurationStyle, children: t("duration") }),
52521
+ /* @__PURE__ */ jsx225(EuiText37, { size: "m", children: calculateTimeDifference(
52392
52522
  startedAt,
52393
52523
  completedAt
52394
52524
  ) })
52395
52525
  ]
52396
52526
  }
52397
52527
  ),
52398
- /* @__PURE__ */ jsx223(
52399
- EuiFlexItem27,
52528
+ /* @__PURE__ */ jsx225(
52529
+ EuiFlexItem28,
52400
52530
  {
52401
52531
  grow: 0,
52402
52532
  css: getStepToggleExpandStyle(
52403
52533
  hasStepContent
52404
52534
  ),
52405
- children: isExpanded && /* @__PURE__ */ jsx223(
52535
+ children: isExpanded && /* @__PURE__ */ jsx225(
52406
52536
  WfoChevronUp,
52407
52537
  {
52408
52538
  color: theme.colors.text
52409
52539
  }
52410
- ) || /* @__PURE__ */ jsx223(
52540
+ ) || /* @__PURE__ */ jsx225(
52411
52541
  WfoChevronDown,
52412
52542
  {
52413
52543
  color: theme.colors.text
@@ -52419,28 +52549,36 @@ var WfoStep = React71.forwardRef(
52419
52549
  ]
52420
52550
  }
52421
52551
  ),
52422
- hasStepContent && !hasHtmlMail && isExpanded && (tableView ? /* @__PURE__ */ jsx223(WfoTableCodeBlock, { stepState: stepContent }) : /* @__PURE__ */ jsx223(WfoJsonCodeBlock, { data: stepContent })),
52423
- isExpanded && hasHtmlMail && /* @__PURE__ */ jsx223("div", { css: stepEmailContainerStyle, children: displayMailConfirmation(
52552
+ hasStepContent && !hasHtmlMail && isExpanded && (tableView ? /* @__PURE__ */ jsx225(WfoTableCodeBlock, { stepState: stepContent }) : /* @__PURE__ */ jsx225(WfoJsonCodeBlock, { data: stepContent })),
52553
+ isExpanded && hasHtmlMail && /* @__PURE__ */ jsx225("div", { css: stepEmailContainerStyle, children: displayMailConfirmation(
52424
52554
  step.stateDelta.confirmation_mail
52425
52555
  ) }),
52426
- step.status === "suspend" /* SUSPEND */ && userInputForm && /* @__PURE__ */ jsx223(
52556
+ step.status === "suspend" /* SUSPEND */ && userInputForm && (isCorelinkForm ? /* @__PURE__ */ jsx225(
52427
52557
  WfoStepForm,
52558
+ {
52559
+ userInputForm,
52560
+ isTask,
52561
+ processId: processId ?? "",
52562
+ userPermissions
52563
+ }
52564
+ ) : /* @__PURE__ */ jsx225(
52565
+ WfoStepFormOld,
52428
52566
  {
52429
52567
  userInputForm,
52430
52568
  isTask,
52431
52569
  processId,
52432
52570
  userPermissions
52433
52571
  }
52434
- )
52572
+ ))
52435
52573
  ] }) });
52436
52574
  }
52437
52575
  );
52438
52576
  WfoStep.displayName = "WfoStep";
52439
52577
 
52440
52578
  // src/components/WfoWorkflowSteps/WfoStepList/WfoStepList.tsx
52441
- import React72, { useImperativeHandle as useImperativeHandle2, useRef as useRef12 } from "react";
52442
- import { Fragment as Fragment52, jsx as jsx224, jsxs as jsxs116 } from "@emotion/react/jsx-runtime";
52443
- var WfoStepList = React72.forwardRef(
52579
+ import React73, { useImperativeHandle as useImperativeHandle2, useRef as useRef12 } from "react";
52580
+ import { Fragment as Fragment52, jsx as jsx226, jsxs as jsxs117 } from "@emotion/react/jsx-runtime";
52581
+ var WfoStepList = React73.forwardRef(
52444
52582
  ({
52445
52583
  stepListItems,
52446
52584
  showHiddenKeys,
@@ -52495,9 +52633,9 @@ var WfoStepList = React72.forwardRef(
52495
52633
  stepReferences.current.delete(stepId);
52496
52634
  }
52497
52635
  };
52498
- return /* @__PURE__ */ jsx224(Fragment52, { children: stepListItems.map((stepListItem, index) => /* @__PURE__ */ jsxs116("div", { children: [
52499
- index !== 0 && /* @__PURE__ */ jsx224("div", { css: stepSpacerStyle }),
52500
- /* @__PURE__ */ jsx224(
52636
+ return /* @__PURE__ */ jsx226(Fragment52, { children: stepListItems.map((stepListItem, index) => /* @__PURE__ */ jsxs117("div", { children: [
52637
+ index !== 0 && /* @__PURE__ */ jsx226("div", { css: stepSpacerStyle }),
52638
+ /* @__PURE__ */ jsx226(
52501
52639
  WfoStep,
52502
52640
  {
52503
52641
  ref: getReferenceCallbackForStepId(
@@ -52520,21 +52658,21 @@ var WfoStepList = React72.forwardRef(
52520
52658
  WfoStepList.displayName = "WfoStepList";
52521
52659
 
52522
52660
  // src/components/WfoWorkflowSteps/WfoWorkflowStepList/WfoWorkflowStepList.tsx
52523
- import React74, { useEffect as useEffect33, useState as useState48 } from "react";
52524
- import { useTranslations as useTranslations66 } from "next-intl";
52661
+ import React75, { useEffect as useEffect33, useState as useState48 } from "react";
52662
+ import { useTranslations as useTranslations67 } from "next-intl";
52525
52663
 
52526
52664
  // src/components/WfoDiff/WfoDiff.tsx
52527
52665
  var refractor = __toESM(require_refractor(), 1);
52528
- import { useCallback as useCallback7, useEffect as useEffect32, useMemo as useMemo5, useState as useState47 } from "react";
52666
+ import { useCallback as useCallback8, useEffect as useEffect32, useMemo as useMemo6, useState as useState47 } from "react";
52529
52667
  import { Diff, Hunk, parseDiff, tokenize } from "react-diff-view";
52530
52668
  import "react-diff-view/style/index.css";
52531
- import { useTranslations as useTranslations64 } from "next-intl";
52669
+ import { useTranslations as useTranslations65 } from "next-intl";
52532
52670
  import "prism-themes/themes/prism-ghcolors.min.css";
52533
52671
  import { diffLines, formatLines } from "unidiff";
52534
52672
  import {
52535
52673
  EuiButtonIcon as EuiButtonIcon12,
52536
52674
  EuiFlexGroup as EuiFlexGroup23,
52537
- EuiFlexItem as EuiFlexItem28,
52675
+ EuiFlexItem as EuiFlexItem29,
52538
52676
  EuiSpacer as EuiSpacer20,
52539
52677
  EuiText as EuiText38
52540
52678
  } from "@elastic/eui";
@@ -52576,12 +52714,12 @@ var getWfoDiffStyles = ({
52576
52714
  };
52577
52715
 
52578
52716
  // src/components/WfoDiff/WfoDiff.tsx
52579
- import { jsx as jsx225, jsxs as jsxs117 } from "@emotion/react/jsx-runtime";
52717
+ import { jsx as jsx227, jsxs as jsxs118 } from "@emotion/react/jsx-runtime";
52580
52718
  var EMPTY_HUNKS = [];
52581
52719
  var SMALL_CONTEXT = 3;
52582
52720
  var FULL_CONTEXT = 1e6;
52583
52721
  var WfoDiff = ({ oldText, newText, syntax }) => {
52584
- const t = useTranslations64("processes.delta");
52722
+ const t = useTranslations65("processes.delta");
52585
52723
  const [showSplit, setShowSplit] = useState47(true);
52586
52724
  const [showFull, setShowFull] = useState47(false);
52587
52725
  const { diffStyle } = useWithOrchestratorTheme(getWfoDiffStyles);
@@ -52589,14 +52727,14 @@ var WfoDiff = ({ oldText, newText, syntax }) => {
52589
52727
  type: "modify",
52590
52728
  hunks: []
52591
52729
  });
52592
- const updateDiffText = useCallback7(() => {
52730
+ const updateDiffText = useCallback8(() => {
52593
52731
  const diffText = formatLines(diffLines(oldText, newText), {
52594
52732
  context: showFull ? FULL_CONTEXT : SMALL_CONTEXT
52595
52733
  });
52596
52734
  const [diff] = parseDiff(diffText, { nearbySequences: "zip" });
52597
52735
  setDiff(diff);
52598
52736
  }, [oldText, newText, setDiff, showFull]);
52599
- const tokens = useMemo5(() => {
52737
+ const tokens = useMemo6(() => {
52600
52738
  if (!hunks) {
52601
52739
  return void 0;
52602
52740
  }
@@ -52614,10 +52752,10 @@ var WfoDiff = ({ oldText, newText, syntax }) => {
52614
52752
  useEffect32(() => {
52615
52753
  updateDiffText();
52616
52754
  }, [updateDiffText, showFull]);
52617
- return /* @__PURE__ */ jsxs117("div", { children: [
52618
- /* @__PURE__ */ jsxs117(EuiFlexGroup23, { gutterSize: "xs", children: [
52619
- /* @__PURE__ */ jsx225(EuiFlexItem28, { grow: false, children: /* @__PURE__ */ jsx225(EuiText38, { children: /* @__PURE__ */ jsx225("h3", { children: t("title") }) }) }),
52620
- /* @__PURE__ */ jsx225(EuiFlexItem28, { grow: false, children: /* @__PURE__ */ jsx225(
52755
+ return /* @__PURE__ */ jsxs118("div", { children: [
52756
+ /* @__PURE__ */ jsxs118(EuiFlexGroup23, { gutterSize: "xs", children: [
52757
+ /* @__PURE__ */ jsx227(EuiFlexItem29, { grow: false, children: /* @__PURE__ */ jsx227(EuiText38, { children: /* @__PURE__ */ jsx227("h3", { children: t("title") }) }) }),
52758
+ /* @__PURE__ */ jsx227(EuiFlexItem29, { grow: false, children: /* @__PURE__ */ jsx227(
52621
52759
  EuiButtonIcon12,
52622
52760
  {
52623
52761
  size: "s",
@@ -52628,7 +52766,7 @@ var WfoDiff = ({ oldText, newText, syntax }) => {
52628
52766
  )
52629
52767
  }
52630
52768
  ) }),
52631
- /* @__PURE__ */ jsx225(EuiFlexItem28, { grow: false, children: /* @__PURE__ */ jsx225(
52769
+ /* @__PURE__ */ jsx227(EuiFlexItem29, { grow: false, children: /* @__PURE__ */ jsx227(
52632
52770
  EuiButtonIcon12,
52633
52771
  {
52634
52772
  size: "s",
@@ -52640,8 +52778,8 @@ var WfoDiff = ({ oldText, newText, syntax }) => {
52640
52778
  }
52641
52779
  ) })
52642
52780
  ] }),
52643
- /* @__PURE__ */ jsx225(EuiSpacer20, {}),
52644
- /* @__PURE__ */ jsx225(
52781
+ /* @__PURE__ */ jsx227(EuiSpacer20, {}),
52782
+ /* @__PURE__ */ jsx227(
52645
52783
  Diff,
52646
52784
  {
52647
52785
  css: diffStyle,
@@ -52649,7 +52787,7 @@ var WfoDiff = ({ oldText, newText, syntax }) => {
52649
52787
  diffType: type,
52650
52788
  hunks: hunks || EMPTY_HUNKS,
52651
52789
  tokens,
52652
- children: (hunks2) => hunks2.map((hunk) => /* @__PURE__ */ jsx225(Hunk, { hunk }, hunk.content))
52790
+ children: (hunks2) => hunks2.map((hunk) => /* @__PURE__ */ jsx227(Hunk, { hunk }, hunk.content))
52653
52791
  }
52654
52792
  )
52655
52793
  ] });
@@ -52657,7 +52795,7 @@ var WfoDiff = ({ oldText, newText, syntax }) => {
52657
52795
  var WfoDiff_default = WfoDiff;
52658
52796
 
52659
52797
  // src/components/WfoWorkflowSteps/WfoTraceback/WfoTraceback.tsx
52660
- import { useTranslations as useTranslations65 } from "next-intl";
52798
+ import { useTranslations as useTranslations66 } from "next-intl";
52661
52799
  import { EuiCodeBlock, EuiText as EuiText39 } from "@elastic/eui";
52662
52800
 
52663
52801
  // src/components/WfoWorkflowSteps/WfoTraceback/styles.ts
@@ -52674,21 +52812,21 @@ var getStyles10 = ({ theme }) => {
52674
52812
  };
52675
52813
 
52676
52814
  // src/components/WfoWorkflowSteps/WfoTraceback/WfoTraceback.tsx
52677
- import { Fragment as Fragment53, jsx as jsx226, jsxs as jsxs118 } from "@emotion/react/jsx-runtime";
52815
+ import { Fragment as Fragment53, jsx as jsx228, jsxs as jsxs119 } from "@emotion/react/jsx-runtime";
52678
52816
  var WfoTraceback = ({ children }) => {
52679
52817
  const { codeBlockStyle } = useWithOrchestratorTheme(getStyles10);
52680
- const t = useTranslations65("processes.steps");
52681
- return /* @__PURE__ */ jsxs118(Fragment53, { children: [
52682
- /* @__PURE__ */ jsx226(EuiText39, { children: /* @__PURE__ */ jsx226("h3", { children: t("traceback") }) }),
52683
- /* @__PURE__ */ jsx226(EuiCodeBlock, { css: codeBlockStyle, children })
52818
+ const t = useTranslations66("processes.steps");
52819
+ return /* @__PURE__ */ jsxs119(Fragment53, { children: [
52820
+ /* @__PURE__ */ jsx228(EuiText39, { children: /* @__PURE__ */ jsx228("h3", { children: t("traceback") }) }),
52821
+ /* @__PURE__ */ jsx228(EuiCodeBlock, { css: codeBlockStyle, children })
52684
52822
  ] });
52685
52823
  };
52686
52824
 
52687
52825
  // src/components/WfoWorkflowSteps/WfoWorkflowStepList/WfoWorkflowStepList.tsx
52688
- import { Fragment as Fragment54, jsx as jsx227, jsxs as jsxs119 } from "@emotion/react/jsx-runtime";
52826
+ import { Fragment as Fragment54, jsx as jsx229, jsxs as jsxs120 } from "@emotion/react/jsx-runtime";
52689
52827
  var WfoProcessRawData = ({ processId }) => {
52690
52828
  const { data, isFetching } = useGetRawProcessDetailQuery({ processId });
52691
- return isFetching ? /* @__PURE__ */ jsx227(WfoLoading, {}) : /* @__PURE__ */ jsx227(WfoJsonCodeBlock, { data: data || {} });
52829
+ return isFetching ? /* @__PURE__ */ jsx229(WfoLoading, {}) : /* @__PURE__ */ jsx229(WfoJsonCodeBlock, { data: data || {} });
52692
52830
  };
52693
52831
  var WfoProcessSubscriptionDelta = ({
52694
52832
  processId
@@ -52699,7 +52837,7 @@ var WfoProcessSubscriptionDelta = ({
52699
52837
  const oldSubscriptions = data?.current_state?.__old_subscriptions__ || {};
52700
52838
  const oldSubscription = subscriptionId in oldSubscriptions ? oldSubscriptions[subscriptionId] : null;
52701
52839
  const oldText = oldSubscription || null;
52702
- return isFetching ? /* @__PURE__ */ jsx227(WfoLoading, {}) : /* @__PURE__ */ jsx227(
52840
+ return isFetching ? /* @__PURE__ */ jsx229(WfoLoading, {}) : /* @__PURE__ */ jsx229(
52703
52841
  WfoDiff_default,
52704
52842
  {
52705
52843
  oldText: oldText ? JSON.stringify(oldText, null, 2) : "",
@@ -52708,7 +52846,7 @@ var WfoProcessSubscriptionDelta = ({
52708
52846
  }
52709
52847
  );
52710
52848
  };
52711
- var WfoWorkflowStepList = React74.forwardRef(
52849
+ var WfoWorkflowStepList = React75.forwardRef(
52712
52850
  ({
52713
52851
  steps = [],
52714
52852
  lastStatus,
@@ -52722,7 +52860,7 @@ var WfoWorkflowStepList = React74.forwardRef(
52722
52860
  const [showRaw, setShowRaw] = useState48(false);
52723
52861
  const [showDelta, setShowDelta] = useState48(false);
52724
52862
  const [showTraceback, setShowTraceback] = useState48(false);
52725
- const t = useTranslations66("processes.steps");
52863
+ const t = useTranslations67("processes.steps");
52726
52864
  const initialStepListItems = steps.map((step) => ({
52727
52865
  step,
52728
52866
  isExpanded: false
@@ -52782,8 +52920,8 @@ var WfoWorkflowStepList = React74.forwardRef(
52782
52920
  "aborted" /* ABORTED */,
52783
52921
  "completed" /* COMPLETED */
52784
52922
  ].map((status) => status.toLowerCase()).includes(lastStatus.toLowerCase());
52785
- return /* @__PURE__ */ jsxs119(Fragment54, { children: [
52786
- /* @__PURE__ */ jsx227(
52923
+ return /* @__PURE__ */ jsxs120(Fragment54, { children: [
52924
+ /* @__PURE__ */ jsx229(
52787
52925
  WfoStepListHeader,
52788
52926
  {
52789
52927
  showHiddenKeys,
@@ -52801,10 +52939,10 @@ var WfoWorkflowStepList = React74.forwardRef(
52801
52939
  isRunningWorkflow
52802
52940
  }
52803
52941
  ),
52804
- showTraceback && /* @__PURE__ */ jsx227(WfoTraceback, { children: traceBack }),
52805
- showRaw && /* @__PURE__ */ jsx227(WfoProcessRawData, { processId }),
52806
- showDelta && /* @__PURE__ */ jsx227(WfoProcessSubscriptionDelta, { processId }),
52807
- !showRaw && !showDelta && /* @__PURE__ */ jsx227(
52942
+ showTraceback && /* @__PURE__ */ jsx229(WfoTraceback, { children: traceBack }),
52943
+ showRaw && /* @__PURE__ */ jsx229(WfoProcessRawData, { processId }),
52944
+ showDelta && /* @__PURE__ */ jsx229(WfoProcessSubscriptionDelta, { processId }),
52945
+ !showRaw && !showDelta && /* @__PURE__ */ jsx229(
52808
52946
  WfoStepList,
52809
52947
  {
52810
52948
  ref: reference,
@@ -52824,9 +52962,9 @@ WfoWorkflowStepList.displayName = "WfoWorkflowStepList";
52824
52962
 
52825
52963
  // src/components/WfoWorkflowSteps/WfoWorkflowStepList/WfoStepListHeader.tsx
52826
52964
  import { useState as useState49 } from "react";
52827
- import { useTranslations as useTranslations67 } from "next-intl";
52965
+ import { useTranslations as useTranslations68 } from "next-intl";
52828
52966
  import {
52829
- EuiButton as EuiButton13,
52967
+ EuiButton as EuiButton14,
52830
52968
  EuiFlexGroup as EuiFlexGroup24,
52831
52969
  EuiForm as EuiForm3,
52832
52970
  EuiFormRow as EuiFormRow23,
@@ -52855,14 +52993,14 @@ var getStyles11 = ({ theme }) => {
52855
52993
  };
52856
52994
 
52857
52995
  // src/components/WfoTextAnchor/WfoTextAnchor.tsx
52858
- import { jsx as jsx228 } from "@emotion/react/jsx-runtime";
52996
+ import { jsx as jsx230 } from "@emotion/react/jsx-runtime";
52859
52997
  var WfoTextAnchor = ({ text, onClick }) => {
52860
52998
  const { textAnchorStyle } = useWithOrchestratorTheme(getStyles11);
52861
- return /* @__PURE__ */ jsx228(EuiText40, { onClick, css: textAnchorStyle, children: text });
52999
+ return /* @__PURE__ */ jsx230(EuiText40, { onClick, css: textAnchorStyle, children: text });
52862
53000
  };
52863
53001
 
52864
53002
  // src/components/WfoWorkflowSteps/WfoWorkflowStepList/WfoStepListHeader.tsx
52865
- import { jsx as jsx229, jsxs as jsxs120 } from "@emotion/react/jsx-runtime";
53003
+ import { jsx as jsx231, jsxs as jsxs121 } from "@emotion/react/jsx-runtime";
52866
53004
  var WfoStepListHeader = ({
52867
53005
  allDetailToggleText,
52868
53006
  showDelta,
@@ -52878,7 +53016,7 @@ var WfoStepListHeader = ({
52878
53016
  onShowTraceback,
52879
53017
  onToggleAllDetailsIsOpen
52880
53018
  }) => {
52881
- const t = useTranslations67("processes.steps");
53019
+ const t = useTranslations68("processes.steps");
52882
53020
  const { theme } = useOrchestratorTheme();
52883
53021
  const {
52884
53022
  stepListHeaderStyle,
@@ -52889,20 +53027,20 @@ var WfoStepListHeader = ({
52889
53027
  const [isViewOptionOpen, setIsViewOptionOpen] = useState49(false);
52890
53028
  const onViewOptionClick = () => setIsViewOptionOpen((isViewOptionOpen2) => !isViewOptionOpen2);
52891
53029
  const closeViewOption = () => setIsViewOptionOpen(false);
52892
- const viewOptionButton = /* @__PURE__ */ jsx229(
52893
- EuiButton13,
53030
+ const viewOptionButton = /* @__PURE__ */ jsx231(
53031
+ EuiButton14,
52894
53032
  {
52895
53033
  onClick: onViewOptionClick,
52896
- iconType: () => /* @__PURE__ */ jsx229(WfoEyeFill, { color: theme.colors.link }),
53034
+ iconType: () => /* @__PURE__ */ jsx231(WfoEyeFill, { color: theme.colors.link }),
52897
53035
  iconSide: "right",
52898
53036
  size: "s",
52899
53037
  children: t("viewOptions")
52900
53038
  }
52901
53039
  );
52902
- return /* @__PURE__ */ jsxs120(EuiFlexGroup24, { css: stepListHeaderStyle, children: [
52903
- /* @__PURE__ */ jsxs120(EuiFlexGroup24, { css: stepListContentStyle, children: [
52904
- /* @__PURE__ */ jsx229(EuiText41, { css: stepListContentBoldTextStyle, children: t(isTask ? "taskSteps" : "workflowSteps") }),
52905
- !showRaw && /* @__PURE__ */ jsx229(
53040
+ return /* @__PURE__ */ jsxs121(EuiFlexGroup24, { css: stepListHeaderStyle, children: [
53041
+ /* @__PURE__ */ jsxs121(EuiFlexGroup24, { css: stepListContentStyle, children: [
53042
+ /* @__PURE__ */ jsx231(EuiText41, { css: stepListContentBoldTextStyle, children: t(isTask ? "taskSteps" : "workflowSteps") }),
53043
+ !showRaw && /* @__PURE__ */ jsx231(
52906
53044
  WfoTextAnchor,
52907
53045
  {
52908
53046
  text: allDetailToggleText,
@@ -52910,7 +53048,7 @@ var WfoStepListHeader = ({
52910
53048
  }
52911
53049
  )
52912
53050
  ] }),
52913
- /* @__PURE__ */ jsxs120(
53051
+ /* @__PURE__ */ jsxs121(
52914
53052
  EuiFlexGroup24,
52915
53053
  {
52916
53054
  justifyContent: "flexEnd",
@@ -52918,22 +53056,22 @@ var WfoStepListHeader = ({
52918
53056
  css: stepListOptionsContainerStyle,
52919
53057
  gutterSize: "s",
52920
53058
  children: [
52921
- showTracebackButton && /* @__PURE__ */ jsx229(
52922
- EuiButton13,
53059
+ showTracebackButton && /* @__PURE__ */ jsx231(
53060
+ EuiButton14,
52923
53061
  {
52924
53062
  onClick: () => onShowTraceback(!showTraceback),
52925
53063
  size: "s",
52926
53064
  children: showTraceback ? t("hideTraceback") : t("showTraceback")
52927
53065
  }
52928
53066
  ),
52929
- /* @__PURE__ */ jsx229(
52930
- EuiButton13,
53067
+ /* @__PURE__ */ jsx231(
53068
+ EuiButton14,
52931
53069
  {
52932
53070
  onClick: () => onChangeShowDelta(!showDelta),
52933
53071
  disabled: isRunningWorkflow,
52934
53072
  iconSide: "right",
52935
53073
  size: "s",
52936
- iconType: () => /* @__PURE__ */ jsx229(
53074
+ iconType: () => /* @__PURE__ */ jsx231(
52937
53075
  WfoCode,
52938
53076
  {
52939
53077
  color: isRunningWorkflow ? theme.colors.disabledText : theme.colors.link
@@ -52942,15 +53080,15 @@ var WfoStepListHeader = ({
52942
53080
  children: showDelta ? t("hideDelta") : t("showDelta")
52943
53081
  }
52944
53082
  ),
52945
- /* @__PURE__ */ jsx229(
53083
+ /* @__PURE__ */ jsx231(
52946
53084
  EuiPopover8,
52947
53085
  {
52948
53086
  button: viewOptionButton,
52949
53087
  isOpen: isViewOptionOpen,
52950
53088
  closePopover: closeViewOption,
52951
53089
  display: "block",
52952
- children: /* @__PURE__ */ jsx229("div", { children: /* @__PURE__ */ jsxs120(EuiForm3, { component: "form", children: [
52953
- /* @__PURE__ */ jsx229(EuiFormRow23, { children: /* @__PURE__ */ jsx229(
53090
+ children: /* @__PURE__ */ jsx231("div", { children: /* @__PURE__ */ jsxs121(EuiForm3, { component: "form", children: [
53091
+ /* @__PURE__ */ jsx231(EuiFormRow23, { children: /* @__PURE__ */ jsx231(
52954
53092
  EuiSwitch3,
52955
53093
  {
52956
53094
  label: "Hidden keys",
@@ -52963,7 +53101,7 @@ var WfoStepListHeader = ({
52963
53101
  }
52964
53102
  }
52965
53103
  ) }),
52966
- /* @__PURE__ */ jsx229(EuiFormRow23, { children: /* @__PURE__ */ jsx229(
53104
+ /* @__PURE__ */ jsx231(EuiFormRow23, { children: /* @__PURE__ */ jsx231(
52967
53105
  EuiSwitch3,
52968
53106
  {
52969
53107
  label: "Raw JSON data",
@@ -52984,7 +53122,7 @@ var WfoStepListHeader = ({
52984
53122
  };
52985
53123
 
52986
53124
  // src/pages/processes/WfoStartProcessPage.tsx
52987
- import { jsx as jsx230, jsxs as jsxs121 } from "@emotion/react/jsx-runtime";
53125
+ import { jsx as jsx232, jsxs as jsxs122 } from "@emotion/react/jsx-runtime";
52988
53126
  var getInitialProcessPayload = ({
52989
53127
  productId,
52990
53128
  subscriptionId
@@ -53004,7 +53142,7 @@ var WfoStartProcessPage = ({
53004
53142
  processName,
53005
53143
  isTask = false
53006
53144
  }) => {
53007
- const t = useTranslations68("processes.steps");
53145
+ const t = useTranslations69("processes.steps");
53008
53146
  const router = useRouter10();
53009
53147
  const [hasError, setHasError] = useState50(false);
53010
53148
  const { theme } = useOrchestratorTheme();
@@ -53024,7 +53162,7 @@ var WfoStartProcessPage = ({
53024
53162
  workflowName: processName
53025
53163
  });
53026
53164
  const [startProcess] = useStartProcessMutation();
53027
- const startProcessPayload = useMemo6(
53165
+ const startProcessPayload = useMemo7(
53028
53166
  () => getInitialProcessPayload({
53029
53167
  productId,
53030
53168
  subscriptionId
@@ -53045,7 +53183,7 @@ var WfoStartProcessPage = ({
53045
53183
  setHasError(true);
53046
53184
  }
53047
53185
  }
53048
- const submit = useCallback8(
53186
+ const submit = useCallback9(
53049
53187
  (processInput) => {
53050
53188
  const startProcessPromise = startProcess({
53051
53189
  workflowName: processName,
@@ -53119,7 +53257,7 @@ var WfoStartProcessPage = ({
53119
53257
  }
53120
53258
  };
53121
53259
  const pageTitle = workflowMetadata?.description || isErrorWorkflowDescription && processDetail?.workflowName || "";
53122
- return /* @__PURE__ */ jsx230(
53260
+ return /* @__PURE__ */ jsx232(
53123
53261
  WfoProcessDetail,
53124
53262
  {
53125
53263
  pageTitle,
@@ -53128,25 +53266,25 @@ var WfoStartProcessPage = ({
53128
53266
  processDetail,
53129
53267
  timelineItems: timeLineItems,
53130
53268
  isLoading,
53131
- children: /* @__PURE__ */ jsxs121(EuiPanel5, { css: { marginTop: theme.base * 3 }, children: [
53132
- /* @__PURE__ */ jsxs121(EuiFlexGroup25, { css: getStepHeaderStyle(false), children: [
53133
- /* @__PURE__ */ jsx230(WfoStepStatusIcon, { stepStatus: "form" /* FORM */ }),
53134
- /* @__PURE__ */ jsxs121(EuiFlexItem29, { grow: 0, children: [
53135
- /* @__PURE__ */ jsx230(EuiText42, { css: stepListContentBoldTextStyle, children: t("userInput") }),
53136
- /* @__PURE__ */ jsx230(EuiText42, { children: t(
53269
+ children: /* @__PURE__ */ jsxs122(EuiPanel5, { css: { marginTop: theme.base * 3 }, children: [
53270
+ /* @__PURE__ */ jsxs122(EuiFlexGroup25, { css: getStepHeaderStyle(false), children: [
53271
+ /* @__PURE__ */ jsx232(WfoStepStatusIcon, { stepStatus: "form" /* FORM */ }),
53272
+ /* @__PURE__ */ jsxs122(EuiFlexItem30, { grow: 0, children: [
53273
+ /* @__PURE__ */ jsx232(EuiText42, { css: stepListContentBoldTextStyle, children: t("userInput") }),
53274
+ /* @__PURE__ */ jsx232(EuiText42, { children: t(
53137
53275
  isTask ? "submitTaskFormLabel" : "submitWorkflowFormLabel"
53138
53276
  ) })
53139
53277
  ] })
53140
53278
  ] }),
53141
- /* @__PURE__ */ jsx230(EuiHorizontalRule8, {}),
53142
- hasError && /* @__PURE__ */ jsx230(WfoError, {}) || processName === "modify_note" && /* @__PURE__ */ jsx230(
53279
+ /* @__PURE__ */ jsx232(EuiHorizontalRule9, {}),
53280
+ hasError && /* @__PURE__ */ jsx232(WfoError, {}) || processName === "modify_note" && /* @__PURE__ */ jsx232(
53143
53281
  WfoPydanticForm,
53144
53282
  {
53145
53283
  processName,
53146
53284
  startProcessPayload,
53147
53285
  isTask
53148
53286
  }
53149
- ) || stepUserInput && /* @__PURE__ */ jsx230(
53287
+ ) || stepUserInput && /* @__PURE__ */ jsx232(
53150
53288
  UserInputFormWizard,
53151
53289
  {
53152
53290
  stepUserInput,
@@ -53157,25 +53295,25 @@ var WfoStartProcessPage = ({
53157
53295
  hasNext,
53158
53296
  isTask
53159
53297
  }
53160
- ) || /* @__PURE__ */ jsx230(WfoLoading, {})
53298
+ ) || /* @__PURE__ */ jsx232(WfoLoading, {})
53161
53299
  ] })
53162
53300
  }
53163
53301
  );
53164
53302
  };
53165
53303
 
53166
53304
  // src/pages/processes/WfoProductInformationWithLink.tsx
53167
- import { useTranslations as useTranslations69 } from "next-intl";
53305
+ import { useTranslations as useTranslations70 } from "next-intl";
53168
53306
  import { EuiButtonIcon as EuiButtonIcon13, EuiFlexGroup as EuiFlexGroup26, EuiText as EuiText43, EuiToolTip as EuiToolTip8 } from "@elastic/eui";
53169
- import { jsx as jsx231, jsxs as jsxs122 } from "@emotion/react/jsx-runtime";
53307
+ import { jsx as jsx233, jsxs as jsxs123 } from "@emotion/react/jsx-runtime";
53170
53308
  var WfoProductInformationWithLink = ({
53171
53309
  workflowName,
53172
53310
  productNames
53173
53311
  }) => {
53174
53312
  const { workflowInformationLinkUrl, showWorkflowInformationLink } = useGetOrchestratorConfig();
53175
- const t = useTranslations69("processes.detail");
53313
+ const t = useTranslations70("processes.detail");
53176
53314
  const docsUrl = workflowInformationLinkUrl + workflowName;
53177
- return /* @__PURE__ */ jsxs122(EuiFlexGroup26, { gutterSize: "s", alignItems: "center", children: [
53178
- showWorkflowInformationLink && /* @__PURE__ */ jsx231(EuiToolTip8, { content: t("openWorkflowTaskInfo"), children: /* @__PURE__ */ jsx231("a", { href: docsUrl, target: "_blank", children: /* @__PURE__ */ jsx231(
53315
+ return /* @__PURE__ */ jsxs123(EuiFlexGroup26, { gutterSize: "s", alignItems: "center", children: [
53316
+ showWorkflowInformationLink && /* @__PURE__ */ jsx233(EuiToolTip8, { content: t("openWorkflowTaskInfo"), children: /* @__PURE__ */ jsx233("a", { href: docsUrl, target: "_blank", children: /* @__PURE__ */ jsx233(
53179
53317
  EuiButtonIcon13,
53180
53318
  {
53181
53319
  iconSize: "l",
@@ -53183,17 +53321,17 @@ var WfoProductInformationWithLink = ({
53183
53321
  "aria-label": t("openWorkflowTaskInfo")
53184
53322
  }
53185
53323
  ) }) }),
53186
- /* @__PURE__ */ jsx231(EuiText43, { size: "s", children: productNames })
53324
+ /* @__PURE__ */ jsx233(EuiText43, { size: "s", children: productNames })
53187
53325
  ] });
53188
53326
  };
53189
53327
 
53190
53328
  // src/pages/settings/WfoSettingsPage.tsx
53191
- import { useMemo as useMemo7 } from "react";
53192
- import { useTranslations as useTranslations71 } from "next-intl";
53329
+ import { useMemo as useMemo8 } from "react";
53330
+ import { useTranslations as useTranslations72 } from "next-intl";
53193
53331
  import { StringParam as StringParam3, useQueryParam as useQueryParam2, withDefault as withDefault3 } from "use-query-params";
53194
53332
  import {
53195
53333
  EuiCodeBlock as EuiCodeBlock2,
53196
- EuiFlexItem as EuiFlexItem31,
53334
+ EuiFlexItem as EuiFlexItem32,
53197
53335
  EuiPanel as EuiPanel7,
53198
53336
  EuiSpacer as EuiSpacer22,
53199
53337
  EuiTab as EuiTab3,
@@ -53203,28 +53341,28 @@ import {
53203
53341
  import { css as css44 } from "@emotion/react";
53204
53342
 
53205
53343
  // src/components/WfoSettings/WfoAoStackStatus.tsx
53206
- import { useTranslations as useTranslations70 } from "next-intl";
53344
+ import { useTranslations as useTranslations71 } from "next-intl";
53207
53345
  import {
53208
- EuiButton as EuiButton14,
53209
- EuiFlexItem as EuiFlexItem30,
53346
+ EuiButton as EuiButton15,
53347
+ EuiFlexItem as EuiFlexItem31,
53210
53348
  EuiPanel as EuiPanel6,
53211
53349
  EuiSpacer as EuiSpacer21,
53212
53350
  EuiText as EuiText44
53213
53351
  } from "@elastic/eui";
53214
- import { jsx as jsx232, jsxs as jsxs123 } from "@emotion/react/jsx-runtime";
53352
+ import { jsx as jsx234, jsxs as jsxs124 } from "@emotion/react/jsx-runtime";
53215
53353
  var WfoAoStackStatus = () => {
53216
- const t = useTranslations70("settings.page");
53354
+ const t = useTranslations71("settings.page");
53217
53355
  const { aoStackStatusUrl } = useGetOrchestratorConfig();
53218
53356
  const openStatusPage = () => {
53219
53357
  window.open(aoStackStatusUrl, "_blank");
53220
53358
  };
53221
- return /* @__PURE__ */ jsx232(EuiFlexItem30, { children: /* @__PURE__ */ jsxs123(EuiPanel6, { hasShadow: false, color: "subdued", paddingSize: "l", children: [
53222
- /* @__PURE__ */ jsx232(EuiText44, { size: "s", children: /* @__PURE__ */ jsx232("h4", { children: t("aoStackStatus") }) }),
53223
- /* @__PURE__ */ jsx232(EuiSpacer21, { size: "m" }),
53224
- /* @__PURE__ */ jsx232(
53225
- EuiButton14,
53359
+ return /* @__PURE__ */ jsx234(EuiFlexItem31, { children: /* @__PURE__ */ jsxs124(EuiPanel6, { hasShadow: false, color: "subdued", paddingSize: "l", children: [
53360
+ /* @__PURE__ */ jsx234(EuiText44, { size: "s", children: /* @__PURE__ */ jsx234("h4", { children: t("aoStackStatus") }) }),
53361
+ /* @__PURE__ */ jsx234(EuiSpacer21, { size: "m" }),
53362
+ /* @__PURE__ */ jsx234(
53363
+ EuiButton15,
53226
53364
  {
53227
- iconType: () => /* @__PURE__ */ jsx232(WfoChartBar, {}),
53365
+ iconType: () => /* @__PURE__ */ jsx234(WfoChartBar, {}),
53228
53366
  onClick: openStatusPage,
53229
53367
  children: t("viewStatusPage")
53230
53368
  }
@@ -53233,7 +53371,7 @@ var WfoAoStackStatus = () => {
53233
53371
  };
53234
53372
 
53235
53373
  // src/pages/settings/WfoSettingsPage.tsx
53236
- import { Fragment as Fragment55, jsx as jsx233, jsxs as jsxs124 } from "@emotion/react/jsx-runtime";
53374
+ import { Fragment as Fragment55, jsx as jsx235, jsxs as jsxs125 } from "@emotion/react/jsx-runtime";
53237
53375
  var WfoSettingsTab = /* @__PURE__ */ ((WfoSettingsTab2) => {
53238
53376
  WfoSettingsTab2["ACTIONS"] = "ACTIONS";
53239
53377
  WfoSettingsTab2["ENV_SETTINGS"] = "ENV_SETTINGS";
@@ -53242,22 +53380,22 @@ var WfoSettingsTab = /* @__PURE__ */ ((WfoSettingsTab2) => {
53242
53380
  var WfoActionSettings = () => {
53243
53381
  const { theme } = useOrchestratorTheme();
53244
53382
  const { enableAoStackStatus } = useGetOrchestratorConfig();
53245
- return /* @__PURE__ */ jsx233(Fragment55, { children: /* @__PURE__ */ jsxs124("div", { css: { maxWidth: theme.base * 40 }, children: [
53246
- /* @__PURE__ */ jsx233(WfoFlushSettings, {}),
53247
- /* @__PURE__ */ jsx233(EuiSpacer22, {}),
53248
- /* @__PURE__ */ jsx233(WfoModifySettings, {}),
53249
- /* @__PURE__ */ jsx233(EuiSpacer22, {}),
53250
- /* @__PURE__ */ jsx233(WfoEngineStatus, {}),
53251
- enableAoStackStatus && /* @__PURE__ */ jsxs124(Fragment55, { children: [
53252
- /* @__PURE__ */ jsx233(EuiSpacer22, {}),
53253
- /* @__PURE__ */ jsx233(WfoAoStackStatus, {})
53383
+ return /* @__PURE__ */ jsx235(Fragment55, { children: /* @__PURE__ */ jsxs125("div", { css: { maxWidth: theme.base * 40 }, children: [
53384
+ /* @__PURE__ */ jsx235(WfoFlushSettings, {}),
53385
+ /* @__PURE__ */ jsx235(EuiSpacer22, {}),
53386
+ /* @__PURE__ */ jsx235(WfoModifySettings, {}),
53387
+ /* @__PURE__ */ jsx235(EuiSpacer22, {}),
53388
+ /* @__PURE__ */ jsx235(WfoEngineStatus, {}),
53389
+ enableAoStackStatus && /* @__PURE__ */ jsxs125(Fragment55, { children: [
53390
+ /* @__PURE__ */ jsx235(EuiSpacer22, {}),
53391
+ /* @__PURE__ */ jsx235(WfoAoStackStatus, {})
53254
53392
  ] }),
53255
- /* @__PURE__ */ jsx233(EuiSpacer22, {}),
53256
- /* @__PURE__ */ jsx233(WfoWorkerStatus, {})
53393
+ /* @__PURE__ */ jsx235(EuiSpacer22, {}),
53394
+ /* @__PURE__ */ jsx235(WfoWorkerStatus, {})
53257
53395
  ] }) });
53258
53396
  };
53259
53397
  var WfoEnvSettings = () => {
53260
- const t = useTranslations71("settings.page");
53398
+ const t = useTranslations72("settings.page");
53261
53399
  const { theme } = useOrchestratorTheme();
53262
53400
  const { data } = useGetEnvironmentVariablesQuery();
53263
53401
  const mapToRepresentableVariables = (variables) => {
@@ -53266,17 +53404,17 @@ var WfoEnvSettings = () => {
53266
53404
  const renderEnvSettings = () => {
53267
53405
  return data && data.map(({ name, variables }) => {
53268
53406
  const showVariables = mapToRepresentableVariables(variables);
53269
- return /* @__PURE__ */ jsxs124(Fragment55, { children: [
53270
- /* @__PURE__ */ jsx233(EuiFlexItem31, { children: /* @__PURE__ */ jsxs124(
53407
+ return /* @__PURE__ */ jsxs125(Fragment55, { children: [
53408
+ /* @__PURE__ */ jsx235(EuiFlexItem32, { children: /* @__PURE__ */ jsxs125(
53271
53409
  EuiPanel7,
53272
53410
  {
53273
53411
  hasShadow: false,
53274
53412
  color: "subdued",
53275
53413
  paddingSize: "l",
53276
53414
  children: [
53277
- /* @__PURE__ */ jsx233(EuiText45, { size: "s", children: /* @__PURE__ */ jsx233("h2", { children: name.replace("_", " ").toUpperCase() }) }),
53278
- /* @__PURE__ */ jsx233(EuiSpacer22, {}),
53279
- /* @__PURE__ */ jsx233(
53415
+ /* @__PURE__ */ jsx235(EuiText45, { size: "s", children: /* @__PURE__ */ jsx235("h2", { children: name.replace("_", " ").toUpperCase() }) }),
53416
+ /* @__PURE__ */ jsx235(EuiSpacer22, {}),
53417
+ /* @__PURE__ */ jsx235(
53280
53418
  EuiCodeBlock2,
53281
53419
  {
53282
53420
  fontSize: "m",
@@ -53290,15 +53428,15 @@ var WfoEnvSettings = () => {
53290
53428
  ]
53291
53429
  }
53292
53430
  ) }),
53293
- /* @__PURE__ */ jsx233(EuiSpacer22, {})
53431
+ /* @__PURE__ */ jsx235(EuiSpacer22, {})
53294
53432
  ] });
53295
53433
  });
53296
53434
  };
53297
53435
  const emptyEnvSettings = () => {
53298
- return /* @__PURE__ */ jsx233(EuiFlexItem31, { children: /* @__PURE__ */ jsx233(EuiPanel7, { hasShadow: false, color: "subdued", paddingSize: "l", children: /* @__PURE__ */ jsx233(EuiText45, { size: "s", children: /* @__PURE__ */ jsxs124("h2", { children: [
53436
+ return /* @__PURE__ */ jsx235(EuiFlexItem32, { children: /* @__PURE__ */ jsx235(EuiPanel7, { hasShadow: false, color: "subdued", paddingSize: "l", children: /* @__PURE__ */ jsx235(EuiText45, { size: "s", children: /* @__PURE__ */ jsxs125("h2", { children: [
53299
53437
  t("noSettingsExposed"),
53300
53438
  " ",
53301
- /* @__PURE__ */ jsx233(
53439
+ /* @__PURE__ */ jsx235(
53302
53440
  "a",
53303
53441
  {
53304
53442
  href: "https://workfloworchestrator.org/orchestrator-core/reference-docs/app/settings_overview/",
@@ -53308,36 +53446,36 @@ var WfoEnvSettings = () => {
53308
53446
  )
53309
53447
  ] }) }) }) });
53310
53448
  };
53311
- return /* @__PURE__ */ jsx233("div", { css: { maxWidth: theme.base * 45 }, children: data?.length ? renderEnvSettings() : emptyEnvSettings() });
53449
+ return /* @__PURE__ */ jsx235("div", { css: { maxWidth: theme.base * 45 }, children: data?.length ? renderEnvSettings() : emptyEnvSettings() });
53312
53450
  };
53313
53451
  var settingsTabs = [
53314
53452
  {
53315
53453
  id: "ACTIONS" /* ACTIONS */,
53316
53454
  translationKey: "actions",
53317
- content: /* @__PURE__ */ jsx233(WfoActionSettings, {})
53455
+ content: /* @__PURE__ */ jsx235(WfoActionSettings, {})
53318
53456
  },
53319
53457
  {
53320
53458
  id: "ENV_SETTINGS" /* ENV_SETTINGS */,
53321
53459
  translationKey: "envSettings",
53322
- content: /* @__PURE__ */ jsx233(WfoEnvSettings, {})
53460
+ content: /* @__PURE__ */ jsx235(WfoEnvSettings, {})
53323
53461
  }
53324
53462
  ];
53325
53463
  var WfoSettingsPage = () => {
53326
- const t = useTranslations71("main");
53327
- const tabTranslations = useTranslations71("settings.tabs");
53464
+ const t = useTranslations72("main");
53465
+ const tabTranslations = useTranslations72("settings.tabs");
53328
53466
  const { tabStyle } = useWithOrchestratorTheme(getStyles4);
53329
53467
  const [selectedTabId, setSelectedTabId] = useQueryParam2(
53330
53468
  "activeTab",
53331
53469
  withDefault3(StringParam3, "ACTIONS" /* ACTIONS */)
53332
53470
  );
53333
- const selectedTabContent = useMemo7(() => {
53471
+ const selectedTabContent = useMemo8(() => {
53334
53472
  return settingsTabs.find((obj) => obj.id === selectedTabId)?.content;
53335
53473
  }, [selectedTabId]);
53336
53474
  const onSelectedTabChanged = (id) => {
53337
53475
  setSelectedTabId(id);
53338
53476
  };
53339
53477
  const renderTabs = () => {
53340
- return settingsTabs.map((tab, index) => /* @__PURE__ */ jsx233(
53478
+ return settingsTabs.map((tab, index) => /* @__PURE__ */ jsx235(
53341
53479
  EuiTab3,
53342
53480
  {
53343
53481
  css: tabStyle,
@@ -53348,16 +53486,16 @@ var WfoSettingsPage = () => {
53348
53486
  index
53349
53487
  ));
53350
53488
  };
53351
- return /* @__PURE__ */ jsxs124(Fragment55, { children: [
53352
- /* @__PURE__ */ jsx233(WfoContentHeader, { title: t("settings") }),
53353
- /* @__PURE__ */ jsx233(EuiTabs3, { children: renderTabs() }),
53354
- /* @__PURE__ */ jsx233(EuiSpacer22, { size: "xxl" }),
53489
+ return /* @__PURE__ */ jsxs125(Fragment55, { children: [
53490
+ /* @__PURE__ */ jsx235(WfoContentHeader, { title: t("settings") }),
53491
+ /* @__PURE__ */ jsx235(EuiTabs3, { children: renderTabs() }),
53492
+ /* @__PURE__ */ jsx235(EuiSpacer22, { size: "xxl" }),
53355
53493
  selectedTabContent
53356
53494
  ] });
53357
53495
  };
53358
53496
 
53359
53497
  // src/pages/startPage/WfoStartPage.tsx
53360
- import { useTranslations as useTranslations72 } from "next-intl";
53498
+ import { useTranslations as useTranslations73 } from "next-intl";
53361
53499
  import { EuiPageHeader as EuiPageHeader2 } from "@elastic/eui";
53362
53500
 
53363
53501
  // src/pages/startPage/useStartPageSummaryCardConfigurationOverride.ts
@@ -53371,36 +53509,36 @@ var useStartPageSummaryCardConfigurationOverride = () => {
53371
53509
  };
53372
53510
 
53373
53511
  // src/pages/startPage/WfoStartPage.tsx
53374
- import { Fragment as Fragment56, jsx as jsx234, jsxs as jsxs125 } from "@emotion/react/jsx-runtime";
53512
+ import { Fragment as Fragment56, jsx as jsx236, jsxs as jsxs126 } from "@emotion/react/jsx-runtime";
53375
53513
  var WfoStartPage = () => {
53376
- const t = useTranslations72("main");
53514
+ const t = useTranslations73("main");
53377
53515
  const { overrideSummaryCards } = useStartPageSummaryCardConfigurationOverride();
53378
53516
  const { isAllowed } = usePolicy();
53379
53517
  const { session } = useWfoSession();
53380
53518
  const username = session?.user?.name ?? "";
53381
53519
  const defaultSummaryCards = [
53382
53520
  ...toOptionalArrayEntry(
53383
- /* @__PURE__ */ jsx234(WfoMyWorkflowsSummaryCard, { username }, "myWorkflows"),
53521
+ /* @__PURE__ */ jsx236(WfoMyWorkflowsSummaryCard, { username }, "myWorkflows"),
53384
53522
  !!username
53385
53523
  ),
53386
- /* @__PURE__ */ jsx234(WfoActiveWorkflowsSummaryCard, {}, "activeWorkflows"),
53524
+ /* @__PURE__ */ jsx236(WfoActiveWorkflowsSummaryCard, {}, "activeWorkflows"),
53387
53525
  ...toOptionalArrayEntry(
53388
- /* @__PURE__ */ jsx234(WfoFailedTasksSummaryCard, {}, "failedTasks"),
53526
+ /* @__PURE__ */ jsx236(WfoFailedTasksSummaryCard, {}, "failedTasks"),
53389
53527
  isAllowed("/orchestrator/tasks/" /* NAVIGATION_TASKS */)
53390
53528
  ),
53391
- /* @__PURE__ */ jsx234(WfoLatestOutOfSyncSubscriptionSummaryCard, {}, "latestOutOfSyncSubscription"),
53392
- /* @__PURE__ */ jsx234(WfoLatestActiveSubscriptionsSummaryCard, {}, "latestActiveSubscriptions"),
53393
- /* @__PURE__ */ jsx234(WfoProductsSummaryCard, {}, "products")
53529
+ /* @__PURE__ */ jsx236(WfoLatestOutOfSyncSubscriptionSummaryCard, {}, "latestOutOfSyncSubscription"),
53530
+ /* @__PURE__ */ jsx236(WfoLatestActiveSubscriptionsSummaryCard, {}, "latestActiveSubscriptions"),
53531
+ /* @__PURE__ */ jsx236(WfoProductsSummaryCard, {}, "products")
53394
53532
  ];
53395
53533
  const summaryCards = overrideSummaryCards?.(defaultSummaryCards) || defaultSummaryCards;
53396
- return /* @__PURE__ */ jsxs125(Fragment56, { children: [
53397
- /* @__PURE__ */ jsx234(
53534
+ return /* @__PURE__ */ jsxs126(Fragment56, { children: [
53535
+ /* @__PURE__ */ jsx236(
53398
53536
  WfoContentHeader,
53399
53537
  {
53400
- title: /* @__PURE__ */ jsx234(EuiPageHeader2, { pageTitle: `${t("welcome")} ${username}` })
53538
+ title: /* @__PURE__ */ jsx236(EuiPageHeader2, { pageTitle: `${t("welcome")} ${username}` })
53401
53539
  }
53402
53540
  ),
53403
- /* @__PURE__ */ jsx234(WfoSummaryCards, { children: summaryCards })
53541
+ /* @__PURE__ */ jsx236(WfoSummaryCards, { children: summaryCards })
53404
53542
  ] });
53405
53543
  };
53406
53544
 
@@ -53418,21 +53556,21 @@ var mapSubscriptionSummaryToSummaryCardListItem = (subscription) => ({
53418
53556
 
53419
53557
  // src/pages/subscriptions/WfoSubscriptionDetailPage.tsx
53420
53558
  import { useRouter as useRouter11 } from "next/router";
53421
- import { Fragment as Fragment57, jsx as jsx235 } from "@emotion/react/jsx-runtime";
53559
+ import { Fragment as Fragment57, jsx as jsx237 } from "@emotion/react/jsx-runtime";
53422
53560
  var WfoSubscriptionDetailPage = () => {
53423
53561
  const router = useRouter11();
53424
53562
  const { subscriptionId } = router.query;
53425
- return subscriptionId && /* @__PURE__ */ jsx235(TreeProvider, { children: /* @__PURE__ */ jsx235(WfoSubscription, { subscriptionId }) }) || /* @__PURE__ */ jsx235(Fragment57, {});
53563
+ return subscriptionId && /* @__PURE__ */ jsx237(TreeProvider, { children: /* @__PURE__ */ jsx237(WfoSubscription, { subscriptionId }) }) || /* @__PURE__ */ jsx237(Fragment57, {});
53426
53564
  };
53427
53565
 
53428
53566
  // src/pages/subscriptions/WfoSubscriptionsListPage.tsx
53429
53567
  import { useEffect as useEffect35, useState as useState51 } from "react";
53430
- import { useTranslations as useTranslations73 } from "next-intl";
53568
+ import { useTranslations as useTranslations74 } from "next-intl";
53431
53569
  import { StringParam as StringParam4, useQueryParam as useQueryParam3, withDefault as withDefault4 } from "use-query-params";
53432
53570
  import { EuiSpacer as EuiSpacer23 } from "@elastic/eui";
53433
- import { Fragment as Fragment58, jsx as jsx236, jsxs as jsxs126 } from "@emotion/react/jsx-runtime";
53571
+ import { Fragment as Fragment58, jsx as jsx238, jsxs as jsxs127 } from "@emotion/react/jsx-runtime";
53434
53572
  var WfoSubscriptionsListPage = () => {
53435
- const t = useTranslations73("subscriptions.detail");
53573
+ const t = useTranslations74("subscriptions.detail");
53436
53574
  const [tableDefaults, setTableDefaults] = useState51();
53437
53575
  const getStoredTableConfig = useStoredTableConfig(
53438
53576
  SUBSCRIPTIONS_TABLE_LOCAL_STORAGE_KEY
@@ -53468,14 +53606,14 @@ var WfoSubscriptionsListPage = () => {
53468
53606
  const alwaysOnFilters = subscriptionListTabs.find(
53469
53607
  ({ id }) => id === activeTab
53470
53608
  )?.alwaysOnFilters;
53471
- return /* @__PURE__ */ jsxs126(Fragment58, { children: [
53472
- /* @__PURE__ */ jsx236(
53609
+ return /* @__PURE__ */ jsxs127(Fragment58, { children: [
53610
+ /* @__PURE__ */ jsx238(
53473
53611
  WfoContentHeader,
53474
53612
  {
53475
- title: /* @__PURE__ */ jsx236(WfoTitleWithWebsocketBadge, { title: t("title") })
53613
+ title: /* @__PURE__ */ jsx238(WfoTitleWithWebsocketBadge, { title: t("title") })
53476
53614
  }
53477
53615
  ),
53478
- /* @__PURE__ */ jsx236(
53616
+ /* @__PURE__ */ jsx238(
53479
53617
  WfoFilterTabs,
53480
53618
  {
53481
53619
  tabs: subscriptionListTabs,
@@ -53484,8 +53622,8 @@ var WfoSubscriptionsListPage = () => {
53484
53622
  onChangeTab: handleChangeSubscriptionsTab
53485
53623
  }
53486
53624
  ),
53487
- /* @__PURE__ */ jsx236(EuiSpacer23, { size: "xxl" }),
53488
- /* @__PURE__ */ jsx236(
53625
+ /* @__PURE__ */ jsx238(EuiSpacer23, { size: "xxl" }),
53626
+ /* @__PURE__ */ jsx238(
53489
53627
  WfoSubscriptionsList,
53490
53628
  {
53491
53629
  hiddenColumns: tableDefaults?.hiddenColumns,
@@ -53499,11 +53637,11 @@ var WfoSubscriptionsListPage = () => {
53499
53637
 
53500
53638
  // src/pages/tasks/WfoTasksListPage.tsx
53501
53639
  import { useContext as useContext11, useEffect as useEffect36, useState as useState52 } from "react";
53502
- import { useTranslations as useTranslations74 } from "next-intl";
53640
+ import { useTranslations as useTranslations75 } from "next-intl";
53503
53641
  import Link11 from "next/link";
53504
53642
  import { useRouter as useRouter12 } from "next/router";
53505
53643
  import { StringParam as StringParam5, useQueryParam as useQueryParam4, withDefault as withDefault5 } from "use-query-params";
53506
- import { EuiButton as EuiButton15, EuiSpacer as EuiSpacer24 } from "@elastic/eui";
53644
+ import { EuiButton as EuiButton16, EuiSpacer as EuiSpacer24 } from "@elastic/eui";
53507
53645
 
53508
53646
  // src/pages/tasks/tabConfig.ts
53509
53647
  var WfoTasksListTabType = /* @__PURE__ */ ((WfoTasksListTabType2) => {
@@ -53568,10 +53706,10 @@ var getTasksListTabTypeFromString = (tabId) => {
53568
53706
  };
53569
53707
 
53570
53708
  // src/pages/tasks/WfoTasksListPage.tsx
53571
- import { Fragment as Fragment59, jsx as jsx237, jsxs as jsxs127 } from "@emotion/react/jsx-runtime";
53709
+ import { Fragment as Fragment59, jsx as jsx239, jsxs as jsxs128 } from "@emotion/react/jsx-runtime";
53572
53710
  var WfoTasksListPage = () => {
53573
53711
  const router = useRouter12();
53574
- const t = useTranslations74("tasks.page");
53712
+ const t = useTranslations75("tasks.page");
53575
53713
  const [activeTab, setActiveTab] = useQueryParam4(
53576
53714
  "activeTab",
53577
53715
  withDefault5(StringParam5, "ACTIVE" /* ACTIVE */)
@@ -53624,7 +53762,7 @@ var WfoTasksListPage = () => {
53624
53762
  workflowName: {
53625
53763
  columnType: "data" /* DATA */,
53626
53764
  label: t("taskName"),
53627
- renderData: (value, { processId }) => /* @__PURE__ */ jsx237(Link11, { href: `${PATH_TASKS}/${processId}`, children: value })
53765
+ renderData: (value, { processId }) => /* @__PURE__ */ jsx239(Link11, { href: `${PATH_TASKS}/${processId}`, children: value })
53628
53766
  },
53629
53767
  ...toSortedTableColumnConfig(defaultTableColumns, [
53630
53768
  "lastStep",
@@ -53642,25 +53780,25 @@ var WfoTasksListPage = () => {
53642
53780
  "lastModifiedAt"
53643
53781
  ])
53644
53782
  });
53645
- return /* @__PURE__ */ jsxs127(Fragment59, { children: [
53646
- /* @__PURE__ */ jsxs127(
53783
+ return /* @__PURE__ */ jsxs128(Fragment59, { children: [
53784
+ /* @__PURE__ */ jsxs128(
53647
53785
  WfoContentHeader,
53648
53786
  {
53649
- title: /* @__PURE__ */ jsx237(WfoTitleWithWebsocketBadge, { title: "Tasks" }),
53787
+ title: /* @__PURE__ */ jsx239(WfoTitleWithWebsocketBadge, { title: "Tasks" }),
53650
53788
  children: [
53651
- /* @__PURE__ */ jsx237(WfoIsAllowedToRender, { resource: "/orchestrator/processes/all-tasks/retry" /* TASKS_RETRY_ALL */, children: /* @__PURE__ */ jsx237(
53652
- EuiButton15,
53789
+ /* @__PURE__ */ jsx239(WfoIsAllowedToRender, { resource: "/orchestrator/processes/all-tasks/retry" /* TASKS_RETRY_ALL */, children: /* @__PURE__ */ jsx239(
53790
+ EuiButton16,
53653
53791
  {
53654
53792
  onClick: handleRerunAllButtonClick,
53655
- iconType: () => /* @__PURE__ */ jsx237(WfoRefresh, { color: theme.colors.primaryText }),
53793
+ iconType: () => /* @__PURE__ */ jsx239(WfoRefresh, { color: theme.colors.primaryText }),
53656
53794
  children: t("rerunAll")
53657
53795
  }
53658
53796
  ) }),
53659
- /* @__PURE__ */ jsx237(WfoIsAllowedToRender, { resource: "/orchestrator/processes/create/task" /* TASKS_CREATE */, children: /* @__PURE__ */ jsx237(WfoStartTaskButtonComboBox, {}) })
53797
+ /* @__PURE__ */ jsx239(WfoIsAllowedToRender, { resource: "/orchestrator/processes/create/task" /* TASKS_CREATE */, children: /* @__PURE__ */ jsx239(WfoStartTaskButtonComboBox, {}) })
53660
53798
  ]
53661
53799
  }
53662
53800
  ),
53663
- /* @__PURE__ */ jsx237(
53801
+ /* @__PURE__ */ jsx239(
53664
53802
  WfoFilterTabs,
53665
53803
  {
53666
53804
  tabs: defaultTasksListTabs,
@@ -53669,8 +53807,8 @@ var WfoTasksListPage = () => {
53669
53807
  onChangeTab: handleChangeTasksListTab
53670
53808
  }
53671
53809
  ),
53672
- /* @__PURE__ */ jsx237(EuiSpacer24, { size: "xxl" }),
53673
- /* @__PURE__ */ jsx237(
53810
+ /* @__PURE__ */ jsx239(EuiSpacer24, { size: "xxl" }),
53811
+ /* @__PURE__ */ jsx239(
53674
53812
  WfoProcessesList,
53675
53813
  {
53676
53814
  defaultHiddenColumns: tableDefaults?.hiddenColumns,
@@ -53686,7 +53824,7 @@ var WfoTasksListPage = () => {
53686
53824
 
53687
53825
  // src/pages/workflows/WfoWorkflowsListPage.tsx
53688
53826
  import { useEffect as useEffect37, useState as useState53 } from "react";
53689
- import { useTranslations as useTranslations75 } from "next-intl";
53827
+ import { useTranslations as useTranslations76 } from "next-intl";
53690
53828
  import { useRouter as useRouter13 } from "next/router";
53691
53829
  import { StringParam as StringParam6, useQueryParam as useQueryParam5, withDefault as withDefault6 } from "use-query-params";
53692
53830
  import { EuiSpacer as EuiSpacer25 } from "@elastic/eui";
@@ -53754,10 +53892,10 @@ var getWorkflowsListTabTypeFromString = (tabId) => {
53754
53892
  };
53755
53893
 
53756
53894
  // src/pages/workflows/WfoWorkflowsListPage.tsx
53757
- import { Fragment as Fragment60, jsx as jsx238, jsxs as jsxs128 } from "@emotion/react/jsx-runtime";
53895
+ import { Fragment as Fragment60, jsx as jsx240, jsxs as jsxs129 } from "@emotion/react/jsx-runtime";
53758
53896
  var WfoWorkflowsListPage = () => {
53759
53897
  const router = useRouter13();
53760
- const t = useTranslations75("workflows.index");
53898
+ const t = useTranslations76("workflows.index");
53761
53899
  const [activeTab, setActiveTab] = useQueryParam5(
53762
53900
  "activeTab",
53763
53901
  withDefault6(StringParam6, "ACTIVE" /* ACTIVE */)
@@ -53792,14 +53930,14 @@ var WfoWorkflowsListPage = () => {
53792
53930
  router.replace(PATH_WORKFLOWS);
53793
53931
  return null;
53794
53932
  }
53795
- return /* @__PURE__ */ jsxs128(Fragment60, { children: [
53796
- /* @__PURE__ */ jsx238(
53933
+ return /* @__PURE__ */ jsxs129(Fragment60, { children: [
53934
+ /* @__PURE__ */ jsx240(
53797
53935
  WfoContentHeader,
53798
53936
  {
53799
- title: /* @__PURE__ */ jsx238(WfoTitleWithWebsocketBadge, { title: t("title") })
53937
+ title: /* @__PURE__ */ jsx240(WfoTitleWithWebsocketBadge, { title: t("title") })
53800
53938
  }
53801
53939
  ),
53802
- /* @__PURE__ */ jsx238(
53940
+ /* @__PURE__ */ jsx240(
53803
53941
  WfoFilterTabs,
53804
53942
  {
53805
53943
  tabs: defaultWorkflowsListTabs,
@@ -53808,8 +53946,8 @@ var WfoWorkflowsListPage = () => {
53808
53946
  onChangeTab: handleChangeWorkflowsListTab
53809
53947
  }
53810
53948
  ),
53811
- /* @__PURE__ */ jsx238(EuiSpacer25, { size: "xxl" }),
53812
- /* @__PURE__ */ jsx238(
53949
+ /* @__PURE__ */ jsx240(EuiSpacer25, { size: "xxl" }),
53950
+ /* @__PURE__ */ jsx240(
53813
53951
  WfoProcessesList,
53814
53952
  {
53815
53953
  alwaysOnFilters,
@@ -53919,7 +54057,7 @@ var graphQlProcessFilterMapper = (data) => data?.map(({ field, value }) => ({
53919
54057
  }));
53920
54058
 
53921
54059
  // src/components/WfoProcessList/WfoProcessesList.tsx
53922
- import { jsx as jsx239, jsxs as jsxs129 } from "@emotion/react/jsx-runtime";
54060
+ import { jsx as jsx241, jsxs as jsxs130 } from "@emotion/react/jsx-runtime";
53923
54061
  var WfoProcessesList = ({
53924
54062
  alwaysOnFilters,
53925
54063
  defaultHiddenColumns = [],
@@ -53928,8 +54066,8 @@ var WfoProcessesList = ({
53928
54066
  overrideDefaultTableColumns,
53929
54067
  setDataDisplayParam
53930
54068
  }) => {
53931
- const t = useTranslations76("processes.index");
53932
- const tError = useTranslations76("errors");
54069
+ const t = useTranslations77("processes.index");
54070
+ const tError = useTranslations77("errors");
53933
54071
  const { showToastMessage } = useShowToastMessage();
53934
54072
  const router = useRouter14();
53935
54073
  const defaultTableColumns = {
@@ -53937,7 +54075,7 @@ var WfoProcessesList = ({
53937
54075
  columnType: "data" /* DATA */,
53938
54076
  label: t("workflowName"),
53939
54077
  width: "225px",
53940
- renderData: (value, { processId }) => /* @__PURE__ */ jsx239(Link12, { href: `${PATH_WORKFLOWS}/${processId}`, children: value }),
54078
+ renderData: (value, { processId }) => /* @__PURE__ */ jsx241(Link12, { href: `${PATH_WORKFLOWS}/${processId}`, children: value }),
53941
54079
  renderTooltip: (value) => value
53942
54080
  },
53943
54081
  lastStep: {
@@ -53948,13 +54086,13 @@ var WfoProcessesList = ({
53948
54086
  lastStatus: {
53949
54087
  columnType: "data" /* DATA */,
53950
54088
  label: t("status"),
53951
- renderData: (cellValue) => /* @__PURE__ */ jsx239(WfoProcessStatusBadge, { processStatus: cellValue }),
54089
+ renderData: (cellValue) => /* @__PURE__ */ jsx241(WfoProcessStatusBadge, { processStatus: cellValue }),
53952
54090
  width: "150px"
53953
54091
  },
53954
54092
  workflowTarget: {
53955
54093
  columnType: "data" /* DATA */,
53956
54094
  label: t("workflowTarget"),
53957
- renderData: (target) => /* @__PURE__ */ jsx239(WfoWorkflowTargetBadge, { target }),
54095
+ renderData: (target) => /* @__PURE__ */ jsx241(WfoWorkflowTargetBadge, { target }),
53958
54096
  width: "100px"
53959
54097
  },
53960
54098
  tag: {
@@ -53981,7 +54119,7 @@ var WfoProcessesList = ({
53981
54119
  columnType: "data" /* DATA */,
53982
54120
  label: t("subscriptions"),
53983
54121
  width: "425px",
53984
- renderData: ({ page: subscriptions }, { processId }) => /* @__PURE__ */ jsx239(
54122
+ renderData: ({ page: subscriptions }, { processId }) => /* @__PURE__ */ jsx241(
53985
54123
  WfoProcessListSubscriptionsCell,
53986
54124
  {
53987
54125
  subscriptions,
@@ -53989,13 +54127,13 @@ var WfoProcessesList = ({
53989
54127
  onMoreSubscriptionsClick: () => router.push(`${PATH_WORKFLOWS}/${processId}`)
53990
54128
  }
53991
54129
  ),
53992
- renderDetails: ({ page: subscriptions }) => /* @__PURE__ */ jsx239(
54130
+ renderDetails: ({ page: subscriptions }) => /* @__PURE__ */ jsx241(
53993
54131
  WfoProcessListSubscriptionsCell,
53994
54132
  {
53995
54133
  subscriptions
53996
54134
  }
53997
54135
  ),
53998
- renderTooltip: ({ page: subscriptions }) => subscriptions.map(({ description, subscriptionId }) => /* @__PURE__ */ jsxs129("p", { children: [
54136
+ renderTooltip: ({ page: subscriptions }) => subscriptions.map(({ description, subscriptionId }) => /* @__PURE__ */ jsxs130("p", { children: [
53999
54137
  "- ",
54000
54138
  description
54001
54139
  ] }, subscriptionId)),
@@ -54015,7 +54153,7 @@ var WfoProcessesList = ({
54015
54153
  columnType: "data" /* DATA */,
54016
54154
  label: t("processId"),
54017
54155
  width: "90px",
54018
- renderData: (value) => /* @__PURE__ */ jsx239(WfoFirstPartUUID, { UUID: value }),
54156
+ renderData: (value) => /* @__PURE__ */ jsx241(WfoFirstPartUUID, { UUID: value }),
54019
54157
  renderDetails: (value) => value,
54020
54158
  renderTooltip: (value) => value
54021
54159
  },
@@ -54023,7 +54161,7 @@ var WfoProcessesList = ({
54023
54161
  columnType: "data" /* DATA */,
54024
54162
  label: t("started"),
54025
54163
  width: "100px",
54026
- renderData: (value) => /* @__PURE__ */ jsx239(WfoDateTime, { dateOrIsoString: value }),
54164
+ renderData: (value) => /* @__PURE__ */ jsx241(WfoDateTime, { dateOrIsoString: value }),
54027
54165
  renderDetails: parseDateToLocaleDateTimeString,
54028
54166
  clipboardText: parseDateToLocaleDateTimeString,
54029
54167
  renderTooltip: (value) => value.toString()
@@ -54032,7 +54170,7 @@ var WfoProcessesList = ({
54032
54170
  columnType: "data" /* DATA */,
54033
54171
  label: t("lastModified"),
54034
54172
  width: "125px",
54035
- renderData: (value) => /* @__PURE__ */ jsx239(WfoDateTime, { dateOrIsoString: value }),
54173
+ renderData: (value) => /* @__PURE__ */ jsx241(WfoDateTime, { dateOrIsoString: value }),
54036
54174
  renderDetails: parseDateToLocaleDateTimeString,
54037
54175
  clipboardText: parseDateToLocaleDateTimeString,
54038
54176
  renderTooltip: (value) => value.toString()
@@ -54065,7 +54203,7 @@ var WfoProcessesList = ({
54065
54203
  const getProcessListForExport = () => getProcessListTrigger(
54066
54204
  getQueryVariablesForExport(processListQueryVars)
54067
54205
  ).unwrap();
54068
- return /* @__PURE__ */ jsx239(
54206
+ return /* @__PURE__ */ jsx241(
54069
54207
  WfoAdvancedTable,
54070
54208
  {
54071
54209
  queryString,
@@ -54128,14 +54266,14 @@ var getStyles12 = ({ theme }) => {
54128
54266
  };
54129
54267
 
54130
54268
  // src/components/WfoJsonCodeBlock/WfoJsonCodeBlock.tsx
54131
- import { jsx as jsx240 } from "@emotion/react/jsx-runtime";
54269
+ import { jsx as jsx242 } from "@emotion/react/jsx-runtime";
54132
54270
  var WfoJsonCodeBlock = ({
54133
54271
  data,
54134
54272
  isBasicStyle = false
54135
54273
  }) => {
54136
54274
  const { euiCodeBlockStyle, euiBasicCodeBlockStyle } = useWithOrchestratorTheme(getStyles12);
54137
54275
  const json = JSON.stringify(data, null, 4);
54138
- return /* @__PURE__ */ jsx240(
54276
+ return /* @__PURE__ */ jsx242(
54139
54277
  EuiCodeBlock3,
54140
54278
  {
54141
54279
  css: isBasicStyle ? euiBasicCodeBlockStyle : euiCodeBlockStyle,
@@ -54149,9 +54287,9 @@ var WfoJsonCodeBlock = ({
54149
54287
 
54150
54288
  // src/components/WfoSettings/WfoFlushSettings.tsx
54151
54289
  import { useState as useState54 } from "react";
54152
- import { useTranslations as useTranslations77 } from "next-intl";
54290
+ import { useTranslations as useTranslations78 } from "next-intl";
54153
54291
  import {
54154
- EuiButton as EuiButton16,
54292
+ EuiButton as EuiButton17,
54155
54293
  EuiComboBox,
54156
54294
  EuiPanel as EuiPanel8,
54157
54295
  EuiSpacer as EuiSpacer26,
@@ -54183,13 +54321,13 @@ var getWfoFlushSettingsStyle = (wfoTheme) => {
54183
54321
  };
54184
54322
 
54185
54323
  // src/components/WfoSettings/WfoFlushSettings.tsx
54186
- import { jsx as jsx241, jsxs as jsxs130 } from "@emotion/react/jsx-runtime";
54324
+ import { jsx as jsx243, jsxs as jsxs131 } from "@emotion/react/jsx-runtime";
54187
54325
  var WfoFlushSettings = () => {
54188
54326
  const { comboboxStyle } = useWithOrchestratorTheme(
54189
54327
  getWfoFlushSettingsStyle
54190
54328
  );
54191
54329
  const [clearCache] = useClearCacheMutation();
54192
- const t = useTranslations77("settings.page");
54330
+ const t = useTranslations78("settings.page");
54193
54331
  const [selectedOptions, setSelected] = useState54(
54194
54332
  []
54195
54333
  );
@@ -54221,10 +54359,10 @@ var WfoFlushSettings = () => {
54221
54359
  );
54222
54360
  });
54223
54361
  };
54224
- return /* @__PURE__ */ jsx241(WfoIsAllowedToRender, { resource: "/orchestrator/settings/flush-cache" /* SETTINGS_FLUSH_CACHE */, children: /* @__PURE__ */ jsxs130(EuiPanel8, { hasShadow: false, color: "subdued", paddingSize: "l", children: [
54225
- /* @__PURE__ */ jsx241(EuiText46, { size: "s", children: /* @__PURE__ */ jsx241("h4", { children: t("flushCacheSettingsTitle") }) }),
54226
- /* @__PURE__ */ jsx241(EuiSpacer26, { size: "m" }),
54227
- /* @__PURE__ */ jsx241(
54362
+ return /* @__PURE__ */ jsx243(WfoIsAllowedToRender, { resource: "/orchestrator/settings/flush-cache" /* SETTINGS_FLUSH_CACHE */, children: /* @__PURE__ */ jsxs131(EuiPanel8, { hasShadow: false, color: "subdued", paddingSize: "l", children: [
54363
+ /* @__PURE__ */ jsx243(EuiText46, { size: "s", children: /* @__PURE__ */ jsx243("h4", { children: t("flushCacheSettingsTitle") }) }),
54364
+ /* @__PURE__ */ jsx243(EuiSpacer26, { size: "m" }),
54365
+ /* @__PURE__ */ jsx243(
54228
54366
  EuiComboBox,
54229
54367
  {
54230
54368
  css: comboboxStyle,
@@ -54237,25 +54375,25 @@ var WfoFlushSettings = () => {
54237
54375
  fullWidth: true
54238
54376
  }
54239
54377
  ),
54240
- /* @__PURE__ */ jsx241(EuiSpacer26, { size: "m" }),
54241
- /* @__PURE__ */ jsx241(EuiButton16, { onClick: flushCache, iconType: "refresh", children: t("flushButton") })
54378
+ /* @__PURE__ */ jsx243(EuiSpacer26, { size: "m" }),
54379
+ /* @__PURE__ */ jsx243(EuiButton17, { onClick: flushCache, iconType: "refresh", children: t("flushButton") })
54242
54380
  ] }) });
54243
54381
  };
54244
54382
 
54245
54383
  // src/components/WfoSettings/WfoEngineStatusButton.tsx
54246
- import { useTranslations as useTranslations78 } from "next-intl";
54247
- import { EuiButton as EuiButton17 } from "@elastic/eui";
54248
- import { jsx as jsx242 } from "@emotion/react/jsx-runtime";
54384
+ import { useTranslations as useTranslations79 } from "next-intl";
54385
+ import { EuiButton as EuiButton18 } from "@elastic/eui";
54386
+ import { jsx as jsx244 } from "@emotion/react/jsx-runtime";
54249
54387
  var WfoEngineStatusButton = () => {
54250
54388
  const { data, isLoading } = useGetEngineStatusQuery();
54251
54389
  const { engineStatus } = data || {};
54252
54390
  const [setEngineStatus, { isLoading: isSettingEngineStatus }] = useSetEngineStatusMutation();
54253
- const t = useTranslations78("settings.page");
54391
+ const t = useTranslations79("settings.page");
54254
54392
  if (isLoading || isSettingEngineStatus) {
54255
- return /* @__PURE__ */ jsx242(EuiButton17, { isLoading: true, fill: true, children: "Loading..." });
54393
+ return /* @__PURE__ */ jsx244(EuiButton18, { isLoading: true, fill: true, children: "Loading..." });
54256
54394
  }
54257
- return engineStatus === "RUNNING" /* RUNNING */ ? /* @__PURE__ */ jsx242(
54258
- EuiButton17,
54395
+ return engineStatus === "RUNNING" /* RUNNING */ ? /* @__PURE__ */ jsx244(
54396
+ EuiButton18,
54259
54397
  {
54260
54398
  onClick: () => setEngineStatus(true),
54261
54399
  color: "warning",
@@ -54263,8 +54401,8 @@ var WfoEngineStatusButton = () => {
54263
54401
  iconType: "pause",
54264
54402
  children: t("pauseEngine")
54265
54403
  }
54266
- ) : /* @__PURE__ */ jsx242(
54267
- EuiButton17,
54404
+ ) : /* @__PURE__ */ jsx244(
54405
+ EuiButton18,
54268
54406
  {
54269
54407
  onClick: () => setEngineStatus(false),
54270
54408
  color: "primary",
@@ -54276,27 +54414,27 @@ var WfoEngineStatusButton = () => {
54276
54414
  };
54277
54415
 
54278
54416
  // src/components/WfoSettings/WfoModifySettings.tsx
54279
- import { useTranslations as useTranslations79 } from "next-intl";
54280
- import { EuiFlexItem as EuiFlexItem32, EuiPanel as EuiPanel9, EuiSpacer as EuiSpacer27, EuiText as EuiText47 } from "@elastic/eui";
54281
- import { jsx as jsx243, jsxs as jsxs131 } from "@emotion/react/jsx-runtime";
54417
+ import { useTranslations as useTranslations80 } from "next-intl";
54418
+ import { EuiFlexItem as EuiFlexItem33, EuiPanel as EuiPanel9, EuiSpacer as EuiSpacer27, EuiText as EuiText47 } from "@elastic/eui";
54419
+ import { jsx as jsx245, jsxs as jsxs132 } from "@emotion/react/jsx-runtime";
54282
54420
  var WfoModifySettings = () => {
54283
- const t = useTranslations79("settings.page");
54284
- return /* @__PURE__ */ jsxs131(EuiFlexItem32, { children: [
54285
- /* @__PURE__ */ jsxs131(EuiPanel9, { hasShadow: false, color: "subdued", paddingSize: "l", children: [
54286
- /* @__PURE__ */ jsx243(EuiText47, { size: "s", children: /* @__PURE__ */ jsx243("h4", { children: t("resetTextSearchIndex") }) }),
54287
- /* @__PURE__ */ jsx243(EuiSpacer27, { size: "m" }),
54288
- /* @__PURE__ */ jsx243(WfoResetTextSearchIndexButton, {})
54421
+ const t = useTranslations80("settings.page");
54422
+ return /* @__PURE__ */ jsxs132(EuiFlexItem33, { children: [
54423
+ /* @__PURE__ */ jsxs132(EuiPanel9, { hasShadow: false, color: "subdued", paddingSize: "l", children: [
54424
+ /* @__PURE__ */ jsx245(EuiText47, { size: "s", children: /* @__PURE__ */ jsx245("h4", { children: t("resetTextSearchIndex") }) }),
54425
+ /* @__PURE__ */ jsx245(EuiSpacer27, { size: "m" }),
54426
+ /* @__PURE__ */ jsx245(WfoResetTextSearchIndexButton, {})
54289
54427
  ] }),
54290
- /* @__PURE__ */ jsxs131(
54428
+ /* @__PURE__ */ jsxs132(
54291
54429
  WfoIsAllowedToRender,
54292
54430
  {
54293
54431
  resource: "/orchestrator/settings/start-stop-engine" /* SETTINGS_START_STOP_ENGINE */,
54294
54432
  children: [
54295
- /* @__PURE__ */ jsx243(EuiSpacer27, {}),
54296
- /* @__PURE__ */ jsxs131(EuiPanel9, { hasShadow: false, color: "subdued", paddingSize: "l", children: [
54297
- /* @__PURE__ */ jsx243(EuiText47, { size: "s", children: /* @__PURE__ */ jsx243("h4", { children: t("modifyEngine") }) }),
54298
- /* @__PURE__ */ jsx243(EuiSpacer27, { size: "m" }),
54299
- /* @__PURE__ */ jsx243(WfoEngineStatusButton, {})
54433
+ /* @__PURE__ */ jsx245(EuiSpacer27, {}),
54434
+ /* @__PURE__ */ jsxs132(EuiPanel9, { hasShadow: false, color: "subdued", paddingSize: "l", children: [
54435
+ /* @__PURE__ */ jsx245(EuiText47, { size: "s", children: /* @__PURE__ */ jsx245("h4", { children: t("modifyEngine") }) }),
54436
+ /* @__PURE__ */ jsx245(EuiSpacer27, { size: "m" }),
54437
+ /* @__PURE__ */ jsx245(WfoEngineStatusButton, {})
54300
54438
  ] })
54301
54439
  ]
54302
54440
  }
@@ -54305,38 +54443,38 @@ var WfoModifySettings = () => {
54305
54443
  };
54306
54444
 
54307
54445
  // src/components/WfoSettings/WfoEngineStatus.tsx
54308
- import { useTranslations as useTranslations80 } from "next-intl";
54309
- import { EuiFlexGroup as EuiFlexGroup27, EuiFlexItem as EuiFlexItem33, EuiPanel as EuiPanel10, EuiText as EuiText48 } from "@elastic/eui";
54310
- import { jsx as jsx244, jsxs as jsxs132 } from "@emotion/react/jsx-runtime";
54446
+ import { useTranslations as useTranslations81 } from "next-intl";
54447
+ import { EuiFlexGroup as EuiFlexGroup27, EuiFlexItem as EuiFlexItem34, EuiPanel as EuiPanel10, EuiText as EuiText48 } from "@elastic/eui";
54448
+ import { jsx as jsx246, jsxs as jsxs133 } from "@emotion/react/jsx-runtime";
54311
54449
  var WfoEngineStatus = () => {
54312
54450
  const { theme } = useOrchestratorTheme();
54313
54451
  const { data } = useGetEngineStatusQuery();
54314
54452
  const { engineStatus, runningProcesses } = data || {};
54315
54453
  const isRunning = engineStatus === "RUNNING" /* RUNNING */;
54316
- const t = useTranslations80("settings.page");
54317
- return /* @__PURE__ */ jsx244(EuiPanel10, { hasShadow: false, color: "subdued", paddingSize: "l", children: /* @__PURE__ */ jsxs132(EuiFlexGroup27, { direction: "column", gutterSize: "s", children: [
54318
- /* @__PURE__ */ jsx244(EuiFlexItem33, { children: /* @__PURE__ */ jsx244(EuiText48, { size: "s", children: /* @__PURE__ */ jsx244("h4", { children: t("engineStatusTitle") }) }) }),
54319
- /* @__PURE__ */ jsxs132(EuiFlexItem33, { css: { flexDirection: "row" }, children: [
54320
- /* @__PURE__ */ jsx244(EuiText48, { size: "s", style: { minWidth: 200 }, children: t("runningProcesses") }),
54321
- /* @__PURE__ */ jsx244(EuiText48, { size: "s", children: runningProcesses || "-" })
54454
+ const t = useTranslations81("settings.page");
54455
+ return /* @__PURE__ */ jsx246(EuiPanel10, { hasShadow: false, color: "subdued", paddingSize: "l", children: /* @__PURE__ */ jsxs133(EuiFlexGroup27, { direction: "column", gutterSize: "s", children: [
54456
+ /* @__PURE__ */ jsx246(EuiFlexItem34, { children: /* @__PURE__ */ jsx246(EuiText48, { size: "s", children: /* @__PURE__ */ jsx246("h4", { children: t("engineStatusTitle") }) }) }),
54457
+ /* @__PURE__ */ jsxs133(EuiFlexItem34, { css: { flexDirection: "row" }, children: [
54458
+ /* @__PURE__ */ jsx246(EuiText48, { size: "s", style: { minWidth: 200 }, children: t("runningProcesses") }),
54459
+ /* @__PURE__ */ jsx246(EuiText48, { size: "s", children: runningProcesses || "-" })
54322
54460
  ] }),
54323
- /* @__PURE__ */ jsxs132(EuiFlexItem33, { css: { flexDirection: "row" }, children: [
54324
- /* @__PURE__ */ jsx244(EuiText48, { size: "s", style: { minWidth: 190 }, children: t("status") }),
54325
- /* @__PURE__ */ jsx244(
54461
+ /* @__PURE__ */ jsxs133(EuiFlexItem34, { css: { flexDirection: "row" }, children: [
54462
+ /* @__PURE__ */ jsx246(EuiText48, { size: "s", style: { minWidth: 190 }, children: t("status") }),
54463
+ /* @__PURE__ */ jsx246(
54326
54464
  WfoStatusDotIcon,
54327
54465
  {
54328
54466
  color: isRunning ? theme.colors.success : theme.colors.warning
54329
54467
  }
54330
54468
  ),
54331
- /* @__PURE__ */ jsx244(EuiText48, { size: "xs", css: { paddingTop: theme.size.xs }, children: /* @__PURE__ */ jsx244("p", { children: engineStatus }) })
54469
+ /* @__PURE__ */ jsx246(EuiText48, { size: "xs", css: { paddingTop: theme.size.xs }, children: /* @__PURE__ */ jsx246("p", { children: engineStatus }) })
54332
54470
  ] })
54333
54471
  ] }) });
54334
54472
  };
54335
54473
 
54336
54474
  // src/components/WfoSettings/WfoWorkerStatus.tsx
54337
- import { useTranslations as useTranslations81 } from "next-intl";
54338
- import { EuiFlexGroup as EuiFlexGroup28, EuiFlexItem as EuiFlexItem34, EuiPanel as EuiPanel11, EuiText as EuiText49 } from "@elastic/eui";
54339
- import { jsx as jsx245, jsxs as jsxs133 } from "@emotion/react/jsx-runtime";
54475
+ import { useTranslations as useTranslations82 } from "next-intl";
54476
+ import { EuiFlexGroup as EuiFlexGroup28, EuiFlexItem as EuiFlexItem35, EuiPanel as EuiPanel11, EuiText as EuiText49 } from "@elastic/eui";
54477
+ import { jsx as jsx247, jsxs as jsxs134 } from "@emotion/react/jsx-runtime";
54340
54478
  var WfoWorkerStatus = () => {
54341
54479
  const { data } = useGetWorkerStatusQuery();
54342
54480
  const {
@@ -54345,33 +54483,33 @@ var WfoWorkerStatus = () => {
54345
54483
  numberOfRunningJobs,
54346
54484
  numberOfWorkersOnline
54347
54485
  } = data || {};
54348
- const t = useTranslations81("settings.page");
54349
- return executorType?.toUpperCase() === "CELERY" /* CELERY */ && /* @__PURE__ */ jsx245(EuiPanel11, { hasShadow: false, color: "subdued", paddingSize: "l", children: /* @__PURE__ */ jsxs133(EuiFlexGroup28, { direction: "column", gutterSize: "s", children: [
54350
- /* @__PURE__ */ jsx245(EuiFlexItem34, { children: /* @__PURE__ */ jsx245(EuiText49, { size: "s", children: /* @__PURE__ */ jsx245("h4", { children: t("workerStatusTitle") }) }) }),
54351
- /* @__PURE__ */ jsxs133(EuiFlexItem34, { css: { flexDirection: "row" }, children: [
54352
- /* @__PURE__ */ jsx245(EuiText49, { size: "s", style: { minWidth: 200 }, children: t("numberOfQueuedJobs") }),
54353
- /* @__PURE__ */ jsx245(EuiText49, { size: "s", children: numberOfQueuedJobs || "-" })
54486
+ const t = useTranslations82("settings.page");
54487
+ return executorType?.toUpperCase() === "CELERY" /* CELERY */ && /* @__PURE__ */ jsx247(EuiPanel11, { hasShadow: false, color: "subdued", paddingSize: "l", children: /* @__PURE__ */ jsxs134(EuiFlexGroup28, { direction: "column", gutterSize: "s", children: [
54488
+ /* @__PURE__ */ jsx247(EuiFlexItem35, { children: /* @__PURE__ */ jsx247(EuiText49, { size: "s", children: /* @__PURE__ */ jsx247("h4", { children: t("workerStatusTitle") }) }) }),
54489
+ /* @__PURE__ */ jsxs134(EuiFlexItem35, { css: { flexDirection: "row" }, children: [
54490
+ /* @__PURE__ */ jsx247(EuiText49, { size: "s", style: { minWidth: 200 }, children: t("numberOfQueuedJobs") }),
54491
+ /* @__PURE__ */ jsx247(EuiText49, { size: "s", children: numberOfQueuedJobs || "-" })
54354
54492
  ] }),
54355
- /* @__PURE__ */ jsxs133(EuiFlexItem34, { css: { flexDirection: "row" }, children: [
54356
- /* @__PURE__ */ jsx245(EuiText49, { size: "s", style: { minWidth: 200 }, children: t("numberOfRunningJobs") }),
54357
- /* @__PURE__ */ jsx245(EuiText49, { size: "s", children: numberOfRunningJobs || "-" })
54493
+ /* @__PURE__ */ jsxs134(EuiFlexItem35, { css: { flexDirection: "row" }, children: [
54494
+ /* @__PURE__ */ jsx247(EuiText49, { size: "s", style: { minWidth: 200 }, children: t("numberOfRunningJobs") }),
54495
+ /* @__PURE__ */ jsx247(EuiText49, { size: "s", children: numberOfRunningJobs || "-" })
54358
54496
  ] }),
54359
- /* @__PURE__ */ jsxs133(EuiFlexItem34, { css: { flexDirection: "row" }, children: [
54360
- /* @__PURE__ */ jsx245(EuiText49, { size: "s", style: { minWidth: 200 }, children: t("numberOfWorkersOnline") }),
54361
- /* @__PURE__ */ jsx245(EuiText49, { size: "s", children: numberOfWorkersOnline || "-" })
54497
+ /* @__PURE__ */ jsxs134(EuiFlexItem35, { css: { flexDirection: "row" }, children: [
54498
+ /* @__PURE__ */ jsx247(EuiText49, { size: "s", style: { minWidth: 200 }, children: t("numberOfWorkersOnline") }),
54499
+ /* @__PURE__ */ jsx247(EuiText49, { size: "s", children: numberOfWorkersOnline || "-" })
54362
54500
  ] })
54363
54501
  ] }) }) || null;
54364
54502
  };
54365
54503
 
54366
54504
  // src/components/WfoSettings/WfoResetTextSearchIndexButton.tsx
54367
- import { useTranslations as useTranslations82 } from "next-intl";
54368
- import { EuiButton as EuiButton18 } from "@elastic/eui";
54369
- import { jsx as jsx246 } from "@emotion/react/jsx-runtime";
54505
+ import { useTranslations as useTranslations83 } from "next-intl";
54506
+ import { EuiButton as EuiButton19 } from "@elastic/eui";
54507
+ import { jsx as jsx248 } from "@emotion/react/jsx-runtime";
54370
54508
  var WfoResetTextSearchIndexButton = () => {
54371
54509
  const [resetTextSearchIndex] = useResetTextSearchIndexMutation();
54372
- const t = useTranslations82("settings.page");
54373
- return /* @__PURE__ */ jsx246(
54374
- EuiButton18,
54510
+ const t = useTranslations83("settings.page");
54511
+ return /* @__PURE__ */ jsx248(
54512
+ EuiButton19,
54375
54513
  {
54376
54514
  onClick: () => resetTextSearchIndex(null),
54377
54515
  iconType: "refresh",
@@ -54381,17 +54519,17 @@ var WfoResetTextSearchIndexButton = () => {
54381
54519
  };
54382
54520
 
54383
54521
  // src/components/WfoInsyncIcon/WfoInsyncIcon.tsx
54384
- import { jsx as jsx247 } from "@emotion/react/jsx-runtime";
54522
+ import { jsx as jsx249 } from "@emotion/react/jsx-runtime";
54385
54523
  var WfoInsyncIcon = ({ inSync }) => {
54386
54524
  const { theme } = useOrchestratorTheme();
54387
- return inSync ? /* @__PURE__ */ jsx247(
54525
+ return inSync ? /* @__PURE__ */ jsx249(
54388
54526
  WfoCheckmarkCircleFill,
54389
54527
  {
54390
54528
  height: 20,
54391
54529
  width: 20,
54392
54530
  color: theme.colors.primary
54393
54531
  }
54394
- ) : /* @__PURE__ */ jsx247(
54532
+ ) : /* @__PURE__ */ jsx249(
54395
54533
  WfoMinusCircleFill,
54396
54534
  {
54397
54535
  height: 20,
@@ -54402,9 +54540,9 @@ var WfoInsyncIcon = ({ inSync }) => {
54402
54540
  };
54403
54541
 
54404
54542
  // src/components/WfoErrorBoundary/WfoErrorBoundary.tsx
54405
- import React82 from "react";
54406
- import { jsx as jsx248, jsxs as jsxs134 } from "@emotion/react/jsx-runtime";
54407
- var WfoErrorBoundary = class extends React82.Component {
54543
+ import React83 from "react";
54544
+ import { jsx as jsx250, jsxs as jsxs135 } from "@emotion/react/jsx-runtime";
54545
+ var WfoErrorBoundary = class extends React83.Component {
54408
54546
  constructor(props) {
54409
54547
  super(props);
54410
54548
  this.state = { hasError: false };
@@ -54420,10 +54558,10 @@ var WfoErrorBoundary = class extends React82.Component {
54420
54558
  if (this.props.fallback) {
54421
54559
  return this.props.fallback;
54422
54560
  }
54423
- return /* @__PURE__ */ jsxs134("p", { children: [
54561
+ return /* @__PURE__ */ jsxs135("p", { children: [
54424
54562
  "An unexpected error occurred, try to go back to the",
54425
54563
  " ",
54426
- /* @__PURE__ */ jsx248("a", { href: "/", children: "home page" })
54564
+ /* @__PURE__ */ jsx250("a", { href: "/", children: "home page" })
54427
54565
  ] });
54428
54566
  }
54429
54567
  return this.props.children;
@@ -54455,10 +54593,10 @@ var getStyles13 = ({ theme }) => {
54455
54593
  };
54456
54594
 
54457
54595
  // src/components/WfoNoResults/WfoNoResults.tsx
54458
- import { jsxs as jsxs135 } from "@emotion/react/jsx-runtime";
54596
+ import { jsxs as jsxs136 } from "@emotion/react/jsx-runtime";
54459
54597
  var WfoNoResults = ({ text, icon }) => {
54460
54598
  const { panelStyle } = useWithOrchestratorTheme(getStyles13);
54461
- return /* @__PURE__ */ jsxs135(EuiFlexGroup29, { css: panelStyle, children: [
54599
+ return /* @__PURE__ */ jsxs136(EuiFlexGroup29, { css: panelStyle, children: [
54462
54600
  icon,
54463
54601
  " ",
54464
54602
  text
@@ -54466,7 +54604,7 @@ var WfoNoResults = ({ text, icon }) => {
54466
54604
  };
54467
54605
 
54468
54606
  // src/components/WfoRenderElementOrString/WfoRenderElementOrString.tsx
54469
- import { Fragment as Fragment61, jsx as jsx249 } from "@emotion/react/jsx-runtime";
54607
+ import { Fragment as Fragment61, jsx as jsx251 } from "@emotion/react/jsx-runtime";
54470
54608
  var WfoRenderElementOrString = ({
54471
54609
  children,
54472
54610
  renderString
@@ -54474,16 +54612,16 @@ var WfoRenderElementOrString = ({
54474
54612
  if (typeof children === "string" && renderString) {
54475
54613
  return renderString(children);
54476
54614
  }
54477
- return /* @__PURE__ */ jsx249(Fragment61, { children });
54615
+ return /* @__PURE__ */ jsx251(Fragment61, { children });
54478
54616
  };
54479
54617
 
54480
54618
  // src/components/WfoStartButton/WfoStartTaskComboBox.tsx
54481
- import { useTranslations as useTranslations83 } from "next-intl";
54619
+ import { useTranslations as useTranslations84 } from "next-intl";
54482
54620
  import { useRouter as useRouter15 } from "next/router";
54483
- import { jsx as jsx250 } from "@emotion/react/jsx-runtime";
54621
+ import { jsx as jsx252 } from "@emotion/react/jsx-runtime";
54484
54622
  var WfoStartTaskButtonComboBox = () => {
54485
54623
  const router = useRouter15();
54486
- const t = useTranslations83("common");
54624
+ const t = useTranslations84("common");
54487
54625
  const { isEngineRunningNow } = useCheckEngineStatus();
54488
54626
  const { data } = useGetTaskOptionsQuery();
54489
54627
  const taskOptions = data?.startOptions || [];
@@ -54502,7 +54640,7 @@ var WfoStartTaskButtonComboBox = () => {
54502
54640
  });
54503
54641
  }
54504
54642
  };
54505
- return /* @__PURE__ */ jsx250(
54643
+ return /* @__PURE__ */ jsx252(
54506
54644
  WfoStartButtonComboBox,
54507
54645
  {
54508
54646
  buttonText: t("newTask"),
@@ -54596,10 +54734,10 @@ var subscriptionListTabs = [
54596
54734
  ];
54597
54735
 
54598
54736
  // src/components/WfoSubscriptionsList/WfoSubscriptionsList.tsx
54599
- import { useTranslations as useTranslations84 } from "next-intl";
54737
+ import { useTranslations as useTranslations85 } from "next-intl";
54600
54738
  import Link13 from "next/link";
54601
54739
  import { useRouter as useRouter16 } from "next/router";
54602
- import { jsx as jsx251 } from "@emotion/react/jsx-runtime";
54740
+ import { jsx as jsx253 } from "@emotion/react/jsx-runtime";
54603
54741
  var WfoSubscriptionsList = ({
54604
54742
  alwaysOnFilters,
54605
54743
  dataDisplayParams,
@@ -54607,8 +54745,8 @@ var WfoSubscriptionsList = ({
54607
54745
  hiddenColumns
54608
54746
  }) => {
54609
54747
  const router = useRouter16();
54610
- const t = useTranslations84("subscriptions.index");
54611
- const tError = useTranslations84("errors");
54748
+ const t = useTranslations85("subscriptions.index");
54749
+ const tError = useTranslations85("errors");
54612
54750
  const { showToastMessage } = useShowToastMessage();
54613
54751
  const { sortBy: sortBy2, queryString, pageIndex, pageSize } = dataDisplayParams;
54614
54752
  const graphqlQueryVariables = {
@@ -54625,7 +54763,7 @@ var WfoSubscriptionsList = ({
54625
54763
  columnType: "data" /* DATA */,
54626
54764
  label: t("id"),
54627
54765
  width: "100px",
54628
- renderData: (value) => /* @__PURE__ */ jsx251(WfoFirstPartUUID, { UUID: value }),
54766
+ renderData: (value) => /* @__PURE__ */ jsx253(WfoFirstPartUUID, { UUID: value }),
54629
54767
  renderDetails: (value) => value,
54630
54768
  renderTooltip: (value) => value
54631
54769
  },
@@ -54633,20 +54771,20 @@ var WfoSubscriptionsList = ({
54633
54771
  columnType: "data" /* DATA */,
54634
54772
  label: t("description"),
54635
54773
  width: "500px",
54636
- renderData: (value, record) => /* @__PURE__ */ jsx251(Link13, { href: `/subscriptions/${record.subscriptionId}`, children: value }),
54774
+ renderData: (value, record) => /* @__PURE__ */ jsx253(Link13, { href: `/subscriptions/${record.subscriptionId}`, children: value }),
54637
54775
  renderTooltip: (value) => value
54638
54776
  },
54639
54777
  status: {
54640
54778
  columnType: "data" /* DATA */,
54641
54779
  label: t("status"),
54642
54780
  width: "120px",
54643
- renderData: (value) => /* @__PURE__ */ jsx251(WfoSubscriptionStatusBadge, { status: value })
54781
+ renderData: (value) => /* @__PURE__ */ jsx253(WfoSubscriptionStatusBadge, { status: value })
54644
54782
  },
54645
54783
  insync: {
54646
54784
  columnType: "data" /* DATA */,
54647
54785
  label: t("insync"),
54648
54786
  width: "80px",
54649
- renderData: (value) => /* @__PURE__ */ jsx251(WfoInsyncIcon, { inSync: value })
54787
+ renderData: (value) => /* @__PURE__ */ jsx253(WfoInsyncIcon, { inSync: value })
54650
54788
  },
54651
54789
  productName: {
54652
54790
  columnType: "data" /* DATA */,
@@ -54670,7 +54808,7 @@ var WfoSubscriptionsList = ({
54670
54808
  columnType: "data" /* DATA */,
54671
54809
  label: t("startDate"),
54672
54810
  width: "120px",
54673
- renderData: (value) => /* @__PURE__ */ jsx251(WfoDateTime, { dateOrIsoString: value }),
54811
+ renderData: (value) => /* @__PURE__ */ jsx253(WfoDateTime, { dateOrIsoString: value }),
54674
54812
  renderDetails: parseDateToLocaleDateTimeString,
54675
54813
  clipboardText: parseDateToLocaleDateTimeString,
54676
54814
  renderTooltip: (cellValue) => cellValue?.toString()
@@ -54679,7 +54817,7 @@ var WfoSubscriptionsList = ({
54679
54817
  columnType: "data" /* DATA */,
54680
54818
  label: t("endDate"),
54681
54819
  width: "120px",
54682
- renderData: (value) => /* @__PURE__ */ jsx251(WfoDateTime, { dateOrIsoString: value }),
54820
+ renderData: (value) => /* @__PURE__ */ jsx253(WfoDateTime, { dateOrIsoString: value }),
54683
54821
  renderDetails: parseDateToLocaleDateTimeString,
54684
54822
  clipboardText: parseDateToLocaleDateTimeString,
54685
54823
  renderTooltip: (cellValue) => cellValue?.toString()
@@ -54688,7 +54826,7 @@ var WfoSubscriptionsList = ({
54688
54826
  columnType: "data" /* DATA */,
54689
54827
  label: t("note"),
54690
54828
  renderData: (cellValue, row) => {
54691
- return /* @__PURE__ */ jsx251(
54829
+ return /* @__PURE__ */ jsx253(
54692
54830
  WfoSubscriptionNoteEdit,
54693
54831
  {
54694
54832
  onlyShowOnHover: true,
@@ -54704,9 +54842,9 @@ var WfoSubscriptionsList = ({
54704
54842
  columnType: "data" /* DATA */,
54705
54843
  label: t("metadata"),
54706
54844
  width: "100px",
54707
- renderData: (value) => /* @__PURE__ */ jsx251(WfoInlineJson, { data: value }),
54708
- renderDetails: (value) => value && /* @__PURE__ */ jsx251(WfoJsonCodeBlock, { data: value, isBasicStyle: true }),
54709
- renderTooltip: (value) => value && /* @__PURE__ */ jsx251(WfoJsonCodeBlock, { data: value, isBasicStyle: false })
54845
+ renderData: (value) => /* @__PURE__ */ jsx253(WfoInlineJson, { data: value }),
54846
+ renderDetails: (value) => value && /* @__PURE__ */ jsx253(WfoJsonCodeBlock, { data: value, isBasicStyle: true }),
54847
+ renderTooltip: (value) => value && /* @__PURE__ */ jsx253(WfoJsonCodeBlock, { data: value, isBasicStyle: false })
54710
54848
  }
54711
54849
  };
54712
54850
  const [getSubscriptionListTrigger, { isFetching: isFetchingCsv }] = useLazyGetSubscriptionListQuery();
@@ -54752,7 +54890,7 @@ var WfoSubscriptionsList = ({
54752
54890
  sortFields,
54753
54891
  filterFields
54754
54892
  );
54755
- return /* @__PURE__ */ jsx251(
54893
+ return /* @__PURE__ */ jsx253(
54756
54894
  WfoAdvancedTable,
54757
54895
  {
54758
54896
  queryString: dataDisplayParams.queryString,
@@ -54793,7 +54931,7 @@ var getNumberOfColumns = (currentBreakpoint) => {
54793
54931
  import {
54794
54932
  EuiAvatar as EuiAvatar2,
54795
54933
  EuiFlexGroup as EuiFlexGroup30,
54796
- EuiFlexItem as EuiFlexItem35,
54934
+ EuiFlexItem as EuiFlexItem36,
54797
54935
  EuiLoadingSpinner,
54798
54936
  EuiPanel as EuiPanel12,
54799
54937
  EuiText as EuiText50
@@ -54823,7 +54961,7 @@ var getWfoSummaryCardHeaderStyles = ({ theme }) => {
54823
54961
  };
54824
54962
 
54825
54963
  // src/components/WfoSummary/WfoSummaryCardHeader/WfoSummaryCardHeader.tsx
54826
- import { jsx as jsx252, jsxs as jsxs136 } from "@emotion/react/jsx-runtime";
54964
+ import { jsx as jsx254, jsxs as jsxs137 } from "@emotion/react/jsx-runtime";
54827
54965
  var WfoSummaryCardHeader = ({
54828
54966
  text,
54829
54967
  value,
@@ -54833,8 +54971,8 @@ var WfoSummaryCardHeader = ({
54833
54971
  }) => {
54834
54972
  const { theme } = useOrchestratorTheme();
54835
54973
  const { avatarStyle, totalSectionStyle, valueStyle } = useWithOrchestratorTheme(getWfoSummaryCardHeaderStyles);
54836
- return /* @__PURE__ */ jsx252(EuiFlexItem35, { grow: 0, children: /* @__PURE__ */ jsx252(EuiPanel12, { hasShadow: false, color: "subdued", paddingSize: "l", children: /* @__PURE__ */ jsxs136(EuiFlexGroup30, { alignItems: "center", children: [
54837
- /* @__PURE__ */ jsx252(
54974
+ return /* @__PURE__ */ jsx254(EuiFlexItem36, { grow: 0, children: /* @__PURE__ */ jsx254(EuiPanel12, { hasShadow: false, color: "subdued", paddingSize: "l", children: /* @__PURE__ */ jsxs137(EuiFlexGroup30, { alignItems: "center", children: [
54975
+ /* @__PURE__ */ jsx254(
54838
54976
  EuiAvatar2,
54839
54977
  {
54840
54978
  iconSize: "l",
@@ -54847,11 +54985,11 @@ var WfoSummaryCardHeader = ({
54847
54985
  color: iconColor
54848
54986
  }
54849
54987
  ),
54850
- /* @__PURE__ */ jsxs136("div", { css: totalSectionStyle, children: [
54851
- /* @__PURE__ */ jsx252(EuiText50, { color: "subdued", children: text }),
54852
- /* @__PURE__ */ jsxs136(EuiFlexGroup30, { gutterSize: "s", alignItems: "center", children: [
54853
- /* @__PURE__ */ jsx252(EuiText50, { css: valueStyle, children: value }),
54854
- isFetching && /* @__PURE__ */ jsx252(EuiLoadingSpinner, {})
54988
+ /* @__PURE__ */ jsxs137("div", { css: totalSectionStyle, children: [
54989
+ /* @__PURE__ */ jsx254(EuiText50, { color: "subdued", children: text }),
54990
+ /* @__PURE__ */ jsxs137(EuiFlexGroup30, { gutterSize: "s", alignItems: "center", children: [
54991
+ /* @__PURE__ */ jsx254(EuiText50, { css: valueStyle, children: value }),
54992
+ isFetching && /* @__PURE__ */ jsx254(EuiLoadingSpinner, {})
54855
54993
  ] })
54856
54994
  ] })
54857
54995
  ] }) }) });
@@ -54860,9 +54998,9 @@ var WfoSummaryCardHeader = ({
54860
54998
  // src/components/WfoSummary/WfoSummaryCardList/WfoSummaryCardList.tsx
54861
54999
  import { useRouter as useRouter17 } from "next/router";
54862
55000
  import {
54863
- EuiButton as EuiButton19,
54864
- EuiFlexItem as EuiFlexItem37,
54865
- EuiHorizontalRule as EuiHorizontalRule9,
55001
+ EuiButton as EuiButton20,
55002
+ EuiFlexItem as EuiFlexItem38,
55003
+ EuiHorizontalRule as EuiHorizontalRule10,
54866
55004
  EuiPanel as EuiPanel13,
54867
55005
  EuiSkeletonText,
54868
55006
  EuiSpacer as EuiSpacer28,
@@ -54870,19 +55008,19 @@ import {
54870
55008
  } from "@elastic/eui";
54871
55009
 
54872
55010
  // src/components/WfoSummary/WfoSummaryCardList/WfoSummaryCardListItem.tsx
54873
- import { EuiFlexGroup as EuiFlexGroup31, EuiFlexItem as EuiFlexItem36, EuiIcon as EuiIcon6, EuiTextColor } from "@elastic/eui";
55011
+ import { EuiFlexGroup as EuiFlexGroup31, EuiFlexItem as EuiFlexItem37, EuiIcon as EuiIcon6, EuiTextColor } from "@elastic/eui";
54874
55012
 
54875
55013
  // src/components/WfoOptionalLink/WfoOptionalLink.tsx
54876
55014
  import Link14 from "next/link";
54877
- import { jsx as jsx253 } from "@emotion/react/jsx-runtime";
55015
+ import { jsx as jsx255 } from "@emotion/react/jsx-runtime";
54878
55016
  var WfoOptionalLink = ({
54879
55017
  children,
54880
55018
  href
54881
55019
  }) => {
54882
55020
  if (!href) {
54883
- return /* @__PURE__ */ jsx253("span", { children });
55021
+ return /* @__PURE__ */ jsx255("span", { children });
54884
55022
  }
54885
- return /* @__PURE__ */ jsx253(Link14, { href, children });
55023
+ return /* @__PURE__ */ jsx255(Link14, { href, children });
54886
55024
  };
54887
55025
 
54888
55026
  // src/components/WfoSummary/WfoSummaryCardList/styles.ts
@@ -54932,7 +55070,7 @@ var getWfoSummaryCardListStyles = ({ theme }) => {
54932
55070
  };
54933
55071
 
54934
55072
  // src/components/WfoSummary/WfoSummaryCardList/WfoSummaryCardListItem.tsx
54935
- import { jsx as jsx254, jsxs as jsxs137 } from "@emotion/react/jsx-runtime";
55073
+ import { jsx as jsx256, jsxs as jsxs138 } from "@emotion/react/jsx-runtime";
54936
55074
  var WfoSummaryCardListItem = ({
54937
55075
  title,
54938
55076
  value,
@@ -54945,9 +55083,9 @@ var WfoSummaryCardListItem = ({
54945
55083
  listItemSubtitleStyle,
54946
55084
  listItemHighlightIconStyle
54947
55085
  } = useWithOrchestratorTheme(getWfoSummaryCardListStyles);
54948
- return /* @__PURE__ */ jsx254(WfoOptionalLink, { href: url, children: /* @__PURE__ */ jsxs137(EuiFlexGroup31, { css: listItemContainerStyle, gutterSize: "none", children: [
54949
- /* @__PURE__ */ jsxs137(EuiFlexItem36, { children: [
54950
- /* @__PURE__ */ jsx254(
55086
+ return /* @__PURE__ */ jsx256(WfoOptionalLink, { href: url, children: /* @__PURE__ */ jsxs138(EuiFlexGroup31, { css: listItemContainerStyle, gutterSize: "none", children: [
55087
+ /* @__PURE__ */ jsxs138(EuiFlexItem37, { children: [
55088
+ /* @__PURE__ */ jsx256(
54951
55089
  EuiTextColor,
54952
55090
  {
54953
55091
  color: url ? theme.colors.link : theme.colors.title,
@@ -54955,22 +55093,22 @@ var WfoSummaryCardListItem = ({
54955
55093
  children: title
54956
55094
  }
54957
55095
  ),
54958
- /* @__PURE__ */ jsx254(EuiTextColor, { css: listItemSubtitleStyle, children: value })
55096
+ /* @__PURE__ */ jsx256(EuiTextColor, { css: listItemSubtitleStyle, children: value })
54959
55097
  ] }),
54960
- /* @__PURE__ */ jsx254(
54961
- EuiFlexItem36,
55098
+ /* @__PURE__ */ jsx256(
55099
+ EuiFlexItem37,
54962
55100
  {
54963
55101
  className: url ? "highlight-icon" : void 0,
54964
55102
  grow: false,
54965
55103
  css: listItemHighlightIconStyle,
54966
- children: /* @__PURE__ */ jsx254(EuiIcon6, { type: "sortRight", color: "primary" })
55104
+ children: /* @__PURE__ */ jsx256(EuiIcon6, { type: "sortRight", color: "primary" })
54967
55105
  }
54968
55106
  )
54969
55107
  ] }) });
54970
55108
  };
54971
55109
 
54972
55110
  // src/components/WfoSummary/WfoSummaryCardList/WfoSummaryCardList.tsx
54973
- import { jsx as jsx255, jsxs as jsxs138 } from "@emotion/react/jsx-runtime";
55111
+ import { jsx as jsx257, jsxs as jsxs139 } from "@emotion/react/jsx-runtime";
54974
55112
  var WfoSummaryCardList = ({
54975
55113
  title,
54976
55114
  items,
@@ -54980,7 +55118,7 @@ var WfoSummaryCardList = ({
54980
55118
  const router = useRouter17();
54981
55119
  const euiScrollBarStyle = useEuiScrollBar3();
54982
55120
  const { listContainerStyle, listHeaderStyle, listStyle } = useWithOrchestratorTheme(getWfoSummaryCardListStyles);
54983
- return /* @__PURE__ */ jsx255(EuiFlexItem37, { children: /* @__PURE__ */ jsxs138(
55121
+ return /* @__PURE__ */ jsx257(EuiFlexItem38, { children: /* @__PURE__ */ jsxs139(
54984
55122
  EuiPanel13,
54985
55123
  {
54986
55124
  css: listContainerStyle,
@@ -54988,11 +55126,11 @@ var WfoSummaryCardList = ({
54988
55126
  hasBorder: true,
54989
55127
  paddingSize: "l",
54990
55128
  children: [
54991
- /* @__PURE__ */ jsxs138("div", { children: [
54992
- /* @__PURE__ */ jsx255("p", { css: listHeaderStyle, children: title }),
54993
- /* @__PURE__ */ jsx255(EuiSpacer28, { size: "m" }),
54994
- /* @__PURE__ */ jsx255(EuiSkeletonText, { isLoading, lines: 10, children: /* @__PURE__ */ jsx255("div", { css: [listStyle, euiScrollBarStyle], children: items?.map((item, index) => /* @__PURE__ */ jsxs138("div", { children: [
54995
- /* @__PURE__ */ jsx255(
55129
+ /* @__PURE__ */ jsxs139("div", { children: [
55130
+ /* @__PURE__ */ jsx257("p", { css: listHeaderStyle, children: title }),
55131
+ /* @__PURE__ */ jsx257(EuiSpacer28, { size: "m" }),
55132
+ /* @__PURE__ */ jsx257(EuiSkeletonText, { isLoading, lines: 10, children: /* @__PURE__ */ jsx257("div", { css: [listStyle, euiScrollBarStyle], children: items?.map((item, index) => /* @__PURE__ */ jsxs139("div", { children: [
55133
+ /* @__PURE__ */ jsx257(
54996
55134
  WfoSummaryCardListItem,
54997
55135
  {
54998
55136
  title: item.title,
@@ -55000,12 +55138,12 @@ var WfoSummaryCardList = ({
55000
55138
  url: item.url
55001
55139
  }
55002
55140
  ),
55003
- index === items.length - 1 ? null : /* @__PURE__ */ jsx255(EuiHorizontalRule9, { margin: "none" })
55141
+ index === items.length - 1 ? null : /* @__PURE__ */ jsx257(EuiHorizontalRule10, { margin: "none" })
55004
55142
  ] }, index)) }) })
55005
55143
  ] }),
55006
- /* @__PURE__ */ jsx255(EuiSpacer28, { size: "m" }),
55007
- button && /* @__PURE__ */ jsx255(
55008
- EuiButton19,
55144
+ /* @__PURE__ */ jsx257(EuiSpacer28, { size: "m" }),
55145
+ button && /* @__PURE__ */ jsx257(
55146
+ EuiButton20,
55009
55147
  {
55010
55148
  fullWidth: true,
55011
55149
  onClick: () => router.push(button.url),
@@ -55019,10 +55157,10 @@ var WfoSummaryCardList = ({
55019
55157
 
55020
55158
  // src/components/WfoSummary/WfoSummaryCards.tsx
55021
55159
  import { EuiFlexGrid as EuiFlexGrid2, useCurrentEuiBreakpoint } from "@elastic/eui";
55022
- import { jsx as jsx256 } from "@emotion/react/jsx-runtime";
55160
+ import { jsx as jsx258 } from "@emotion/react/jsx-runtime";
55023
55161
  var WfoSummaryCards = ({ children }) => {
55024
55162
  const currentBreakpoint = useCurrentEuiBreakpoint();
55025
- return /* @__PURE__ */ jsx256(
55163
+ return /* @__PURE__ */ jsx258(
55026
55164
  EuiFlexGrid2,
55027
55165
  {
55028
55166
  responsive: false,
@@ -55034,7 +55172,7 @@ var WfoSummaryCards = ({ children }) => {
55034
55172
  };
55035
55173
 
55036
55174
  // src/components/WfoSummary/WfoSummaryCard.tsx
55037
- import { EuiFlexItem as EuiFlexItem38, EuiSpacer as EuiSpacer29 } from "@elastic/eui";
55175
+ import { EuiFlexItem as EuiFlexItem39, EuiSpacer as EuiSpacer29 } from "@elastic/eui";
55038
55176
 
55039
55177
  // src/components/WfoSummary/styles.ts
55040
55178
  import { css as css50 } from "@emotion/react";
@@ -55049,7 +55187,7 @@ var getWfoSummaryCardsStyles = ({ theme }) => {
55049
55187
  };
55050
55188
 
55051
55189
  // src/components/WfoSummary/WfoSummaryCard.tsx
55052
- import { jsx as jsx257, jsxs as jsxs139 } from "@emotion/react/jsx-runtime";
55190
+ import { jsx as jsx259, jsxs as jsxs140 } from "@emotion/react/jsx-runtime";
55053
55191
  var SummaryCardStatus = /* @__PURE__ */ ((SummaryCardStatus2) => {
55054
55192
  SummaryCardStatus2["Success"] = "Success";
55055
55193
  SummaryCardStatus2["Error"] = "Error";
@@ -55075,7 +55213,7 @@ var WfoSummaryCard = ({
55075
55213
  switch (status) {
55076
55214
  case "Success" /* Success */:
55077
55215
  return {
55078
- iconType: () => /* @__PURE__ */ jsx257(
55216
+ iconType: () => /* @__PURE__ */ jsx259(
55079
55217
  WfoCheckmarkCircleFill,
55080
55218
  {
55081
55219
  width: 32,
@@ -55087,7 +55225,7 @@ var WfoSummaryCard = ({
55087
55225
  };
55088
55226
  case "Error" /* Error */:
55089
55227
  return {
55090
- iconType: () => /* @__PURE__ */ jsx257(
55228
+ iconType: () => /* @__PURE__ */ jsx259(
55091
55229
  WfoXCircleFill,
55092
55230
  {
55093
55231
  width: 32,
@@ -55099,7 +55237,7 @@ var WfoSummaryCard = ({
55099
55237
  };
55100
55238
  case "Neutral" /* Neutral */:
55101
55239
  return {
55102
- iconType: () => /* @__PURE__ */ jsx257(
55240
+ iconType: () => /* @__PURE__ */ jsx259(
55103
55241
  WfoCubeFill,
55104
55242
  {
55105
55243
  width: 32,
@@ -55111,7 +55249,7 @@ var WfoSummaryCard = ({
55111
55249
  };
55112
55250
  default:
55113
55251
  return headerBadge ?? {
55114
- iconType: () => /* @__PURE__ */ jsx257(
55252
+ iconType: () => /* @__PURE__ */ jsx259(
55115
55253
  WfoCubeFill,
55116
55254
  {
55117
55255
  width: 32,
@@ -55123,8 +55261,8 @@ var WfoSummaryCard = ({
55123
55261
  };
55124
55262
  }
55125
55263
  };
55126
- return /* @__PURE__ */ jsxs139(EuiFlexItem38, { css: cardContainerStyle, children: [
55127
- /* @__PURE__ */ jsx257(
55264
+ return /* @__PURE__ */ jsxs140(EuiFlexItem39, { css: cardContainerStyle, children: [
55265
+ /* @__PURE__ */ jsx259(
55128
55266
  WfoSummaryCardHeader,
55129
55267
  {
55130
55268
  text: headerTitle,
@@ -55133,8 +55271,8 @@ var WfoSummaryCard = ({
55133
55271
  ...getIconTypeAndColorForHeaderStatus(headerStatus)
55134
55272
  }
55135
55273
  ),
55136
- /* @__PURE__ */ jsx257(EuiSpacer29, { size: "m" }),
55137
- /* @__PURE__ */ jsx257(
55274
+ /* @__PURE__ */ jsx259(EuiSpacer29, { size: "m" }),
55275
+ /* @__PURE__ */ jsx259(
55138
55276
  WfoSummaryCardList,
55139
55277
  {
55140
55278
  title: listTitle,
@@ -55147,7 +55285,7 @@ var WfoSummaryCard = ({
55147
55285
  };
55148
55286
 
55149
55287
  // src/components/WfoSummary/WfoActiveWorkflowsSummaryCard.tsx
55150
- import { useTranslations as useTranslations85 } from "next-intl";
55288
+ import { useTranslations as useTranslations86 } from "next-intl";
55151
55289
 
55152
55290
  // src/pages/startPage/queryVariables.ts
55153
55291
  var baseQueryVariables = {
@@ -55244,15 +55382,15 @@ var productsSummaryQueryVariables = {
55244
55382
  };
55245
55383
 
55246
55384
  // src/components/WfoSummary/WfoActiveWorkflowsSummaryCard.tsx
55247
- import { jsx as jsx258 } from "@emotion/react/jsx-runtime";
55385
+ import { jsx as jsx260 } from "@emotion/react/jsx-runtime";
55248
55386
  var WfoActiveWorkflowsSummaryCard = () => {
55249
- const t = useTranslations85("startPage.activeWorkflows");
55387
+ const t = useTranslations86("startPage.activeWorkflows");
55250
55388
  const {
55251
55389
  data: activeWorkflowsSummaryResponse,
55252
55390
  isFetching,
55253
55391
  isLoading
55254
55392
  } = useGetProcessListSummaryQuery(activeWorkflowsListSummaryQueryVariables);
55255
- return /* @__PURE__ */ jsx258(
55393
+ return /* @__PURE__ */ jsx260(
55256
55394
  WfoSummaryCard,
55257
55395
  {
55258
55396
  headerTitle: t("headerTitle"),
@@ -55271,16 +55409,16 @@ var WfoActiveWorkflowsSummaryCard = () => {
55271
55409
  };
55272
55410
 
55273
55411
  // src/components/WfoSummary/WfoFailedTasksSummaryCard.tsx
55274
- import { useTranslations as useTranslations86 } from "next-intl";
55275
- import { jsx as jsx259 } from "@emotion/react/jsx-runtime";
55412
+ import { useTranslations as useTranslations87 } from "next-intl";
55413
+ import { jsx as jsx261 } from "@emotion/react/jsx-runtime";
55276
55414
  var WfoFailedTasksSummaryCard = () => {
55277
- const t = useTranslations86("startPage.failedTasks");
55415
+ const t = useTranslations87("startPage.failedTasks");
55278
55416
  const {
55279
55417
  data: failedTasksSummaryResponse,
55280
55418
  isFetching,
55281
55419
  isLoading
55282
55420
  } = useGetProcessListSummaryQuery(taskListSummaryQueryVariables);
55283
- return /* @__PURE__ */ jsx259(
55421
+ return /* @__PURE__ */ jsx261(
55284
55422
  WfoSummaryCard,
55285
55423
  {
55286
55424
  headerTitle: t("headerTitle"),
@@ -55299,10 +55437,10 @@ var WfoFailedTasksSummaryCard = () => {
55299
55437
  };
55300
55438
 
55301
55439
  // src/components/WfoSummary/WfoLatestActiveSubscriptionsSummaryCard.tsx
55302
- import { useTranslations as useTranslations87 } from "next-intl";
55303
- import { jsx as jsx260 } from "@emotion/react/jsx-runtime";
55440
+ import { useTranslations as useTranslations88 } from "next-intl";
55441
+ import { jsx as jsx262 } from "@emotion/react/jsx-runtime";
55304
55442
  var WfoLatestActiveSubscriptionsSummaryCard = () => {
55305
- const t = useTranslations87("startPage.activeSubscriptions");
55443
+ const t = useTranslations88("startPage.activeSubscriptions");
55306
55444
  const {
55307
55445
  data: subscriptionsSummaryResult,
55308
55446
  isFetching,
@@ -55310,7 +55448,7 @@ var WfoLatestActiveSubscriptionsSummaryCard = () => {
55310
55448
  } = useGetSubscriptionSummaryListQuery(
55311
55449
  subscriptionsListSummaryQueryVariables
55312
55450
  );
55313
- return /* @__PURE__ */ jsx260(
55451
+ return /* @__PURE__ */ jsx262(
55314
55452
  WfoSummaryCard,
55315
55453
  {
55316
55454
  headerTitle: t("headerTitle"),
@@ -55329,10 +55467,10 @@ var WfoLatestActiveSubscriptionsSummaryCard = () => {
55329
55467
  };
55330
55468
 
55331
55469
  // src/components/WfoSummary/WfoLatestOutOfSyncSubscriptionSummaryCard.tsx
55332
- import { useTranslations as useTranslations88 } from "next-intl";
55333
- import { jsx as jsx261 } from "@emotion/react/jsx-runtime";
55470
+ import { useTranslations as useTranslations89 } from "next-intl";
55471
+ import { jsx as jsx263 } from "@emotion/react/jsx-runtime";
55334
55472
  var WfoLatestOutOfSyncSubscriptionSummaryCard = () => {
55335
- const t = useTranslations88("startPage.outOfSyncSubscriptions");
55473
+ const t = useTranslations89("startPage.outOfSyncSubscriptions");
55336
55474
  const {
55337
55475
  data: outOfSyncSubscriptionsSummaryResult,
55338
55476
  isFetching,
@@ -55345,7 +55483,7 @@ var WfoLatestOutOfSyncSubscriptionSummaryCard = () => {
55345
55483
  ["sortBy" /* SORT_BY */]: "field-startDate_order-ASC",
55346
55484
  ["queryString" /* QUERY_STRING */]: "status:(provisioning|active) insync:false"
55347
55485
  };
55348
- return /* @__PURE__ */ jsx261(
55486
+ return /* @__PURE__ */ jsx263(
55349
55487
  WfoSummaryCard,
55350
55488
  {
55351
55489
  headerTitle: t("headerTitle"),
@@ -55367,12 +55505,12 @@ var WfoLatestOutOfSyncSubscriptionSummaryCard = () => {
55367
55505
  };
55368
55506
 
55369
55507
  // src/components/WfoSummary/WfoMyWorkflowsSummaryCard.tsx
55370
- import { useTranslations as useTranslations89 } from "next-intl";
55371
- import { jsx as jsx262 } from "@emotion/react/jsx-runtime";
55508
+ import { useTranslations as useTranslations90 } from "next-intl";
55509
+ import { jsx as jsx264 } from "@emotion/react/jsx-runtime";
55372
55510
  var WfoMyWorkflowsSummaryCard = ({
55373
55511
  username
55374
55512
  }) => {
55375
- const t = useTranslations89("startPage.myWorkflows");
55513
+ const t = useTranslations90("startPage.myWorkflows");
55376
55514
  const {
55377
55515
  data: myWorkflowsSummaryResponse,
55378
55516
  isFetching,
@@ -55385,7 +55523,7 @@ var WfoMyWorkflowsSummaryCard = ({
55385
55523
  ["sortBy" /* SORT_BY */]: "field-lastModifiedAt_order-DESC",
55386
55524
  ["queryString" /* QUERY_STRING */]: `createdBy:"${username}"`
55387
55525
  };
55388
- return /* @__PURE__ */ jsx262(
55526
+ return /* @__PURE__ */ jsx264(
55389
55527
  WfoSummaryCard,
55390
55528
  {
55391
55529
  headerTitle: t("headerTitle"),
@@ -55407,10 +55545,10 @@ var WfoMyWorkflowsSummaryCard = ({
55407
55545
  };
55408
55546
 
55409
55547
  // src/components/WfoSummary/WfoProductsSummaryCard.tsx
55410
- import { useTranslations as useTranslations90 } from "next-intl";
55411
- import { jsx as jsx263, jsxs as jsxs140 } from "@emotion/react/jsx-runtime";
55548
+ import { useTranslations as useTranslations91 } from "next-intl";
55549
+ import { jsx as jsx265, jsxs as jsxs141 } from "@emotion/react/jsx-runtime";
55412
55550
  var WfoProductsSummaryCard = () => {
55413
- const t = useTranslations90("startPage.products");
55551
+ const t = useTranslations91("startPage.products");
55414
55552
  const {
55415
55553
  data: productsSummaryResult,
55416
55554
  isFetching,
@@ -55420,7 +55558,7 @@ var WfoProductsSummaryCard = () => {
55420
55558
  (left, right) => (right.subscriptions.pageInfo.totalItems ?? 0) - (left.subscriptions.pageInfo.totalItems ?? 0)
55421
55559
  ).map((product) => ({
55422
55560
  title: "",
55423
- value: /* @__PURE__ */ jsxs140(
55561
+ value: /* @__PURE__ */ jsxs141(
55424
55562
  "div",
55425
55563
  {
55426
55564
  css: {
@@ -55428,13 +55566,13 @@ var WfoProductsSummaryCard = () => {
55428
55566
  justifyContent: "space-between"
55429
55567
  },
55430
55568
  children: [
55431
- /* @__PURE__ */ jsx263("div", { children: product.name }),
55432
- /* @__PURE__ */ jsx263("div", { children: product.subscriptions.pageInfo.totalItems || 0 })
55569
+ /* @__PURE__ */ jsx265("div", { children: product.name }),
55570
+ /* @__PURE__ */ jsx265("div", { children: product.subscriptions.pageInfo.totalItems || 0 })
55433
55571
  ]
55434
55572
  }
55435
55573
  )
55436
55574
  })) ?? [];
55437
- return /* @__PURE__ */ jsx263(
55575
+ return /* @__PURE__ */ jsx265(
55438
55576
  WfoSummaryCard,
55439
55577
  {
55440
55578
  headerTitle: t("headerTitle"),
@@ -55450,17 +55588,17 @@ var WfoProductsSummaryCard = () => {
55450
55588
 
55451
55589
  // src/components/WfoTitleWithWebsocketBadge/WfoTitleWithWebsocketBadge.tsx
55452
55590
  import { EuiPageHeader as EuiPageHeader3 } from "@elastic/eui";
55453
- import { Fragment as Fragment62, jsx as jsx264, jsxs as jsxs141 } from "@emotion/react/jsx-runtime";
55591
+ import { Fragment as Fragment62, jsx as jsx266, jsxs as jsxs142 } from "@emotion/react/jsx-runtime";
55454
55592
  var WfoTitleWithWebsocketBadge = ({
55455
55593
  title
55456
55594
  }) => {
55457
55595
  const { useWebSockets } = useGetOrchestratorConfig();
55458
- const pageTitle = useWebSockets ? /* @__PURE__ */ jsxs141(Fragment62, { children: [
55596
+ const pageTitle = useWebSockets ? /* @__PURE__ */ jsxs142(Fragment62, { children: [
55459
55597
  title,
55460
55598
  " ",
55461
- /* @__PURE__ */ jsx264(WfoWebsocketStatusBadge, {})
55599
+ /* @__PURE__ */ jsx266(WfoWebsocketStatusBadge, {})
55462
55600
  ] }) : title;
55463
- return /* @__PURE__ */ jsx264(EuiPageHeader3, { pageTitle });
55601
+ return /* @__PURE__ */ jsx266(EuiPageHeader3, { pageTitle });
55464
55602
  };
55465
55603
 
55466
55604
  // src/components/WfoRadioDropdown/WfoRadioDropdown.tsx
@@ -55471,7 +55609,7 @@ import {
55471
55609
  EuiPopover as EuiPopover9,
55472
55610
  EuiRadioGroup as EuiRadioGroup2
55473
55611
  } from "@elastic/eui";
55474
- import { jsx as jsx265 } from "@emotion/react/jsx-runtime";
55612
+ import { jsx as jsx267 } from "@emotion/react/jsx-runtime";
55475
55613
  var WfoRadioDropdown = ({
55476
55614
  options,
55477
55615
  onUpdateOption,
@@ -55497,16 +55635,16 @@ var WfoRadioDropdown = ({
55497
55635
  id: option.id,
55498
55636
  label: option.label
55499
55637
  }));
55500
- return /* @__PURE__ */ jsx265(
55638
+ return /* @__PURE__ */ jsx267(
55501
55639
  EuiFlexGroup32,
55502
55640
  {
55503
55641
  gutterSize: "s",
55504
55642
  alignItems: "center",
55505
55643
  justifyContent: "flexEnd",
55506
- children: /* @__PURE__ */ jsx265(
55644
+ children: /* @__PURE__ */ jsx267(
55507
55645
  EuiPopover9,
55508
55646
  {
55509
- button: /* @__PURE__ */ jsx265(
55647
+ button: /* @__PURE__ */ jsx267(
55510
55648
  EuiButtonEmpty5,
55511
55649
  {
55512
55650
  size: "s",
@@ -55527,7 +55665,7 @@ var WfoRadioDropdown = ({
55527
55665
  isOpen,
55528
55666
  closePopover: handleClose,
55529
55667
  anchorPosition: "downLeft",
55530
- children: /* @__PURE__ */ jsx265(
55668
+ children: /* @__PURE__ */ jsx267(
55531
55669
  EuiRadioGroup2,
55532
55670
  {
55533
55671
  options: radioGroupOptions,
@@ -55601,7 +55739,7 @@ var {
55601
55739
  } = subscriptionListMutationApi;
55602
55740
 
55603
55741
  // src/components/WfoInlineNoteEdit/WfoSubscriptionNoteEdit.tsx
55604
- import { jsx as jsx266 } from "@emotion/react/jsx-runtime";
55742
+ import { jsx as jsx268 } from "@emotion/react/jsx-runtime";
55605
55743
  var WfoSubscriptionNoteEdit = ({
55606
55744
  onlyShowOnHover = false,
55607
55745
  queryVariables,
@@ -55627,7 +55765,7 @@ var WfoSubscriptionNoteEdit = ({
55627
55765
  note: note2
55628
55766
  });
55629
55767
  };
55630
- return /* @__PURE__ */ jsx266(
55768
+ return /* @__PURE__ */ jsx268(
55631
55769
  WfoInlineEdit,
55632
55770
  {
55633
55771
  value: note?.trim() ? note : INVISIBLE_CHARACTER,
@@ -55638,7 +55776,7 @@ var WfoSubscriptionNoteEdit = ({
55638
55776
  };
55639
55777
 
55640
55778
  // src/components/WfoInlineNoteEdit/WfoSubscriptionDetailNoteEdit.tsx
55641
- import { jsx as jsx267 } from "@emotion/react/jsx-runtime";
55779
+ import { jsx as jsx269 } from "@emotion/react/jsx-runtime";
55642
55780
  var WfoSubscriptionDetailNoteEdit = ({ subscriptionId, onlyShowOnHover = false }) => {
55643
55781
  const { data, endpointName } = useGetSubscriptionDetailQuery({
55644
55782
  subscriptionId
@@ -55661,7 +55799,7 @@ var WfoSubscriptionDetailNoteEdit = ({ subscriptionId, onlyShowOnHover = false }
55661
55799
  note
55662
55800
  });
55663
55801
  };
55664
- return /* @__PURE__ */ jsx267(
55802
+ return /* @__PURE__ */ jsx269(
55665
55803
  WfoInlineEdit,
55666
55804
  {
55667
55805
  value: selectedItem?.note?.trim() ? selectedItem.note : INVISIBLE_CHARACTER,
@@ -55672,7 +55810,7 @@ var WfoSubscriptionDetailNoteEdit = ({ subscriptionId, onlyShowOnHover = false }
55672
55810
  };
55673
55811
 
55674
55812
  // src/components/WfoTableCodeBlock/WfoTableCodeBlock.tsx
55675
- import { EuiFlexItem as EuiFlexItem39 } from "@elastic/eui";
55813
+ import { EuiFlexItem as EuiFlexItem40 } from "@elastic/eui";
55676
55814
 
55677
55815
  // src/components/WfoTableCodeBlock/styles.ts
55678
55816
  import { css as css51 } from "@emotion/react";
@@ -55688,7 +55826,7 @@ var getStyles14 = ({ theme }) => {
55688
55826
  };
55689
55827
 
55690
55828
  // src/components/WfoTableCodeBlock/WfoTableCodeBlock.tsx
55691
- import { jsx as jsx268 } from "@emotion/react/jsx-runtime";
55829
+ import { jsx as jsx270 } from "@emotion/react/jsx-runtime";
55692
55830
  var WfoTableCodeBlock = ({
55693
55831
  stepState: data
55694
55832
  }) => {
@@ -55704,7 +55842,7 @@ var WfoTableCodeBlock = ({
55704
55842
  };
55705
55843
  }
55706
55844
  );
55707
- return /* @__PURE__ */ jsx268(EuiFlexItem39, { css: tableCodeBlockMarginStyle, children: /* @__PURE__ */ jsx268(
55845
+ return /* @__PURE__ */ jsx270(EuiFlexItem40, { css: tableCodeBlockMarginStyle, children: /* @__PURE__ */ jsx270(
55708
55846
  WfoKeyValueTable,
55709
55847
  {
55710
55848
  keyValues,
@@ -57046,6 +57184,7 @@ export {
57046
57184
  flattenArrayProps,
57047
57185
  formatDate,
57048
57186
  formatDateCetWithUtc,
57187
+ getAcceptFieldStyles,
57049
57188
  getCacheTag,
57050
57189
  getCommonFormFieldStyles,
57051
57190
  getConcatenatedPagedResult,
@@ -57063,6 +57202,7 @@ export {
57063
57202
  getFormFieldsBaseStyle,
57064
57203
  getLastUncompletedProcess,
57065
57204
  getLatestTaskDate,
57205
+ getNestedSummaryLabel,
57066
57206
  getNumberOfColumns,
57067
57207
  getNumberValueFromEnvironmentVariable,
57068
57208
  getObjectKeys,