@orchestrator-ui/orchestrator-ui-components 6.7.7 → 6.8.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
@@ -65,7 +65,7 @@ var PolicyResource = /* @__PURE__ */ ((PolicyResource2) => {
65
65
  })(PolicyResource || {});
66
66
 
67
67
  // src/configuration/version.ts
68
- var ORCHESTRATOR_UI_LIBRARY_VERSION = "6.7.7";
68
+ var ORCHESTRATOR_UI_LIBRARY_VERSION = "6.8.0";
69
69
 
70
70
  // src/types/types.ts
71
71
  var EngineStatus = /* @__PURE__ */ ((EngineStatus3) => {
@@ -1909,6 +1909,7 @@ var workflowOptionsQuery = `
1909
1909
  productId
1910
1910
  name
1911
1911
  tag
1912
+ status
1912
1913
  }
1913
1914
  }
1914
1915
  }
@@ -1931,12 +1932,15 @@ var startButtonOptionsApi = orchestratorApi.injectEndpoints({
1931
1932
  query: () => ({
1932
1933
  document: workflowOptionsQuery
1933
1934
  }),
1934
- transformResponse: (response) => {
1935
+ transformResponse: (response, _5, productStatus) => {
1936
+ const statusToMatch = (productStatus ?? "active" /* ACTIVE */).toLowerCase();
1935
1937
  const startOptions = [];
1936
1938
  const workflows = response?.workflows?.page || [];
1937
1939
  workflows.forEach((workflow) => {
1938
1940
  const workflowName = workflow.name;
1939
- workflow.products.forEach((product) => {
1941
+ workflow.products.filter(
1942
+ (product) => product.status.toLowerCase() === statusToMatch
1943
+ ).forEach((product) => {
1940
1944
  startOptions.push({
1941
1945
  workflowName,
1942
1946
  isAllowed: workflow.isAllowed,
@@ -5412,6 +5416,7 @@ var WfoPageTemplate = ({
5412
5416
  children,
5413
5417
  getAppLogo,
5414
5418
  overrideMenuItems,
5419
+ overrideStartWorkflowFilters,
5415
5420
  onThemeSwitch
5416
5421
  }) => {
5417
5422
  const { getSidebarStyle, NAVIGATION_HEIGHT } = useWithOrchestratorTheme(
@@ -5440,7 +5445,13 @@ var WfoPageTemplate = ({
5440
5445
  EuiPageTemplate.Sidebar,
5441
5446
  {
5442
5447
  css: getSidebarStyle(NAVIGATION_HEIGHT),
5443
- children: /* @__PURE__ */ jsx65(WfoSidebar, { overrideMenuItems })
5448
+ children: /* @__PURE__ */ jsx65(
5449
+ WfoSidebar,
5450
+ {
5451
+ overrideMenuItems,
5452
+ overrideStartWorkflowFilters
5453
+ }
5454
+ )
5444
5455
  }
5445
5456
  ),
5446
5457
  /* @__PURE__ */ jsx65(
@@ -5586,12 +5597,21 @@ var getMenuItemStyles = ({ theme, isDarkThemeActive }) => {
5586
5597
  };
5587
5598
 
5588
5599
  // src/components/WfoStartButton/WfoStartWorkflowComboBox.tsx
5600
+ import React9 from "react";
5589
5601
  import { useTranslations as useTranslations6 } from "next-intl";
5590
5602
  import { useRouter } from "next/router";
5591
5603
 
5592
5604
  // src/components/WfoStartButton/WfoStartButtonComboBox.tsx
5593
- import { useState as useState6 } from "react";
5594
- import { EuiButton as EuiButton2, EuiPopover as EuiPopover2, EuiSelectable, EuiSpacer as EuiSpacer2 } from "@elastic/eui";
5605
+ import React8, { useState as useState6 } from "react";
5606
+ import { capitalize } from "lodash";
5607
+ import {
5608
+ EuiButton as EuiButton2,
5609
+ EuiButtonEmpty,
5610
+ EuiFlexGroup,
5611
+ EuiPopover as EuiPopover2,
5612
+ EuiSelectable,
5613
+ EuiSpacer as EuiSpacer2
5614
+ } from "@elastic/eui";
5595
5615
 
5596
5616
  // src/components/WfoStartButton/styles.ts
5597
5617
  import { css as css5 } from "@emotion/react";
@@ -5620,7 +5640,10 @@ var WfoStartButtonComboBox = ({
5620
5640
  options,
5621
5641
  onOptionChange,
5622
5642
  isProcess,
5623
- className
5643
+ className,
5644
+ selectedProductStatus,
5645
+ setSelectedProductStatus,
5646
+ startWorkflowFilters
5624
5647
  }) => {
5625
5648
  const [isPopoverOpen, setPopoverOpen] = useState6(false);
5626
5649
  const { theme, isDarkThemeActive } = useOrchestratorTheme();
@@ -5635,40 +5658,91 @@ var WfoStartButtonComboBox = ({
5635
5658
  children: buttonText
5636
5659
  }
5637
5660
  );
5638
- return /* @__PURE__ */ jsx66(
5661
+ const [isFilterPopoverOpen, setFilterPopoverOpen] = React8.useState(false);
5662
+ const ProductStatePicker = () => {
5663
+ return setSelectedProductStatus ? /* @__PURE__ */ jsx66(EuiFlexGroup, { justifyContent: "flexEnd", gutterSize: "none", children: /* @__PURE__ */ jsx66(
5664
+ EuiPopover2,
5665
+ {
5666
+ button: /* @__PURE__ */ jsx66(
5667
+ EuiButtonEmpty,
5668
+ {
5669
+ css: {
5670
+ ".euiButtonEmpty__content": {
5671
+ gap: theme.size.xxs
5672
+ }
5673
+ },
5674
+ size: "xs",
5675
+ iconSide: "right",
5676
+ iconType: () => /* @__PURE__ */ jsx66(
5677
+ WfoChevronDown,
5678
+ {
5679
+ height: 18,
5680
+ width: 18,
5681
+ color: "currentColor"
5682
+ }
5683
+ ),
5684
+ onClick: () => setFilterPopoverOpen((v) => !v),
5685
+ children: /* @__PURE__ */ jsx66("b", { children: capitalize(selectedProductStatus) })
5686
+ }
5687
+ ),
5688
+ isOpen: isFilterPopoverOpen,
5689
+ closePopover: () => setFilterPopoverOpen(false),
5690
+ anchorPosition: "downRight",
5691
+ children: startWorkflowFilters?.map((productStatus) => /* @__PURE__ */ jsx66("div", { children: /* @__PURE__ */ jsx66(
5692
+ EuiButtonEmpty,
5693
+ {
5694
+ size: "xs",
5695
+ onClick: () => {
5696
+ setSelectedProductStatus(productStatus);
5697
+ setFilterPopoverOpen(false);
5698
+ },
5699
+ children: capitalize(productStatus)
5700
+ },
5701
+ productStatus
5702
+ ) }, productStatus))
5703
+ }
5704
+ ) }) : /* @__PURE__ */ jsx66(Fragment3, {});
5705
+ };
5706
+ return /* @__PURE__ */ jsxs41(
5639
5707
  EuiPopover2,
5640
5708
  {
5641
5709
  initialFocus: `.euiSelectable .euiFieldSearch`,
5642
5710
  button: Button,
5643
5711
  isOpen: isPopoverOpen,
5644
5712
  closePopover: () => setPopoverOpen(false),
5645
- children: /* @__PURE__ */ jsx66(
5646
- EuiSelectable,
5647
- {
5648
- className,
5649
- css: selectableStyle,
5650
- searchable: true,
5651
- options,
5652
- onChange: (_5, __, changedOption) => onOptionChange(changedOption),
5653
- height: 200,
5654
- children: (list, search) => /* @__PURE__ */ jsxs41(Fragment3, { children: [
5655
- search,
5656
- /* @__PURE__ */ jsx66(EuiSpacer2, { size: "s" }),
5657
- list
5658
- ] })
5659
- }
5660
- )
5713
+ children: [
5714
+ startWorkflowFilters && /* @__PURE__ */ jsx66(ProductStatePicker, {}),
5715
+ /* @__PURE__ */ jsx66(
5716
+ EuiSelectable,
5717
+ {
5718
+ className,
5719
+ css: selectableStyle,
5720
+ searchable: true,
5721
+ options,
5722
+ onChange: (_5, __, changedOption) => onOptionChange(changedOption),
5723
+ height: 200,
5724
+ children: (list, search) => /* @__PURE__ */ jsxs41(Fragment3, { children: [
5725
+ search,
5726
+ /* @__PURE__ */ jsx66(EuiSpacer2, { size: "s" }),
5727
+ list
5728
+ ] })
5729
+ }
5730
+ )
5731
+ ]
5661
5732
  }
5662
5733
  );
5663
5734
  };
5664
5735
 
5665
5736
  // src/components/WfoStartButton/WfoStartWorkflowComboBox.tsx
5666
5737
  import { jsx as jsx67 } from "@emotion/react/jsx-runtime";
5667
- var WfoStartWorkflowButtonComboBox = () => {
5738
+ var WfoStartWorkflowButtonComboBox = ({
5739
+ startWorkflowFilters
5740
+ }) => {
5668
5741
  const router = useRouter();
5669
5742
  const t = useTranslations6("common");
5670
5743
  const { isEngineRunningNow } = useCheckEngineStatus();
5671
- const { data } = useGetWorkflowOptionsQuery();
5744
+ const [selectedProductStatus, setSelectedProductStatus] = React9.useState("active" /* ACTIVE */);
5745
+ const { data } = useGetWorkflowOptionsQuery(selectedProductStatus);
5672
5746
  const workflowOptions = data?.startOptions || [];
5673
5747
  const comboBoxOptions = [...workflowOptions].sort(
5674
5748
  (workflowA, workflowB) => workflowA.productName.localeCompare(workflowB.productName)
@@ -5696,7 +5770,10 @@ var WfoStartWorkflowButtonComboBox = () => {
5696
5770
  options: comboBoxOptions,
5697
5771
  onOptionChange: handleOptionChange,
5698
5772
  isProcess: true,
5699
- css: { width: "300px" }
5773
+ css: { width: "300px" },
5774
+ selectedProductStatus,
5775
+ setSelectedProductStatus,
5776
+ startWorkflowFilters
5700
5777
  }
5701
5778
  );
5702
5779
  };
@@ -5742,7 +5819,10 @@ var createSideNavDivider = () => ({
5742
5819
  id: htmlIdGenerator("menuDivider")(),
5743
5820
  renderItem: () => /* @__PURE__ */ jsx69(EuiHorizontalRule, { margin: "xs" })
5744
5821
  });
5745
- var WfoSidebar = ({ overrideMenuItems }) => {
5822
+ var WfoSidebar = ({
5823
+ overrideMenuItems,
5824
+ overrideStartWorkflowFilters
5825
+ }) => {
5746
5826
  const { menuStyle } = useWithOrchestratorTheme(getMenuStyles);
5747
5827
  const t = useTranslations7("main");
5748
5828
  const router = useRouter2();
@@ -5923,7 +6003,12 @@ var WfoSidebar = ({ overrideMenuItems }) => {
5923
6003
  WfoIsAllowedToRender,
5924
6004
  {
5925
6005
  resource: "/orchestrator/processes/create/process/menu" /* SUBSCRIPTION_CREATE */,
5926
- children: /* @__PURE__ */ jsx69(WfoStartWorkflowButtonComboBox, {})
6006
+ children: /* @__PURE__ */ jsx69(
6007
+ WfoStartWorkflowButtonComboBox,
6008
+ {
6009
+ startWorkflowFilters: overrideStartWorkflowFilters
6010
+ }
6011
+ )
5927
6012
  }
5928
6013
  ),
5929
6014
  /* @__PURE__ */ jsx69(EuiSpacer3, { size: "xl" }),
@@ -6854,7 +6939,7 @@ var WfoAvailabilityCheck = ({
6854
6939
 
6855
6940
  // src/components/WfoContentHeader/WfoContentHeader.tsx
6856
6941
  import {
6857
- EuiFlexGroup,
6942
+ EuiFlexGroup as EuiFlexGroup2,
6858
6943
  EuiFlexItem,
6859
6944
  EuiPageHeader,
6860
6945
  EuiSpacer as EuiSpacer5
@@ -6865,7 +6950,7 @@ var WfoContentHeader = ({
6865
6950
  subtitle,
6866
6951
  children
6867
6952
  }) => /* @__PURE__ */ jsxs46(Fragment9, { children: [
6868
- /* @__PURE__ */ jsxs46(EuiFlexGroup, { children: [
6953
+ /* @__PURE__ */ jsxs46(EuiFlexGroup2, { children: [
6869
6954
  /* @__PURE__ */ jsxs46(EuiFlexItem, { children: [
6870
6955
  /* @__PURE__ */ jsx84(
6871
6956
  WfoRenderElementOrString,
@@ -6880,7 +6965,7 @@ var WfoContentHeader = ({
6880
6965
  ] })
6881
6966
  ] }),
6882
6967
  children && /* @__PURE__ */ jsx84(EuiFlexItem, { grow: 0, children: /* @__PURE__ */ jsx84(
6883
- EuiFlexGroup,
6968
+ EuiFlexGroup2,
6884
6969
  {
6885
6970
  justifyContent: "flexEnd",
6886
6971
  alignItems: "flexStart",
@@ -6942,7 +7027,7 @@ import { useRouter as useRouter4 } from "next/router";
6942
7027
  import {
6943
7028
  EuiBreadcrumbs,
6944
7029
  EuiButtonIcon as EuiButtonIcon4,
6945
- EuiFlexGroup as EuiFlexGroup2,
7030
+ EuiFlexGroup as EuiFlexGroup3,
6946
7031
  EuiFlexItem as EuiFlexItem2,
6947
7032
  EuiSpacer as EuiSpacer6
6948
7033
  } from "@elastic/eui";
@@ -6981,7 +7066,7 @@ var WfoBreadcrumbs = ({
6981
7066
  });
6982
7067
  return /* @__PURE__ */ jsxs48(Fragment11, { children: [
6983
7068
  /* @__PURE__ */ jsxs48(
6984
- EuiFlexGroup2,
7069
+ EuiFlexGroup3,
6985
7070
  {
6986
7071
  direction: "row",
6987
7072
  alignItems: "center",
@@ -7153,7 +7238,7 @@ var WfoKeyCell = ({ value, rowNumber }) => {
7153
7238
  };
7154
7239
 
7155
7240
  // src/components/WfoKeyValueTable/WfoValueCell.tsx
7156
- import React12 from "react";
7241
+ import React13 from "react";
7157
7242
  import { EuiCopy } from "@elastic/eui";
7158
7243
 
7159
7244
  // src/icons/WfoClipboardCopy.tsx
@@ -7211,7 +7296,7 @@ var WfoValueCell = ({
7211
7296
  valueCellStyle
7212
7297
  } = useWithOrchestratorTheme(getStyles5);
7213
7298
  const shouldRenderCopyColumn = enableCopyIcon && textToCopy;
7214
- const valueToRender = typeof value === "string" || typeof value === "number" || React12.isValidElement(value) ? value : JSON.stringify(value);
7299
+ const valueToRender = typeof value === "string" || typeof value === "number" || React13.isValidElement(value) ? value : JSON.stringify(value);
7215
7300
  const copyText = typeof textToCopy === "object" ? JSON.stringify(textToCopy) : textToCopy;
7216
7301
  return /* @__PURE__ */ jsxs50("div", { css: [getBackgroundColorStyleForRow(rowNumber), valueColumnStyle], children: [
7217
7302
  /* @__PURE__ */ jsx90("div", { css: valueCellStyle, children: valueToRender }),
@@ -7482,8 +7567,8 @@ var WfoInformationModal = ({
7482
7567
  import { useTranslations as useTranslations17 } from "next-intl";
7483
7568
  import {
7484
7569
  EuiButton as EuiButton5,
7485
- EuiButtonEmpty,
7486
- EuiFlexGroup as EuiFlexGroup3,
7570
+ EuiButtonEmpty as EuiButtonEmpty2,
7571
+ EuiFlexGroup as EuiFlexGroup4,
7487
7572
  EuiModal as EuiModal3,
7488
7573
  EuiModalBody as EuiModalBody3,
7489
7574
  EuiModalFooter as EuiModalFooter3,
@@ -7504,8 +7589,8 @@ var WfoSettingsModal = ({
7504
7589
  /* @__PURE__ */ jsx95(EuiModalHeader3, { children: /* @__PURE__ */ jsx95(EuiModalHeaderTitle3, { size: "xs", children: title }) }),
7505
7590
  /* @__PURE__ */ jsx95(EuiSpacer8, { size: "s" }),
7506
7591
  /* @__PURE__ */ jsx95(EuiModalBody3, { children }),
7507
- /* @__PURE__ */ jsx95(EuiModalFooter3, { children: /* @__PURE__ */ jsxs53(EuiFlexGroup3, { justifyContent: "spaceBetween", children: [
7508
- /* @__PURE__ */ jsx95(EuiButtonEmpty, { onClick: onResetToDefaults, flush: "left", children: t("resetToDefault") }),
7592
+ /* @__PURE__ */ jsx95(EuiModalFooter3, { children: /* @__PURE__ */ jsxs53(EuiFlexGroup4, { justifyContent: "spaceBetween", children: [
7593
+ /* @__PURE__ */ jsx95(EuiButtonEmpty2, { onClick: onResetToDefaults, flush: "left", children: t("resetToDefault") }),
7509
7594
  /* @__PURE__ */ jsx95(EuiButton5, { onClick: onUpdateTableConfig, fill: true, children: t("savePreferences") })
7510
7595
  ] }) })
7511
7596
  ] });
@@ -7514,8 +7599,8 @@ var WfoSettingsModal = ({
7514
7599
  // src/components/WfoSettingsModal/WfoSubmitModal.tsx
7515
7600
  import {
7516
7601
  EuiButton as EuiButton6,
7517
- EuiButtonEmpty as EuiButtonEmpty2,
7518
- EuiFlexGroup as EuiFlexGroup4,
7602
+ EuiButtonEmpty as EuiButtonEmpty3,
7603
+ EuiFlexGroup as EuiFlexGroup5,
7519
7604
  EuiFlexItem as EuiFlexItem3,
7520
7605
  EuiModal as EuiModal4,
7521
7606
  EuiModalBody as EuiModalBody4,
@@ -7538,8 +7623,8 @@ var WfoSubmitModal = ({
7538
7623
  /* @__PURE__ */ jsx96(EuiModalHeader4, { children: /* @__PURE__ */ jsx96(EuiModalHeaderTitle4, { size: "xs", children: title }) }),
7539
7624
  /* @__PURE__ */ jsx96(EuiSpacer9, { size: "s" }),
7540
7625
  /* @__PURE__ */ jsx96(EuiModalBody4, { children }),
7541
- /* @__PURE__ */ jsx96(EuiModalFooter4, { children: /* @__PURE__ */ jsxs54(EuiFlexGroup4, { justifyContent: "spaceBetween", children: [
7542
- /* @__PURE__ */ jsx96(EuiFlexItem3, { grow: false, children: /* @__PURE__ */ jsx96(EuiButtonEmpty2, { onClick: onClose, children: "Close" }) }),
7626
+ /* @__PURE__ */ jsx96(EuiModalFooter4, { children: /* @__PURE__ */ jsxs54(EuiFlexGroup5, { justifyContent: "spaceBetween", children: [
7627
+ /* @__PURE__ */ jsx96(EuiFlexItem3, { grow: false, children: /* @__PURE__ */ jsx96(EuiButtonEmpty3, { onClick: onClose, children: "Close" }) }),
7543
7628
  /* @__PURE__ */ jsx96(EuiFlexItem3, { grow: false, children: /* @__PURE__ */ jsx96(
7544
7629
  EuiButton6,
7545
7630
  {
@@ -7896,7 +7981,7 @@ var WfoSubscriptionProductInfoSection = ({
7896
7981
  };
7897
7982
 
7898
7983
  // src/components/WfoSubscription/SubscriptionKeyValueBlock.tsx
7899
- import { EuiFlexGroup as EuiFlexGroup5, EuiFlexItem as EuiFlexItem4, EuiSpacer as EuiSpacer10, EuiText as EuiText4 } from "@elastic/eui";
7984
+ import { EuiFlexGroup as EuiFlexGroup6, EuiFlexItem as EuiFlexItem4, EuiSpacer as EuiSpacer10, EuiText as EuiText4 } from "@elastic/eui";
7900
7985
  import { Fragment as Fragment13, jsx as jsx101, jsxs as jsxs55 } from "@emotion/react/jsx-runtime";
7901
7986
  var SubscriptionKeyValueBlock = ({
7902
7987
  title,
@@ -7906,7 +7991,7 @@ var SubscriptionKeyValueBlock = ({
7906
7991
  return /* @__PURE__ */ jsxs55(Fragment13, { children: [
7907
7992
  /* @__PURE__ */ jsx101(EuiSpacer10, { size: "m" }),
7908
7993
  /* @__PURE__ */ jsx101("div", { children: /* @__PURE__ */ jsxs55("div", { style: { marginTop: 5 }, children: [
7909
- /* @__PURE__ */ jsx101(EuiFlexGroup5, { justifyContent: "spaceBetween", children: /* @__PURE__ */ jsx101(EuiFlexItem4, { children: /* @__PURE__ */ jsx101(
7994
+ /* @__PURE__ */ jsx101(EuiFlexGroup6, { justifyContent: "spaceBetween", children: /* @__PURE__ */ jsx101(EuiFlexItem4, { children: /* @__PURE__ */ jsx101(
7910
7995
  EuiText4,
7911
7996
  {
7912
7997
  grow: false,
@@ -8222,13 +8307,13 @@ var WfoInSyncField = ({
8222
8307
  };
8223
8308
 
8224
8309
  // src/components/WfoSubscription/WfoProcessesTimeline.tsx
8225
- import React16 from "react";
8310
+ import React17 from "react";
8226
8311
  import { useTranslations as useTranslations23 } from "next-intl";
8227
8312
  import Link6 from "next/link";
8228
8313
  import {
8229
8314
  EuiComment,
8230
8315
  EuiCommentList,
8231
- EuiFlexGroup as EuiFlexGroup6,
8316
+ EuiFlexGroup as EuiFlexGroup7,
8232
8317
  EuiFlexItem as EuiFlexItem5,
8233
8318
  EuiSpacer as EuiSpacer11,
8234
8319
  EuiText as EuiText5
@@ -8338,7 +8423,7 @@ var WfoProcessCard = ({ subscriptionDetailProcess }) => {
8338
8423
  content: subscriptionDetailProcess.createdBy
8339
8424
  }
8340
8425
  ];
8341
- return /* @__PURE__ */ jsx105("div", { css: tableStyle, children: rows.map(({ label, content }, idx) => /* @__PURE__ */ jsx105("div", { css: rowStyle, children: /* @__PURE__ */ jsx105("div", { className: "border", css: borderStyle, children: /* @__PURE__ */ jsxs58(EuiFlexGroup6, { css: cellGroupStyle, children: [
8426
+ return /* @__PURE__ */ jsx105("div", { css: tableStyle, children: rows.map(({ label, content }, idx) => /* @__PURE__ */ jsx105("div", { css: rowStyle, children: /* @__PURE__ */ jsx105("div", { className: "border", css: borderStyle, children: /* @__PURE__ */ jsxs58(EuiFlexGroup7, { css: cellGroupStyle, children: [
8342
8427
  /* @__PURE__ */ jsx105(EuiFlexItem5, { css: labelCellStyle, grow: 2, children: label }),
8343
8428
  /* @__PURE__ */ jsx105(EuiFlexItem5, { grow: 9, children: content })
8344
8429
  ] }, label) }) }, idx)) });
@@ -8362,7 +8447,7 @@ var WfoRenderSubscriptionProcess = ({
8362
8447
  ),
8363
8448
  children: [
8364
8449
  /* @__PURE__ */ jsxs58(
8365
- EuiFlexGroup6,
8450
+ EuiFlexGroup7,
8366
8451
  {
8367
8452
  alignItems: "center",
8368
8453
  gutterSize: "s",
@@ -8402,7 +8487,7 @@ var WfoProcessesTimeline = ({
8402
8487
  value: "DESC" /* DESC */
8403
8488
  }
8404
8489
  ];
8405
- const [selectedOption, setSelectedOption] = React16.useState(options[0]);
8490
+ const [selectedOption, setSelectedOption] = React17.useState(options[0]);
8406
8491
  const handleOnSelectOption = (option) => {
8407
8492
  setSelectedOption(option);
8408
8493
  };
@@ -8435,7 +8520,7 @@ var WfoProcessesTimeline = ({
8435
8520
  import { useState as useState14 } from "react";
8436
8521
  import { useTranslations as useTranslations28 } from "next-intl";
8437
8522
  import Link7 from "next/link";
8438
- import { EuiFlexGroup as EuiFlexGroup8, EuiFlexItem as EuiFlexItem6, EuiSpacer as EuiSpacer14, EuiSwitch } from "@elastic/eui";
8523
+ import { EuiFlexGroup as EuiFlexGroup9, EuiFlexItem as EuiFlexItem6, EuiSpacer as EuiSpacer14, EuiSwitch } from "@elastic/eui";
8439
8524
 
8440
8525
  // src/components/WfoSubscription/utils/relatedSubscriptionsListItemsObjectMappers.ts
8441
8526
  var mapRelatedSubscriptionsResponseToRelatedSubscriptionsListItems = (input) => input?.relatedSubscriptions.map(
@@ -9388,7 +9473,7 @@ var WfoTable = ({
9388
9473
 
9389
9474
  // src/components/WfoTable/WfoTable/WfoGroupedTable/WfoGroupedTable.tsx
9390
9475
  import { useTranslations as useTranslations27 } from "next-intl";
9391
- import { EuiButtonEmpty as EuiButtonEmpty3, EuiFlexGroup as EuiFlexGroup7, EuiSpacer as EuiSpacer13 } from "@elastic/eui";
9476
+ import { EuiButtonEmpty as EuiButtonEmpty4, EuiFlexGroup as EuiFlexGroup8, EuiSpacer as EuiSpacer13 } from "@elastic/eui";
9392
9477
 
9393
9478
  // src/components/WfoTable/WfoTable/WfoGroupedTable/useGroupedTableConfig.tsx
9394
9479
  import { useEffect as useEffect4, useRef as useRef5, useState as useState13 } from "react";
@@ -9464,12 +9549,12 @@ var WfoExpandableRow = ({
9464
9549
  };
9465
9550
 
9466
9551
  // src/components/WfoTable/WfoTable/WfoGroupedTable/WfoExpandedGroupRow.tsx
9467
- import React25 from "react";
9552
+ import React26 from "react";
9468
9553
 
9469
9554
  // src/components/WfoTable/WfoTable/WfoGroupedTable/WfoGroupedTableGroups.tsx
9470
- import React24, { useImperativeHandle } from "react";
9555
+ import React25, { useImperativeHandle } from "react";
9471
9556
  import { jsx as jsx115 } from "@emotion/react/jsx-runtime";
9472
- var WfoGroupedTableGroups = React24.forwardRef(
9557
+ var WfoGroupedTableGroups = React25.forwardRef(
9473
9558
  ({
9474
9559
  data,
9475
9560
  groupNameLabel,
@@ -9518,7 +9603,7 @@ WfoGroupedTableGroups.displayName = "WfoGroupedTableGroups";
9518
9603
 
9519
9604
  // src/components/WfoTable/WfoTable/WfoGroupedTable/WfoExpandedGroupRow.tsx
9520
9605
  import { Fragment as Fragment20, jsx as jsx116, jsxs as jsxs64 } from "@emotion/react/jsx-runtime";
9521
- var WfoExpandedGroupRow = React25.forwardRef(
9606
+ var WfoExpandedGroupRow = React26.forwardRef(
9522
9607
  ({
9523
9608
  data,
9524
9609
  columnConfig,
@@ -9767,7 +9852,7 @@ var WfoGroupedTable = ({
9767
9852
  columnConfig
9768
9853
  });
9769
9854
  const ExpandCollapseButton = () => /* @__PURE__ */ jsx118(
9770
- EuiButtonEmpty3,
9855
+ EuiButtonEmpty4,
9771
9856
  {
9772
9857
  size: "xs",
9773
9858
  onClick: () => isAllGroupsAndSubgroupsExpanded ? collapseAllRows() : expandAllRows(),
@@ -9775,7 +9860,7 @@ var WfoGroupedTable = ({
9775
9860
  }
9776
9861
  );
9777
9862
  return /* @__PURE__ */ jsxs65(Fragment21, { children: [
9778
- /* @__PURE__ */ jsx118(EuiFlexGroup7, { justifyContent: "flexEnd", children: overrideHeaderSection ? overrideHeaderSection(/* @__PURE__ */ jsx118(ExpandCollapseButton, {})) : /* @__PURE__ */ jsx118(ExpandCollapseButton, {}) }),
9863
+ /* @__PURE__ */ jsx118(EuiFlexGroup8, { justifyContent: "flexEnd", children: overrideHeaderSection ? overrideHeaderSection(/* @__PURE__ */ jsx118(ExpandCollapseButton, {})) : /* @__PURE__ */ jsx118(ExpandCollapseButton, {}) }),
9779
9864
  /* @__PURE__ */ jsx118(EuiSpacer13, { size: "xs" }),
9780
9865
  /* @__PURE__ */ jsx118(
9781
9866
  WfoTable,
@@ -9963,7 +10048,7 @@ var WfoRelatedSubscriptions = ({
9963
10048
  };
9964
10049
  return /* @__PURE__ */ jsxs66(Fragment23, { children: [
9965
10050
  /* @__PURE__ */ jsx123(EuiSpacer14, { size: "xl" }),
9966
- /* @__PURE__ */ jsx123(EuiFlexGroup8, { justifyContent: "flexEnd", children: /* @__PURE__ */ jsx123(EuiFlexItem6, { grow: 0, children: /* @__PURE__ */ jsx123(
10051
+ /* @__PURE__ */ jsx123(EuiFlexGroup9, { justifyContent: "flexEnd", children: /* @__PURE__ */ jsx123(EuiFlexItem6, { grow: 0, children: /* @__PURE__ */ jsx123(
9967
10052
  EuiSwitch,
9968
10053
  {
9969
10054
  showLabel: true,
@@ -10006,12 +10091,12 @@ import { StringParam as StringParam2, useQueryParam, withDefault as withDefault2
10006
10091
 
10007
10092
  // src/components/WfoError/WfoError.tsx
10008
10093
  import { useTranslations as useTranslations29 } from "next-intl";
10009
- import { EuiFlexGroup as EuiFlexGroup9, EuiText as EuiText8 } from "@elastic/eui";
10094
+ import { EuiFlexGroup as EuiFlexGroup10, EuiText as EuiText8 } from "@elastic/eui";
10010
10095
  import { Fragment as Fragment24, jsx as jsx124, jsxs as jsxs67 } from "@emotion/react/jsx-runtime";
10011
10096
  var WfoError = () => {
10012
10097
  const t = useTranslations29("common");
10013
10098
  const { theme } = useOrchestratorTheme();
10014
- return /* @__PURE__ */ jsxs67(EuiFlexGroup9, { direction: "row", alignItems: "center", gutterSize: "s", children: [
10099
+ return /* @__PURE__ */ jsxs67(EuiFlexGroup10, { direction: "row", alignItems: "center", gutterSize: "s", children: [
10015
10100
  /* @__PURE__ */ jsx124(WfoXCircleFill, { color: theme.colors.danger }),
10016
10101
  /* @__PURE__ */ jsx124("h1", { children: t("errorMessage") })
10017
10102
  ] });
@@ -10020,7 +10105,7 @@ var WfoErrorWithMessage = ({ error }) => {
10020
10105
  const t = useTranslations29("common");
10021
10106
  const { theme } = useOrchestratorTheme();
10022
10107
  const message = error && error.length > 0 ? error.map((err) => err.message).join(", ") : t("unknownError");
10023
- return /* @__PURE__ */ jsx124(Fragment24, { children: /* @__PURE__ */ jsxs67(EuiFlexGroup9, { direction: "row", alignItems: "center", gutterSize: "s", children: [
10108
+ return /* @__PURE__ */ jsx124(Fragment24, { children: /* @__PURE__ */ jsxs67(EuiFlexGroup10, { direction: "row", alignItems: "center", gutterSize: "s", children: [
10024
10109
  /* @__PURE__ */ jsx124(WfoXCircleFill, { color: theme.colors.danger }),
10025
10110
  /* @__PURE__ */ jsxs67(EuiText8, { color: theme.colors.dangerText, children: [
10026
10111
  t("errorMessage"),
@@ -10032,23 +10117,23 @@ var WfoErrorWithMessage = ({ error }) => {
10032
10117
  };
10033
10118
 
10034
10119
  // src/components/WfoSubscription/subscriptionDetailTabs.tsx
10035
- import { EuiFlexGroup as EuiFlexGroup10, EuiFlexItem as EuiFlexItem7 } from "@elastic/eui";
10120
+ import { EuiFlexGroup as EuiFlexGroup11, EuiFlexItem as EuiFlexItem7 } from "@elastic/eui";
10036
10121
  import { jsx as jsx125 } from "@emotion/react/jsx-runtime";
10037
10122
  var subscriptionDetailTabs = [
10038
10123
  {
10039
10124
  id: "service-configuration" /* SERVICE_CONFIGURATION_TAB */,
10040
10125
  translationKey: "serviceConfiguration",
10041
- prepend: /* @__PURE__ */ jsx125(EuiFlexGroup10, { justifyContent: "center", children: /* @__PURE__ */ jsx125(EuiFlexItem7, { children: /* @__PURE__ */ jsx125(WfoCogFill, { width: "16", height: "16", color: "currentColor" }) }) })
10126
+ prepend: /* @__PURE__ */ jsx125(EuiFlexGroup11, { justifyContent: "center", children: /* @__PURE__ */ jsx125(EuiFlexItem7, { children: /* @__PURE__ */ jsx125(WfoCogFill, { width: "16", height: "16", color: "currentColor" }) }) })
10042
10127
  },
10043
10128
  {
10044
10129
  id: "general" /* GENERAL_TAB */,
10045
10130
  translationKey: "general",
10046
- prepend: /* @__PURE__ */ jsx125(EuiFlexGroup10, { justifyContent: "center", children: /* @__PURE__ */ jsx125(EuiFlexItem7, { children: /* @__PURE__ */ jsx125(WfoCubeSolid, { width: "18", height: "18", color: "currentColor" }) }) })
10131
+ prepend: /* @__PURE__ */ jsx125(EuiFlexGroup11, { justifyContent: "center", children: /* @__PURE__ */ jsx125(EuiFlexItem7, { children: /* @__PURE__ */ jsx125(WfoCubeSolid, { width: "18", height: "18", color: "currentColor" }) }) })
10047
10132
  },
10048
10133
  {
10049
10134
  id: "processes" /* PROCESSES_TAB */,
10050
10135
  translationKey: "workflows",
10051
- prepend: /* @__PURE__ */ jsx125(EuiFlexGroup10, { justifyContent: "center", children: /* @__PURE__ */ jsx125(EuiFlexItem7, { children: /* @__PURE__ */ jsx125(
10136
+ prepend: /* @__PURE__ */ jsx125(EuiFlexGroup11, { justifyContent: "center", children: /* @__PURE__ */ jsx125(EuiFlexItem7, { children: /* @__PURE__ */ jsx125(
10052
10137
  WfoPlayCircle,
10053
10138
  {
10054
10139
  width: "18",
@@ -10060,7 +10145,7 @@ var subscriptionDetailTabs = [
10060
10145
  {
10061
10146
  id: "related-subscriptions" /* RELATED_SUBSCRIPTIONS_TAB */,
10062
10147
  translationKey: "relatedSubscriptions",
10063
- prepend: /* @__PURE__ */ jsx125(EuiFlexGroup10, { justifyContent: "center", children: /* @__PURE__ */ jsx125(EuiFlexItem7, { children: /* @__PURE__ */ jsx125(WfoShare, { width: "16", height: "16", color: "currentColor" }) }) })
10148
+ prepend: /* @__PURE__ */ jsx125(EuiFlexGroup11, { justifyContent: "center", children: /* @__PURE__ */ jsx125(EuiFlexItem7, { children: /* @__PURE__ */ jsx125(WfoShare, { width: "16", height: "16", color: "currentColor" }) }) })
10064
10149
  }
10065
10150
  ];
10066
10151
 
@@ -10525,8 +10610,8 @@ import { useState as useState17 } from "react";
10525
10610
  import { useTranslations as useTranslations34 } from "next-intl";
10526
10611
  import {
10527
10612
  EuiBadge as EuiBadge2,
10528
- EuiButtonEmpty as EuiButtonEmpty4,
10529
- EuiFlexGroup as EuiFlexGroup11,
10613
+ EuiButtonEmpty as EuiButtonEmpty5,
10614
+ EuiFlexGroup as EuiFlexGroup12,
10530
10615
  EuiFlexItem as EuiFlexItem8,
10531
10616
  EuiIcon,
10532
10617
  EuiPanel as EuiPanel2,
@@ -10705,7 +10790,7 @@ var WfoSubscriptionProductBlock = ({
10705
10790
  hasShadow: false,
10706
10791
  css: isOutsideCurrentSubscription ? panelStyleOutsideCurrentSubscription : panelStyle,
10707
10792
  children: [
10708
- /* @__PURE__ */ jsxs73(EuiFlexGroup11, { children: [
10793
+ /* @__PURE__ */ jsxs73(EuiFlexGroup12, { children: [
10709
10794
  /* @__PURE__ */ jsx132(EuiFlexItem8, { grow: false, children: /* @__PURE__ */ jsx132(
10710
10795
  "div",
10711
10796
  {
@@ -10723,7 +10808,7 @@ var WfoSubscriptionProductBlock = ({
10723
10808
  ) })
10724
10809
  ] }),
10725
10810
  /* @__PURE__ */ jsx132(EuiFlexItem8, { grow: false, children: /* @__PURE__ */ jsx132(
10726
- EuiButtonEmpty4,
10811
+ EuiButtonEmpty5,
10727
10812
  {
10728
10813
  "aria-label": showDetails ? t("hideDetails") : t("showDetails"),
10729
10814
  size: "m",
@@ -10845,11 +10930,11 @@ var WfoProductBlockKeyValueRow = ({ fieldValue, allFieldValues, className }) =>
10845
10930
  };
10846
10931
 
10847
10932
  // src/components/WfoSubscription/WfoSubscriptionDetailTree.tsx
10848
- import React36, { useState as useState19 } from "react";
10933
+ import React37, { useState as useState19 } from "react";
10849
10934
  import { useTranslations as useTranslations36 } from "next-intl";
10850
10935
  import {
10851
10936
  EuiCallOut as EuiCallOut2,
10852
- EuiFlexGroup as EuiFlexGroup14,
10937
+ EuiFlexGroup as EuiFlexGroup15,
10853
10938
  EuiFlexItem as EuiFlexItem11,
10854
10939
  EuiText as EuiText13
10855
10940
  } from "@elastic/eui";
@@ -10957,22 +11042,22 @@ function getTokenName(name) {
10957
11042
  }
10958
11043
 
10959
11044
  // src/components/WfoTree/WfoTree.tsx
10960
- import React35, { useEffect as useEffect6 } from "react";
11045
+ import React36, { useEffect as useEffect6 } from "react";
10961
11046
 
10962
11047
  // src/components/WfoTree/WfoTreeBranch.tsx
10963
- import React34 from "react";
11048
+ import React35 from "react";
10964
11049
  import { EuiListGroup } from "@elastic/eui";
10965
11050
 
10966
11051
  // src/components/WfoTree/WfoTreeNode.tsx
10967
- import React33 from "react";
10968
- import { EuiFlexGroup as EuiFlexGroup13, EuiFlexItem as EuiFlexItem10, EuiIcon as EuiIcon2, EuiToken } from "@elastic/eui";
11052
+ import React34 from "react";
11053
+ import { EuiFlexGroup as EuiFlexGroup14, EuiFlexItem as EuiFlexItem10, EuiIcon as EuiIcon2, EuiToken } from "@elastic/eui";
10969
11054
 
10970
11055
  // src/components/WfoTree/WfoTreeNodeListItem.tsx
10971
11056
  import { useContext as useContext6 } from "react";
10972
11057
  import { useTranslations as useTranslations35 } from "next-intl";
10973
11058
  import {
10974
11059
  EuiButtonIcon as EuiButtonIcon8,
10975
- EuiFlexGroup as EuiFlexGroup12,
11060
+ EuiFlexGroup as EuiFlexGroup13,
10976
11061
  EuiFlexItem as EuiFlexItem9,
10977
11062
  EuiText as EuiText12,
10978
11063
  EuiTextTruncate
@@ -11063,7 +11148,7 @@ var WfoTreeNodeListItem = ({
11063
11148
  const { isOutsideCurrentSubscription, id, label } = item;
11064
11149
  const textLabel = label.toString();
11065
11150
  return /* @__PURE__ */ jsxs77(
11066
- EuiFlexGroup12,
11151
+ EuiFlexGroup13,
11067
11152
  {
11068
11153
  alignItems: "center",
11069
11154
  css: selected ? selectedTreeItemStyle(isOutsideCurrentSubscription) : treeItemStyle(isOutsideCurrentSubscription),
@@ -11096,11 +11181,11 @@ var WfoTreeNode = ({
11096
11181
  }) => {
11097
11182
  const { theme } = useOrchestratorTheme();
11098
11183
  const { expandIconContainerStyle, treeContainerStyle } = useWithOrchestratorTheme(getStyles7);
11099
- const { expandedIds, collapseNode, expandNode, selectedIds } = React33.useContext(TreeContext);
11184
+ const { expandedIds, collapseNode, expandNode, selectedIds } = React34.useContext(TreeContext);
11100
11185
  const expanded = expandedIds.includes(item.id);
11101
11186
  const selected = selectedIds.includes(item.id);
11102
11187
  const expandIcon = expanded ? "arrowDown" : "arrowRight";
11103
- return /* @__PURE__ */ jsx137("div", { style: { paddingLeft: `${level * parseInt(theme.size.m)}px` }, children: /* @__PURE__ */ jsxs78(EuiFlexGroup13, { children: [
11188
+ return /* @__PURE__ */ jsx137("div", { style: { paddingLeft: `${level * parseInt(theme.size.m)}px` }, children: /* @__PURE__ */ jsxs78(EuiFlexGroup14, { children: [
11104
11189
  /* @__PURE__ */ jsx137(EuiFlexItem10, { grow: false, css: treeContainerStyle, children: hasChildren ? /* @__PURE__ */ jsx137(
11105
11190
  EuiIcon2,
11106
11191
  {
@@ -11117,7 +11202,7 @@ var WfoTreeNode = ({
11117
11202
  // src/components/WfoTree/WfoTreeBranch.tsx
11118
11203
  import { Fragment as Fragment31, jsx as jsx138, jsxs as jsxs79 } from "@emotion/react/jsx-runtime";
11119
11204
  var WfoTreeBranch = ({ item, level }) => {
11120
- const { expandedIds } = React34.useContext(TreeContext);
11205
+ const { expandedIds } = React35.useContext(TreeContext);
11121
11206
  const selected = expandedIds.includes(item.id);
11122
11207
  const { productBlockTreeWidth } = useWithOrchestratorTheme(
11123
11208
  getSubscriptionDetailStyles
@@ -11154,7 +11239,7 @@ var WfoTreeBranch = ({ item, level }) => {
11154
11239
  // src/components/WfoTree/WfoTree.tsx
11155
11240
  import { jsx as jsx139 } from "@emotion/react/jsx-runtime";
11156
11241
  var WfoTree = ({ treeBlocks, depthList }) => {
11157
- const { setDepths } = React35.useContext(TreeContext);
11242
+ const { setDepths } = React36.useContext(TreeContext);
11158
11243
  useEffect6(() => {
11159
11244
  setDepths(depthList);
11160
11245
  }, [setDepths, TreeContext]);
@@ -11242,7 +11327,7 @@ var WfoSubscriptionDetailTree = ({
11242
11327
  selectAll,
11243
11328
  selectIds,
11244
11329
  deselectIds
11245
- } = React36.useContext(TreeContext);
11330
+ } = React37.useContext(TreeContext);
11246
11331
  let tree = null;
11247
11332
  const depthList = [];
11248
11333
  const idToNodeMap = {};
@@ -11315,7 +11400,7 @@ var WfoSubscriptionDetailTree = ({
11315
11400
  return shouldAddIds ? selectIds(data.ids) : deselectIds(data.ids);
11316
11401
  };
11317
11402
  return /* @__PURE__ */ jsxs80(
11318
- EuiFlexGroup14,
11403
+ EuiFlexGroup15,
11319
11404
  {
11320
11405
  css: {
11321
11406
  marginTop: 15,
@@ -11332,15 +11417,15 @@ var WfoSubscriptionDetailTree = ({
11332
11417
  overflowY: "auto"
11333
11418
  },
11334
11419
  grow: true,
11335
- children: /* @__PURE__ */ jsxs80(EuiFlexGroup14, { direction: "column", children: [
11420
+ children: /* @__PURE__ */ jsxs80(EuiFlexGroup15, { direction: "column", children: [
11336
11421
  /* @__PURE__ */ jsx140(EuiFlexItem11, { grow: false, children: /* @__PURE__ */ jsxs80(
11337
- EuiFlexGroup14,
11422
+ EuiFlexGroup15,
11338
11423
  {
11339
11424
  justifyContent: "spaceBetween",
11340
11425
  alignItems: "center",
11341
11426
  children: [
11342
11427
  /* @__PURE__ */ jsx140(EuiFlexItem11, { children: /* @__PURE__ */ jsx140(EuiText13, { children: /* @__PURE__ */ jsx140("h3", { children: t("productBlocks") }) }) }),
11343
- /* @__PURE__ */ jsx140(EuiFlexItem11, { grow: false, children: /* @__PURE__ */ jsxs80(EuiFlexGroup14, { children: [
11428
+ /* @__PURE__ */ jsx140(EuiFlexItem11, { grow: false, children: /* @__PURE__ */ jsxs80(EuiFlexGroup15, { children: [
11344
11429
  /* @__PURE__ */ jsx140(
11345
11430
  WfoTextAnchor,
11346
11431
  {
@@ -12169,7 +12254,7 @@ import { useTranslations as useTranslations38 } from "next-intl";
12169
12254
  import {
12170
12255
  EuiButton as EuiButton9,
12171
12256
  EuiButtonIcon as EuiButtonIcon10,
12172
- EuiFlexGroup as EuiFlexGroup15,
12257
+ EuiFlexGroup as EuiFlexGroup16,
12173
12258
  EuiFlexItem as EuiFlexItem13,
12174
12259
  EuiSpacer as EuiSpacer18,
12175
12260
  EuiText as EuiText14
@@ -12259,7 +12344,7 @@ var WfoAdvancedTable = ({
12259
12344
  b: (chunks) => /* @__PURE__ */ jsx152("b", { children: chunks })
12260
12345
  });
12261
12346
  return /* @__PURE__ */ jsxs85(Fragment33, { children: [
12262
- /* @__PURE__ */ jsxs85(EuiFlexGroup15, { alignItems: "center", children: [
12347
+ /* @__PURE__ */ jsxs85(EuiFlexGroup16, { alignItems: "center", children: [
12263
12348
  /* @__PURE__ */ jsx152(EuiFlexItem13, { children: /* @__PURE__ */ jsx152(
12264
12349
  WfoSearchField,
12265
12350
  {
@@ -12631,7 +12716,7 @@ import { JSONSchemaBridge } from "uniforms-bridge-json-schema";
12631
12716
  import { AutoField as AutoField6, AutoForm } from "uniforms-unstyled";
12632
12717
  import {
12633
12718
  EuiButton as EuiButton10,
12634
- EuiFlexGroup as EuiFlexGroup18,
12719
+ EuiFlexGroup as EuiFlexGroup19,
12635
12720
  EuiHorizontalRule as EuiHorizontalRule5
12636
12721
  } from "@elastic/eui";
12637
12722
 
@@ -12829,6 +12914,7 @@ var getCommonFormFieldStyles = ({ theme }) => {
12829
12914
  },
12830
12915
  ".euiFormLabel": {
12831
12916
  color: theme.colors.text,
12917
+ cursor: "text",
12832
12918
  "&.euiFormLabel-isFocused": {
12833
12919
  color: theme.colors.primaryText
12834
12920
  }
@@ -14037,7 +14123,7 @@ var ContactPersonAutocomplete = ({
14037
14123
  };
14038
14124
 
14039
14125
  // src/components/WfoForms/formFields/deprecated/ContactPersonNameField.tsx
14040
- import React46, { useEffect as useEffect13, useState as useState25 } from "react";
14126
+ import React47, { useEffect as useEffect13, useState as useState25 } from "react";
14041
14127
  import { isFunction } from "lodash";
14042
14128
  import get3 from "lodash/get";
14043
14129
  import { useTranslations as useTranslations44 } from "next-intl";
@@ -14065,7 +14151,7 @@ filterDOMProps17.register(
14065
14151
  function ContactPersonName({
14066
14152
  disabled,
14067
14153
  id,
14068
- inputRef = React46.createRef(),
14154
+ inputRef = React47.createRef(),
14069
14155
  label,
14070
14156
  description,
14071
14157
  name,
@@ -15190,7 +15276,7 @@ import {
15190
15276
  } from "uniforms";
15191
15277
  import {
15192
15278
  EuiButtonIcon as EuiButtonIcon11,
15193
- EuiFlexGroup as EuiFlexGroup16,
15279
+ EuiFlexGroup as EuiFlexGroup17,
15194
15280
  EuiFlexItem as EuiFlexItem20,
15195
15281
  EuiFormRow as EuiFormRow18,
15196
15282
  EuiText as EuiText32
@@ -15361,7 +15447,7 @@ function SubscriptionFieldDefinition({
15361
15447
  fullWidth: true,
15362
15448
  children: /* @__PURE__ */ jsxs98("div", { children: [
15363
15449
  !disabled && /* @__PURE__ */ jsx185(
15364
- EuiFlexGroup16,
15450
+ EuiFlexGroup17,
15365
15451
  {
15366
15452
  alignItems: "center",
15367
15453
  gutterSize: "none",
@@ -15417,7 +15503,7 @@ import { connectField as connectField25, filterDOMProps as filterDOMProps25, joi
15417
15503
  import { AutoField as AutoField3 } from "uniforms-unstyled";
15418
15504
  import {
15419
15505
  EuiDescribedFormGroup,
15420
- EuiFlexGroup as EuiFlexGroup17,
15506
+ EuiFlexGroup as EuiFlexGroup18,
15421
15507
  EuiFlexItem as EuiFlexItem21,
15422
15508
  EuiText as EuiText33
15423
15509
  } from "@elastic/eui";
@@ -15439,7 +15525,7 @@ function Nest({
15439
15525
  const itemIndex = isInList ? parseInt(lastNamePart) : 0;
15440
15526
  if (isInList) {
15441
15527
  return /* @__PURE__ */ jsxs99(
15442
- EuiFlexGroup17,
15528
+ EuiFlexGroup18,
15443
15529
  {
15444
15530
  ...filterDOMProps25(props),
15445
15531
  className: `${className} nest-field`,
@@ -16224,7 +16310,7 @@ function WfoUserInputForm({
16224
16310
  );
16225
16311
  return /* @__PURE__ */ jsxs102(Fragment40, { children: [
16226
16312
  /* @__PURE__ */ jsx191(EuiHorizontalRule5, {}),
16227
- /* @__PURE__ */ jsxs102(EuiFlexGroup18, { justifyContent: "spaceBetween", children: [
16313
+ /* @__PURE__ */ jsxs102(EuiFlexGroup19, { justifyContent: "spaceBetween", children: [
16228
16314
  prevButton,
16229
16315
  nextButton
16230
16316
  ] })
@@ -17653,7 +17739,7 @@ var WfoTasksPage = () => {
17653
17739
  // src/pages/processes/WfoProcessListSubscriptionsCell.tsx
17654
17740
  import { useTranslations as useTranslations60 } from "next-intl";
17655
17741
  import Link10 from "next/link";
17656
- import { EuiFlexGroup as EuiFlexGroup19 } from "@elastic/eui";
17742
+ import { EuiFlexGroup as EuiFlexGroup20 } from "@elastic/eui";
17657
17743
  import { Fragment as Fragment49, jsx as jsx207, jsxs as jsxs109 } from "@emotion/react/jsx-runtime";
17658
17744
  var RENDER_ALL = "RENDER_ALL";
17659
17745
  var RenderDirection = /* @__PURE__ */ ((RenderDirection2) => {
@@ -17677,7 +17763,7 @@ var WfoProcessListSubscriptionsCell = ({
17677
17763
  const visibleSubscriptions = numberOfSubscriptionsToRender === RENDER_ALL ? subscriptions : subscriptions.slice(0, numberOfSubscriptionsToRender);
17678
17764
  const numberOfNotVisibleSubscriptions = length - visibleSubscriptions.length;
17679
17765
  return /* @__PURE__ */ jsx207(Fragment49, { children: /* @__PURE__ */ jsxs109(
17680
- EuiFlexGroup19,
17766
+ EuiFlexGroup20,
17681
17767
  {
17682
17768
  direction: renderDirection === "HORIZONTAL" /* HORIZONTAL */ ? "row" : "column",
17683
17769
  gutterSize: renderDirection === "HORIZONTAL" /* HORIZONTAL */ ? "s" : "xs",
@@ -17723,7 +17809,7 @@ import { useTranslations as useTranslations61 } from "next-intl";
17723
17809
  import { useRouter as useRouter8 } from "next/router";
17724
17810
  import {
17725
17811
  EuiButton as EuiButton11,
17726
- EuiFlexGroup as EuiFlexGroup20,
17812
+ EuiFlexGroup as EuiFlexGroup21,
17727
17813
  EuiPanel as EuiPanel3,
17728
17814
  EuiSpacer as EuiSpacer20,
17729
17815
  EuiText as EuiText35
@@ -17811,7 +17897,7 @@ var ProcessHeaderValue = ({
17811
17897
  const t = useTranslations61("processes.detail");
17812
17898
  const { theme } = useOrchestratorTheme();
17813
17899
  return /* @__PURE__ */ jsxs110(
17814
- EuiFlexGroup20,
17900
+ EuiFlexGroup21,
17815
17901
  {
17816
17902
  direction: "column",
17817
17903
  gutterSize: "xs",
@@ -18004,7 +18090,7 @@ var WfoProcessDetail = ({
18004
18090
  hasBorder: false,
18005
18091
  color: "subdued",
18006
18092
  element: "div",
18007
- children: isLoading && !hasError && /* @__PURE__ */ jsx208(WfoLoading, {}) || processDetail !== void 0 && /* @__PURE__ */ jsxs110(EuiFlexGroup20, { direction: "row", gutterSize: "m", children: [
18093
+ children: isLoading && !hasError && /* @__PURE__ */ jsx208(WfoLoading, {}) || processDetail !== void 0 && /* @__PURE__ */ jsxs110(EuiFlexGroup21, { direction: "row", gutterSize: "m", children: [
18008
18094
  /* @__PURE__ */ jsx208(
18009
18095
  ProcessHeaderValue,
18010
18096
  {
@@ -18054,7 +18140,7 @@ var WfoProcessDetail = ({
18054
18140
  process && isAllowed(
18055
18141
  "/orchestrator/subscriptions/view/from-process" /* PROCESS_RELATED_SUBSCRIPTIONS */
18056
18142
  ) && processDetail.subscriptions && /* @__PURE__ */ jsxs110(
18057
- EuiFlexGroup20,
18143
+ EuiFlexGroup21,
18058
18144
  {
18059
18145
  gutterSize: "xs",
18060
18146
  direction: "column",
@@ -18167,7 +18253,7 @@ import { useCallback as useCallback11, useEffect as useEffect31, useMemo as useM
18167
18253
  import { useTranslations as useTranslations72 } from "next-intl";
18168
18254
  import { useRouter as useRouter10 } from "next/router";
18169
18255
  import {
18170
- EuiFlexGroup as EuiFlexGroup26,
18256
+ EuiFlexGroup as EuiFlexGroup27,
18171
18257
  EuiFlexItem as EuiFlexItem30,
18172
18258
  EuiHorizontalRule as EuiHorizontalRule9,
18173
18259
  EuiPanel as EuiPanel5,
@@ -18190,7 +18276,7 @@ import {
18190
18276
  // src/components/WfoPydanticForm/Footer.tsx
18191
18277
  import { useContext as useContext10 } from "react";
18192
18278
  import { useTranslations as useTranslations63 } from "next-intl";
18193
- import { EuiButton as EuiButton12, EuiFlexGroup as EuiFlexGroup21, EuiHorizontalRule as EuiHorizontalRule6 } from "@elastic/eui";
18279
+ import { EuiButton as EuiButton12, EuiFlexGroup as EuiFlexGroup22, EuiHorizontalRule as EuiHorizontalRule6 } from "@elastic/eui";
18194
18280
 
18195
18281
  // src/components/WfoPydanticForm/RenderFormErrors.tsx
18196
18282
  import { useTranslations as useTranslations62 } from "next-intl";
@@ -18301,7 +18387,7 @@ var Footer = ({
18301
18387
  );
18302
18388
  };
18303
18389
  const PreviousCancelButtonGroup = () => {
18304
- return /* @__PURE__ */ jsxs112(EuiFlexGroup21, { gutterSize: "xl", children: [
18390
+ return /* @__PURE__ */ jsxs112(EuiFlexGroup22, { gutterSize: "xl", children: [
18305
18391
  /* @__PURE__ */ jsx211(PreviousButton, {}),
18306
18392
  /* @__PURE__ */ jsx211(CancelButton, {})
18307
18393
  ] });
@@ -18472,7 +18558,7 @@ var WfoCheckbox = ({
18472
18558
  };
18473
18559
 
18474
18560
  // src/components/WfoPydanticForm/fields/WfoSummary.tsx
18475
- import { capitalize } from "lodash";
18561
+ import { capitalize as capitalize2 } from "lodash";
18476
18562
  import { EuiFlexItem as EuiFlexItem24, EuiFormRow as EuiFormRow22, EuiText as EuiText37 } from "@elastic/eui";
18477
18563
  import { jsx as jsx219, jsxs as jsxs114 } from "@emotion/react/jsx-runtime";
18478
18564
  var WfoSummary = ({ pydanticFormField }) => {
@@ -18500,7 +18586,7 @@ var WfoSummary = ({ pydanticFormField }) => {
18500
18586
  labels && /* @__PURE__ */ jsx219("th", {}),
18501
18587
  headers.map((header, idx) => /* @__PURE__ */ jsx219("th", { children: header }, idx))
18502
18588
  ] });
18503
- const formattedTitle = snakeToHuman(capitalize(title ?? ""));
18589
+ const formattedTitle = snakeToHuman(capitalize2(title ?? ""));
18504
18590
  return /* @__PURE__ */ jsx219(EuiFlexItem24, { "data-testid": id, css: [summaryFieldStyle, formRowStyle], children: /* @__PURE__ */ jsx219("section", { children: /* @__PURE__ */ jsx219(
18505
18591
  EuiFormRow22,
18506
18592
  {
@@ -18523,7 +18609,7 @@ import {
18523
18609
  getPydanticFormComponents,
18524
18610
  useGetConfig
18525
18611
  } from "pydantic-forms";
18526
- import { EuiFlexGroup as EuiFlexGroup22 } from "@elastic/eui";
18612
+ import { EuiFlexGroup as EuiFlexGroup23 } from "@elastic/eui";
18527
18613
 
18528
18614
  // src/components/WfoPydanticForm/fields/WfoObjectField/styles.ts
18529
18615
  import { css as css37 } from "@emotion/react";
@@ -18559,7 +18645,7 @@ var WfoObjectField = ({
18559
18645
  });
18560
18646
  }
18561
18647
  return /* @__PURE__ */ jsx220(
18562
- EuiFlexGroup22,
18648
+ EuiFlexGroup23,
18563
18649
  {
18564
18650
  "data-testid": pydanticFormField.id,
18565
18651
  css: wfoObjectFieldStyles,
@@ -19026,12 +19112,12 @@ var WfoMultiCheckboxField = ({
19026
19112
  };
19027
19113
 
19028
19114
  // src/components/WfoPydanticForm/fields/wfoPydanticFormUtils.ts
19029
- import { capitalize as capitalize2 } from "lodash";
19115
+ import { capitalize as capitalize3 } from "lodash";
19030
19116
  var getNestedSummaryLabel = (labels, index) => {
19031
19117
  const value = labels[index];
19032
19118
  if (typeof value === "object" && value !== null) {
19033
19119
  const firstKey = Object.keys(value)[0] ?? "";
19034
- return capitalize2(firstKey);
19120
+ return capitalize3(firstKey);
19035
19121
  }
19036
19122
  return String(value);
19037
19123
  };
@@ -19324,9 +19410,9 @@ var WfoPydanticForm = ({
19324
19410
  };
19325
19411
 
19326
19412
  // src/components/WfoWorkflowSteps/WfoStep/WfoStep.tsx
19327
- import React73, { useCallback as useCallback9, useState as useState45 } from "react";
19413
+ import React74, { useCallback as useCallback9, useState as useState45 } from "react";
19328
19414
  import { useTranslations as useTranslations67 } from "next-intl";
19329
- import { EuiFlexGroup as EuiFlexGroup23, EuiFlexItem as EuiFlexItem28, EuiPanel as EuiPanel4, EuiText as EuiText38 } from "@elastic/eui";
19415
+ import { EuiFlexGroup as EuiFlexGroup24, EuiFlexItem as EuiFlexItem28, EuiPanel as EuiPanel4, EuiText as EuiText38 } from "@elastic/eui";
19330
19416
 
19331
19417
  // src/components/WfoWorkflowSteps/WfoStep/WfoStepFormOld.tsx
19332
19418
  import { useState as useState43 } from "react";
@@ -19804,7 +19890,7 @@ var WfoStepForm = ({
19804
19890
 
19805
19891
  // src/components/WfoWorkflowSteps/WfoStep/WfoStep.tsx
19806
19892
  import { Fragment as Fragment53, jsx as jsx234, jsxs as jsxs119 } from "@emotion/react/jsx-runtime";
19807
- var WfoStep = React73.forwardRef(
19893
+ var WfoStep = React74.forwardRef(
19808
19894
  ({
19809
19895
  stepListItem,
19810
19896
  onToggleStepDetail,
@@ -19880,7 +19966,7 @@ var WfoStep = React73.forwardRef(
19880
19966
  );
19881
19967
  return /* @__PURE__ */ jsx234("div", { ref, children: /* @__PURE__ */ jsxs119(EuiPanel4, { children: [
19882
19968
  /* @__PURE__ */ jsxs119(
19883
- EuiFlexGroup23,
19969
+ EuiFlexGroup24,
19884
19970
  {
19885
19971
  css: getStepHeaderStyle(hasStepContent),
19886
19972
  onClick: () => hasStepContent && onToggleStepDetail(),
@@ -19900,7 +19986,7 @@ var WfoStep = React73.forwardRef(
19900
19986
  step.completed && `- ${formatDate(step.completed)}`
19901
19987
  ] })
19902
19988
  ] }),
19903
- /* @__PURE__ */ jsx234(EuiFlexGroup23, { css: stepRowStyle, children: step.completed && /* @__PURE__ */ jsxs119(Fragment53, { children: [
19989
+ /* @__PURE__ */ jsx234(EuiFlexGroup24, { css: stepRowStyle, children: step.completed && /* @__PURE__ */ jsxs119(Fragment53, { children: [
19904
19990
  isExpanded && /* @__PURE__ */ jsx234(
19905
19991
  WfoCodeViewSelector,
19906
19992
  {
@@ -19973,9 +20059,9 @@ var WfoStep = React73.forwardRef(
19973
20059
  WfoStep.displayName = "WfoStep";
19974
20060
 
19975
20061
  // src/components/WfoWorkflowSteps/WfoStepList/WfoStepList.tsx
19976
- import React74, { useImperativeHandle as useImperativeHandle2, useRef as useRef10 } from "react";
20062
+ import React75, { useImperativeHandle as useImperativeHandle2, useRef as useRef10 } from "react";
19977
20063
  import { Fragment as Fragment54, jsx as jsx235, jsxs as jsxs120 } from "@emotion/react/jsx-runtime";
19978
- var WfoStepList = React74.forwardRef(
20064
+ var WfoStepList = React75.forwardRef(
19979
20065
  ({
19980
20066
  stepListItems,
19981
20067
  showHiddenKeys,
@@ -20055,7 +20141,7 @@ var WfoStepList = React74.forwardRef(
20055
20141
  WfoStepList.displayName = "WfoStepList";
20056
20142
 
20057
20143
  // src/components/WfoWorkflowSteps/WfoWorkflowStepList/WfoWorkflowStepList.tsx
20058
- import React76, { useEffect as useEffect30, useState as useState47 } from "react";
20144
+ import React77, { useEffect as useEffect30, useState as useState47 } from "react";
20059
20145
  import { useTranslations as useTranslations70 } from "next-intl";
20060
20146
 
20061
20147
  // src/components/WfoDiff/WfoDiff.tsx
@@ -20068,7 +20154,7 @@ import * as refractor from "refractor";
20068
20154
  import { diffLines, formatLines } from "unidiff";
20069
20155
  import {
20070
20156
  EuiButtonIcon as EuiButtonIcon13,
20071
- EuiFlexGroup as EuiFlexGroup24,
20157
+ EuiFlexGroup as EuiFlexGroup25,
20072
20158
  EuiFlexItem as EuiFlexItem29,
20073
20159
  EuiSpacer as EuiSpacer21,
20074
20160
  EuiText as EuiText39
@@ -20150,7 +20236,7 @@ var WfoDiff = ({ oldText, newText, syntax }) => {
20150
20236
  updateDiffText();
20151
20237
  }, [updateDiffText, showFull]);
20152
20238
  return /* @__PURE__ */ jsxs121("div", { children: [
20153
- /* @__PURE__ */ jsxs121(EuiFlexGroup24, { gutterSize: "xs", children: [
20239
+ /* @__PURE__ */ jsxs121(EuiFlexGroup25, { gutterSize: "xs", children: [
20154
20240
  /* @__PURE__ */ jsx236(EuiFlexItem29, { grow: false, children: /* @__PURE__ */ jsx236(EuiText39, { children: /* @__PURE__ */ jsx236("h3", { children: t("title") }) }) }),
20155
20241
  /* @__PURE__ */ jsx236(EuiFlexItem29, { grow: false, children: /* @__PURE__ */ jsx236(
20156
20242
  EuiButtonIcon13,
@@ -20243,7 +20329,7 @@ var WfoProcessSubscriptionDelta = ({
20243
20329
  }
20244
20330
  );
20245
20331
  };
20246
- var WfoWorkflowStepList = React76.forwardRef(
20332
+ var WfoWorkflowStepList = React77.forwardRef(
20247
20333
  ({
20248
20334
  steps = [],
20249
20335
  lastStatus,
@@ -20362,7 +20448,7 @@ import { useState as useState48 } from "react";
20362
20448
  import { useTranslations as useTranslations71 } from "next-intl";
20363
20449
  import {
20364
20450
  EuiButton as EuiButton14,
20365
- EuiFlexGroup as EuiFlexGroup25,
20451
+ EuiFlexGroup as EuiFlexGroup26,
20366
20452
  EuiForm as EuiForm3,
20367
20453
  EuiFormRow as EuiFormRow23,
20368
20454
  EuiPopover as EuiPopover8,
@@ -20434,8 +20520,8 @@ var WfoStepListHeader = ({
20434
20520
  children: t("viewOptions")
20435
20521
  }
20436
20522
  );
20437
- return /* @__PURE__ */ jsxs124(EuiFlexGroup25, { css: stepListHeaderStyle, children: [
20438
- /* @__PURE__ */ jsxs124(EuiFlexGroup25, { css: stepListContentStyle, children: [
20523
+ return /* @__PURE__ */ jsxs124(EuiFlexGroup26, { css: stepListHeaderStyle, children: [
20524
+ /* @__PURE__ */ jsxs124(EuiFlexGroup26, { css: stepListContentStyle, children: [
20439
20525
  /* @__PURE__ */ jsx240(EuiText42, { css: stepListContentBoldTextStyle, children: t(isTask ? "taskSteps" : "workflowSteps") }),
20440
20526
  !showRaw && /* @__PURE__ */ jsx240(
20441
20527
  WfoTextAnchor,
@@ -20446,7 +20532,7 @@ var WfoStepListHeader = ({
20446
20532
  )
20447
20533
  ] }),
20448
20534
  /* @__PURE__ */ jsxs124(
20449
- EuiFlexGroup25,
20535
+ EuiFlexGroup26,
20450
20536
  {
20451
20537
  justifyContent: "flexEnd",
20452
20538
  direction: "row",
@@ -20666,7 +20752,7 @@ var WfoStartProcessPage = ({
20666
20752
  timelineItems: timeLineItems,
20667
20753
  isLoading,
20668
20754
  children: /* @__PURE__ */ jsxs125(EuiPanel5, { css: { marginTop: theme.base * 3 }, children: [
20669
- /* @__PURE__ */ jsxs125(EuiFlexGroup26, { css: getStepHeaderStyle(false), children: [
20755
+ /* @__PURE__ */ jsxs125(EuiFlexGroup27, { css: getStepHeaderStyle(false), children: [
20670
20756
  /* @__PURE__ */ jsx241(WfoStepStatusIcon, { stepStatus: "form" /* FORM */ }),
20671
20757
  /* @__PURE__ */ jsxs125(EuiFlexItem30, { grow: 0, children: [
20672
20758
  /* @__PURE__ */ jsx241(EuiText43, { css: stepListContentBoldTextStyle, children: t("userInput") }),
@@ -20702,7 +20788,7 @@ var WfoStartProcessPage = ({
20702
20788
 
20703
20789
  // src/pages/processes/WfoProductInformationWithLink.tsx
20704
20790
  import { useTranslations as useTranslations73 } from "next-intl";
20705
- import { EuiButtonIcon as EuiButtonIcon14, EuiFlexGroup as EuiFlexGroup27, EuiText as EuiText44, EuiToolTip as EuiToolTip9 } from "@elastic/eui";
20791
+ import { EuiButtonIcon as EuiButtonIcon14, EuiFlexGroup as EuiFlexGroup28, EuiText as EuiText44, EuiToolTip as EuiToolTip9 } from "@elastic/eui";
20706
20792
  import { jsx as jsx242, jsxs as jsxs126 } from "@emotion/react/jsx-runtime";
20707
20793
  var WfoProductInformationWithLink = ({
20708
20794
  workflowName,
@@ -20711,7 +20797,7 @@ var WfoProductInformationWithLink = ({
20711
20797
  const { workflowInformationLinkUrl, showWorkflowInformationLink } = useGetOrchestratorConfig();
20712
20798
  const t = useTranslations73("processes.detail");
20713
20799
  const docsUrl = workflowInformationLinkUrl + workflowName;
20714
- return /* @__PURE__ */ jsxs126(EuiFlexGroup27, { gutterSize: "s", alignItems: "center", children: [
20800
+ return /* @__PURE__ */ jsxs126(EuiFlexGroup28, { gutterSize: "s", alignItems: "center", children: [
20715
20801
  showWorkflowInformationLink && /* @__PURE__ */ jsx242(EuiToolTip9, { content: t("openWorkflowTaskInfo"), children: /* @__PURE__ */ jsx242("a", { href: docsUrl, target: "_blank", children: /* @__PURE__ */ jsx242(
20716
20802
  EuiButtonIcon14,
20717
20803
  {
@@ -21843,7 +21929,7 @@ var WfoModifySettings = () => {
21843
21929
 
21844
21930
  // src/components/WfoSettings/WfoEngineStatus.tsx
21845
21931
  import { useTranslations as useTranslations84 } from "next-intl";
21846
- import { EuiFlexGroup as EuiFlexGroup28, EuiFlexItem as EuiFlexItem34, EuiPanel as EuiPanel10, EuiText as EuiText49 } from "@elastic/eui";
21932
+ import { EuiFlexGroup as EuiFlexGroup29, EuiFlexItem as EuiFlexItem34, EuiPanel as EuiPanel10, EuiText as EuiText49 } from "@elastic/eui";
21847
21933
  import { jsx as jsx255, jsxs as jsxs136 } from "@emotion/react/jsx-runtime";
21848
21934
  var WfoEngineStatus = () => {
21849
21935
  const { theme } = useOrchestratorTheme();
@@ -21851,7 +21937,7 @@ var WfoEngineStatus = () => {
21851
21937
  const { engineStatus, runningProcesses } = data || {};
21852
21938
  const isRunning = engineStatus === "RUNNING" /* RUNNING */;
21853
21939
  const t = useTranslations84("settings.page");
21854
- return /* @__PURE__ */ jsx255(EuiPanel10, { hasShadow: false, color: "subdued", paddingSize: "l", children: /* @__PURE__ */ jsxs136(EuiFlexGroup28, { direction: "column", gutterSize: "s", children: [
21940
+ return /* @__PURE__ */ jsx255(EuiPanel10, { hasShadow: false, color: "subdued", paddingSize: "l", children: /* @__PURE__ */ jsxs136(EuiFlexGroup29, { direction: "column", gutterSize: "s", children: [
21855
21941
  /* @__PURE__ */ jsx255(EuiFlexItem34, { children: /* @__PURE__ */ jsx255(EuiText49, { size: "s", children: /* @__PURE__ */ jsx255("h4", { children: t("engineStatusTitle") }) }) }),
21856
21942
  /* @__PURE__ */ jsxs136(EuiFlexItem34, { css: { flexDirection: "row" }, children: [
21857
21943
  /* @__PURE__ */ jsx255(EuiText49, { size: "s", style: { minWidth: 200 }, children: t("runningProcesses") }),
@@ -21872,7 +21958,7 @@ var WfoEngineStatus = () => {
21872
21958
 
21873
21959
  // src/components/WfoSettings/WfoWorkerStatus.tsx
21874
21960
  import { useTranslations as useTranslations85 } from "next-intl";
21875
- import { EuiFlexGroup as EuiFlexGroup29, EuiFlexItem as EuiFlexItem35, EuiPanel as EuiPanel11, EuiText as EuiText50 } from "@elastic/eui";
21961
+ import { EuiFlexGroup as EuiFlexGroup30, EuiFlexItem as EuiFlexItem35, EuiPanel as EuiPanel11, EuiText as EuiText50 } from "@elastic/eui";
21876
21962
  import { jsx as jsx256, jsxs as jsxs137 } from "@emotion/react/jsx-runtime";
21877
21963
  var WfoWorkerStatus = () => {
21878
21964
  const { data } = useGetWorkerStatusQuery();
@@ -21883,7 +21969,7 @@ var WfoWorkerStatus = () => {
21883
21969
  numberOfWorkersOnline
21884
21970
  } = data || {};
21885
21971
  const t = useTranslations85("settings.page");
21886
- return executorType?.toUpperCase() === "CELERY" /* CELERY */ && /* @__PURE__ */ jsx256(EuiPanel11, { hasShadow: false, color: "subdued", paddingSize: "l", children: /* @__PURE__ */ jsxs137(EuiFlexGroup29, { direction: "column", gutterSize: "s", children: [
21972
+ return executorType?.toUpperCase() === "CELERY" /* CELERY */ && /* @__PURE__ */ jsx256(EuiPanel11, { hasShadow: false, color: "subdued", paddingSize: "l", children: /* @__PURE__ */ jsxs137(EuiFlexGroup30, { direction: "column", gutterSize: "s", children: [
21887
21973
  /* @__PURE__ */ jsx256(EuiFlexItem35, { children: /* @__PURE__ */ jsx256(EuiText50, { size: "s", children: /* @__PURE__ */ jsx256("h4", { children: t("workerStatusTitle") }) }) }),
21888
21974
  /* @__PURE__ */ jsxs137(EuiFlexItem35, { css: { flexDirection: "row" }, children: [
21889
21975
  /* @__PURE__ */ jsx256(EuiText50, { size: "s", style: { minWidth: 200 }, children: t("numberOfQueuedJobs") }),
@@ -21939,9 +22025,9 @@ var WfoInsyncIcon = ({ inSync }) => {
21939
22025
  };
21940
22026
 
21941
22027
  // src/components/WfoErrorBoundary/WfoErrorBoundary.tsx
21942
- import React84 from "react";
22028
+ import React85 from "react";
21943
22029
  import { jsx as jsx259, jsxs as jsxs138 } from "@emotion/react/jsx-runtime";
21944
- var WfoErrorBoundary = class extends React84.Component {
22030
+ var WfoErrorBoundary = class extends React85.Component {
21945
22031
  constructor(props) {
21946
22032
  super(props);
21947
22033
  this.state = { hasError: false };
@@ -21968,7 +22054,7 @@ var WfoErrorBoundary = class extends React84.Component {
21968
22054
  };
21969
22055
 
21970
22056
  // src/components/WfoNoResults/WfoNoResults.tsx
21971
- import { EuiFlexGroup as EuiFlexGroup30 } from "@elastic/eui";
22057
+ import { EuiFlexGroup as EuiFlexGroup31 } from "@elastic/eui";
21972
22058
 
21973
22059
  // src/components/WfoNoResults/styles.ts
21974
22060
  import { css as css48 } from "@emotion/react";
@@ -21995,7 +22081,7 @@ var getStyles13 = ({ theme }) => {
21995
22081
  import { jsxs as jsxs139 } from "@emotion/react/jsx-runtime";
21996
22082
  var WfoNoResults = ({ text, icon }) => {
21997
22083
  const { panelStyle } = useWithOrchestratorTheme(getStyles13);
21998
- return /* @__PURE__ */ jsxs139(EuiFlexGroup30, { css: panelStyle, children: [
22084
+ return /* @__PURE__ */ jsxs139(EuiFlexGroup31, { css: panelStyle, children: [
21999
22085
  icon,
22000
22086
  " ",
22001
22087
  text
@@ -22342,7 +22428,7 @@ var getNumberOfColumns = (currentBreakpoint) => {
22342
22428
  // src/components/WfoSummary/WfoSummaryCardHeader/WfoSummaryCardHeader.tsx
22343
22429
  import {
22344
22430
  EuiAvatar,
22345
- EuiFlexGroup as EuiFlexGroup31,
22431
+ EuiFlexGroup as EuiFlexGroup32,
22346
22432
  EuiFlexItem as EuiFlexItem36,
22347
22433
  EuiLoadingSpinner as EuiLoadingSpinner3,
22348
22434
  EuiPanel as EuiPanel12,
@@ -22383,7 +22469,7 @@ var WfoSummaryCardHeader = ({
22383
22469
  }) => {
22384
22470
  const { theme } = useOrchestratorTheme();
22385
22471
  const { avatarStyle, totalSectionStyle, valueStyle } = useWithOrchestratorTheme(getWfoSummaryCardHeaderStyles);
22386
- return /* @__PURE__ */ jsx263(EuiFlexItem36, { grow: 0, children: /* @__PURE__ */ jsx263(EuiPanel12, { hasShadow: false, color: "subdued", paddingSize: "l", children: /* @__PURE__ */ jsxs140(EuiFlexGroup31, { alignItems: "center", children: [
22472
+ return /* @__PURE__ */ jsx263(EuiFlexItem36, { grow: 0, children: /* @__PURE__ */ jsx263(EuiPanel12, { hasShadow: false, color: "subdued", paddingSize: "l", children: /* @__PURE__ */ jsxs140(EuiFlexGroup32, { alignItems: "center", children: [
22387
22473
  /* @__PURE__ */ jsx263(
22388
22474
  EuiAvatar,
22389
22475
  {
@@ -22399,7 +22485,7 @@ var WfoSummaryCardHeader = ({
22399
22485
  ),
22400
22486
  /* @__PURE__ */ jsxs140("div", { css: totalSectionStyle, children: [
22401
22487
  /* @__PURE__ */ jsx263(EuiText51, { color: "subdued", children: text }),
22402
- /* @__PURE__ */ jsxs140(EuiFlexGroup31, { gutterSize: "s", alignItems: "center", children: [
22488
+ /* @__PURE__ */ jsxs140(EuiFlexGroup32, { gutterSize: "s", alignItems: "center", children: [
22403
22489
  /* @__PURE__ */ jsx263(EuiText51, { css: valueStyle, children: value }),
22404
22490
  isFetching && /* @__PURE__ */ jsx263(EuiLoadingSpinner3, {})
22405
22491
  ] })
@@ -22420,7 +22506,7 @@ import {
22420
22506
  } from "@elastic/eui";
22421
22507
 
22422
22508
  // src/components/WfoSummary/WfoSummaryCardList/WfoSummaryCardListItem.tsx
22423
- import { EuiFlexGroup as EuiFlexGroup32, EuiFlexItem as EuiFlexItem37, EuiIcon as EuiIcon6, EuiTextColor } from "@elastic/eui";
22509
+ import { EuiFlexGroup as EuiFlexGroup33, EuiFlexItem as EuiFlexItem37, EuiIcon as EuiIcon6, EuiTextColor } from "@elastic/eui";
22424
22510
 
22425
22511
  // src/components/WfoOptionalLink/WfoOptionalLink.tsx
22426
22512
  import Link14 from "next/link";
@@ -22495,7 +22581,7 @@ var WfoSummaryCardListItem = ({
22495
22581
  listItemSubtitleStyle,
22496
22582
  listItemHighlightIconStyle
22497
22583
  } = useWithOrchestratorTheme(getWfoSummaryCardListStyles);
22498
- return /* @__PURE__ */ jsx265(WfoOptionalLink, { href: url, children: /* @__PURE__ */ jsxs141(EuiFlexGroup32, { css: listItemContainerStyle, gutterSize: "none", children: [
22584
+ return /* @__PURE__ */ jsx265(WfoOptionalLink, { href: url, children: /* @__PURE__ */ jsxs141(EuiFlexGroup33, { css: listItemContainerStyle, gutterSize: "none", children: [
22499
22585
  /* @__PURE__ */ jsxs141(EuiFlexItem37, { children: [
22500
22586
  /* @__PURE__ */ jsx265(
22501
22587
  EuiTextColor,
@@ -23016,8 +23102,8 @@ var WfoTitleWithWebsocketBadge = ({
23016
23102
  // src/components/WfoRadioDropdown/WfoRadioDropdown.tsx
23017
23103
  import { useState as useState54 } from "react";
23018
23104
  import {
23019
- EuiButtonEmpty as EuiButtonEmpty5,
23020
- EuiFlexGroup as EuiFlexGroup33,
23105
+ EuiButtonEmpty as EuiButtonEmpty6,
23106
+ EuiFlexGroup as EuiFlexGroup34,
23021
23107
  EuiPopover as EuiPopover9,
23022
23108
  EuiRadioGroup as EuiRadioGroup2
23023
23109
  } from "@elastic/eui";
@@ -23048,7 +23134,7 @@ var WfoRadioDropdown = ({
23048
23134
  label: option.label
23049
23135
  }));
23050
23136
  return /* @__PURE__ */ jsx276(
23051
- EuiFlexGroup33,
23137
+ EuiFlexGroup34,
23052
23138
  {
23053
23139
  gutterSize: "s",
23054
23140
  alignItems: "center",
@@ -23057,7 +23143,7 @@ var WfoRadioDropdown = ({
23057
23143
  EuiPopover9,
23058
23144
  {
23059
23145
  button: /* @__PURE__ */ jsx276(
23060
- EuiButtonEmpty5,
23146
+ EuiButtonEmpty6,
23061
23147
  {
23062
23148
  size: "s",
23063
23149
  iconType: "arrowDown",
@@ -23270,7 +23356,7 @@ import {
23270
23356
  EuiButton as EuiButton23,
23271
23357
  EuiCallOut as EuiCallOut5,
23272
23358
  EuiFieldSearch as EuiFieldSearch3,
23273
- EuiFlexGroup as EuiFlexGroup46,
23359
+ EuiFlexGroup as EuiFlexGroup47,
23274
23360
  EuiFlexItem as EuiFlexItem52,
23275
23361
  EuiPanel as EuiPanel20,
23276
23362
  EuiSpacer as EuiSpacer33,
@@ -23558,7 +23644,7 @@ import {
23558
23644
  EuiButtonIcon as EuiButtonIcon16,
23559
23645
  EuiCallOut as EuiCallOut4,
23560
23646
  EuiCode as EuiCode2,
23561
- EuiFlexGroup as EuiFlexGroup39,
23647
+ EuiFlexGroup as EuiFlexGroup40,
23562
23648
  EuiFlexItem as EuiFlexItem46,
23563
23649
  EuiPanel as EuiPanel15,
23564
23650
  EuiSpacer as EuiSpacer31,
@@ -23570,7 +23656,7 @@ import { useState as useState60 } from "react";
23570
23656
  import { useTranslations as useTranslations100 } from "next-intl";
23571
23657
  import {
23572
23658
  EuiButtonIcon as EuiButtonIcon15,
23573
- EuiFlexGroup as EuiFlexGroup38,
23659
+ EuiFlexGroup as EuiFlexGroup39,
23574
23660
  EuiFlexItem as EuiFlexItem45,
23575
23661
  EuiFormRow as EuiFormRow25,
23576
23662
  EuiPanel as EuiPanel14
@@ -23681,7 +23767,7 @@ import {
23681
23767
  EuiDatePicker as EuiDatePicker2,
23682
23768
  EuiFieldNumber as EuiFieldNumber3,
23683
23769
  EuiFieldText as EuiFieldText5,
23684
- EuiFlexGroup as EuiFlexGroup34,
23770
+ EuiFlexGroup as EuiFlexGroup35,
23685
23771
  EuiFlexItem as EuiFlexItem41,
23686
23772
  EuiFormHelpText,
23687
23773
  EuiIcon as EuiIcon7,
@@ -23786,7 +23872,7 @@ var ValueControl = ({
23786
23872
  if (pathInfo.type === "number") {
23787
23873
  if (operator === "between") {
23788
23874
  const betweenValue = value || { start: "", end: "" };
23789
- return /* @__PURE__ */ jsxs146(EuiFlexGroup34, { gutterSize: "s", alignItems: "center", children: [
23875
+ return /* @__PURE__ */ jsxs146(EuiFlexGroup35, { gutterSize: "s", alignItems: "center", children: [
23790
23876
  /* @__PURE__ */ jsx280(EuiFlexItem41, { children: /* @__PURE__ */ jsx280(
23791
23877
  EuiFieldNumber3,
23792
23878
  {
@@ -23824,7 +23910,7 @@ var ValueControl = ({
23824
23910
  if (pathInfo.type === "datetime") {
23825
23911
  if (operator === "between") {
23826
23912
  const betweenValue = value || { start: null, end: null };
23827
- return /* @__PURE__ */ jsxs146(EuiFlexGroup34, { gutterSize: "s", alignItems: "center", children: [
23913
+ return /* @__PURE__ */ jsxs146(EuiFlexGroup35, { gutterSize: "s", alignItems: "center", children: [
23828
23914
  /* @__PURE__ */ jsx280(EuiFlexItem41, { children: /* @__PURE__ */ jsx280(
23829
23915
  EuiDatePicker2,
23830
23916
  {
@@ -23911,7 +23997,7 @@ var WfoFieldSelector = ({
23911
23997
  import { useTranslations as useTranslations97 } from "next-intl";
23912
23998
  import {
23913
23999
  EuiButton as EuiButton21,
23914
- EuiFlexGroup as EuiFlexGroup35,
24000
+ EuiFlexGroup as EuiFlexGroup36,
23915
24001
  EuiFlexItem as EuiFlexItem42,
23916
24002
  EuiFormRow as EuiFormRow24,
23917
24003
  EuiText as EuiText53
@@ -23924,7 +24010,7 @@ var WfoOperatorSelector = ({
23924
24010
  }) => {
23925
24011
  const t = useTranslations97("search.page");
23926
24012
  const { theme } = useOrchestratorTheme();
23927
- return /* @__PURE__ */ jsx282(EuiFormRow24, { label: t("operatorLabel"), children: /* @__PURE__ */ jsxs147(EuiFlexGroup35, { gutterSize: "xs", wrap: true, children: [
24013
+ return /* @__PURE__ */ jsx282(EuiFormRow24, { label: t("operatorLabel"), children: /* @__PURE__ */ jsxs147(EuiFlexGroup36, { gutterSize: "xs", wrap: true, children: [
23928
24014
  selectedPathInfo?.operators?.map((operator) => {
23929
24015
  const { symbol, description } = getOperatorDisplay(
23930
24016
  operator,
@@ -24220,7 +24306,7 @@ var WfoPathSelector = ({
24220
24306
 
24221
24307
  // src/components/WfoSearchPage/WfoConditionRow/WfoRenderFunctions.tsx
24222
24308
  import { useTranslations as useTranslations99 } from "next-intl";
24223
- import { EuiFlexGroup as EuiFlexGroup36, EuiFlexItem as EuiFlexItem43, EuiText as EuiText54 } from "@elastic/eui";
24309
+ import { EuiFlexGroup as EuiFlexGroup37, EuiFlexItem as EuiFlexItem43, EuiText as EuiText54 } from "@elastic/eui";
24224
24310
  import { Fragment as Fragment66, jsx as jsx285, jsxs as jsxs149 } from "@emotion/react/jsx-runtime";
24225
24311
  var WfoRenderPathOption = ({
24226
24312
  option,
@@ -24232,7 +24318,7 @@ var WfoRenderPathOption = ({
24232
24318
  const pathInfo = option.value ? paths.find(({ path }) => path === option.value) : null;
24233
24319
  if (!pathInfo) return /* @__PURE__ */ jsx285(Fragment66, { children: option.label });
24234
24320
  return /* @__PURE__ */ jsxs149(
24235
- EuiFlexGroup36,
24321
+ EuiFlexGroup37,
24236
24322
  {
24237
24323
  alignItems: "center",
24238
24324
  gutterSize: "s",
@@ -24242,7 +24328,7 @@ var WfoRenderPathOption = ({
24242
24328
  children: [
24243
24329
  /* @__PURE__ */ jsx285(EuiFlexItem43, { grow: true, children: /* @__PURE__ */ jsx285(EuiText54, { size: "s", children: pathInfo.displayLabel || pathInfo.path }) }),
24244
24330
  /* @__PURE__ */ jsx285(EuiFlexItem43, { grow: false, children: /* @__PURE__ */ jsxs149(
24245
- EuiFlexGroup36,
24331
+ EuiFlexGroup37,
24246
24332
  {
24247
24333
  gutterSize: "xs",
24248
24334
  alignItems: "center",
@@ -24278,7 +24364,7 @@ var WfoRenderPathOption = ({
24278
24364
  var WfoRenderPathSelectionOption = ({ option, contentClassName, fieldType }) => {
24279
24365
  const { theme } = useOrchestratorTheme();
24280
24366
  return /* @__PURE__ */ jsx285(WfoToolTip, { tooltipContent: option.fullPath || option.label, children: /* @__PURE__ */ jsxs149(
24281
- EuiFlexGroup36,
24367
+ EuiFlexGroup37,
24282
24368
  {
24283
24369
  alignItems: "center",
24284
24370
  gutterSize: "s",
@@ -24302,7 +24388,7 @@ var WfoRenderPathSelectionOption = ({ option, contentClassName, fieldType }) =>
24302
24388
  };
24303
24389
 
24304
24390
  // src/components/WfoSearchPage/WfoConditionRow/WfoSelectedPathDisplay.tsx
24305
- import { EuiFlexGroup as EuiFlexGroup37, EuiFlexItem as EuiFlexItem44, EuiText as EuiText55 } from "@elastic/eui";
24391
+ import { EuiFlexGroup as EuiFlexGroup38, EuiFlexItem as EuiFlexItem44, EuiText as EuiText55 } from "@elastic/eui";
24306
24392
 
24307
24393
  // src/components/WfoSearchPage/WfoConditionRow/utils.ts
24308
24394
  var createOptionsFromPaths = (paths, group) => paths.filter(({ group: pathGroup }) => pathGroup === group).map(({ displayLabel, path, type, operators }) => ({
@@ -24361,14 +24447,14 @@ var WfoSelectedPathDisplay = ({
24361
24447
  alignItems: "center"
24362
24448
  },
24363
24449
  children: /* @__PURE__ */ jsx286(
24364
- EuiFlexGroup37,
24450
+ EuiFlexGroup38,
24365
24451
  {
24366
24452
  alignItems: "center",
24367
24453
  gutterSize: "s",
24368
24454
  responsive: false,
24369
24455
  justifyContent: "spaceBetween",
24370
24456
  children: /* @__PURE__ */ jsx286(EuiFlexItem44, { grow: true, children: isFullPath ? /* @__PURE__ */ jsxs150(
24371
- EuiFlexGroup37,
24457
+ EuiFlexGroup38,
24372
24458
  {
24373
24459
  gutterSize: "none",
24374
24460
  alignItems: "center",
@@ -24569,14 +24655,14 @@ var ConditionRow = ({
24569
24655
  }
24570
24656
  );
24571
24657
  };
24572
- return /* @__PURE__ */ jsx287(EuiPanel14, { paddingSize: "m", color: "subdued", children: /* @__PURE__ */ jsxs151(EuiFlexGroup38, { direction: "column", gutterSize: "m", children: [
24658
+ return /* @__PURE__ */ jsx287(EuiPanel14, { paddingSize: "m", color: "subdued", children: /* @__PURE__ */ jsxs151(EuiFlexGroup39, { direction: "column", gutterSize: "m", children: [
24573
24659
  /* @__PURE__ */ jsx287(EuiFlexItem45, { children: /* @__PURE__ */ jsx287(
24574
24660
  EuiFormRow25,
24575
24661
  {
24576
24662
  label: t("fieldLabel"),
24577
24663
  error,
24578
24664
  isInvalid: !!error,
24579
- children: /* @__PURE__ */ jsxs151(EuiFlexGroup38, { gutterSize: "s", alignItems: "center", children: [
24665
+ children: /* @__PURE__ */ jsxs151(EuiFlexGroup39, { gutterSize: "s", alignItems: "center", children: [
24580
24666
  /* @__PURE__ */ jsx287(EuiFlexItem45, { children: showPathSelection ? /* @__PURE__ */ jsx287(
24581
24667
  WfoPathSelector,
24582
24668
  {
@@ -24628,7 +24714,7 @@ var ConditionRow = ({
24628
24714
  }
24629
24715
  ) }),
24630
24716
  condition.path && selectedPathInfo?.ui_types && selectedPathInfo.ui_types.length > 0 && /* @__PURE__ */ jsx287(EuiFlexItem45, { grow: false, children: /* @__PURE__ */ jsx287(
24631
- EuiFlexGroup38,
24717
+ EuiFlexGroup39,
24632
24718
  {
24633
24719
  gutterSize: "xs",
24634
24720
  alignItems: "center",
@@ -24659,7 +24745,7 @@ var ConditionRow = ({
24659
24745
  ] })
24660
24746
  }
24661
24747
  ) }),
24662
- /* @__PURE__ */ jsx287(EuiFlexItem45, { children: /* @__PURE__ */ jsxs151(EuiFlexGroup38, { gutterSize: "s", alignItems: "flexEnd", children: [
24748
+ /* @__PURE__ */ jsx287(EuiFlexItem45, { children: /* @__PURE__ */ jsxs151(EuiFlexGroup39, { gutterSize: "s", alignItems: "flexEnd", children: [
24663
24749
  /* @__PURE__ */ jsx287(EuiFlexItem45, { children: /* @__PURE__ */ jsx287(
24664
24750
  WfoOperatorSelector,
24665
24751
  {
@@ -24754,13 +24840,13 @@ var FilterGroup = ({
24754
24840
  hasBorder: true,
24755
24841
  children: [
24756
24842
  /* @__PURE__ */ jsxs152(
24757
- EuiFlexGroup39,
24843
+ EuiFlexGroup40,
24758
24844
  {
24759
24845
  gutterSize: "s",
24760
24846
  alignItems: "center",
24761
24847
  justifyContent: "spaceBetween",
24762
24848
  children: [
24763
- /* @__PURE__ */ jsx288(EuiFlexItem46, { grow: false, children: /* @__PURE__ */ jsxs152(EuiFlexGroup39, { gutterSize: "s", alignItems: "center", children: [
24849
+ /* @__PURE__ */ jsx288(EuiFlexItem46, { grow: false, children: /* @__PURE__ */ jsxs152(EuiFlexGroup40, { gutterSize: "s", alignItems: "center", children: [
24764
24850
  /* @__PURE__ */ jsx288(EuiFlexItem46, { grow: false, children: /* @__PURE__ */ jsx288(EuiText56, { size: "s", children: /* @__PURE__ */ jsx288("strong", { children: t("groupLabel") }) }) }),
24765
24851
  /* @__PURE__ */ jsx288(EuiFlexItem46, { grow: false, children: /* @__PURE__ */ jsx288(
24766
24852
  EuiButton22,
@@ -24773,7 +24859,7 @@ var FilterGroup = ({
24773
24859
  }
24774
24860
  ) })
24775
24861
  ] }) }),
24776
- /* @__PURE__ */ jsx288(EuiFlexItem46, { grow: false, children: /* @__PURE__ */ jsxs152(EuiFlexGroup39, { gutterSize: "s", alignItems: "center", children: [
24862
+ /* @__PURE__ */ jsx288(EuiFlexItem46, { grow: false, children: /* @__PURE__ */ jsxs152(EuiFlexGroup40, { gutterSize: "s", alignItems: "center", children: [
24777
24863
  /* @__PURE__ */ jsx288(EuiFlexItem46, { grow: false, children: /* @__PURE__ */ jsx288(
24778
24864
  EuiButton22,
24779
24865
  {
@@ -24822,7 +24908,7 @@ var FilterGroup = ({
24822
24908
  hasShadow: false,
24823
24909
  children: group.children.map((child, index) => /* @__PURE__ */ jsxs152("div", { children: [
24824
24910
  index > 0 && /* @__PURE__ */ jsx288(
24825
- EuiFlexGroup39,
24911
+ EuiFlexGroup40,
24826
24912
  {
24827
24913
  gutterSize: "none",
24828
24914
  alignItems: "center",
@@ -24881,26 +24967,26 @@ var FilterGroup = ({
24881
24967
  };
24882
24968
 
24883
24969
  // src/components/WfoSearchPage/WfoSearchResults/WfoSearchResults.tsx
24884
- import { EuiFlexGroup as EuiFlexGroup44, EuiPanel as EuiPanel19 } from "@elastic/eui";
24970
+ import { EuiFlexGroup as EuiFlexGroup45, EuiPanel as EuiPanel19 } from "@elastic/eui";
24885
24971
 
24886
24972
  // src/components/WfoSearchPage/WfoSearchResults/WfoSearchEmptyState.tsx
24887
24973
  import { useTranslations as useTranslations102 } from "next-intl";
24888
- import { EuiFlexGroup as EuiFlexGroup40, EuiFlexItem as EuiFlexItem47, EuiPanel as EuiPanel16, EuiText as EuiText57 } from "@elastic/eui";
24974
+ import { EuiFlexGroup as EuiFlexGroup41, EuiFlexItem as EuiFlexItem47, EuiPanel as EuiPanel16, EuiText as EuiText57 } from "@elastic/eui";
24889
24975
  import { jsx as jsx289 } from "@emotion/react/jsx-runtime";
24890
24976
  var WfoSearchEmptyState = () => {
24891
24977
  const t = useTranslations102("search.page");
24892
24978
  const { theme } = useOrchestratorTheme();
24893
- return /* @__PURE__ */ jsx289(EuiPanel16, { paddingSize: "l", color: "transparent", hasShadow: false, children: /* @__PURE__ */ jsx289(EuiFlexGroup40, { justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ jsx289(EuiFlexItem47, { grow: false, children: /* @__PURE__ */ jsx289(EuiText57, { size: "m", color: theme.colors.textSubdued, children: t("noResultsFound") }) }) }) });
24979
+ return /* @__PURE__ */ jsx289(EuiPanel16, { paddingSize: "l", color: "transparent", hasShadow: false, children: /* @__PURE__ */ jsx289(EuiFlexGroup41, { justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ jsx289(EuiFlexItem47, { grow: false, children: /* @__PURE__ */ jsx289(EuiText57, { size: "m", color: theme.colors.textSubdued, children: t("noResultsFound") }) }) }) });
24894
24980
  };
24895
24981
 
24896
24982
  // src/components/WfoSearchPage/WfoSearchResults/WfoSearchLoadingState.tsx
24897
24983
  import { useTranslations as useTranslations103 } from "next-intl";
24898
- import { EuiFlexGroup as EuiFlexGroup41, EuiFlexItem as EuiFlexItem48, EuiPanel as EuiPanel17, EuiText as EuiText58 } from "@elastic/eui";
24984
+ import { EuiFlexGroup as EuiFlexGroup42, EuiFlexItem as EuiFlexItem48, EuiPanel as EuiPanel17, EuiText as EuiText58 } from "@elastic/eui";
24899
24985
  import { jsx as jsx290 } from "@emotion/react/jsx-runtime";
24900
24986
  var WfoSearchLoadingState = () => {
24901
24987
  const t = useTranslations103("search.page");
24902
24988
  const { theme } = useOrchestratorTheme();
24903
- return /* @__PURE__ */ jsx290(EuiPanel17, { paddingSize: "l", color: "transparent", hasShadow: false, children: /* @__PURE__ */ jsx290(EuiFlexGroup41, { justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ jsx290(EuiFlexItem48, { grow: false, children: /* @__PURE__ */ jsx290(EuiText58, { size: "m", color: theme.colors.textSubdued, children: t("loadingSearchResults") }) }) }) });
24989
+ return /* @__PURE__ */ jsx290(EuiPanel17, { paddingSize: "l", color: "transparent", hasShadow: false, children: /* @__PURE__ */ jsx290(EuiFlexGroup42, { justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ jsx290(EuiFlexItem48, { grow: false, children: /* @__PURE__ */ jsx290(EuiText58, { size: "m", color: theme.colors.textSubdued, children: t("loadingSearchResults") }) }) }) });
24904
24990
  };
24905
24991
 
24906
24992
  // src/components/WfoSearchPage/WfoSearchResults/WfoSearchResultItem.tsx
@@ -24908,7 +24994,7 @@ import { useEffect as useEffect39, useRef as useRef11 } from "react";
24908
24994
  import { useTranslations as useTranslations104 } from "next-intl";
24909
24995
  import {
24910
24996
  EuiButtonIcon as EuiButtonIcon17,
24911
- EuiFlexGroup as EuiFlexGroup43,
24997
+ EuiFlexGroup as EuiFlexGroup44,
24912
24998
  EuiFlexItem as EuiFlexItem50,
24913
24999
  EuiPanel as EuiPanel18,
24914
25000
  EuiSpacer as EuiSpacer32,
@@ -24960,7 +25046,7 @@ var WfoHighlightedText = ({
24960
25046
 
24961
25047
  // src/components/WfoSearchPage/WfoSearchResults/WfoPathBreadcrumb.tsx
24962
25048
  import { Fragment as Fragment69 } from "react";
24963
- import { EuiFlexGroup as EuiFlexGroup42, EuiFlexItem as EuiFlexItem49, EuiIcon as EuiIcon9 } from "@elastic/eui";
25049
+ import { EuiFlexGroup as EuiFlexGroup43, EuiFlexItem as EuiFlexItem49, EuiIcon as EuiIcon9 } from "@elastic/eui";
24964
25050
  import { jsx as jsx292, jsxs as jsxs153 } from "@emotion/react/jsx-runtime";
24965
25051
  var WfoPathBreadcrumb = ({
24966
25052
  path,
@@ -24985,7 +25071,7 @@ var WfoPathBreadcrumb = ({
24985
25071
  ] : segments;
24986
25072
  const badgeColor = color || theme.colors.primary;
24987
25073
  return /* @__PURE__ */ jsx292(
24988
- EuiFlexGroup42,
25074
+ EuiFlexGroup43,
24989
25075
  {
24990
25076
  gutterSize: size,
24991
25077
  alignItems: "center",
@@ -25051,8 +25137,8 @@ var WfoSearchResultItem = ({
25051
25137
  borderRight: "none",
25052
25138
  borderColor: theme.colors.primary
25053
25139
  } : void 0,
25054
- children: /* @__PURE__ */ jsxs154(EuiFlexGroup43, { alignItems: "flexStart", gutterSize: "m", children: [
25055
- /* @__PURE__ */ jsx293(EuiFlexItem50, { children: /* @__PURE__ */ jsxs154(EuiFlexGroup43, { direction: "column", gutterSize: "xs", children: [
25140
+ children: /* @__PURE__ */ jsxs154(EuiFlexGroup44, { alignItems: "flexStart", gutterSize: "m", children: [
25141
+ /* @__PURE__ */ jsx293(EuiFlexItem50, { children: /* @__PURE__ */ jsxs154(EuiFlexGroup44, { direction: "column", gutterSize: "xs", children: [
25056
25142
  /* @__PURE__ */ jsx293(EuiFlexItem50, { children: /* @__PURE__ */ jsx293(
25057
25143
  EuiText59,
25058
25144
  {
@@ -25094,7 +25180,7 @@ var WfoSearchResultItem = ({
25094
25180
  ] })
25095
25181
  ] }) }),
25096
25182
  /* @__PURE__ */ jsx293(EuiFlexItem50, { grow: false, children: /* @__PURE__ */ jsxs154(
25097
- EuiFlexGroup43,
25183
+ EuiFlexGroup44,
25098
25184
  {
25099
25185
  direction: "column",
25100
25186
  alignItems: "flexEnd",
@@ -25143,7 +25229,7 @@ var WfoSearchResults = ({
25143
25229
  if (!results || results.length === 0) {
25144
25230
  return /* @__PURE__ */ jsx294(WfoSearchEmptyState, {});
25145
25231
  }
25146
- return /* @__PURE__ */ jsx294(EuiPanel19, { paddingSize: "m", hasShadow: false, children: /* @__PURE__ */ jsx294(EuiFlexGroup44, { direction: "column", gutterSize: "s", children: results.map((result, idx) => /* @__PURE__ */ jsx294(
25232
+ return /* @__PURE__ */ jsx294(EuiPanel19, { paddingSize: "m", hasShadow: false, children: /* @__PURE__ */ jsx294(EuiFlexGroup45, { direction: "column", gutterSize: "s", children: results.map((result, idx) => /* @__PURE__ */ jsx294(
25147
25233
  WfoSearchResultItem,
25148
25234
  {
25149
25235
  result,
@@ -25170,7 +25256,7 @@ var WfoSearchMetadataHeader = ({
25170
25256
  import { useTranslations as useTranslations105 } from "next-intl";
25171
25257
  import {
25172
25258
  EuiButtonIcon as EuiButtonIcon18,
25173
- EuiFlexGroup as EuiFlexGroup45,
25259
+ EuiFlexGroup as EuiFlexGroup46,
25174
25260
  EuiFlexItem as EuiFlexItem51,
25175
25261
  EuiText as EuiText60
25176
25262
  } from "@elastic/eui";
@@ -25196,7 +25282,7 @@ var WfoSearchPaginationInfo = ({
25196
25282
  };
25197
25283
  if (!has_next_page && !hasPrevPage) return null;
25198
25284
  return /* @__PURE__ */ jsxs155(
25199
- EuiFlexGroup45,
25285
+ EuiFlexGroup46,
25200
25286
  {
25201
25287
  justifyContent: "flexEnd",
25202
25288
  alignItems: "center",
@@ -25425,7 +25511,7 @@ var WfoSearch = () => {
25425
25511
  }
25426
25512
  ),
25427
25513
  /* @__PURE__ */ jsx297(EuiSpacer33, { size: "s" }),
25428
- /* @__PURE__ */ jsx297(EuiFlexGroup46, { gutterSize: "s", alignItems: "center", children: /* @__PURE__ */ jsx297(EuiFlexItem52, { grow: false, children: /* @__PURE__ */ jsx297(
25514
+ /* @__PURE__ */ jsx297(EuiFlexGroup47, { gutterSize: "s", alignItems: "center", children: /* @__PURE__ */ jsx297(EuiFlexItem52, { grow: false, children: /* @__PURE__ */ jsx297(
25429
25515
  EuiButton23,
25430
25516
  {
25431
25517
  iconType: showFilters ? "eyeClosed" : "eye",
@@ -25497,9 +25583,9 @@ var WfoSearch = () => {
25497
25583
  ] }),
25498
25584
  isSearchActive && /* @__PURE__ */ jsxs156(Fragment71, { children: [
25499
25585
  /* @__PURE__ */ jsx297(EuiSpacer33, { size: "m" }),
25500
- /* @__PURE__ */ jsxs156(EuiFlexGroup46, { gutterSize: "s", alignItems: "center", children: [
25586
+ /* @__PURE__ */ jsxs156(EuiFlexGroup47, { gutterSize: "s", alignItems: "center", children: [
25501
25587
  /* @__PURE__ */ jsx297(EuiFlexItem52, { grow: showDetailPanel ? RESULTS_GROW : 1, children: /* @__PURE__ */ jsxs156(
25502
- EuiFlexGroup46,
25588
+ EuiFlexGroup47,
25503
25589
  {
25504
25590
  gutterSize: "s",
25505
25591
  alignItems: "center",
@@ -25532,7 +25618,7 @@ var WfoSearch = () => {
25532
25618
  showDetailPanel && /* @__PURE__ */ jsx297(EuiFlexItem52, { grow: DETAIL_GROW })
25533
25619
  ] }),
25534
25620
  /* @__PURE__ */ jsx297(EuiSpacer33, { size: "s" }),
25535
- /* @__PURE__ */ jsxs156(EuiFlexGroup46, { gutterSize: "s", alignItems: "flexStart", children: [
25621
+ /* @__PURE__ */ jsxs156(EuiFlexGroup47, { gutterSize: "s", alignItems: "flexStart", children: [
25536
25622
  /* @__PURE__ */ jsx297(EuiFlexItem52, { grow: showDetailPanel ? RESULTS_GROW : 1, children: /* @__PURE__ */ jsx297(EuiPanel20, { paddingSize: "none", hasBorder: true, children: /* @__PURE__ */ jsx297(
25537
25623
  WfoSearchResults,
25538
25624
  {
@@ -25750,10 +25836,10 @@ function ExportButton({ exportData }) {
25750
25836
  // src/components/WfoAgent/ToolProgress/ToolProgress.tsx
25751
25837
  import { useState as useState62 } from "react";
25752
25838
  import { useTranslations as useTranslations109 } from "next-intl";
25753
- import { EuiFlexGroup as EuiFlexGroup49, EuiFlexItem as EuiFlexItem55, EuiLoadingSpinner as EuiLoadingSpinner5 } from "@elastic/eui";
25839
+ import { EuiFlexGroup as EuiFlexGroup50, EuiFlexItem as EuiFlexItem55, EuiLoadingSpinner as EuiLoadingSpinner5 } from "@elastic/eui";
25754
25840
 
25755
25841
  // src/components/WfoAgent/ToolProgress/DiscoverFilterPathsDisplay.tsx
25756
- import React91 from "react";
25842
+ import React92 from "react";
25757
25843
  import { EuiSpacer as EuiSpacer34, EuiText as EuiText62 } from "@elastic/eui";
25758
25844
  import { Fragment as Fragment72, jsx as jsx299, jsxs as jsxs158 } from "@emotion/react/jsx-runtime";
25759
25845
  var DiscoverFilterPathsDisplay = ({
@@ -25775,7 +25861,7 @@ var DiscoverFilterPathsDisplay = ({
25775
25861
  /* @__PURE__ */ jsxs158(EuiText62, { size: "xs", color: "subdued", children: [
25776
25862
  "Looking for",
25777
25863
  " ",
25778
- field_names.map((name, idx) => /* @__PURE__ */ jsxs158(React91.Fragment, { children: [
25864
+ field_names.map((name, idx) => /* @__PURE__ */ jsxs158(React92.Fragment, { children: [
25779
25865
  idx > 0 && ", ",
25780
25866
  /* @__PURE__ */ jsx299(WfoBadge, { color: "hollow", textColor: "default", children: name })
25781
25867
  ] }, name))
@@ -25794,7 +25880,7 @@ var DiscoverFilterPathsDisplay = ({
25794
25880
  foundFields.map(([fieldName, fieldResult]) => /* @__PURE__ */ jsx299("div", { style: { marginBottom: "8px" }, children: fieldResult.leaves && fieldResult.leaves.length > 0 && fieldResult.leaves.map(
25795
25881
  (leaf, leafIdx) => {
25796
25882
  const paths = leaf.paths || (leaf.name ? [leaf.name] : []);
25797
- return /* @__PURE__ */ jsx299(React91.Fragment, { children: paths.map(
25883
+ return /* @__PURE__ */ jsx299(React92.Fragment, { children: paths.map(
25798
25884
  (path, pathIdx) => /* @__PURE__ */ jsx299(
25799
25885
  "div",
25800
25886
  {
@@ -25819,11 +25905,11 @@ var DiscoverFilterPathsDisplay = ({
25819
25905
  };
25820
25906
 
25821
25907
  // src/components/WfoAgent/ToolProgress/RunSearchDisplay.tsx
25822
- import { EuiFlexGroup as EuiFlexGroup47, EuiFlexItem as EuiFlexItem53, EuiText as EuiText63 } from "@elastic/eui";
25908
+ import { EuiFlexGroup as EuiFlexGroup48, EuiFlexItem as EuiFlexItem53, EuiText as EuiText63 } from "@elastic/eui";
25823
25909
  import { jsx as jsx300, jsxs as jsxs159 } from "@emotion/react/jsx-runtime";
25824
25910
  var RunSearchDisplay = ({ parameters }) => {
25825
25911
  const { limit = 10 } = parameters;
25826
- return /* @__PURE__ */ jsx300("div", { children: /* @__PURE__ */ jsxs159(EuiFlexGroup47, { gutterSize: "s", alignItems: "center", children: [
25912
+ return /* @__PURE__ */ jsx300("div", { children: /* @__PURE__ */ jsxs159(EuiFlexGroup48, { gutterSize: "s", alignItems: "center", children: [
25827
25913
  /* @__PURE__ */ jsx300(EuiFlexItem53, { grow: false, children: /* @__PURE__ */ jsx300(EuiText63, { size: "xs", color: "subdued", children: /* @__PURE__ */ jsx300("strong", { children: "Results Limit" }) }) }),
25828
25914
  /* @__PURE__ */ jsx300(EuiFlexItem53, { grow: false, children: /* @__PURE__ */ jsx300(WfoBadge, { textColor: "default", color: "hollow", children: limit }) })
25829
25915
  ] }) });
@@ -25960,14 +26046,14 @@ var SetFilterTreeDisplay = ({
25960
26046
  };
25961
26047
 
25962
26048
  // src/components/WfoAgent/ToolProgress/StartNewSearchDisplay.tsx
25963
- import { EuiFlexGroup as EuiFlexGroup48, EuiFlexItem as EuiFlexItem54, EuiSpacer as EuiSpacer35, EuiText as EuiText65 } from "@elastic/eui";
26049
+ import { EuiFlexGroup as EuiFlexGroup49, EuiFlexItem as EuiFlexItem54, EuiSpacer as EuiSpacer35, EuiText as EuiText65 } from "@elastic/eui";
25964
26050
  import { Fragment as Fragment73, jsx as jsx302, jsxs as jsxs161 } from "@emotion/react/jsx-runtime";
25965
26051
  var StartNewSearchDisplay = ({
25966
26052
  parameters
25967
26053
  }) => {
25968
26054
  const { entity_type, action, query } = parameters;
25969
26055
  return /* @__PURE__ */ jsxs161("div", { children: [
25970
- /* @__PURE__ */ jsxs161(EuiFlexGroup48, { gutterSize: "s", wrap: true, children: [
26056
+ /* @__PURE__ */ jsxs161(EuiFlexGroup49, { gutterSize: "s", wrap: true, children: [
25971
26057
  entity_type && /* @__PURE__ */ jsxs161(EuiFlexItem54, { grow: false, children: [
25972
26058
  /* @__PURE__ */ jsx302(EuiText65, { size: "xs", color: "subdued", children: /* @__PURE__ */ jsx302("strong", { children: "Entity Type" }) }),
25973
26059
  /* @__PURE__ */ jsx302(EuiSpacer35, { size: "xs" }),
@@ -26103,7 +26189,7 @@ var ToolProgress = ({
26103
26189
  css: hasContent && containerClickableStyle,
26104
26190
  onClick: () => hasContent && setIsExpanded(!isExpanded),
26105
26191
  children: /* @__PURE__ */ jsxs162(
26106
- EuiFlexGroup49,
26192
+ EuiFlexGroup50,
26107
26193
  {
26108
26194
  gutterSize: "m",
26109
26195
  alignItems: "center",
@@ -26270,15 +26356,15 @@ function WfoAgentPieChart({ aggregationData }) {
26270
26356
  }
26271
26357
 
26272
26358
  // src/components/WfoAgent/WfoAgentTable/WfoAgentTable.tsx
26273
- import React93 from "react";
26359
+ import React94 from "react";
26274
26360
  import { EuiBasicTable } from "@elastic/eui";
26275
26361
  import { jsx as jsx306 } from "@emotion/react/jsx-runtime";
26276
26362
  var formatColumnName = (key) => key.replace(/_/g, " ").replace(/\b\w/g, (l) => l.toUpperCase());
26277
26363
  function WfoAgentTable({ aggregationData }) {
26278
26364
  const { results } = aggregationData;
26279
- const [pageIndex, setPageIndex] = React93.useState(0);
26280
- const [pageSize, setPageSize] = React93.useState(5);
26281
- const columns = React93.useMemo(() => {
26365
+ const [pageIndex, setPageIndex] = React94.useState(0);
26366
+ const [pageSize, setPageSize] = React94.useState(5);
26367
+ const columns = React94.useMemo(() => {
26282
26368
  if (results.length === 0) return [];
26283
26369
  const firstResult = results[0];
26284
26370
  const groupKeys = Object.keys(firstResult.group_values);