@orchestrator-ui/orchestrator-ui-components 5.5.2 → 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.2";
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 useEffect33, 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", {}),
@@ -51510,6 +51515,7 @@ var WfoInteger = ({
51510
51515
  };
51511
51516
 
51512
51517
  // src/components/WfoPydanticForm/fields/WfoReactSelect/WfoReactSelect.tsx
51518
+ import React67, { useEffect as useEffect30 } from "react";
51513
51519
  import ReactSelect5, { components } from "react-select";
51514
51520
  import { EuiButtonIcon as EuiButtonIcon11 } from "@elastic/eui";
51515
51521
 
@@ -51585,9 +51591,16 @@ var WfoReactSelect = ({
51585
51591
  hasError = false,
51586
51592
  refetch
51587
51593
  }) => {
51588
- const selectedValue = options.find(
51594
+ useEffect30(() => {
51595
+ const selectedValue2 = options.find(
51596
+ (option) => option.value === value
51597
+ );
51598
+ setSelectedValue(selectedValue2 || null);
51599
+ }, [options, value]);
51600
+ const initialValue = options.find(
51589
51601
  (option) => option.value === value
51590
51602
  );
51603
+ const [selectedValue, setSelectedValue] = React67.useState(initialValue || null);
51591
51604
  const {
51592
51605
  reactSelectInnerComponentStyles,
51593
51606
  containerStyle,
@@ -51625,8 +51638,14 @@ var WfoReactSelect = ({
51625
51638
  id,
51626
51639
  inputId: `${id}.search`,
51627
51640
  onChange: (option) => {
51628
- const selectedValue2 = option?.value;
51629
- onChange(selectedValue2);
51641
+ if (option === null) {
51642
+ setSelectedValue(null);
51643
+ onChange(void 0);
51644
+ } else {
51645
+ const selectedValue2 = option?.value;
51646
+ setSelectedValue(option);
51647
+ onChange(selectedValue2);
51648
+ }
51630
51649
  },
51631
51650
  css: reactSelectStyle,
51632
51651
  isLoading,
@@ -51668,7 +51687,7 @@ var WfoDropdown = ({
51668
51687
  };
51669
51688
 
51670
51689
  // src/components/WfoPydanticForm/fields/WfoMultiCheckboxField.tsx
51671
- import { useEffect as useEffect30, useState as useState44 } from "react";
51690
+ import { useEffect as useEffect31, useState as useState44 } from "react";
51672
51691
  import { EuiCheckboxGroup } from "@elastic/eui";
51673
51692
  import { jsx as jsx219 } from "@emotion/react/jsx-runtime";
51674
51693
  var WfoMultiCheckboxField = ({
@@ -51676,7 +51695,7 @@ var WfoMultiCheckboxField = ({
51676
51695
  onChange,
51677
51696
  value
51678
51697
  }) => {
51679
- useEffect30(() => {
51698
+ useEffect31(() => {
51680
51699
  const getInitialMap = () => {
51681
51700
  const initialIdMap = (value || []).reduce(
51682
51701
  (idMap, id2) => {
@@ -51720,6 +51739,17 @@ var WfoMultiCheckboxField = ({
51720
51739
  );
51721
51740
  };
51722
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
+
51723
51753
  // src/components/WfoPydanticForm/WfoPydanticForm.tsx
51724
51754
  import { jsx as jsx220 } from "@emotion/react/jsx-runtime";
51725
51755
  var useWfoPydanticFormConfig = () => {
@@ -51955,6 +51985,7 @@ var WfoPydanticForm = ({
51955
51985
  labelProvider: pydanticLabelProvider,
51956
51986
  rowRenderer: Row,
51957
51987
  customTranslations,
51988
+ loadingComponent: /* @__PURE__ */ jsx220(WfoLoading, {}),
51958
51989
  locale: getLocale()
51959
51990
  };
51960
51991
  }, [
@@ -51967,28 +51998,72 @@ var WfoPydanticForm = ({
51967
51998
  return /* @__PURE__ */ jsx220(
51968
51999
  PydanticForm2,
51969
52000
  {
51970
- id: processName,
52001
+ formKey: processName,
51971
52002
  onSuccess,
51972
52003
  onCancel: handleCancel,
51973
- loadingComponent: /* @__PURE__ */ jsx220(WfoLoading, {}),
51974
52004
  config
51975
52005
  }
51976
52006
  );
51977
52007
  };
51978
52008
 
51979
52009
  // src/components/WfoWorkflowSteps/WfoStep/WfoStep.tsx
51980
- import React70, { useState as useState46 } from "react";
51981
- import { useTranslations as useTranslations63 } from "next-intl";
52010
+ import React72, { useState as useState46 } from "react";
52011
+ import { useTranslations as useTranslations64 } from "next-intl";
51982
52012
  import {
51983
- EuiButton as EuiButton12,
52013
+ EuiButton as EuiButton13,
51984
52014
  EuiFlexGroup as EuiFlexGroup22,
51985
- EuiFlexItem as EuiFlexItem27,
52015
+ EuiFlexItem as EuiFlexItem28,
51986
52016
  EuiPanel as EuiPanel4,
51987
52017
  EuiText as EuiText37
51988
52018
  } from "@elastic/eui";
51989
52019
 
51990
- // src/components/WfoWorkflowSteps/WfoStepStatusIcon/WfoStepStatusIcon.tsx
52020
+ // src/components/WfoWorkflowSteps/WfoStep/WfoStepFormOld.tsx
52021
+ import { useState as useState45 } from "react";
51991
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";
51992
52067
 
51993
52068
  // src/components/WfoWorkflowSteps/styles.ts
51994
52069
  import { css as css40 } from "@emotion/react";
@@ -52099,26 +52174,26 @@ var getWorkflowStepsStyles = ({
52099
52174
  };
52100
52175
 
52101
52176
  // src/components/WfoWorkflowSteps/WfoStepStatusIcon/WfoStepStatusIcon.tsx
52102
- 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";
52103
52178
  var SubIcon = ({ stepStatus, color = "" }) => {
52104
52179
  switch (stepStatus) {
52105
52180
  case "suspend" /* SUSPEND */:
52106
- return /* @__PURE__ */ jsx221(WfoMinusCircleFill, { color });
52181
+ return /* @__PURE__ */ jsx222(WfoMinusCircleFill, { color });
52107
52182
  case "failed" /* FAILED */:
52108
- return /* @__PURE__ */ jsx221(WfoXCircleFill, { color });
52183
+ return /* @__PURE__ */ jsx222(WfoXCircleFill, { color });
52109
52184
  default:
52110
- return /* @__PURE__ */ jsx221(WfoCheckmarkCircleFill, { color });
52185
+ return /* @__PURE__ */ jsx222(WfoCheckmarkCircleFill, { color });
52111
52186
  }
52112
52187
  };
52113
52188
  var MainIcon = ({ stepStatus, color = "", isStartStep }) => {
52114
52189
  if (isStartStep) {
52115
- return /* @__PURE__ */ jsx221(WfoPlayFill, { color });
52190
+ return /* @__PURE__ */ jsx222(WfoPlayFill, { color });
52116
52191
  }
52117
52192
  switch (stepStatus) {
52118
52193
  case "form" /* FORM */:
52119
- return /* @__PURE__ */ jsx221(WfoPencilAlt, { color });
52194
+ return /* @__PURE__ */ jsx222(WfoPencilAlt, { color });
52120
52195
  default:
52121
- return /* @__PURE__ */ jsx221(WfoCogFill, { color, width: 16, height: 16 });
52196
+ return /* @__PURE__ */ jsx222(WfoCogFill, { color, width: 16, height: 16 });
52122
52197
  }
52123
52198
  };
52124
52199
  var WfoStepStatusIcon = ({
@@ -52173,8 +52248,8 @@ var WfoStepStatusIcon = ({
52173
52248
  ];
52174
52249
  }
52175
52250
  })();
52176
- return /* @__PURE__ */ jsxs114(EuiFlexItem25, { css: { flexDirection: "row" }, grow: 0, children: [
52177
- /* @__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(
52178
52253
  MainIcon,
52179
52254
  {
52180
52255
  color: mainIconColor,
@@ -52182,7 +52257,7 @@ var WfoStepStatusIcon = ({
52182
52257
  isStartStep
52183
52258
  }
52184
52259
  ) }),
52185
- /* @__PURE__ */ jsx221(
52260
+ /* @__PURE__ */ jsx222(
52186
52261
  "div",
52187
52262
  {
52188
52263
  css: {
@@ -52190,7 +52265,7 @@ var WfoStepStatusIcon = ({
52190
52265
  width: `${theme.base}`,
52191
52266
  visibility: hasSubIcon ? "visible" : "hidden"
52192
52267
  },
52193
- children: /* @__PURE__ */ jsx221(SubIcon, { color: subIconColor, stepStatus })
52268
+ children: /* @__PURE__ */ jsx222(SubIcon, { color: subIconColor, stepStatus })
52194
52269
  }
52195
52270
  )
52196
52271
  ] });
@@ -52219,53 +52294,118 @@ var getStepContent = (stepDelta, showHiddenKeys) => {
52219
52294
  };
52220
52295
 
52221
52296
  // src/components/WfoWorkflowSteps/WfoStep/WfoStepForm.tsx
52222
- import { useState as useState45 } from "react";
52223
- import { EuiFlexItem as EuiFlexItem26 } from "@elastic/eui";
52224
- 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";
52225
52345
  var WfoStepForm = ({
52226
52346
  userInputForm,
52227
52347
  isTask,
52228
52348
  processId,
52229
52349
  userPermissions
52230
52350
  }) => {
52231
- const [isProcessing, setIsProcessing] = useState45(false);
52232
- const [hasError, setHasError] = useState45(false);
52233
52351
  const { theme } = useOrchestratorTheme();
52352
+ const {
52353
+ wfoComponentMatcherExtender,
52354
+ pydanticLabelProvider,
52355
+ customTranslations
52356
+ } = useWfoPydanticFormConfig();
52234
52357
  const [resumeProcess] = useResumeProcessMutation();
52235
- const submitForm = (processInput) => {
52236
- if (!processId) {
52237
- return Promise.reject();
52238
- }
52239
- return resumeProcess({ processId, userInputs: processInput }).unwrap().then(() => {
52240
- setIsProcessing(true);
52241
- }).catch((error) => {
52242
- if (error?.status !== 510 /* FormNotComplete */) {
52243
- if (error?.status === 400 /* BadRequest */) {
52244
- 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
+ };
52245
52377
  }
52246
- console.error(error);
52247
- setHasError(true);
52248
- } else {
52249
52378
  throw error;
52250
- }
52251
- });
52252
- };
52253
- return /* @__PURE__ */ jsx222(EuiFlexItem26, { css: { margin: theme.size.m }, children: hasError && /* @__PURE__ */ jsx222(WfoError, {}) || isProcessing && /* @__PURE__ */ jsx222(WfoLoading, {}) || /* @__PURE__ */ jsx222(
52254
- UserInputFormWizard,
52379
+ });
52380
+ },
52381
+ [getInitialStepInput, processId, resumeProcess]
52382
+ );
52383
+ return /* @__PURE__ */ jsx224(EuiFlexItem27, { css: { margin: theme.size.m }, children: /* @__PURE__ */ jsx224(
52384
+ PydanticForm3,
52255
52385
  {
52256
- stepUserInput: userInputForm,
52257
- stepSubmit: submitForm,
52258
- hasNext: false,
52259
- isTask,
52260
- isResuming: true,
52261
- 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
+ }
52262
52402
  }
52263
52403
  ) });
52264
52404
  };
52265
52405
 
52266
52406
  // src/components/WfoWorkflowSteps/WfoStep/WfoStep.tsx
52267
- import { Fragment as Fragment51, jsx as jsx223, jsxs as jsxs115 } from "@emotion/react/jsx-runtime";
52268
- var WfoStep = React70.forwardRef(
52407
+ import { Fragment as Fragment51, jsx as jsx225, jsxs as jsxs116 } from "@emotion/react/jsx-runtime";
52408
+ var WfoStep = React72.forwardRef(
52269
52409
  ({
52270
52410
  stepListItem,
52271
52411
  onToggleStepDetail,
@@ -52289,7 +52429,7 @@ var WfoStep = React70.forwardRef(
52289
52429
  stepRowStyle,
52290
52430
  getStepToggleExpandStyle
52291
52431
  } = useWithOrchestratorTheme(getWorkflowStepsStyles);
52292
- const t = useTranslations63("processes.steps");
52432
+ const t = useTranslations64("processes.steps");
52293
52433
  const hasHtmlMail = Object.prototype.hasOwnProperty.call(
52294
52434
  step?.stateDelta || {},
52295
52435
  "confirmation_mail"
@@ -52300,29 +52440,29 @@ var WfoStep = React70.forwardRef(
52300
52440
  if (!value) {
52301
52441
  return "";
52302
52442
  }
52303
- return /* @__PURE__ */ jsxs115(EuiText37, { size: "s", children: [
52304
- /* @__PURE__ */ jsx223("h4", { children: "To" }),
52305
- /* @__PURE__ */ jsx223("p", { children: value.to.map(
52306
- (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: [
52307
52447
  v.name,
52308
52448
  " <",
52309
- /* @__PURE__ */ jsx223("a", { href: `mailto: ${v.email}`, children: v.email }),
52449
+ /* @__PURE__ */ jsx225("a", { href: `mailto: ${v.email}`, children: v.email }),
52310
52450
  ">"
52311
52451
  ] }, `to-${i}`)
52312
52452
  ) }),
52313
- /* @__PURE__ */ jsx223("h4", { children: "CC" }),
52314
- /* @__PURE__ */ jsx223("p", { children: value.cc.map(
52315
- (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: [
52316
52456
  v.name,
52317
52457
  " <",
52318
- /* @__PURE__ */ jsx223("a", { href: `mailto: ${v.email}`, children: v.email }),
52458
+ /* @__PURE__ */ jsx225("a", { href: `mailto: ${v.email}`, children: v.email }),
52319
52459
  ">"
52320
52460
  ] }, `cc-${i}`)
52321
52461
  ) }),
52322
- /* @__PURE__ */ jsx223("h4", { children: "Subject" }),
52323
- /* @__PURE__ */ jsx223("p", { children: value.subject }),
52324
- /* @__PURE__ */ jsx223("h4", { children: "Message" }),
52325
- /* @__PURE__ */ jsx223(
52462
+ /* @__PURE__ */ jsx225("h4", { children: "Subject" }),
52463
+ /* @__PURE__ */ jsx225("p", { children: value.subject }),
52464
+ /* @__PURE__ */ jsx225("h4", { children: "Message" }),
52465
+ /* @__PURE__ */ jsx225(
52326
52466
  "div",
52327
52467
  {
52328
52468
  className: "emailMessage",
@@ -52331,31 +52471,35 @@ var WfoStep = React70.forwardRef(
52331
52471
  )
52332
52472
  ] });
52333
52473
  };
52334
- return /* @__PURE__ */ jsx223("div", { ref, children: /* @__PURE__ */ jsxs115(EuiPanel4, { children: [
52335
- /* @__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(
52336
52480
  EuiFlexGroup22,
52337
52481
  {
52338
52482
  css: getStepHeaderStyle(hasStepContent),
52339
52483
  onClick: () => hasStepContent && onToggleStepDetail(),
52340
52484
  children: [
52341
- /* @__PURE__ */ jsx223(
52485
+ /* @__PURE__ */ jsx225(
52342
52486
  WfoStepStatusIcon,
52343
52487
  {
52344
52488
  stepStatus: step.status,
52345
52489
  isStartStep
52346
52490
  }
52347
52491
  ),
52348
- /* @__PURE__ */ jsxs115(EuiFlexItem27, { grow: 0, children: [
52349
- /* @__PURE__ */ jsx223(EuiText37, { css: stepListContentBoldTextStyle, children: step.name }),
52350
- /* @__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: [
52351
52495
  step.status,
52352
52496
  " ",
52353
52497
  step.completed && `- ${formatDate(step.completed)}`
52354
52498
  ] })
52355
52499
  ] }),
52356
- /* @__PURE__ */ jsx223(EuiFlexGroup22, { css: stepRowStyle, children: step.completed && /* @__PURE__ */ jsxs115(Fragment51, { children: [
52357
- isExpanded && /* @__PURE__ */ jsx223(
52358
- EuiButton12,
52500
+ /* @__PURE__ */ jsx225(EuiFlexGroup22, { css: stepRowStyle, children: step.completed && /* @__PURE__ */ jsxs116(Fragment51, { children: [
52501
+ isExpanded && /* @__PURE__ */ jsx225(
52502
+ EuiButton13,
52359
52503
  {
52360
52504
  onClick: (event) => {
52361
52505
  setTableView(!tableView);
@@ -52367,33 +52511,33 @@ var WfoStep = React70.forwardRef(
52367
52511
  )
52368
52512
  }
52369
52513
  ),
52370
- /* @__PURE__ */ jsxs115(
52371
- EuiFlexItem27,
52514
+ /* @__PURE__ */ jsxs116(
52515
+ EuiFlexItem28,
52372
52516
  {
52373
52517
  grow: 0,
52374
52518
  css: stepHeaderRightStyle,
52375
52519
  children: [
52376
- /* @__PURE__ */ jsx223(EuiText37, { css: stepDurationStyle, children: t("duration") }),
52377
- /* @__PURE__ */ jsx223(EuiText37, { size: "m", children: calculateTimeDifference(
52520
+ /* @__PURE__ */ jsx225(EuiText37, { css: stepDurationStyle, children: t("duration") }),
52521
+ /* @__PURE__ */ jsx225(EuiText37, { size: "m", children: calculateTimeDifference(
52378
52522
  startedAt,
52379
52523
  completedAt
52380
52524
  ) })
52381
52525
  ]
52382
52526
  }
52383
52527
  ),
52384
- /* @__PURE__ */ jsx223(
52385
- EuiFlexItem27,
52528
+ /* @__PURE__ */ jsx225(
52529
+ EuiFlexItem28,
52386
52530
  {
52387
52531
  grow: 0,
52388
52532
  css: getStepToggleExpandStyle(
52389
52533
  hasStepContent
52390
52534
  ),
52391
- children: isExpanded && /* @__PURE__ */ jsx223(
52535
+ children: isExpanded && /* @__PURE__ */ jsx225(
52392
52536
  WfoChevronUp,
52393
52537
  {
52394
52538
  color: theme.colors.text
52395
52539
  }
52396
- ) || /* @__PURE__ */ jsx223(
52540
+ ) || /* @__PURE__ */ jsx225(
52397
52541
  WfoChevronDown,
52398
52542
  {
52399
52543
  color: theme.colors.text
@@ -52405,28 +52549,36 @@ var WfoStep = React70.forwardRef(
52405
52549
  ]
52406
52550
  }
52407
52551
  ),
52408
- hasStepContent && !hasHtmlMail && isExpanded && (tableView ? /* @__PURE__ */ jsx223(WfoTableCodeBlock, { stepState: stepContent }) : /* @__PURE__ */ jsx223(WfoJsonCodeBlock, { data: stepContent })),
52409
- 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(
52410
52554
  step.stateDelta.confirmation_mail
52411
52555
  ) }),
52412
- step.status === "suspend" /* SUSPEND */ && userInputForm && /* @__PURE__ */ jsx223(
52556
+ step.status === "suspend" /* SUSPEND */ && userInputForm && (isCorelinkForm ? /* @__PURE__ */ jsx225(
52413
52557
  WfoStepForm,
52558
+ {
52559
+ userInputForm,
52560
+ isTask,
52561
+ processId: processId ?? "",
52562
+ userPermissions
52563
+ }
52564
+ ) : /* @__PURE__ */ jsx225(
52565
+ WfoStepFormOld,
52414
52566
  {
52415
52567
  userInputForm,
52416
52568
  isTask,
52417
52569
  processId,
52418
52570
  userPermissions
52419
52571
  }
52420
- )
52572
+ ))
52421
52573
  ] }) });
52422
52574
  }
52423
52575
  );
52424
52576
  WfoStep.displayName = "WfoStep";
52425
52577
 
52426
52578
  // src/components/WfoWorkflowSteps/WfoStepList/WfoStepList.tsx
52427
- import React71, { useImperativeHandle as useImperativeHandle2, useRef as useRef12 } from "react";
52428
- import { Fragment as Fragment52, jsx as jsx224, jsxs as jsxs116 } from "@emotion/react/jsx-runtime";
52429
- var WfoStepList = React71.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(
52430
52582
  ({
52431
52583
  stepListItems,
52432
52584
  showHiddenKeys,
@@ -52481,9 +52633,9 @@ var WfoStepList = React71.forwardRef(
52481
52633
  stepReferences.current.delete(stepId);
52482
52634
  }
52483
52635
  };
52484
- return /* @__PURE__ */ jsx224(Fragment52, { children: stepListItems.map((stepListItem, index) => /* @__PURE__ */ jsxs116("div", { children: [
52485
- index !== 0 && /* @__PURE__ */ jsx224("div", { css: stepSpacerStyle }),
52486
- /* @__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(
52487
52639
  WfoStep,
52488
52640
  {
52489
52641
  ref: getReferenceCallbackForStepId(
@@ -52506,21 +52658,21 @@ var WfoStepList = React71.forwardRef(
52506
52658
  WfoStepList.displayName = "WfoStepList";
52507
52659
 
52508
52660
  // src/components/WfoWorkflowSteps/WfoWorkflowStepList/WfoWorkflowStepList.tsx
52509
- import React73, { useEffect as useEffect32, useState as useState48 } from "react";
52510
- 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";
52511
52663
 
52512
52664
  // src/components/WfoDiff/WfoDiff.tsx
52513
52665
  var refractor = __toESM(require_refractor(), 1);
52514
- import { useCallback as useCallback7, useEffect as useEffect31, useMemo as useMemo5, useState as useState47 } from "react";
52666
+ import { useCallback as useCallback8, useEffect as useEffect32, useMemo as useMemo6, useState as useState47 } from "react";
52515
52667
  import { Diff, Hunk, parseDiff, tokenize } from "react-diff-view";
52516
52668
  import "react-diff-view/style/index.css";
52517
- import { useTranslations as useTranslations64 } from "next-intl";
52669
+ import { useTranslations as useTranslations65 } from "next-intl";
52518
52670
  import "prism-themes/themes/prism-ghcolors.min.css";
52519
52671
  import { diffLines, formatLines } from "unidiff";
52520
52672
  import {
52521
52673
  EuiButtonIcon as EuiButtonIcon12,
52522
52674
  EuiFlexGroup as EuiFlexGroup23,
52523
- EuiFlexItem as EuiFlexItem28,
52675
+ EuiFlexItem as EuiFlexItem29,
52524
52676
  EuiSpacer as EuiSpacer20,
52525
52677
  EuiText as EuiText38
52526
52678
  } from "@elastic/eui";
@@ -52562,12 +52714,12 @@ var getWfoDiffStyles = ({
52562
52714
  };
52563
52715
 
52564
52716
  // src/components/WfoDiff/WfoDiff.tsx
52565
- 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";
52566
52718
  var EMPTY_HUNKS = [];
52567
52719
  var SMALL_CONTEXT = 3;
52568
52720
  var FULL_CONTEXT = 1e6;
52569
52721
  var WfoDiff = ({ oldText, newText, syntax }) => {
52570
- const t = useTranslations64("processes.delta");
52722
+ const t = useTranslations65("processes.delta");
52571
52723
  const [showSplit, setShowSplit] = useState47(true);
52572
52724
  const [showFull, setShowFull] = useState47(false);
52573
52725
  const { diffStyle } = useWithOrchestratorTheme(getWfoDiffStyles);
@@ -52575,14 +52727,14 @@ var WfoDiff = ({ oldText, newText, syntax }) => {
52575
52727
  type: "modify",
52576
52728
  hunks: []
52577
52729
  });
52578
- const updateDiffText = useCallback7(() => {
52730
+ const updateDiffText = useCallback8(() => {
52579
52731
  const diffText = formatLines(diffLines(oldText, newText), {
52580
52732
  context: showFull ? FULL_CONTEXT : SMALL_CONTEXT
52581
52733
  });
52582
52734
  const [diff] = parseDiff(diffText, { nearbySequences: "zip" });
52583
52735
  setDiff(diff);
52584
52736
  }, [oldText, newText, setDiff, showFull]);
52585
- const tokens = useMemo5(() => {
52737
+ const tokens = useMemo6(() => {
52586
52738
  if (!hunks) {
52587
52739
  return void 0;
52588
52740
  }
@@ -52597,13 +52749,13 @@ var WfoDiff = ({ oldText, newText, syntax }) => {
52597
52749
  return void 0;
52598
52750
  }
52599
52751
  }, [hunks, syntax]);
52600
- useEffect31(() => {
52752
+ useEffect32(() => {
52601
52753
  updateDiffText();
52602
52754
  }, [updateDiffText, showFull]);
52603
- return /* @__PURE__ */ jsxs117("div", { children: [
52604
- /* @__PURE__ */ jsxs117(EuiFlexGroup23, { gutterSize: "xs", children: [
52605
- /* @__PURE__ */ jsx225(EuiFlexItem28, { grow: false, children: /* @__PURE__ */ jsx225(EuiText38, { children: /* @__PURE__ */ jsx225("h3", { children: t("title") }) }) }),
52606
- /* @__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(
52607
52759
  EuiButtonIcon12,
52608
52760
  {
52609
52761
  size: "s",
@@ -52614,7 +52766,7 @@ var WfoDiff = ({ oldText, newText, syntax }) => {
52614
52766
  )
52615
52767
  }
52616
52768
  ) }),
52617
- /* @__PURE__ */ jsx225(EuiFlexItem28, { grow: false, children: /* @__PURE__ */ jsx225(
52769
+ /* @__PURE__ */ jsx227(EuiFlexItem29, { grow: false, children: /* @__PURE__ */ jsx227(
52618
52770
  EuiButtonIcon12,
52619
52771
  {
52620
52772
  size: "s",
@@ -52626,8 +52778,8 @@ var WfoDiff = ({ oldText, newText, syntax }) => {
52626
52778
  }
52627
52779
  ) })
52628
52780
  ] }),
52629
- /* @__PURE__ */ jsx225(EuiSpacer20, {}),
52630
- /* @__PURE__ */ jsx225(
52781
+ /* @__PURE__ */ jsx227(EuiSpacer20, {}),
52782
+ /* @__PURE__ */ jsx227(
52631
52783
  Diff,
52632
52784
  {
52633
52785
  css: diffStyle,
@@ -52635,7 +52787,7 @@ var WfoDiff = ({ oldText, newText, syntax }) => {
52635
52787
  diffType: type,
52636
52788
  hunks: hunks || EMPTY_HUNKS,
52637
52789
  tokens,
52638
- children: (hunks2) => hunks2.map((hunk) => /* @__PURE__ */ jsx225(Hunk, { hunk }, hunk.content))
52790
+ children: (hunks2) => hunks2.map((hunk) => /* @__PURE__ */ jsx227(Hunk, { hunk }, hunk.content))
52639
52791
  }
52640
52792
  )
52641
52793
  ] });
@@ -52643,7 +52795,7 @@ var WfoDiff = ({ oldText, newText, syntax }) => {
52643
52795
  var WfoDiff_default = WfoDiff;
52644
52796
 
52645
52797
  // src/components/WfoWorkflowSteps/WfoTraceback/WfoTraceback.tsx
52646
- import { useTranslations as useTranslations65 } from "next-intl";
52798
+ import { useTranslations as useTranslations66 } from "next-intl";
52647
52799
  import { EuiCodeBlock, EuiText as EuiText39 } from "@elastic/eui";
52648
52800
 
52649
52801
  // src/components/WfoWorkflowSteps/WfoTraceback/styles.ts
@@ -52660,21 +52812,21 @@ var getStyles10 = ({ theme }) => {
52660
52812
  };
52661
52813
 
52662
52814
  // src/components/WfoWorkflowSteps/WfoTraceback/WfoTraceback.tsx
52663
- 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";
52664
52816
  var WfoTraceback = ({ children }) => {
52665
52817
  const { codeBlockStyle } = useWithOrchestratorTheme(getStyles10);
52666
- const t = useTranslations65("processes.steps");
52667
- return /* @__PURE__ */ jsxs118(Fragment53, { children: [
52668
- /* @__PURE__ */ jsx226(EuiText39, { children: /* @__PURE__ */ jsx226("h3", { children: t("traceback") }) }),
52669
- /* @__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 })
52670
52822
  ] });
52671
52823
  };
52672
52824
 
52673
52825
  // src/components/WfoWorkflowSteps/WfoWorkflowStepList/WfoWorkflowStepList.tsx
52674
- 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";
52675
52827
  var WfoProcessRawData = ({ processId }) => {
52676
52828
  const { data, isFetching } = useGetRawProcessDetailQuery({ processId });
52677
- return isFetching ? /* @__PURE__ */ jsx227(WfoLoading, {}) : /* @__PURE__ */ jsx227(WfoJsonCodeBlock, { data: data || {} });
52829
+ return isFetching ? /* @__PURE__ */ jsx229(WfoLoading, {}) : /* @__PURE__ */ jsx229(WfoJsonCodeBlock, { data: data || {} });
52678
52830
  };
52679
52831
  var WfoProcessSubscriptionDelta = ({
52680
52832
  processId
@@ -52685,7 +52837,7 @@ var WfoProcessSubscriptionDelta = ({
52685
52837
  const oldSubscriptions = data?.current_state?.__old_subscriptions__ || {};
52686
52838
  const oldSubscription = subscriptionId in oldSubscriptions ? oldSubscriptions[subscriptionId] : null;
52687
52839
  const oldText = oldSubscription || null;
52688
- return isFetching ? /* @__PURE__ */ jsx227(WfoLoading, {}) : /* @__PURE__ */ jsx227(
52840
+ return isFetching ? /* @__PURE__ */ jsx229(WfoLoading, {}) : /* @__PURE__ */ jsx229(
52689
52841
  WfoDiff_default,
52690
52842
  {
52691
52843
  oldText: oldText ? JSON.stringify(oldText, null, 2) : "",
@@ -52694,7 +52846,7 @@ var WfoProcessSubscriptionDelta = ({
52694
52846
  }
52695
52847
  );
52696
52848
  };
52697
- var WfoWorkflowStepList = React73.forwardRef(
52849
+ var WfoWorkflowStepList = React75.forwardRef(
52698
52850
  ({
52699
52851
  steps = [],
52700
52852
  lastStatus,
@@ -52708,7 +52860,7 @@ var WfoWorkflowStepList = React73.forwardRef(
52708
52860
  const [showRaw, setShowRaw] = useState48(false);
52709
52861
  const [showDelta, setShowDelta] = useState48(false);
52710
52862
  const [showTraceback, setShowTraceback] = useState48(false);
52711
- const t = useTranslations66("processes.steps");
52863
+ const t = useTranslations67("processes.steps");
52712
52864
  const initialStepListItems = steps.map((step) => ({
52713
52865
  step,
52714
52866
  isExpanded: false
@@ -52730,7 +52882,7 @@ var WfoWorkflowStepList = React73.forwardRef(
52730
52882
  };
52731
52883
  });
52732
52884
  };
52733
- useEffect32(() => {
52885
+ useEffect33(() => {
52734
52886
  setStepListItems(
52735
52887
  (previousStepListItems) => persistStepListItemState(
52736
52888
  previousStepListItems,
@@ -52768,8 +52920,8 @@ var WfoWorkflowStepList = React73.forwardRef(
52768
52920
  "aborted" /* ABORTED */,
52769
52921
  "completed" /* COMPLETED */
52770
52922
  ].map((status) => status.toLowerCase()).includes(lastStatus.toLowerCase());
52771
- return /* @__PURE__ */ jsxs119(Fragment54, { children: [
52772
- /* @__PURE__ */ jsx227(
52923
+ return /* @__PURE__ */ jsxs120(Fragment54, { children: [
52924
+ /* @__PURE__ */ jsx229(
52773
52925
  WfoStepListHeader,
52774
52926
  {
52775
52927
  showHiddenKeys,
@@ -52787,10 +52939,10 @@ var WfoWorkflowStepList = React73.forwardRef(
52787
52939
  isRunningWorkflow
52788
52940
  }
52789
52941
  ),
52790
- showTraceback && /* @__PURE__ */ jsx227(WfoTraceback, { children: traceBack }),
52791
- showRaw && /* @__PURE__ */ jsx227(WfoProcessRawData, { processId }),
52792
- showDelta && /* @__PURE__ */ jsx227(WfoProcessSubscriptionDelta, { processId }),
52793
- !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(
52794
52946
  WfoStepList,
52795
52947
  {
52796
52948
  ref: reference,
@@ -52810,9 +52962,9 @@ WfoWorkflowStepList.displayName = "WfoWorkflowStepList";
52810
52962
 
52811
52963
  // src/components/WfoWorkflowSteps/WfoWorkflowStepList/WfoStepListHeader.tsx
52812
52964
  import { useState as useState49 } from "react";
52813
- import { useTranslations as useTranslations67 } from "next-intl";
52965
+ import { useTranslations as useTranslations68 } from "next-intl";
52814
52966
  import {
52815
- EuiButton as EuiButton13,
52967
+ EuiButton as EuiButton14,
52816
52968
  EuiFlexGroup as EuiFlexGroup24,
52817
52969
  EuiForm as EuiForm3,
52818
52970
  EuiFormRow as EuiFormRow23,
@@ -52841,14 +52993,14 @@ var getStyles11 = ({ theme }) => {
52841
52993
  };
52842
52994
 
52843
52995
  // src/components/WfoTextAnchor/WfoTextAnchor.tsx
52844
- import { jsx as jsx228 } from "@emotion/react/jsx-runtime";
52996
+ import { jsx as jsx230 } from "@emotion/react/jsx-runtime";
52845
52997
  var WfoTextAnchor = ({ text, onClick }) => {
52846
52998
  const { textAnchorStyle } = useWithOrchestratorTheme(getStyles11);
52847
- return /* @__PURE__ */ jsx228(EuiText40, { onClick, css: textAnchorStyle, children: text });
52999
+ return /* @__PURE__ */ jsx230(EuiText40, { onClick, css: textAnchorStyle, children: text });
52848
53000
  };
52849
53001
 
52850
53002
  // src/components/WfoWorkflowSteps/WfoWorkflowStepList/WfoStepListHeader.tsx
52851
- 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";
52852
53004
  var WfoStepListHeader = ({
52853
53005
  allDetailToggleText,
52854
53006
  showDelta,
@@ -52864,7 +53016,7 @@ var WfoStepListHeader = ({
52864
53016
  onShowTraceback,
52865
53017
  onToggleAllDetailsIsOpen
52866
53018
  }) => {
52867
- const t = useTranslations67("processes.steps");
53019
+ const t = useTranslations68("processes.steps");
52868
53020
  const { theme } = useOrchestratorTheme();
52869
53021
  const {
52870
53022
  stepListHeaderStyle,
@@ -52875,20 +53027,20 @@ var WfoStepListHeader = ({
52875
53027
  const [isViewOptionOpen, setIsViewOptionOpen] = useState49(false);
52876
53028
  const onViewOptionClick = () => setIsViewOptionOpen((isViewOptionOpen2) => !isViewOptionOpen2);
52877
53029
  const closeViewOption = () => setIsViewOptionOpen(false);
52878
- const viewOptionButton = /* @__PURE__ */ jsx229(
52879
- EuiButton13,
53030
+ const viewOptionButton = /* @__PURE__ */ jsx231(
53031
+ EuiButton14,
52880
53032
  {
52881
53033
  onClick: onViewOptionClick,
52882
- iconType: () => /* @__PURE__ */ jsx229(WfoEyeFill, { color: theme.colors.link }),
53034
+ iconType: () => /* @__PURE__ */ jsx231(WfoEyeFill, { color: theme.colors.link }),
52883
53035
  iconSide: "right",
52884
53036
  size: "s",
52885
53037
  children: t("viewOptions")
52886
53038
  }
52887
53039
  );
52888
- return /* @__PURE__ */ jsxs120(EuiFlexGroup24, { css: stepListHeaderStyle, children: [
52889
- /* @__PURE__ */ jsxs120(EuiFlexGroup24, { css: stepListContentStyle, children: [
52890
- /* @__PURE__ */ jsx229(EuiText41, { css: stepListContentBoldTextStyle, children: t(isTask ? "taskSteps" : "workflowSteps") }),
52891
- !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(
52892
53044
  WfoTextAnchor,
52893
53045
  {
52894
53046
  text: allDetailToggleText,
@@ -52896,7 +53048,7 @@ var WfoStepListHeader = ({
52896
53048
  }
52897
53049
  )
52898
53050
  ] }),
52899
- /* @__PURE__ */ jsxs120(
53051
+ /* @__PURE__ */ jsxs121(
52900
53052
  EuiFlexGroup24,
52901
53053
  {
52902
53054
  justifyContent: "flexEnd",
@@ -52904,22 +53056,22 @@ var WfoStepListHeader = ({
52904
53056
  css: stepListOptionsContainerStyle,
52905
53057
  gutterSize: "s",
52906
53058
  children: [
52907
- showTracebackButton && /* @__PURE__ */ jsx229(
52908
- EuiButton13,
53059
+ showTracebackButton && /* @__PURE__ */ jsx231(
53060
+ EuiButton14,
52909
53061
  {
52910
53062
  onClick: () => onShowTraceback(!showTraceback),
52911
53063
  size: "s",
52912
53064
  children: showTraceback ? t("hideTraceback") : t("showTraceback")
52913
53065
  }
52914
53066
  ),
52915
- /* @__PURE__ */ jsx229(
52916
- EuiButton13,
53067
+ /* @__PURE__ */ jsx231(
53068
+ EuiButton14,
52917
53069
  {
52918
53070
  onClick: () => onChangeShowDelta(!showDelta),
52919
53071
  disabled: isRunningWorkflow,
52920
53072
  iconSide: "right",
52921
53073
  size: "s",
52922
- iconType: () => /* @__PURE__ */ jsx229(
53074
+ iconType: () => /* @__PURE__ */ jsx231(
52923
53075
  WfoCode,
52924
53076
  {
52925
53077
  color: isRunningWorkflow ? theme.colors.disabledText : theme.colors.link
@@ -52928,15 +53080,15 @@ var WfoStepListHeader = ({
52928
53080
  children: showDelta ? t("hideDelta") : t("showDelta")
52929
53081
  }
52930
53082
  ),
52931
- /* @__PURE__ */ jsx229(
53083
+ /* @__PURE__ */ jsx231(
52932
53084
  EuiPopover8,
52933
53085
  {
52934
53086
  button: viewOptionButton,
52935
53087
  isOpen: isViewOptionOpen,
52936
53088
  closePopover: closeViewOption,
52937
53089
  display: "block",
52938
- children: /* @__PURE__ */ jsx229("div", { children: /* @__PURE__ */ jsxs120(EuiForm3, { component: "form", children: [
52939
- /* @__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(
52940
53092
  EuiSwitch3,
52941
53093
  {
52942
53094
  label: "Hidden keys",
@@ -52949,7 +53101,7 @@ var WfoStepListHeader = ({
52949
53101
  }
52950
53102
  }
52951
53103
  ) }),
52952
- /* @__PURE__ */ jsx229(EuiFormRow23, { children: /* @__PURE__ */ jsx229(
53104
+ /* @__PURE__ */ jsx231(EuiFormRow23, { children: /* @__PURE__ */ jsx231(
52953
53105
  EuiSwitch3,
52954
53106
  {
52955
53107
  label: "Raw JSON data",
@@ -52970,7 +53122,7 @@ var WfoStepListHeader = ({
52970
53122
  };
52971
53123
 
52972
53124
  // src/pages/processes/WfoStartProcessPage.tsx
52973
- 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";
52974
53126
  var getInitialProcessPayload = ({
52975
53127
  productId,
52976
53128
  subscriptionId
@@ -52990,7 +53142,7 @@ var WfoStartProcessPage = ({
52990
53142
  processName,
52991
53143
  isTask = false
52992
53144
  }) => {
52993
- const t = useTranslations68("processes.steps");
53145
+ const t = useTranslations69("processes.steps");
52994
53146
  const router = useRouter10();
52995
53147
  const [hasError, setHasError] = useState50(false);
52996
53148
  const { theme } = useOrchestratorTheme();
@@ -53010,7 +53162,7 @@ var WfoStartProcessPage = ({
53010
53162
  workflowName: processName
53011
53163
  });
53012
53164
  const [startProcess] = useStartProcessMutation();
53013
- const startProcessPayload = useMemo6(
53165
+ const startProcessPayload = useMemo7(
53014
53166
  () => getInitialProcessPayload({
53015
53167
  productId,
53016
53168
  subscriptionId
@@ -53031,7 +53183,7 @@ var WfoStartProcessPage = ({
53031
53183
  setHasError(true);
53032
53184
  }
53033
53185
  }
53034
- const submit = useCallback8(
53186
+ const submit = useCallback9(
53035
53187
  (processInput) => {
53036
53188
  const startProcessPromise = startProcess({
53037
53189
  workflowName: processName,
@@ -53069,7 +53221,7 @@ var WfoStartProcessPage = ({
53069
53221
  },
53070
53222
  [startProcess, processName, startProcessPayload, isTask, router]
53071
53223
  );
53072
- useEffect33(() => {
53224
+ useEffect34(() => {
53073
53225
  if (processName && processName !== "modify_note") {
53074
53226
  const clientResultCallback = (json) => {
53075
53227
  setForm({
@@ -53105,7 +53257,7 @@ var WfoStartProcessPage = ({
53105
53257
  }
53106
53258
  };
53107
53259
  const pageTitle = workflowMetadata?.description || isErrorWorkflowDescription && processDetail?.workflowName || "";
53108
- return /* @__PURE__ */ jsx230(
53260
+ return /* @__PURE__ */ jsx232(
53109
53261
  WfoProcessDetail,
53110
53262
  {
53111
53263
  pageTitle,
@@ -53114,25 +53266,25 @@ var WfoStartProcessPage = ({
53114
53266
  processDetail,
53115
53267
  timelineItems: timeLineItems,
53116
53268
  isLoading,
53117
- children: /* @__PURE__ */ jsxs121(EuiPanel5, { css: { marginTop: theme.base * 3 }, children: [
53118
- /* @__PURE__ */ jsxs121(EuiFlexGroup25, { css: getStepHeaderStyle(false), children: [
53119
- /* @__PURE__ */ jsx230(WfoStepStatusIcon, { stepStatus: "form" /* FORM */ }),
53120
- /* @__PURE__ */ jsxs121(EuiFlexItem29, { grow: 0, children: [
53121
- /* @__PURE__ */ jsx230(EuiText42, { css: stepListContentBoldTextStyle, children: t("userInput") }),
53122
- /* @__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(
53123
53275
  isTask ? "submitTaskFormLabel" : "submitWorkflowFormLabel"
53124
53276
  ) })
53125
53277
  ] })
53126
53278
  ] }),
53127
- /* @__PURE__ */ jsx230(EuiHorizontalRule8, {}),
53128
- hasError && /* @__PURE__ */ jsx230(WfoError, {}) || processName === "modify_note" && /* @__PURE__ */ jsx230(
53279
+ /* @__PURE__ */ jsx232(EuiHorizontalRule9, {}),
53280
+ hasError && /* @__PURE__ */ jsx232(WfoError, {}) || processName === "modify_note" && /* @__PURE__ */ jsx232(
53129
53281
  WfoPydanticForm,
53130
53282
  {
53131
53283
  processName,
53132
53284
  startProcessPayload,
53133
53285
  isTask
53134
53286
  }
53135
- ) || stepUserInput && /* @__PURE__ */ jsx230(
53287
+ ) || stepUserInput && /* @__PURE__ */ jsx232(
53136
53288
  UserInputFormWizard,
53137
53289
  {
53138
53290
  stepUserInput,
@@ -53143,25 +53295,25 @@ var WfoStartProcessPage = ({
53143
53295
  hasNext,
53144
53296
  isTask
53145
53297
  }
53146
- ) || /* @__PURE__ */ jsx230(WfoLoading, {})
53298
+ ) || /* @__PURE__ */ jsx232(WfoLoading, {})
53147
53299
  ] })
53148
53300
  }
53149
53301
  );
53150
53302
  };
53151
53303
 
53152
53304
  // src/pages/processes/WfoProductInformationWithLink.tsx
53153
- import { useTranslations as useTranslations69 } from "next-intl";
53305
+ import { useTranslations as useTranslations70 } from "next-intl";
53154
53306
  import { EuiButtonIcon as EuiButtonIcon13, EuiFlexGroup as EuiFlexGroup26, EuiText as EuiText43, EuiToolTip as EuiToolTip8 } from "@elastic/eui";
53155
- 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";
53156
53308
  var WfoProductInformationWithLink = ({
53157
53309
  workflowName,
53158
53310
  productNames
53159
53311
  }) => {
53160
53312
  const { workflowInformationLinkUrl, showWorkflowInformationLink } = useGetOrchestratorConfig();
53161
- const t = useTranslations69("processes.detail");
53313
+ const t = useTranslations70("processes.detail");
53162
53314
  const docsUrl = workflowInformationLinkUrl + workflowName;
53163
- return /* @__PURE__ */ jsxs122(EuiFlexGroup26, { gutterSize: "s", alignItems: "center", children: [
53164
- 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(
53165
53317
  EuiButtonIcon13,
53166
53318
  {
53167
53319
  iconSize: "l",
@@ -53169,17 +53321,17 @@ var WfoProductInformationWithLink = ({
53169
53321
  "aria-label": t("openWorkflowTaskInfo")
53170
53322
  }
53171
53323
  ) }) }),
53172
- /* @__PURE__ */ jsx231(EuiText43, { size: "s", children: productNames })
53324
+ /* @__PURE__ */ jsx233(EuiText43, { size: "s", children: productNames })
53173
53325
  ] });
53174
53326
  };
53175
53327
 
53176
53328
  // src/pages/settings/WfoSettingsPage.tsx
53177
- import { useMemo as useMemo7 } from "react";
53178
- import { useTranslations as useTranslations71 } from "next-intl";
53329
+ import { useMemo as useMemo8 } from "react";
53330
+ import { useTranslations as useTranslations72 } from "next-intl";
53179
53331
  import { StringParam as StringParam3, useQueryParam as useQueryParam2, withDefault as withDefault3 } from "use-query-params";
53180
53332
  import {
53181
53333
  EuiCodeBlock as EuiCodeBlock2,
53182
- EuiFlexItem as EuiFlexItem31,
53334
+ EuiFlexItem as EuiFlexItem32,
53183
53335
  EuiPanel as EuiPanel7,
53184
53336
  EuiSpacer as EuiSpacer22,
53185
53337
  EuiTab as EuiTab3,
@@ -53189,28 +53341,28 @@ import {
53189
53341
  import { css as css44 } from "@emotion/react";
53190
53342
 
53191
53343
  // src/components/WfoSettings/WfoAoStackStatus.tsx
53192
- import { useTranslations as useTranslations70 } from "next-intl";
53344
+ import { useTranslations as useTranslations71 } from "next-intl";
53193
53345
  import {
53194
- EuiButton as EuiButton14,
53195
- EuiFlexItem as EuiFlexItem30,
53346
+ EuiButton as EuiButton15,
53347
+ EuiFlexItem as EuiFlexItem31,
53196
53348
  EuiPanel as EuiPanel6,
53197
53349
  EuiSpacer as EuiSpacer21,
53198
53350
  EuiText as EuiText44
53199
53351
  } from "@elastic/eui";
53200
- 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";
53201
53353
  var WfoAoStackStatus = () => {
53202
- const t = useTranslations70("settings.page");
53354
+ const t = useTranslations71("settings.page");
53203
53355
  const { aoStackStatusUrl } = useGetOrchestratorConfig();
53204
53356
  const openStatusPage = () => {
53205
53357
  window.open(aoStackStatusUrl, "_blank");
53206
53358
  };
53207
- return /* @__PURE__ */ jsx232(EuiFlexItem30, { children: /* @__PURE__ */ jsxs123(EuiPanel6, { hasShadow: false, color: "subdued", paddingSize: "l", children: [
53208
- /* @__PURE__ */ jsx232(EuiText44, { size: "s", children: /* @__PURE__ */ jsx232("h4", { children: t("aoStackStatus") }) }),
53209
- /* @__PURE__ */ jsx232(EuiSpacer21, { size: "m" }),
53210
- /* @__PURE__ */ jsx232(
53211
- 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,
53212
53364
  {
53213
- iconType: () => /* @__PURE__ */ jsx232(WfoChartBar, {}),
53365
+ iconType: () => /* @__PURE__ */ jsx234(WfoChartBar, {}),
53214
53366
  onClick: openStatusPage,
53215
53367
  children: t("viewStatusPage")
53216
53368
  }
@@ -53219,7 +53371,7 @@ var WfoAoStackStatus = () => {
53219
53371
  };
53220
53372
 
53221
53373
  // src/pages/settings/WfoSettingsPage.tsx
53222
- 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";
53223
53375
  var WfoSettingsTab = /* @__PURE__ */ ((WfoSettingsTab2) => {
53224
53376
  WfoSettingsTab2["ACTIONS"] = "ACTIONS";
53225
53377
  WfoSettingsTab2["ENV_SETTINGS"] = "ENV_SETTINGS";
@@ -53228,22 +53380,22 @@ var WfoSettingsTab = /* @__PURE__ */ ((WfoSettingsTab2) => {
53228
53380
  var WfoActionSettings = () => {
53229
53381
  const { theme } = useOrchestratorTheme();
53230
53382
  const { enableAoStackStatus } = useGetOrchestratorConfig();
53231
- return /* @__PURE__ */ jsx233(Fragment55, { children: /* @__PURE__ */ jsxs124("div", { css: { maxWidth: theme.base * 40 }, children: [
53232
- /* @__PURE__ */ jsx233(WfoFlushSettings, {}),
53233
- /* @__PURE__ */ jsx233(EuiSpacer22, {}),
53234
- /* @__PURE__ */ jsx233(WfoModifySettings, {}),
53235
- /* @__PURE__ */ jsx233(EuiSpacer22, {}),
53236
- /* @__PURE__ */ jsx233(WfoEngineStatus, {}),
53237
- enableAoStackStatus && /* @__PURE__ */ jsxs124(Fragment55, { children: [
53238
- /* @__PURE__ */ jsx233(EuiSpacer22, {}),
53239
- /* @__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, {})
53240
53392
  ] }),
53241
- /* @__PURE__ */ jsx233(EuiSpacer22, {}),
53242
- /* @__PURE__ */ jsx233(WfoWorkerStatus, {})
53393
+ /* @__PURE__ */ jsx235(EuiSpacer22, {}),
53394
+ /* @__PURE__ */ jsx235(WfoWorkerStatus, {})
53243
53395
  ] }) });
53244
53396
  };
53245
53397
  var WfoEnvSettings = () => {
53246
- const t = useTranslations71("settings.page");
53398
+ const t = useTranslations72("settings.page");
53247
53399
  const { theme } = useOrchestratorTheme();
53248
53400
  const { data } = useGetEnvironmentVariablesQuery();
53249
53401
  const mapToRepresentableVariables = (variables) => {
@@ -53252,17 +53404,17 @@ var WfoEnvSettings = () => {
53252
53404
  const renderEnvSettings = () => {
53253
53405
  return data && data.map(({ name, variables }) => {
53254
53406
  const showVariables = mapToRepresentableVariables(variables);
53255
- return /* @__PURE__ */ jsxs124(Fragment55, { children: [
53256
- /* @__PURE__ */ jsx233(EuiFlexItem31, { children: /* @__PURE__ */ jsxs124(
53407
+ return /* @__PURE__ */ jsxs125(Fragment55, { children: [
53408
+ /* @__PURE__ */ jsx235(EuiFlexItem32, { children: /* @__PURE__ */ jsxs125(
53257
53409
  EuiPanel7,
53258
53410
  {
53259
53411
  hasShadow: false,
53260
53412
  color: "subdued",
53261
53413
  paddingSize: "l",
53262
53414
  children: [
53263
- /* @__PURE__ */ jsx233(EuiText45, { size: "s", children: /* @__PURE__ */ jsx233("h2", { children: name.replace("_", " ").toUpperCase() }) }),
53264
- /* @__PURE__ */ jsx233(EuiSpacer22, {}),
53265
- /* @__PURE__ */ jsx233(
53415
+ /* @__PURE__ */ jsx235(EuiText45, { size: "s", children: /* @__PURE__ */ jsx235("h2", { children: name.replace("_", " ").toUpperCase() }) }),
53416
+ /* @__PURE__ */ jsx235(EuiSpacer22, {}),
53417
+ /* @__PURE__ */ jsx235(
53266
53418
  EuiCodeBlock2,
53267
53419
  {
53268
53420
  fontSize: "m",
@@ -53276,15 +53428,15 @@ var WfoEnvSettings = () => {
53276
53428
  ]
53277
53429
  }
53278
53430
  ) }),
53279
- /* @__PURE__ */ jsx233(EuiSpacer22, {})
53431
+ /* @__PURE__ */ jsx235(EuiSpacer22, {})
53280
53432
  ] });
53281
53433
  });
53282
53434
  };
53283
53435
  const emptyEnvSettings = () => {
53284
- 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: [
53285
53437
  t("noSettingsExposed"),
53286
53438
  " ",
53287
- /* @__PURE__ */ jsx233(
53439
+ /* @__PURE__ */ jsx235(
53288
53440
  "a",
53289
53441
  {
53290
53442
  href: "https://workfloworchestrator.org/orchestrator-core/reference-docs/app/settings_overview/",
@@ -53294,36 +53446,36 @@ var WfoEnvSettings = () => {
53294
53446
  )
53295
53447
  ] }) }) }) });
53296
53448
  };
53297
- 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() });
53298
53450
  };
53299
53451
  var settingsTabs = [
53300
53452
  {
53301
53453
  id: "ACTIONS" /* ACTIONS */,
53302
53454
  translationKey: "actions",
53303
- content: /* @__PURE__ */ jsx233(WfoActionSettings, {})
53455
+ content: /* @__PURE__ */ jsx235(WfoActionSettings, {})
53304
53456
  },
53305
53457
  {
53306
53458
  id: "ENV_SETTINGS" /* ENV_SETTINGS */,
53307
53459
  translationKey: "envSettings",
53308
- content: /* @__PURE__ */ jsx233(WfoEnvSettings, {})
53460
+ content: /* @__PURE__ */ jsx235(WfoEnvSettings, {})
53309
53461
  }
53310
53462
  ];
53311
53463
  var WfoSettingsPage = () => {
53312
- const t = useTranslations71("main");
53313
- const tabTranslations = useTranslations71("settings.tabs");
53464
+ const t = useTranslations72("main");
53465
+ const tabTranslations = useTranslations72("settings.tabs");
53314
53466
  const { tabStyle } = useWithOrchestratorTheme(getStyles4);
53315
53467
  const [selectedTabId, setSelectedTabId] = useQueryParam2(
53316
53468
  "activeTab",
53317
53469
  withDefault3(StringParam3, "ACTIONS" /* ACTIONS */)
53318
53470
  );
53319
- const selectedTabContent = useMemo7(() => {
53471
+ const selectedTabContent = useMemo8(() => {
53320
53472
  return settingsTabs.find((obj) => obj.id === selectedTabId)?.content;
53321
53473
  }, [selectedTabId]);
53322
53474
  const onSelectedTabChanged = (id) => {
53323
53475
  setSelectedTabId(id);
53324
53476
  };
53325
53477
  const renderTabs = () => {
53326
- return settingsTabs.map((tab, index) => /* @__PURE__ */ jsx233(
53478
+ return settingsTabs.map((tab, index) => /* @__PURE__ */ jsx235(
53327
53479
  EuiTab3,
53328
53480
  {
53329
53481
  css: tabStyle,
@@ -53334,16 +53486,16 @@ var WfoSettingsPage = () => {
53334
53486
  index
53335
53487
  ));
53336
53488
  };
53337
- return /* @__PURE__ */ jsxs124(Fragment55, { children: [
53338
- /* @__PURE__ */ jsx233(WfoContentHeader, { title: t("settings") }),
53339
- /* @__PURE__ */ jsx233(EuiTabs3, { children: renderTabs() }),
53340
- /* @__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" }),
53341
53493
  selectedTabContent
53342
53494
  ] });
53343
53495
  };
53344
53496
 
53345
53497
  // src/pages/startPage/WfoStartPage.tsx
53346
- import { useTranslations as useTranslations72 } from "next-intl";
53498
+ import { useTranslations as useTranslations73 } from "next-intl";
53347
53499
  import { EuiPageHeader as EuiPageHeader2 } from "@elastic/eui";
53348
53500
 
53349
53501
  // src/pages/startPage/useStartPageSummaryCardConfigurationOverride.ts
@@ -53357,36 +53509,36 @@ var useStartPageSummaryCardConfigurationOverride = () => {
53357
53509
  };
53358
53510
 
53359
53511
  // src/pages/startPage/WfoStartPage.tsx
53360
- 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";
53361
53513
  var WfoStartPage = () => {
53362
- const t = useTranslations72("main");
53514
+ const t = useTranslations73("main");
53363
53515
  const { overrideSummaryCards } = useStartPageSummaryCardConfigurationOverride();
53364
53516
  const { isAllowed } = usePolicy();
53365
53517
  const { session } = useWfoSession();
53366
53518
  const username = session?.user?.name ?? "";
53367
53519
  const defaultSummaryCards = [
53368
53520
  ...toOptionalArrayEntry(
53369
- /* @__PURE__ */ jsx234(WfoMyWorkflowsSummaryCard, { username }, "myWorkflows"),
53521
+ /* @__PURE__ */ jsx236(WfoMyWorkflowsSummaryCard, { username }, "myWorkflows"),
53370
53522
  !!username
53371
53523
  ),
53372
- /* @__PURE__ */ jsx234(WfoActiveWorkflowsSummaryCard, {}, "activeWorkflows"),
53524
+ /* @__PURE__ */ jsx236(WfoActiveWorkflowsSummaryCard, {}, "activeWorkflows"),
53373
53525
  ...toOptionalArrayEntry(
53374
- /* @__PURE__ */ jsx234(WfoFailedTasksSummaryCard, {}, "failedTasks"),
53526
+ /* @__PURE__ */ jsx236(WfoFailedTasksSummaryCard, {}, "failedTasks"),
53375
53527
  isAllowed("/orchestrator/tasks/" /* NAVIGATION_TASKS */)
53376
53528
  ),
53377
- /* @__PURE__ */ jsx234(WfoLatestOutOfSyncSubscriptionSummaryCard, {}, "latestOutOfSyncSubscription"),
53378
- /* @__PURE__ */ jsx234(WfoLatestActiveSubscriptionsSummaryCard, {}, "latestActiveSubscriptions"),
53379
- /* @__PURE__ */ jsx234(WfoProductsSummaryCard, {}, "products")
53529
+ /* @__PURE__ */ jsx236(WfoLatestOutOfSyncSubscriptionSummaryCard, {}, "latestOutOfSyncSubscription"),
53530
+ /* @__PURE__ */ jsx236(WfoLatestActiveSubscriptionsSummaryCard, {}, "latestActiveSubscriptions"),
53531
+ /* @__PURE__ */ jsx236(WfoProductsSummaryCard, {}, "products")
53380
53532
  ];
53381
53533
  const summaryCards = overrideSummaryCards?.(defaultSummaryCards) || defaultSummaryCards;
53382
- return /* @__PURE__ */ jsxs125(Fragment56, { children: [
53383
- /* @__PURE__ */ jsx234(
53534
+ return /* @__PURE__ */ jsxs126(Fragment56, { children: [
53535
+ /* @__PURE__ */ jsx236(
53384
53536
  WfoContentHeader,
53385
53537
  {
53386
- title: /* @__PURE__ */ jsx234(EuiPageHeader2, { pageTitle: `${t("welcome")} ${username}` })
53538
+ title: /* @__PURE__ */ jsx236(EuiPageHeader2, { pageTitle: `${t("welcome")} ${username}` })
53387
53539
  }
53388
53540
  ),
53389
- /* @__PURE__ */ jsx234(WfoSummaryCards, { children: summaryCards })
53541
+ /* @__PURE__ */ jsx236(WfoSummaryCards, { children: summaryCards })
53390
53542
  ] });
53391
53543
  };
53392
53544
 
@@ -53404,26 +53556,26 @@ var mapSubscriptionSummaryToSummaryCardListItem = (subscription) => ({
53404
53556
 
53405
53557
  // src/pages/subscriptions/WfoSubscriptionDetailPage.tsx
53406
53558
  import { useRouter as useRouter11 } from "next/router";
53407
- 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";
53408
53560
  var WfoSubscriptionDetailPage = () => {
53409
53561
  const router = useRouter11();
53410
53562
  const { subscriptionId } = router.query;
53411
- 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, {});
53412
53564
  };
53413
53565
 
53414
53566
  // src/pages/subscriptions/WfoSubscriptionsListPage.tsx
53415
- import { useEffect as useEffect34, useState as useState51 } from "react";
53416
- import { useTranslations as useTranslations73 } from "next-intl";
53567
+ import { useEffect as useEffect35, useState as useState51 } from "react";
53568
+ import { useTranslations as useTranslations74 } from "next-intl";
53417
53569
  import { StringParam as StringParam4, useQueryParam as useQueryParam3, withDefault as withDefault4 } from "use-query-params";
53418
53570
  import { EuiSpacer as EuiSpacer23 } from "@elastic/eui";
53419
- 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";
53420
53572
  var WfoSubscriptionsListPage = () => {
53421
- const t = useTranslations73("subscriptions.detail");
53573
+ const t = useTranslations74("subscriptions.detail");
53422
53574
  const [tableDefaults, setTableDefaults] = useState51();
53423
53575
  const getStoredTableConfig = useStoredTableConfig(
53424
53576
  SUBSCRIPTIONS_TABLE_LOCAL_STORAGE_KEY
53425
53577
  );
53426
- useEffect34(() => {
53578
+ useEffect35(() => {
53427
53579
  const storedConfig = getStoredTableConfig();
53428
53580
  if (storedConfig) {
53429
53581
  setTableDefaults(storedConfig);
@@ -53454,14 +53606,14 @@ var WfoSubscriptionsListPage = () => {
53454
53606
  const alwaysOnFilters = subscriptionListTabs.find(
53455
53607
  ({ id }) => id === activeTab
53456
53608
  )?.alwaysOnFilters;
53457
- return /* @__PURE__ */ jsxs126(Fragment58, { children: [
53458
- /* @__PURE__ */ jsx236(
53609
+ return /* @__PURE__ */ jsxs127(Fragment58, { children: [
53610
+ /* @__PURE__ */ jsx238(
53459
53611
  WfoContentHeader,
53460
53612
  {
53461
- title: /* @__PURE__ */ jsx236(WfoTitleWithWebsocketBadge, { title: t("title") })
53613
+ title: /* @__PURE__ */ jsx238(WfoTitleWithWebsocketBadge, { title: t("title") })
53462
53614
  }
53463
53615
  ),
53464
- /* @__PURE__ */ jsx236(
53616
+ /* @__PURE__ */ jsx238(
53465
53617
  WfoFilterTabs,
53466
53618
  {
53467
53619
  tabs: subscriptionListTabs,
@@ -53470,8 +53622,8 @@ var WfoSubscriptionsListPage = () => {
53470
53622
  onChangeTab: handleChangeSubscriptionsTab
53471
53623
  }
53472
53624
  ),
53473
- /* @__PURE__ */ jsx236(EuiSpacer23, { size: "xxl" }),
53474
- /* @__PURE__ */ jsx236(
53625
+ /* @__PURE__ */ jsx238(EuiSpacer23, { size: "xxl" }),
53626
+ /* @__PURE__ */ jsx238(
53475
53627
  WfoSubscriptionsList,
53476
53628
  {
53477
53629
  hiddenColumns: tableDefaults?.hiddenColumns,
@@ -53484,12 +53636,12 @@ var WfoSubscriptionsListPage = () => {
53484
53636
  };
53485
53637
 
53486
53638
  // src/pages/tasks/WfoTasksListPage.tsx
53487
- import { useContext as useContext11, useEffect as useEffect35, useState as useState52 } from "react";
53488
- import { useTranslations as useTranslations74 } from "next-intl";
53639
+ import { useContext as useContext11, useEffect as useEffect36, useState as useState52 } from "react";
53640
+ import { useTranslations as useTranslations75 } from "next-intl";
53489
53641
  import Link11 from "next/link";
53490
53642
  import { useRouter as useRouter12 } from "next/router";
53491
53643
  import { StringParam as StringParam5, useQueryParam as useQueryParam4, withDefault as withDefault5 } from "use-query-params";
53492
- import { EuiButton as EuiButton15, EuiSpacer as EuiSpacer24 } from "@elastic/eui";
53644
+ import { EuiButton as EuiButton16, EuiSpacer as EuiSpacer24 } from "@elastic/eui";
53493
53645
 
53494
53646
  // src/pages/tasks/tabConfig.ts
53495
53647
  var WfoTasksListTabType = /* @__PURE__ */ ((WfoTasksListTabType2) => {
@@ -53554,10 +53706,10 @@ var getTasksListTabTypeFromString = (tabId) => {
53554
53706
  };
53555
53707
 
53556
53708
  // src/pages/tasks/WfoTasksListPage.tsx
53557
- 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";
53558
53710
  var WfoTasksListPage = () => {
53559
53711
  const router = useRouter12();
53560
- const t = useTranslations74("tasks.page");
53712
+ const t = useTranslations75("tasks.page");
53561
53713
  const [activeTab, setActiveTab] = useQueryParam4(
53562
53714
  "activeTab",
53563
53715
  withDefault5(StringParam5, "ACTIVE" /* ACTIVE */)
@@ -53570,7 +53722,7 @@ var WfoTasksListPage = () => {
53570
53722
  const { showConfirmDialog } = useContext11(ConfirmationDialogContext);
53571
53723
  const [retryAllProcesses] = useRetryAllProcessesMutation();
53572
53724
  const { isEngineRunningNow } = useCheckEngineStatus();
53573
- useEffect35(() => {
53725
+ useEffect36(() => {
53574
53726
  const storedConfig = getStoredTableConfig();
53575
53727
  if (storedConfig) {
53576
53728
  setTableDefaults(storedConfig);
@@ -53610,7 +53762,7 @@ var WfoTasksListPage = () => {
53610
53762
  workflowName: {
53611
53763
  columnType: "data" /* DATA */,
53612
53764
  label: t("taskName"),
53613
- 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 })
53614
53766
  },
53615
53767
  ...toSortedTableColumnConfig(defaultTableColumns, [
53616
53768
  "lastStep",
@@ -53628,25 +53780,25 @@ var WfoTasksListPage = () => {
53628
53780
  "lastModifiedAt"
53629
53781
  ])
53630
53782
  });
53631
- return /* @__PURE__ */ jsxs127(Fragment59, { children: [
53632
- /* @__PURE__ */ jsxs127(
53783
+ return /* @__PURE__ */ jsxs128(Fragment59, { children: [
53784
+ /* @__PURE__ */ jsxs128(
53633
53785
  WfoContentHeader,
53634
53786
  {
53635
- title: /* @__PURE__ */ jsx237(WfoTitleWithWebsocketBadge, { title: "Tasks" }),
53787
+ title: /* @__PURE__ */ jsx239(WfoTitleWithWebsocketBadge, { title: "Tasks" }),
53636
53788
  children: [
53637
- /* @__PURE__ */ jsx237(WfoIsAllowedToRender, { resource: "/orchestrator/processes/all-tasks/retry" /* TASKS_RETRY_ALL */, children: /* @__PURE__ */ jsx237(
53638
- EuiButton15,
53789
+ /* @__PURE__ */ jsx239(WfoIsAllowedToRender, { resource: "/orchestrator/processes/all-tasks/retry" /* TASKS_RETRY_ALL */, children: /* @__PURE__ */ jsx239(
53790
+ EuiButton16,
53639
53791
  {
53640
53792
  onClick: handleRerunAllButtonClick,
53641
- iconType: () => /* @__PURE__ */ jsx237(WfoRefresh, { color: theme.colors.primaryText }),
53793
+ iconType: () => /* @__PURE__ */ jsx239(WfoRefresh, { color: theme.colors.primaryText }),
53642
53794
  children: t("rerunAll")
53643
53795
  }
53644
53796
  ) }),
53645
- /* @__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, {}) })
53646
53798
  ]
53647
53799
  }
53648
53800
  ),
53649
- /* @__PURE__ */ jsx237(
53801
+ /* @__PURE__ */ jsx239(
53650
53802
  WfoFilterTabs,
53651
53803
  {
53652
53804
  tabs: defaultTasksListTabs,
@@ -53655,8 +53807,8 @@ var WfoTasksListPage = () => {
53655
53807
  onChangeTab: handleChangeTasksListTab
53656
53808
  }
53657
53809
  ),
53658
- /* @__PURE__ */ jsx237(EuiSpacer24, { size: "xxl" }),
53659
- /* @__PURE__ */ jsx237(
53810
+ /* @__PURE__ */ jsx239(EuiSpacer24, { size: "xxl" }),
53811
+ /* @__PURE__ */ jsx239(
53660
53812
  WfoProcessesList,
53661
53813
  {
53662
53814
  defaultHiddenColumns: tableDefaults?.hiddenColumns,
@@ -53671,8 +53823,8 @@ var WfoTasksListPage = () => {
53671
53823
  };
53672
53824
 
53673
53825
  // src/pages/workflows/WfoWorkflowsListPage.tsx
53674
- import { useEffect as useEffect36, useState as useState53 } from "react";
53675
- import { useTranslations as useTranslations75 } from "next-intl";
53826
+ import { useEffect as useEffect37, useState as useState53 } from "react";
53827
+ import { useTranslations as useTranslations76 } from "next-intl";
53676
53828
  import { useRouter as useRouter13 } from "next/router";
53677
53829
  import { StringParam as StringParam6, useQueryParam as useQueryParam5, withDefault as withDefault6 } from "use-query-params";
53678
53830
  import { EuiSpacer as EuiSpacer25 } from "@elastic/eui";
@@ -53740,10 +53892,10 @@ var getWorkflowsListTabTypeFromString = (tabId) => {
53740
53892
  };
53741
53893
 
53742
53894
  // src/pages/workflows/WfoWorkflowsListPage.tsx
53743
- 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";
53744
53896
  var WfoWorkflowsListPage = () => {
53745
53897
  const router = useRouter13();
53746
- const t = useTranslations75("workflows.index");
53898
+ const t = useTranslations76("workflows.index");
53747
53899
  const [activeTab, setActiveTab] = useQueryParam5(
53748
53900
  "activeTab",
53749
53901
  withDefault6(StringParam6, "ACTIVE" /* ACTIVE */)
@@ -53752,7 +53904,7 @@ var WfoWorkflowsListPage = () => {
53752
53904
  const selectedWorkflowsListTab = getWorkflowsListTabTypeFromString(activeTab);
53753
53905
  const localStorageKey = selectedWorkflowsListTab === "ACTIVE" /* ACTIVE */ ? ACTIVE_PROCESSES_LIST_TABLE_LOCAL_STORAGE_KEY : COMPLETED_PROCESSES_LIST_TABLE_LOCAL_STORAGE_KEY;
53754
53906
  const getStoredTableConfig = useStoredTableConfig(localStorageKey);
53755
- useEffect36(() => {
53907
+ useEffect37(() => {
53756
53908
  const storedConfig = getStoredTableConfig();
53757
53909
  if (storedConfig) {
53758
53910
  setTableDefaults(storedConfig);
@@ -53778,14 +53930,14 @@ var WfoWorkflowsListPage = () => {
53778
53930
  router.replace(PATH_WORKFLOWS);
53779
53931
  return null;
53780
53932
  }
53781
- return /* @__PURE__ */ jsxs128(Fragment60, { children: [
53782
- /* @__PURE__ */ jsx238(
53933
+ return /* @__PURE__ */ jsxs129(Fragment60, { children: [
53934
+ /* @__PURE__ */ jsx240(
53783
53935
  WfoContentHeader,
53784
53936
  {
53785
- title: /* @__PURE__ */ jsx238(WfoTitleWithWebsocketBadge, { title: t("title") })
53937
+ title: /* @__PURE__ */ jsx240(WfoTitleWithWebsocketBadge, { title: t("title") })
53786
53938
  }
53787
53939
  ),
53788
- /* @__PURE__ */ jsx238(
53940
+ /* @__PURE__ */ jsx240(
53789
53941
  WfoFilterTabs,
53790
53942
  {
53791
53943
  tabs: defaultWorkflowsListTabs,
@@ -53794,8 +53946,8 @@ var WfoWorkflowsListPage = () => {
53794
53946
  onChangeTab: handleChangeWorkflowsListTab
53795
53947
  }
53796
53948
  ),
53797
- /* @__PURE__ */ jsx238(EuiSpacer25, { size: "xxl" }),
53798
- /* @__PURE__ */ jsx238(
53949
+ /* @__PURE__ */ jsx240(EuiSpacer25, { size: "xxl" }),
53950
+ /* @__PURE__ */ jsx240(
53799
53951
  WfoProcessesList,
53800
53952
  {
53801
53953
  alwaysOnFilters,
@@ -53905,7 +54057,7 @@ var graphQlProcessFilterMapper = (data) => data?.map(({ field, value }) => ({
53905
54057
  }));
53906
54058
 
53907
54059
  // src/components/WfoProcessList/WfoProcessesList.tsx
53908
- 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";
53909
54061
  var WfoProcessesList = ({
53910
54062
  alwaysOnFilters,
53911
54063
  defaultHiddenColumns = [],
@@ -53914,8 +54066,8 @@ var WfoProcessesList = ({
53914
54066
  overrideDefaultTableColumns,
53915
54067
  setDataDisplayParam
53916
54068
  }) => {
53917
- const t = useTranslations76("processes.index");
53918
- const tError = useTranslations76("errors");
54069
+ const t = useTranslations77("processes.index");
54070
+ const tError = useTranslations77("errors");
53919
54071
  const { showToastMessage } = useShowToastMessage();
53920
54072
  const router = useRouter14();
53921
54073
  const defaultTableColumns = {
@@ -53923,7 +54075,7 @@ var WfoProcessesList = ({
53923
54075
  columnType: "data" /* DATA */,
53924
54076
  label: t("workflowName"),
53925
54077
  width: "225px",
53926
- 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 }),
53927
54079
  renderTooltip: (value) => value
53928
54080
  },
53929
54081
  lastStep: {
@@ -53934,13 +54086,13 @@ var WfoProcessesList = ({
53934
54086
  lastStatus: {
53935
54087
  columnType: "data" /* DATA */,
53936
54088
  label: t("status"),
53937
- renderData: (cellValue) => /* @__PURE__ */ jsx239(WfoProcessStatusBadge, { processStatus: cellValue }),
54089
+ renderData: (cellValue) => /* @__PURE__ */ jsx241(WfoProcessStatusBadge, { processStatus: cellValue }),
53938
54090
  width: "150px"
53939
54091
  },
53940
54092
  workflowTarget: {
53941
54093
  columnType: "data" /* DATA */,
53942
54094
  label: t("workflowTarget"),
53943
- renderData: (target) => /* @__PURE__ */ jsx239(WfoWorkflowTargetBadge, { target }),
54095
+ renderData: (target) => /* @__PURE__ */ jsx241(WfoWorkflowTargetBadge, { target }),
53944
54096
  width: "100px"
53945
54097
  },
53946
54098
  tag: {
@@ -53967,7 +54119,7 @@ var WfoProcessesList = ({
53967
54119
  columnType: "data" /* DATA */,
53968
54120
  label: t("subscriptions"),
53969
54121
  width: "425px",
53970
- renderData: ({ page: subscriptions }, { processId }) => /* @__PURE__ */ jsx239(
54122
+ renderData: ({ page: subscriptions }, { processId }) => /* @__PURE__ */ jsx241(
53971
54123
  WfoProcessListSubscriptionsCell,
53972
54124
  {
53973
54125
  subscriptions,
@@ -53975,13 +54127,13 @@ var WfoProcessesList = ({
53975
54127
  onMoreSubscriptionsClick: () => router.push(`${PATH_WORKFLOWS}/${processId}`)
53976
54128
  }
53977
54129
  ),
53978
- renderDetails: ({ page: subscriptions }) => /* @__PURE__ */ jsx239(
54130
+ renderDetails: ({ page: subscriptions }) => /* @__PURE__ */ jsx241(
53979
54131
  WfoProcessListSubscriptionsCell,
53980
54132
  {
53981
54133
  subscriptions
53982
54134
  }
53983
54135
  ),
53984
- renderTooltip: ({ page: subscriptions }) => subscriptions.map(({ description, subscriptionId }) => /* @__PURE__ */ jsxs129("p", { children: [
54136
+ renderTooltip: ({ page: subscriptions }) => subscriptions.map(({ description, subscriptionId }) => /* @__PURE__ */ jsxs130("p", { children: [
53985
54137
  "- ",
53986
54138
  description
53987
54139
  ] }, subscriptionId)),
@@ -54001,7 +54153,7 @@ var WfoProcessesList = ({
54001
54153
  columnType: "data" /* DATA */,
54002
54154
  label: t("processId"),
54003
54155
  width: "90px",
54004
- renderData: (value) => /* @__PURE__ */ jsx239(WfoFirstPartUUID, { UUID: value }),
54156
+ renderData: (value) => /* @__PURE__ */ jsx241(WfoFirstPartUUID, { UUID: value }),
54005
54157
  renderDetails: (value) => value,
54006
54158
  renderTooltip: (value) => value
54007
54159
  },
@@ -54009,7 +54161,7 @@ var WfoProcessesList = ({
54009
54161
  columnType: "data" /* DATA */,
54010
54162
  label: t("started"),
54011
54163
  width: "100px",
54012
- renderData: (value) => /* @__PURE__ */ jsx239(WfoDateTime, { dateOrIsoString: value }),
54164
+ renderData: (value) => /* @__PURE__ */ jsx241(WfoDateTime, { dateOrIsoString: value }),
54013
54165
  renderDetails: parseDateToLocaleDateTimeString,
54014
54166
  clipboardText: parseDateToLocaleDateTimeString,
54015
54167
  renderTooltip: (value) => value.toString()
@@ -54018,7 +54170,7 @@ var WfoProcessesList = ({
54018
54170
  columnType: "data" /* DATA */,
54019
54171
  label: t("lastModified"),
54020
54172
  width: "125px",
54021
- renderData: (value) => /* @__PURE__ */ jsx239(WfoDateTime, { dateOrIsoString: value }),
54173
+ renderData: (value) => /* @__PURE__ */ jsx241(WfoDateTime, { dateOrIsoString: value }),
54022
54174
  renderDetails: parseDateToLocaleDateTimeString,
54023
54175
  clipboardText: parseDateToLocaleDateTimeString,
54024
54176
  renderTooltip: (value) => value.toString()
@@ -54051,7 +54203,7 @@ var WfoProcessesList = ({
54051
54203
  const getProcessListForExport = () => getProcessListTrigger(
54052
54204
  getQueryVariablesForExport(processListQueryVars)
54053
54205
  ).unwrap();
54054
- return /* @__PURE__ */ jsx239(
54206
+ return /* @__PURE__ */ jsx241(
54055
54207
  WfoAdvancedTable,
54056
54208
  {
54057
54209
  queryString,
@@ -54114,14 +54266,14 @@ var getStyles12 = ({ theme }) => {
54114
54266
  };
54115
54267
 
54116
54268
  // src/components/WfoJsonCodeBlock/WfoJsonCodeBlock.tsx
54117
- import { jsx as jsx240 } from "@emotion/react/jsx-runtime";
54269
+ import { jsx as jsx242 } from "@emotion/react/jsx-runtime";
54118
54270
  var WfoJsonCodeBlock = ({
54119
54271
  data,
54120
54272
  isBasicStyle = false
54121
54273
  }) => {
54122
54274
  const { euiCodeBlockStyle, euiBasicCodeBlockStyle } = useWithOrchestratorTheme(getStyles12);
54123
54275
  const json = JSON.stringify(data, null, 4);
54124
- return /* @__PURE__ */ jsx240(
54276
+ return /* @__PURE__ */ jsx242(
54125
54277
  EuiCodeBlock3,
54126
54278
  {
54127
54279
  css: isBasicStyle ? euiBasicCodeBlockStyle : euiCodeBlockStyle,
@@ -54135,9 +54287,9 @@ var WfoJsonCodeBlock = ({
54135
54287
 
54136
54288
  // src/components/WfoSettings/WfoFlushSettings.tsx
54137
54289
  import { useState as useState54 } from "react";
54138
- import { useTranslations as useTranslations77 } from "next-intl";
54290
+ import { useTranslations as useTranslations78 } from "next-intl";
54139
54291
  import {
54140
- EuiButton as EuiButton16,
54292
+ EuiButton as EuiButton17,
54141
54293
  EuiComboBox,
54142
54294
  EuiPanel as EuiPanel8,
54143
54295
  EuiSpacer as EuiSpacer26,
@@ -54169,13 +54321,13 @@ var getWfoFlushSettingsStyle = (wfoTheme) => {
54169
54321
  };
54170
54322
 
54171
54323
  // src/components/WfoSettings/WfoFlushSettings.tsx
54172
- 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";
54173
54325
  var WfoFlushSettings = () => {
54174
54326
  const { comboboxStyle } = useWithOrchestratorTheme(
54175
54327
  getWfoFlushSettingsStyle
54176
54328
  );
54177
54329
  const [clearCache] = useClearCacheMutation();
54178
- const t = useTranslations77("settings.page");
54330
+ const t = useTranslations78("settings.page");
54179
54331
  const [selectedOptions, setSelected] = useState54(
54180
54332
  []
54181
54333
  );
@@ -54207,10 +54359,10 @@ var WfoFlushSettings = () => {
54207
54359
  );
54208
54360
  });
54209
54361
  };
54210
- return /* @__PURE__ */ jsx241(WfoIsAllowedToRender, { resource: "/orchestrator/settings/flush-cache" /* SETTINGS_FLUSH_CACHE */, children: /* @__PURE__ */ jsxs130(EuiPanel8, { hasShadow: false, color: "subdued", paddingSize: "l", children: [
54211
- /* @__PURE__ */ jsx241(EuiText46, { size: "s", children: /* @__PURE__ */ jsx241("h4", { children: t("flushCacheSettingsTitle") }) }),
54212
- /* @__PURE__ */ jsx241(EuiSpacer26, { size: "m" }),
54213
- /* @__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(
54214
54366
  EuiComboBox,
54215
54367
  {
54216
54368
  css: comboboxStyle,
@@ -54223,25 +54375,25 @@ var WfoFlushSettings = () => {
54223
54375
  fullWidth: true
54224
54376
  }
54225
54377
  ),
54226
- /* @__PURE__ */ jsx241(EuiSpacer26, { size: "m" }),
54227
- /* @__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") })
54228
54380
  ] }) });
54229
54381
  };
54230
54382
 
54231
54383
  // src/components/WfoSettings/WfoEngineStatusButton.tsx
54232
- import { useTranslations as useTranslations78 } from "next-intl";
54233
- import { EuiButton as EuiButton17 } from "@elastic/eui";
54234
- 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";
54235
54387
  var WfoEngineStatusButton = () => {
54236
54388
  const { data, isLoading } = useGetEngineStatusQuery();
54237
54389
  const { engineStatus } = data || {};
54238
54390
  const [setEngineStatus, { isLoading: isSettingEngineStatus }] = useSetEngineStatusMutation();
54239
- const t = useTranslations78("settings.page");
54391
+ const t = useTranslations79("settings.page");
54240
54392
  if (isLoading || isSettingEngineStatus) {
54241
- return /* @__PURE__ */ jsx242(EuiButton17, { isLoading: true, fill: true, children: "Loading..." });
54393
+ return /* @__PURE__ */ jsx244(EuiButton18, { isLoading: true, fill: true, children: "Loading..." });
54242
54394
  }
54243
- return engineStatus === "RUNNING" /* RUNNING */ ? /* @__PURE__ */ jsx242(
54244
- EuiButton17,
54395
+ return engineStatus === "RUNNING" /* RUNNING */ ? /* @__PURE__ */ jsx244(
54396
+ EuiButton18,
54245
54397
  {
54246
54398
  onClick: () => setEngineStatus(true),
54247
54399
  color: "warning",
@@ -54249,8 +54401,8 @@ var WfoEngineStatusButton = () => {
54249
54401
  iconType: "pause",
54250
54402
  children: t("pauseEngine")
54251
54403
  }
54252
- ) : /* @__PURE__ */ jsx242(
54253
- EuiButton17,
54404
+ ) : /* @__PURE__ */ jsx244(
54405
+ EuiButton18,
54254
54406
  {
54255
54407
  onClick: () => setEngineStatus(false),
54256
54408
  color: "primary",
@@ -54262,27 +54414,27 @@ var WfoEngineStatusButton = () => {
54262
54414
  };
54263
54415
 
54264
54416
  // src/components/WfoSettings/WfoModifySettings.tsx
54265
- import { useTranslations as useTranslations79 } from "next-intl";
54266
- import { EuiFlexItem as EuiFlexItem32, EuiPanel as EuiPanel9, EuiSpacer as EuiSpacer27, EuiText as EuiText47 } from "@elastic/eui";
54267
- 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";
54268
54420
  var WfoModifySettings = () => {
54269
- const t = useTranslations79("settings.page");
54270
- return /* @__PURE__ */ jsxs131(EuiFlexItem32, { children: [
54271
- /* @__PURE__ */ jsxs131(EuiPanel9, { hasShadow: false, color: "subdued", paddingSize: "l", children: [
54272
- /* @__PURE__ */ jsx243(EuiText47, { size: "s", children: /* @__PURE__ */ jsx243("h4", { children: t("resetTextSearchIndex") }) }),
54273
- /* @__PURE__ */ jsx243(EuiSpacer27, { size: "m" }),
54274
- /* @__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, {})
54275
54427
  ] }),
54276
- /* @__PURE__ */ jsxs131(
54428
+ /* @__PURE__ */ jsxs132(
54277
54429
  WfoIsAllowedToRender,
54278
54430
  {
54279
54431
  resource: "/orchestrator/settings/start-stop-engine" /* SETTINGS_START_STOP_ENGINE */,
54280
54432
  children: [
54281
- /* @__PURE__ */ jsx243(EuiSpacer27, {}),
54282
- /* @__PURE__ */ jsxs131(EuiPanel9, { hasShadow: false, color: "subdued", paddingSize: "l", children: [
54283
- /* @__PURE__ */ jsx243(EuiText47, { size: "s", children: /* @__PURE__ */ jsx243("h4", { children: t("modifyEngine") }) }),
54284
- /* @__PURE__ */ jsx243(EuiSpacer27, { size: "m" }),
54285
- /* @__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, {})
54286
54438
  ] })
54287
54439
  ]
54288
54440
  }
@@ -54291,38 +54443,38 @@ var WfoModifySettings = () => {
54291
54443
  };
54292
54444
 
54293
54445
  // src/components/WfoSettings/WfoEngineStatus.tsx
54294
- import { useTranslations as useTranslations80 } from "next-intl";
54295
- import { EuiFlexGroup as EuiFlexGroup27, EuiFlexItem as EuiFlexItem33, EuiPanel as EuiPanel10, EuiText as EuiText48 } from "@elastic/eui";
54296
- 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";
54297
54449
  var WfoEngineStatus = () => {
54298
54450
  const { theme } = useOrchestratorTheme();
54299
54451
  const { data } = useGetEngineStatusQuery();
54300
54452
  const { engineStatus, runningProcesses } = data || {};
54301
54453
  const isRunning = engineStatus === "RUNNING" /* RUNNING */;
54302
- const t = useTranslations80("settings.page");
54303
- return /* @__PURE__ */ jsx244(EuiPanel10, { hasShadow: false, color: "subdued", paddingSize: "l", children: /* @__PURE__ */ jsxs132(EuiFlexGroup27, { direction: "column", gutterSize: "s", children: [
54304
- /* @__PURE__ */ jsx244(EuiFlexItem33, { children: /* @__PURE__ */ jsx244(EuiText48, { size: "s", children: /* @__PURE__ */ jsx244("h4", { children: t("engineStatusTitle") }) }) }),
54305
- /* @__PURE__ */ jsxs132(EuiFlexItem33, { css: { flexDirection: "row" }, children: [
54306
- /* @__PURE__ */ jsx244(EuiText48, { size: "s", style: { minWidth: 200 }, children: t("runningProcesses") }),
54307
- /* @__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 || "-" })
54308
54460
  ] }),
54309
- /* @__PURE__ */ jsxs132(EuiFlexItem33, { css: { flexDirection: "row" }, children: [
54310
- /* @__PURE__ */ jsx244(EuiText48, { size: "s", style: { minWidth: 190 }, children: t("status") }),
54311
- /* @__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(
54312
54464
  WfoStatusDotIcon,
54313
54465
  {
54314
54466
  color: isRunning ? theme.colors.success : theme.colors.warning
54315
54467
  }
54316
54468
  ),
54317
- /* @__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 }) })
54318
54470
  ] })
54319
54471
  ] }) });
54320
54472
  };
54321
54473
 
54322
54474
  // src/components/WfoSettings/WfoWorkerStatus.tsx
54323
- import { useTranslations as useTranslations81 } from "next-intl";
54324
- import { EuiFlexGroup as EuiFlexGroup28, EuiFlexItem as EuiFlexItem34, EuiPanel as EuiPanel11, EuiText as EuiText49 } from "@elastic/eui";
54325
- 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";
54326
54478
  var WfoWorkerStatus = () => {
54327
54479
  const { data } = useGetWorkerStatusQuery();
54328
54480
  const {
@@ -54331,33 +54483,33 @@ var WfoWorkerStatus = () => {
54331
54483
  numberOfRunningJobs,
54332
54484
  numberOfWorkersOnline
54333
54485
  } = data || {};
54334
- const t = useTranslations81("settings.page");
54335
- return executorType?.toUpperCase() === "CELERY" /* CELERY */ && /* @__PURE__ */ jsx245(EuiPanel11, { hasShadow: false, color: "subdued", paddingSize: "l", children: /* @__PURE__ */ jsxs133(EuiFlexGroup28, { direction: "column", gutterSize: "s", children: [
54336
- /* @__PURE__ */ jsx245(EuiFlexItem34, { children: /* @__PURE__ */ jsx245(EuiText49, { size: "s", children: /* @__PURE__ */ jsx245("h4", { children: t("workerStatusTitle") }) }) }),
54337
- /* @__PURE__ */ jsxs133(EuiFlexItem34, { css: { flexDirection: "row" }, children: [
54338
- /* @__PURE__ */ jsx245(EuiText49, { size: "s", style: { minWidth: 200 }, children: t("numberOfQueuedJobs") }),
54339
- /* @__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 || "-" })
54340
54492
  ] }),
54341
- /* @__PURE__ */ jsxs133(EuiFlexItem34, { css: { flexDirection: "row" }, children: [
54342
- /* @__PURE__ */ jsx245(EuiText49, { size: "s", style: { minWidth: 200 }, children: t("numberOfRunningJobs") }),
54343
- /* @__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 || "-" })
54344
54496
  ] }),
54345
- /* @__PURE__ */ jsxs133(EuiFlexItem34, { css: { flexDirection: "row" }, children: [
54346
- /* @__PURE__ */ jsx245(EuiText49, { size: "s", style: { minWidth: 200 }, children: t("numberOfWorkersOnline") }),
54347
- /* @__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 || "-" })
54348
54500
  ] })
54349
54501
  ] }) }) || null;
54350
54502
  };
54351
54503
 
54352
54504
  // src/components/WfoSettings/WfoResetTextSearchIndexButton.tsx
54353
- import { useTranslations as useTranslations82 } from "next-intl";
54354
- import { EuiButton as EuiButton18 } from "@elastic/eui";
54355
- 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";
54356
54508
  var WfoResetTextSearchIndexButton = () => {
54357
54509
  const [resetTextSearchIndex] = useResetTextSearchIndexMutation();
54358
- const t = useTranslations82("settings.page");
54359
- return /* @__PURE__ */ jsx246(
54360
- EuiButton18,
54510
+ const t = useTranslations83("settings.page");
54511
+ return /* @__PURE__ */ jsx248(
54512
+ EuiButton19,
54361
54513
  {
54362
54514
  onClick: () => resetTextSearchIndex(null),
54363
54515
  iconType: "refresh",
@@ -54367,17 +54519,17 @@ var WfoResetTextSearchIndexButton = () => {
54367
54519
  };
54368
54520
 
54369
54521
  // src/components/WfoInsyncIcon/WfoInsyncIcon.tsx
54370
- import { jsx as jsx247 } from "@emotion/react/jsx-runtime";
54522
+ import { jsx as jsx249 } from "@emotion/react/jsx-runtime";
54371
54523
  var WfoInsyncIcon = ({ inSync }) => {
54372
54524
  const { theme } = useOrchestratorTheme();
54373
- return inSync ? /* @__PURE__ */ jsx247(
54525
+ return inSync ? /* @__PURE__ */ jsx249(
54374
54526
  WfoCheckmarkCircleFill,
54375
54527
  {
54376
54528
  height: 20,
54377
54529
  width: 20,
54378
54530
  color: theme.colors.primary
54379
54531
  }
54380
- ) : /* @__PURE__ */ jsx247(
54532
+ ) : /* @__PURE__ */ jsx249(
54381
54533
  WfoMinusCircleFill,
54382
54534
  {
54383
54535
  height: 20,
@@ -54388,9 +54540,9 @@ var WfoInsyncIcon = ({ inSync }) => {
54388
54540
  };
54389
54541
 
54390
54542
  // src/components/WfoErrorBoundary/WfoErrorBoundary.tsx
54391
- import React81 from "react";
54392
- import { jsx as jsx248, jsxs as jsxs134 } from "@emotion/react/jsx-runtime";
54393
- var WfoErrorBoundary = class extends React81.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 {
54394
54546
  constructor(props) {
54395
54547
  super(props);
54396
54548
  this.state = { hasError: false };
@@ -54406,10 +54558,10 @@ var WfoErrorBoundary = class extends React81.Component {
54406
54558
  if (this.props.fallback) {
54407
54559
  return this.props.fallback;
54408
54560
  }
54409
- return /* @__PURE__ */ jsxs134("p", { children: [
54561
+ return /* @__PURE__ */ jsxs135("p", { children: [
54410
54562
  "An unexpected error occurred, try to go back to the",
54411
54563
  " ",
54412
- /* @__PURE__ */ jsx248("a", { href: "/", children: "home page" })
54564
+ /* @__PURE__ */ jsx250("a", { href: "/", children: "home page" })
54413
54565
  ] });
54414
54566
  }
54415
54567
  return this.props.children;
@@ -54441,10 +54593,10 @@ var getStyles13 = ({ theme }) => {
54441
54593
  };
54442
54594
 
54443
54595
  // src/components/WfoNoResults/WfoNoResults.tsx
54444
- import { jsxs as jsxs135 } from "@emotion/react/jsx-runtime";
54596
+ import { jsxs as jsxs136 } from "@emotion/react/jsx-runtime";
54445
54597
  var WfoNoResults = ({ text, icon }) => {
54446
54598
  const { panelStyle } = useWithOrchestratorTheme(getStyles13);
54447
- return /* @__PURE__ */ jsxs135(EuiFlexGroup29, { css: panelStyle, children: [
54599
+ return /* @__PURE__ */ jsxs136(EuiFlexGroup29, { css: panelStyle, children: [
54448
54600
  icon,
54449
54601
  " ",
54450
54602
  text
@@ -54452,7 +54604,7 @@ var WfoNoResults = ({ text, icon }) => {
54452
54604
  };
54453
54605
 
54454
54606
  // src/components/WfoRenderElementOrString/WfoRenderElementOrString.tsx
54455
- 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";
54456
54608
  var WfoRenderElementOrString = ({
54457
54609
  children,
54458
54610
  renderString
@@ -54460,16 +54612,16 @@ var WfoRenderElementOrString = ({
54460
54612
  if (typeof children === "string" && renderString) {
54461
54613
  return renderString(children);
54462
54614
  }
54463
- return /* @__PURE__ */ jsx249(Fragment61, { children });
54615
+ return /* @__PURE__ */ jsx251(Fragment61, { children });
54464
54616
  };
54465
54617
 
54466
54618
  // src/components/WfoStartButton/WfoStartTaskComboBox.tsx
54467
- import { useTranslations as useTranslations83 } from "next-intl";
54619
+ import { useTranslations as useTranslations84 } from "next-intl";
54468
54620
  import { useRouter as useRouter15 } from "next/router";
54469
- import { jsx as jsx250 } from "@emotion/react/jsx-runtime";
54621
+ import { jsx as jsx252 } from "@emotion/react/jsx-runtime";
54470
54622
  var WfoStartTaskButtonComboBox = () => {
54471
54623
  const router = useRouter15();
54472
- const t = useTranslations83("common");
54624
+ const t = useTranslations84("common");
54473
54625
  const { isEngineRunningNow } = useCheckEngineStatus();
54474
54626
  const { data } = useGetTaskOptionsQuery();
54475
54627
  const taskOptions = data?.startOptions || [];
@@ -54488,7 +54640,7 @@ var WfoStartTaskButtonComboBox = () => {
54488
54640
  });
54489
54641
  }
54490
54642
  };
54491
- return /* @__PURE__ */ jsx250(
54643
+ return /* @__PURE__ */ jsx252(
54492
54644
  WfoStartButtonComboBox,
54493
54645
  {
54494
54646
  buttonText: t("newTask"),
@@ -54582,10 +54734,10 @@ var subscriptionListTabs = [
54582
54734
  ];
54583
54735
 
54584
54736
  // src/components/WfoSubscriptionsList/WfoSubscriptionsList.tsx
54585
- import { useTranslations as useTranslations84 } from "next-intl";
54737
+ import { useTranslations as useTranslations85 } from "next-intl";
54586
54738
  import Link13 from "next/link";
54587
54739
  import { useRouter as useRouter16 } from "next/router";
54588
- import { jsx as jsx251 } from "@emotion/react/jsx-runtime";
54740
+ import { jsx as jsx253 } from "@emotion/react/jsx-runtime";
54589
54741
  var WfoSubscriptionsList = ({
54590
54742
  alwaysOnFilters,
54591
54743
  dataDisplayParams,
@@ -54593,8 +54745,8 @@ var WfoSubscriptionsList = ({
54593
54745
  hiddenColumns
54594
54746
  }) => {
54595
54747
  const router = useRouter16();
54596
- const t = useTranslations84("subscriptions.index");
54597
- const tError = useTranslations84("errors");
54748
+ const t = useTranslations85("subscriptions.index");
54749
+ const tError = useTranslations85("errors");
54598
54750
  const { showToastMessage } = useShowToastMessage();
54599
54751
  const { sortBy: sortBy2, queryString, pageIndex, pageSize } = dataDisplayParams;
54600
54752
  const graphqlQueryVariables = {
@@ -54611,7 +54763,7 @@ var WfoSubscriptionsList = ({
54611
54763
  columnType: "data" /* DATA */,
54612
54764
  label: t("id"),
54613
54765
  width: "100px",
54614
- renderData: (value) => /* @__PURE__ */ jsx251(WfoFirstPartUUID, { UUID: value }),
54766
+ renderData: (value) => /* @__PURE__ */ jsx253(WfoFirstPartUUID, { UUID: value }),
54615
54767
  renderDetails: (value) => value,
54616
54768
  renderTooltip: (value) => value
54617
54769
  },
@@ -54619,20 +54771,20 @@ var WfoSubscriptionsList = ({
54619
54771
  columnType: "data" /* DATA */,
54620
54772
  label: t("description"),
54621
54773
  width: "500px",
54622
- 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 }),
54623
54775
  renderTooltip: (value) => value
54624
54776
  },
54625
54777
  status: {
54626
54778
  columnType: "data" /* DATA */,
54627
54779
  label: t("status"),
54628
54780
  width: "120px",
54629
- renderData: (value) => /* @__PURE__ */ jsx251(WfoSubscriptionStatusBadge, { status: value })
54781
+ renderData: (value) => /* @__PURE__ */ jsx253(WfoSubscriptionStatusBadge, { status: value })
54630
54782
  },
54631
54783
  insync: {
54632
54784
  columnType: "data" /* DATA */,
54633
54785
  label: t("insync"),
54634
54786
  width: "80px",
54635
- renderData: (value) => /* @__PURE__ */ jsx251(WfoInsyncIcon, { inSync: value })
54787
+ renderData: (value) => /* @__PURE__ */ jsx253(WfoInsyncIcon, { inSync: value })
54636
54788
  },
54637
54789
  productName: {
54638
54790
  columnType: "data" /* DATA */,
@@ -54656,7 +54808,7 @@ var WfoSubscriptionsList = ({
54656
54808
  columnType: "data" /* DATA */,
54657
54809
  label: t("startDate"),
54658
54810
  width: "120px",
54659
- renderData: (value) => /* @__PURE__ */ jsx251(WfoDateTime, { dateOrIsoString: value }),
54811
+ renderData: (value) => /* @__PURE__ */ jsx253(WfoDateTime, { dateOrIsoString: value }),
54660
54812
  renderDetails: parseDateToLocaleDateTimeString,
54661
54813
  clipboardText: parseDateToLocaleDateTimeString,
54662
54814
  renderTooltip: (cellValue) => cellValue?.toString()
@@ -54665,7 +54817,7 @@ var WfoSubscriptionsList = ({
54665
54817
  columnType: "data" /* DATA */,
54666
54818
  label: t("endDate"),
54667
54819
  width: "120px",
54668
- renderData: (value) => /* @__PURE__ */ jsx251(WfoDateTime, { dateOrIsoString: value }),
54820
+ renderData: (value) => /* @__PURE__ */ jsx253(WfoDateTime, { dateOrIsoString: value }),
54669
54821
  renderDetails: parseDateToLocaleDateTimeString,
54670
54822
  clipboardText: parseDateToLocaleDateTimeString,
54671
54823
  renderTooltip: (cellValue) => cellValue?.toString()
@@ -54674,7 +54826,7 @@ var WfoSubscriptionsList = ({
54674
54826
  columnType: "data" /* DATA */,
54675
54827
  label: t("note"),
54676
54828
  renderData: (cellValue, row) => {
54677
- return /* @__PURE__ */ jsx251(
54829
+ return /* @__PURE__ */ jsx253(
54678
54830
  WfoSubscriptionNoteEdit,
54679
54831
  {
54680
54832
  onlyShowOnHover: true,
@@ -54690,9 +54842,9 @@ var WfoSubscriptionsList = ({
54690
54842
  columnType: "data" /* DATA */,
54691
54843
  label: t("metadata"),
54692
54844
  width: "100px",
54693
- renderData: (value) => /* @__PURE__ */ jsx251(WfoInlineJson, { data: value }),
54694
- renderDetails: (value) => value && /* @__PURE__ */ jsx251(WfoJsonCodeBlock, { data: value, isBasicStyle: true }),
54695
- 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 })
54696
54848
  }
54697
54849
  };
54698
54850
  const [getSubscriptionListTrigger, { isFetching: isFetchingCsv }] = useLazyGetSubscriptionListQuery();
@@ -54738,7 +54890,7 @@ var WfoSubscriptionsList = ({
54738
54890
  sortFields,
54739
54891
  filterFields
54740
54892
  );
54741
- return /* @__PURE__ */ jsx251(
54893
+ return /* @__PURE__ */ jsx253(
54742
54894
  WfoAdvancedTable,
54743
54895
  {
54744
54896
  queryString: dataDisplayParams.queryString,
@@ -54779,7 +54931,7 @@ var getNumberOfColumns = (currentBreakpoint) => {
54779
54931
  import {
54780
54932
  EuiAvatar as EuiAvatar2,
54781
54933
  EuiFlexGroup as EuiFlexGroup30,
54782
- EuiFlexItem as EuiFlexItem35,
54934
+ EuiFlexItem as EuiFlexItem36,
54783
54935
  EuiLoadingSpinner,
54784
54936
  EuiPanel as EuiPanel12,
54785
54937
  EuiText as EuiText50
@@ -54809,7 +54961,7 @@ var getWfoSummaryCardHeaderStyles = ({ theme }) => {
54809
54961
  };
54810
54962
 
54811
54963
  // src/components/WfoSummary/WfoSummaryCardHeader/WfoSummaryCardHeader.tsx
54812
- 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";
54813
54965
  var WfoSummaryCardHeader = ({
54814
54966
  text,
54815
54967
  value,
@@ -54819,8 +54971,8 @@ var WfoSummaryCardHeader = ({
54819
54971
  }) => {
54820
54972
  const { theme } = useOrchestratorTheme();
54821
54973
  const { avatarStyle, totalSectionStyle, valueStyle } = useWithOrchestratorTheme(getWfoSummaryCardHeaderStyles);
54822
- return /* @__PURE__ */ jsx252(EuiFlexItem35, { grow: 0, children: /* @__PURE__ */ jsx252(EuiPanel12, { hasShadow: false, color: "subdued", paddingSize: "l", children: /* @__PURE__ */ jsxs136(EuiFlexGroup30, { alignItems: "center", children: [
54823
- /* @__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(
54824
54976
  EuiAvatar2,
54825
54977
  {
54826
54978
  iconSize: "l",
@@ -54833,11 +54985,11 @@ var WfoSummaryCardHeader = ({
54833
54985
  color: iconColor
54834
54986
  }
54835
54987
  ),
54836
- /* @__PURE__ */ jsxs136("div", { css: totalSectionStyle, children: [
54837
- /* @__PURE__ */ jsx252(EuiText50, { color: "subdued", children: text }),
54838
- /* @__PURE__ */ jsxs136(EuiFlexGroup30, { gutterSize: "s", alignItems: "center", children: [
54839
- /* @__PURE__ */ jsx252(EuiText50, { css: valueStyle, children: value }),
54840
- 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, {})
54841
54993
  ] })
54842
54994
  ] })
54843
54995
  ] }) }) });
@@ -54846,9 +54998,9 @@ var WfoSummaryCardHeader = ({
54846
54998
  // src/components/WfoSummary/WfoSummaryCardList/WfoSummaryCardList.tsx
54847
54999
  import { useRouter as useRouter17 } from "next/router";
54848
55000
  import {
54849
- EuiButton as EuiButton19,
54850
- EuiFlexItem as EuiFlexItem37,
54851
- EuiHorizontalRule as EuiHorizontalRule9,
55001
+ EuiButton as EuiButton20,
55002
+ EuiFlexItem as EuiFlexItem38,
55003
+ EuiHorizontalRule as EuiHorizontalRule10,
54852
55004
  EuiPanel as EuiPanel13,
54853
55005
  EuiSkeletonText,
54854
55006
  EuiSpacer as EuiSpacer28,
@@ -54856,19 +55008,19 @@ import {
54856
55008
  } from "@elastic/eui";
54857
55009
 
54858
55010
  // src/components/WfoSummary/WfoSummaryCardList/WfoSummaryCardListItem.tsx
54859
- 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";
54860
55012
 
54861
55013
  // src/components/WfoOptionalLink/WfoOptionalLink.tsx
54862
55014
  import Link14 from "next/link";
54863
- import { jsx as jsx253 } from "@emotion/react/jsx-runtime";
55015
+ import { jsx as jsx255 } from "@emotion/react/jsx-runtime";
54864
55016
  var WfoOptionalLink = ({
54865
55017
  children,
54866
55018
  href
54867
55019
  }) => {
54868
55020
  if (!href) {
54869
- return /* @__PURE__ */ jsx253("span", { children });
55021
+ return /* @__PURE__ */ jsx255("span", { children });
54870
55022
  }
54871
- return /* @__PURE__ */ jsx253(Link14, { href, children });
55023
+ return /* @__PURE__ */ jsx255(Link14, { href, children });
54872
55024
  };
54873
55025
 
54874
55026
  // src/components/WfoSummary/WfoSummaryCardList/styles.ts
@@ -54918,7 +55070,7 @@ var getWfoSummaryCardListStyles = ({ theme }) => {
54918
55070
  };
54919
55071
 
54920
55072
  // src/components/WfoSummary/WfoSummaryCardList/WfoSummaryCardListItem.tsx
54921
- 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";
54922
55074
  var WfoSummaryCardListItem = ({
54923
55075
  title,
54924
55076
  value,
@@ -54931,9 +55083,9 @@ var WfoSummaryCardListItem = ({
54931
55083
  listItemSubtitleStyle,
54932
55084
  listItemHighlightIconStyle
54933
55085
  } = useWithOrchestratorTheme(getWfoSummaryCardListStyles);
54934
- return /* @__PURE__ */ jsx254(WfoOptionalLink, { href: url, children: /* @__PURE__ */ jsxs137(EuiFlexGroup31, { css: listItemContainerStyle, gutterSize: "none", children: [
54935
- /* @__PURE__ */ jsxs137(EuiFlexItem36, { children: [
54936
- /* @__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(
54937
55089
  EuiTextColor,
54938
55090
  {
54939
55091
  color: url ? theme.colors.link : theme.colors.title,
@@ -54941,22 +55093,22 @@ var WfoSummaryCardListItem = ({
54941
55093
  children: title
54942
55094
  }
54943
55095
  ),
54944
- /* @__PURE__ */ jsx254(EuiTextColor, { css: listItemSubtitleStyle, children: value })
55096
+ /* @__PURE__ */ jsx256(EuiTextColor, { css: listItemSubtitleStyle, children: value })
54945
55097
  ] }),
54946
- /* @__PURE__ */ jsx254(
54947
- EuiFlexItem36,
55098
+ /* @__PURE__ */ jsx256(
55099
+ EuiFlexItem37,
54948
55100
  {
54949
55101
  className: url ? "highlight-icon" : void 0,
54950
55102
  grow: false,
54951
55103
  css: listItemHighlightIconStyle,
54952
- children: /* @__PURE__ */ jsx254(EuiIcon6, { type: "sortRight", color: "primary" })
55104
+ children: /* @__PURE__ */ jsx256(EuiIcon6, { type: "sortRight", color: "primary" })
54953
55105
  }
54954
55106
  )
54955
55107
  ] }) });
54956
55108
  };
54957
55109
 
54958
55110
  // src/components/WfoSummary/WfoSummaryCardList/WfoSummaryCardList.tsx
54959
- 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";
54960
55112
  var WfoSummaryCardList = ({
54961
55113
  title,
54962
55114
  items,
@@ -54966,7 +55118,7 @@ var WfoSummaryCardList = ({
54966
55118
  const router = useRouter17();
54967
55119
  const euiScrollBarStyle = useEuiScrollBar3();
54968
55120
  const { listContainerStyle, listHeaderStyle, listStyle } = useWithOrchestratorTheme(getWfoSummaryCardListStyles);
54969
- return /* @__PURE__ */ jsx255(EuiFlexItem37, { children: /* @__PURE__ */ jsxs138(
55121
+ return /* @__PURE__ */ jsx257(EuiFlexItem38, { children: /* @__PURE__ */ jsxs139(
54970
55122
  EuiPanel13,
54971
55123
  {
54972
55124
  css: listContainerStyle,
@@ -54974,11 +55126,11 @@ var WfoSummaryCardList = ({
54974
55126
  hasBorder: true,
54975
55127
  paddingSize: "l",
54976
55128
  children: [
54977
- /* @__PURE__ */ jsxs138("div", { children: [
54978
- /* @__PURE__ */ jsx255("p", { css: listHeaderStyle, children: title }),
54979
- /* @__PURE__ */ jsx255(EuiSpacer28, { size: "m" }),
54980
- /* @__PURE__ */ jsx255(EuiSkeletonText, { isLoading, lines: 10, children: /* @__PURE__ */ jsx255("div", { css: [listStyle, euiScrollBarStyle], children: items?.map((item, index) => /* @__PURE__ */ jsxs138("div", { children: [
54981
- /* @__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(
54982
55134
  WfoSummaryCardListItem,
54983
55135
  {
54984
55136
  title: item.title,
@@ -54986,12 +55138,12 @@ var WfoSummaryCardList = ({
54986
55138
  url: item.url
54987
55139
  }
54988
55140
  ),
54989
- index === items.length - 1 ? null : /* @__PURE__ */ jsx255(EuiHorizontalRule9, { margin: "none" })
55141
+ index === items.length - 1 ? null : /* @__PURE__ */ jsx257(EuiHorizontalRule10, { margin: "none" })
54990
55142
  ] }, index)) }) })
54991
55143
  ] }),
54992
- /* @__PURE__ */ jsx255(EuiSpacer28, { size: "m" }),
54993
- button && /* @__PURE__ */ jsx255(
54994
- EuiButton19,
55144
+ /* @__PURE__ */ jsx257(EuiSpacer28, { size: "m" }),
55145
+ button && /* @__PURE__ */ jsx257(
55146
+ EuiButton20,
54995
55147
  {
54996
55148
  fullWidth: true,
54997
55149
  onClick: () => router.push(button.url),
@@ -55005,10 +55157,10 @@ var WfoSummaryCardList = ({
55005
55157
 
55006
55158
  // src/components/WfoSummary/WfoSummaryCards.tsx
55007
55159
  import { EuiFlexGrid as EuiFlexGrid2, useCurrentEuiBreakpoint } from "@elastic/eui";
55008
- import { jsx as jsx256 } from "@emotion/react/jsx-runtime";
55160
+ import { jsx as jsx258 } from "@emotion/react/jsx-runtime";
55009
55161
  var WfoSummaryCards = ({ children }) => {
55010
55162
  const currentBreakpoint = useCurrentEuiBreakpoint();
55011
- return /* @__PURE__ */ jsx256(
55163
+ return /* @__PURE__ */ jsx258(
55012
55164
  EuiFlexGrid2,
55013
55165
  {
55014
55166
  responsive: false,
@@ -55020,7 +55172,7 @@ var WfoSummaryCards = ({ children }) => {
55020
55172
  };
55021
55173
 
55022
55174
  // src/components/WfoSummary/WfoSummaryCard.tsx
55023
- import { EuiFlexItem as EuiFlexItem38, EuiSpacer as EuiSpacer29 } from "@elastic/eui";
55175
+ import { EuiFlexItem as EuiFlexItem39, EuiSpacer as EuiSpacer29 } from "@elastic/eui";
55024
55176
 
55025
55177
  // src/components/WfoSummary/styles.ts
55026
55178
  import { css as css50 } from "@emotion/react";
@@ -55035,7 +55187,7 @@ var getWfoSummaryCardsStyles = ({ theme }) => {
55035
55187
  };
55036
55188
 
55037
55189
  // src/components/WfoSummary/WfoSummaryCard.tsx
55038
- 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";
55039
55191
  var SummaryCardStatus = /* @__PURE__ */ ((SummaryCardStatus2) => {
55040
55192
  SummaryCardStatus2["Success"] = "Success";
55041
55193
  SummaryCardStatus2["Error"] = "Error";
@@ -55061,7 +55213,7 @@ var WfoSummaryCard = ({
55061
55213
  switch (status) {
55062
55214
  case "Success" /* Success */:
55063
55215
  return {
55064
- iconType: () => /* @__PURE__ */ jsx257(
55216
+ iconType: () => /* @__PURE__ */ jsx259(
55065
55217
  WfoCheckmarkCircleFill,
55066
55218
  {
55067
55219
  width: 32,
@@ -55073,7 +55225,7 @@ var WfoSummaryCard = ({
55073
55225
  };
55074
55226
  case "Error" /* Error */:
55075
55227
  return {
55076
- iconType: () => /* @__PURE__ */ jsx257(
55228
+ iconType: () => /* @__PURE__ */ jsx259(
55077
55229
  WfoXCircleFill,
55078
55230
  {
55079
55231
  width: 32,
@@ -55085,7 +55237,7 @@ var WfoSummaryCard = ({
55085
55237
  };
55086
55238
  case "Neutral" /* Neutral */:
55087
55239
  return {
55088
- iconType: () => /* @__PURE__ */ jsx257(
55240
+ iconType: () => /* @__PURE__ */ jsx259(
55089
55241
  WfoCubeFill,
55090
55242
  {
55091
55243
  width: 32,
@@ -55097,7 +55249,7 @@ var WfoSummaryCard = ({
55097
55249
  };
55098
55250
  default:
55099
55251
  return headerBadge ?? {
55100
- iconType: () => /* @__PURE__ */ jsx257(
55252
+ iconType: () => /* @__PURE__ */ jsx259(
55101
55253
  WfoCubeFill,
55102
55254
  {
55103
55255
  width: 32,
@@ -55109,8 +55261,8 @@ var WfoSummaryCard = ({
55109
55261
  };
55110
55262
  }
55111
55263
  };
55112
- return /* @__PURE__ */ jsxs139(EuiFlexItem38, { css: cardContainerStyle, children: [
55113
- /* @__PURE__ */ jsx257(
55264
+ return /* @__PURE__ */ jsxs140(EuiFlexItem39, { css: cardContainerStyle, children: [
55265
+ /* @__PURE__ */ jsx259(
55114
55266
  WfoSummaryCardHeader,
55115
55267
  {
55116
55268
  text: headerTitle,
@@ -55119,8 +55271,8 @@ var WfoSummaryCard = ({
55119
55271
  ...getIconTypeAndColorForHeaderStatus(headerStatus)
55120
55272
  }
55121
55273
  ),
55122
- /* @__PURE__ */ jsx257(EuiSpacer29, { size: "m" }),
55123
- /* @__PURE__ */ jsx257(
55274
+ /* @__PURE__ */ jsx259(EuiSpacer29, { size: "m" }),
55275
+ /* @__PURE__ */ jsx259(
55124
55276
  WfoSummaryCardList,
55125
55277
  {
55126
55278
  title: listTitle,
@@ -55133,7 +55285,7 @@ var WfoSummaryCard = ({
55133
55285
  };
55134
55286
 
55135
55287
  // src/components/WfoSummary/WfoActiveWorkflowsSummaryCard.tsx
55136
- import { useTranslations as useTranslations85 } from "next-intl";
55288
+ import { useTranslations as useTranslations86 } from "next-intl";
55137
55289
 
55138
55290
  // src/pages/startPage/queryVariables.ts
55139
55291
  var baseQueryVariables = {
@@ -55230,15 +55382,15 @@ var productsSummaryQueryVariables = {
55230
55382
  };
55231
55383
 
55232
55384
  // src/components/WfoSummary/WfoActiveWorkflowsSummaryCard.tsx
55233
- import { jsx as jsx258 } from "@emotion/react/jsx-runtime";
55385
+ import { jsx as jsx260 } from "@emotion/react/jsx-runtime";
55234
55386
  var WfoActiveWorkflowsSummaryCard = () => {
55235
- const t = useTranslations85("startPage.activeWorkflows");
55387
+ const t = useTranslations86("startPage.activeWorkflows");
55236
55388
  const {
55237
55389
  data: activeWorkflowsSummaryResponse,
55238
55390
  isFetching,
55239
55391
  isLoading
55240
55392
  } = useGetProcessListSummaryQuery(activeWorkflowsListSummaryQueryVariables);
55241
- return /* @__PURE__ */ jsx258(
55393
+ return /* @__PURE__ */ jsx260(
55242
55394
  WfoSummaryCard,
55243
55395
  {
55244
55396
  headerTitle: t("headerTitle"),
@@ -55257,16 +55409,16 @@ var WfoActiveWorkflowsSummaryCard = () => {
55257
55409
  };
55258
55410
 
55259
55411
  // src/components/WfoSummary/WfoFailedTasksSummaryCard.tsx
55260
- import { useTranslations as useTranslations86 } from "next-intl";
55261
- 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";
55262
55414
  var WfoFailedTasksSummaryCard = () => {
55263
- const t = useTranslations86("startPage.failedTasks");
55415
+ const t = useTranslations87("startPage.failedTasks");
55264
55416
  const {
55265
55417
  data: failedTasksSummaryResponse,
55266
55418
  isFetching,
55267
55419
  isLoading
55268
55420
  } = useGetProcessListSummaryQuery(taskListSummaryQueryVariables);
55269
- return /* @__PURE__ */ jsx259(
55421
+ return /* @__PURE__ */ jsx261(
55270
55422
  WfoSummaryCard,
55271
55423
  {
55272
55424
  headerTitle: t("headerTitle"),
@@ -55285,10 +55437,10 @@ var WfoFailedTasksSummaryCard = () => {
55285
55437
  };
55286
55438
 
55287
55439
  // src/components/WfoSummary/WfoLatestActiveSubscriptionsSummaryCard.tsx
55288
- import { useTranslations as useTranslations87 } from "next-intl";
55289
- 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";
55290
55442
  var WfoLatestActiveSubscriptionsSummaryCard = () => {
55291
- const t = useTranslations87("startPage.activeSubscriptions");
55443
+ const t = useTranslations88("startPage.activeSubscriptions");
55292
55444
  const {
55293
55445
  data: subscriptionsSummaryResult,
55294
55446
  isFetching,
@@ -55296,7 +55448,7 @@ var WfoLatestActiveSubscriptionsSummaryCard = () => {
55296
55448
  } = useGetSubscriptionSummaryListQuery(
55297
55449
  subscriptionsListSummaryQueryVariables
55298
55450
  );
55299
- return /* @__PURE__ */ jsx260(
55451
+ return /* @__PURE__ */ jsx262(
55300
55452
  WfoSummaryCard,
55301
55453
  {
55302
55454
  headerTitle: t("headerTitle"),
@@ -55315,10 +55467,10 @@ var WfoLatestActiveSubscriptionsSummaryCard = () => {
55315
55467
  };
55316
55468
 
55317
55469
  // src/components/WfoSummary/WfoLatestOutOfSyncSubscriptionSummaryCard.tsx
55318
- import { useTranslations as useTranslations88 } from "next-intl";
55319
- 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";
55320
55472
  var WfoLatestOutOfSyncSubscriptionSummaryCard = () => {
55321
- const t = useTranslations88("startPage.outOfSyncSubscriptions");
55473
+ const t = useTranslations89("startPage.outOfSyncSubscriptions");
55322
55474
  const {
55323
55475
  data: outOfSyncSubscriptionsSummaryResult,
55324
55476
  isFetching,
@@ -55331,7 +55483,7 @@ var WfoLatestOutOfSyncSubscriptionSummaryCard = () => {
55331
55483
  ["sortBy" /* SORT_BY */]: "field-startDate_order-ASC",
55332
55484
  ["queryString" /* QUERY_STRING */]: "status:(provisioning|active) insync:false"
55333
55485
  };
55334
- return /* @__PURE__ */ jsx261(
55486
+ return /* @__PURE__ */ jsx263(
55335
55487
  WfoSummaryCard,
55336
55488
  {
55337
55489
  headerTitle: t("headerTitle"),
@@ -55353,12 +55505,12 @@ var WfoLatestOutOfSyncSubscriptionSummaryCard = () => {
55353
55505
  };
55354
55506
 
55355
55507
  // src/components/WfoSummary/WfoMyWorkflowsSummaryCard.tsx
55356
- import { useTranslations as useTranslations89 } from "next-intl";
55357
- 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";
55358
55510
  var WfoMyWorkflowsSummaryCard = ({
55359
55511
  username
55360
55512
  }) => {
55361
- const t = useTranslations89("startPage.myWorkflows");
55513
+ const t = useTranslations90("startPage.myWorkflows");
55362
55514
  const {
55363
55515
  data: myWorkflowsSummaryResponse,
55364
55516
  isFetching,
@@ -55371,7 +55523,7 @@ var WfoMyWorkflowsSummaryCard = ({
55371
55523
  ["sortBy" /* SORT_BY */]: "field-lastModifiedAt_order-DESC",
55372
55524
  ["queryString" /* QUERY_STRING */]: `createdBy:"${username}"`
55373
55525
  };
55374
- return /* @__PURE__ */ jsx262(
55526
+ return /* @__PURE__ */ jsx264(
55375
55527
  WfoSummaryCard,
55376
55528
  {
55377
55529
  headerTitle: t("headerTitle"),
@@ -55393,10 +55545,10 @@ var WfoMyWorkflowsSummaryCard = ({
55393
55545
  };
55394
55546
 
55395
55547
  // src/components/WfoSummary/WfoProductsSummaryCard.tsx
55396
- import { useTranslations as useTranslations90 } from "next-intl";
55397
- 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";
55398
55550
  var WfoProductsSummaryCard = () => {
55399
- const t = useTranslations90("startPage.products");
55551
+ const t = useTranslations91("startPage.products");
55400
55552
  const {
55401
55553
  data: productsSummaryResult,
55402
55554
  isFetching,
@@ -55406,7 +55558,7 @@ var WfoProductsSummaryCard = () => {
55406
55558
  (left, right) => (right.subscriptions.pageInfo.totalItems ?? 0) - (left.subscriptions.pageInfo.totalItems ?? 0)
55407
55559
  ).map((product) => ({
55408
55560
  title: "",
55409
- value: /* @__PURE__ */ jsxs140(
55561
+ value: /* @__PURE__ */ jsxs141(
55410
55562
  "div",
55411
55563
  {
55412
55564
  css: {
@@ -55414,13 +55566,13 @@ var WfoProductsSummaryCard = () => {
55414
55566
  justifyContent: "space-between"
55415
55567
  },
55416
55568
  children: [
55417
- /* @__PURE__ */ jsx263("div", { children: product.name }),
55418
- /* @__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 })
55419
55571
  ]
55420
55572
  }
55421
55573
  )
55422
55574
  })) ?? [];
55423
- return /* @__PURE__ */ jsx263(
55575
+ return /* @__PURE__ */ jsx265(
55424
55576
  WfoSummaryCard,
55425
55577
  {
55426
55578
  headerTitle: t("headerTitle"),
@@ -55436,17 +55588,17 @@ var WfoProductsSummaryCard = () => {
55436
55588
 
55437
55589
  // src/components/WfoTitleWithWebsocketBadge/WfoTitleWithWebsocketBadge.tsx
55438
55590
  import { EuiPageHeader as EuiPageHeader3 } from "@elastic/eui";
55439
- 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";
55440
55592
  var WfoTitleWithWebsocketBadge = ({
55441
55593
  title
55442
55594
  }) => {
55443
55595
  const { useWebSockets } = useGetOrchestratorConfig();
55444
- const pageTitle = useWebSockets ? /* @__PURE__ */ jsxs141(Fragment62, { children: [
55596
+ const pageTitle = useWebSockets ? /* @__PURE__ */ jsxs142(Fragment62, { children: [
55445
55597
  title,
55446
55598
  " ",
55447
- /* @__PURE__ */ jsx264(WfoWebsocketStatusBadge, {})
55599
+ /* @__PURE__ */ jsx266(WfoWebsocketStatusBadge, {})
55448
55600
  ] }) : title;
55449
- return /* @__PURE__ */ jsx264(EuiPageHeader3, { pageTitle });
55601
+ return /* @__PURE__ */ jsx266(EuiPageHeader3, { pageTitle });
55450
55602
  };
55451
55603
 
55452
55604
  // src/components/WfoRadioDropdown/WfoRadioDropdown.tsx
@@ -55457,7 +55609,7 @@ import {
55457
55609
  EuiPopover as EuiPopover9,
55458
55610
  EuiRadioGroup as EuiRadioGroup2
55459
55611
  } from "@elastic/eui";
55460
- import { jsx as jsx265 } from "@emotion/react/jsx-runtime";
55612
+ import { jsx as jsx267 } from "@emotion/react/jsx-runtime";
55461
55613
  var WfoRadioDropdown = ({
55462
55614
  options,
55463
55615
  onUpdateOption,
@@ -55483,16 +55635,16 @@ var WfoRadioDropdown = ({
55483
55635
  id: option.id,
55484
55636
  label: option.label
55485
55637
  }));
55486
- return /* @__PURE__ */ jsx265(
55638
+ return /* @__PURE__ */ jsx267(
55487
55639
  EuiFlexGroup32,
55488
55640
  {
55489
55641
  gutterSize: "s",
55490
55642
  alignItems: "center",
55491
55643
  justifyContent: "flexEnd",
55492
- children: /* @__PURE__ */ jsx265(
55644
+ children: /* @__PURE__ */ jsx267(
55493
55645
  EuiPopover9,
55494
55646
  {
55495
- button: /* @__PURE__ */ jsx265(
55647
+ button: /* @__PURE__ */ jsx267(
55496
55648
  EuiButtonEmpty5,
55497
55649
  {
55498
55650
  size: "s",
@@ -55513,7 +55665,7 @@ var WfoRadioDropdown = ({
55513
55665
  isOpen,
55514
55666
  closePopover: handleClose,
55515
55667
  anchorPosition: "downLeft",
55516
- children: /* @__PURE__ */ jsx265(
55668
+ children: /* @__PURE__ */ jsx267(
55517
55669
  EuiRadioGroup2,
55518
55670
  {
55519
55671
  options: radioGroupOptions,
@@ -55587,7 +55739,7 @@ var {
55587
55739
  } = subscriptionListMutationApi;
55588
55740
 
55589
55741
  // src/components/WfoInlineNoteEdit/WfoSubscriptionNoteEdit.tsx
55590
- import { jsx as jsx266 } from "@emotion/react/jsx-runtime";
55742
+ import { jsx as jsx268 } from "@emotion/react/jsx-runtime";
55591
55743
  var WfoSubscriptionNoteEdit = ({
55592
55744
  onlyShowOnHover = false,
55593
55745
  queryVariables,
@@ -55613,7 +55765,7 @@ var WfoSubscriptionNoteEdit = ({
55613
55765
  note: note2
55614
55766
  });
55615
55767
  };
55616
- return /* @__PURE__ */ jsx266(
55768
+ return /* @__PURE__ */ jsx268(
55617
55769
  WfoInlineEdit,
55618
55770
  {
55619
55771
  value: note?.trim() ? note : INVISIBLE_CHARACTER,
@@ -55624,7 +55776,7 @@ var WfoSubscriptionNoteEdit = ({
55624
55776
  };
55625
55777
 
55626
55778
  // src/components/WfoInlineNoteEdit/WfoSubscriptionDetailNoteEdit.tsx
55627
- import { jsx as jsx267 } from "@emotion/react/jsx-runtime";
55779
+ import { jsx as jsx269 } from "@emotion/react/jsx-runtime";
55628
55780
  var WfoSubscriptionDetailNoteEdit = ({ subscriptionId, onlyShowOnHover = false }) => {
55629
55781
  const { data, endpointName } = useGetSubscriptionDetailQuery({
55630
55782
  subscriptionId
@@ -55647,7 +55799,7 @@ var WfoSubscriptionDetailNoteEdit = ({ subscriptionId, onlyShowOnHover = false }
55647
55799
  note
55648
55800
  });
55649
55801
  };
55650
- return /* @__PURE__ */ jsx267(
55802
+ return /* @__PURE__ */ jsx269(
55651
55803
  WfoInlineEdit,
55652
55804
  {
55653
55805
  value: selectedItem?.note?.trim() ? selectedItem.note : INVISIBLE_CHARACTER,
@@ -55658,7 +55810,7 @@ var WfoSubscriptionDetailNoteEdit = ({ subscriptionId, onlyShowOnHover = false }
55658
55810
  };
55659
55811
 
55660
55812
  // src/components/WfoTableCodeBlock/WfoTableCodeBlock.tsx
55661
- import { EuiFlexItem as EuiFlexItem39 } from "@elastic/eui";
55813
+ import { EuiFlexItem as EuiFlexItem40 } from "@elastic/eui";
55662
55814
 
55663
55815
  // src/components/WfoTableCodeBlock/styles.ts
55664
55816
  import { css as css51 } from "@emotion/react";
@@ -55674,7 +55826,7 @@ var getStyles14 = ({ theme }) => {
55674
55826
  };
55675
55827
 
55676
55828
  // src/components/WfoTableCodeBlock/WfoTableCodeBlock.tsx
55677
- import { jsx as jsx268 } from "@emotion/react/jsx-runtime";
55829
+ import { jsx as jsx270 } from "@emotion/react/jsx-runtime";
55678
55830
  var WfoTableCodeBlock = ({
55679
55831
  stepState: data
55680
55832
  }) => {
@@ -55690,7 +55842,7 @@ var WfoTableCodeBlock = ({
55690
55842
  };
55691
55843
  }
55692
55844
  );
55693
- return /* @__PURE__ */ jsx268(EuiFlexItem39, { css: tableCodeBlockMarginStyle, children: /* @__PURE__ */ jsx268(
55845
+ return /* @__PURE__ */ jsx270(EuiFlexItem40, { css: tableCodeBlockMarginStyle, children: /* @__PURE__ */ jsx270(
55694
55846
  WfoKeyValueTable,
55695
55847
  {
55696
55848
  keyValues,
@@ -57032,6 +57184,7 @@ export {
57032
57184
  flattenArrayProps,
57033
57185
  formatDate,
57034
57186
  formatDateCetWithUtc,
57187
+ getAcceptFieldStyles,
57035
57188
  getCacheTag,
57036
57189
  getCommonFormFieldStyles,
57037
57190
  getConcatenatedPagedResult,
@@ -57049,6 +57202,7 @@ export {
57049
57202
  getFormFieldsBaseStyle,
57050
57203
  getLastUncompletedProcess,
57051
57204
  getLatestTaskDate,
57205
+ getNestedSummaryLabel,
57052
57206
  getNumberOfColumns,
57053
57207
  getNumberValueFromEnvironmentVariable,
57054
57208
  getObjectKeys,