@orchestrator-ui/orchestrator-ui-components 8.4.2 → 8.4.3

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
@@ -64,7 +64,7 @@ var PolicyResource = /* @__PURE__ */ ((PolicyResource2) => {
64
64
  })(PolicyResource || {});
65
65
 
66
66
  // src/configuration/version.ts
67
- var ORCHESTRATOR_UI_LIBRARY_VERSION = "8.4.2";
67
+ var ORCHESTRATOR_UI_LIBRARY_VERSION = "8.4.3";
68
68
 
69
69
  // src/types/types.ts
70
70
  var EngineStatus = /* @__PURE__ */ ((EngineStatus2) => {
@@ -5647,7 +5647,7 @@ var WfoRadio = ({ pydanticFormField, onChange, value, disabled }) => {
5647
5647
  };
5648
5648
 
5649
5649
  // src/components/WfoPydanticForm/fields/WfoInteger.tsx
5650
- import React12, { useEffect as useEffect3 } from "react";
5650
+ import { useEffect as useEffect3, useState as useState8 } from "react";
5651
5651
  import _2 from "lodash";
5652
5652
  import { getFormFieldIdWithPath as getFormFieldIdWithPath2 } from "pydantic-forms";
5653
5653
  import { EuiFieldNumber } from "@elastic/eui";
@@ -5669,7 +5669,7 @@ var WfoInteger = ({ pydanticFormField, onChange, value, disabled }) => {
5669
5669
  const { formFieldBaseStyle } = useWithOrchestratorTheme(getFormFieldsBaseStyle2);
5670
5670
  const fieldName = getFormFieldIdWithPath2(pydanticFormField.id);
5671
5671
  const fieldValue = _2.isObject(value) && _2.has(value, fieldName) ? _2.get(value, fieldName) : value;
5672
- const [userInput, setUserInput] = React12.useState("");
5672
+ const [userInput, setUserInput] = useState8("");
5673
5673
  useEffect3(() => {
5674
5674
  if (fieldValue !== void 0 && fieldValue !== null) {
5675
5675
  setUserInput(fieldValue);
@@ -5702,7 +5702,7 @@ var WfoInteger = ({ pydanticFormField, onChange, value, disabled }) => {
5702
5702
  };
5703
5703
 
5704
5704
  // src/components/WfoPydanticForm/fields/WfoReactSelect/WfoReactSelect.tsx
5705
- import { useEffect as useEffect4, useState as useState8 } from "react";
5705
+ import { useEffect as useEffect4, useState as useState9 } from "react";
5706
5706
  import ReactSelect, { components } from "react-select";
5707
5707
  import { EuiButtonIcon as EuiButtonIcon3 } from "@elastic/eui";
5708
5708
 
@@ -5794,7 +5794,7 @@ var WfoReactSelect = ({
5794
5794
  refetch
5795
5795
  }) => {
5796
5796
  const initialValue = options.find((option) => option.value === value);
5797
- const [selectedValue, setSelectedValue] = useState8(initialValue || null);
5797
+ const [selectedValue, setSelectedValue] = useState9(initialValue || null);
5798
5798
  useEffect4(() => {
5799
5799
  const preSelectedValue = options.find((option) => option.value === value);
5800
5800
  if (preSelectedValue !== selectedValue) {
@@ -5868,7 +5868,7 @@ var WfoDropdown = ({ onChange, pydanticFormField, value }) => {
5868
5868
  };
5869
5869
 
5870
5870
  // src/components/WfoPydanticForm/fields/WfoMultiCheckboxField.tsx
5871
- import { useEffect as useEffect5, useState as useState9 } from "react";
5871
+ import { useEffect as useEffect5, useState as useState10 } from "react";
5872
5872
  import { EuiCheckboxGroup } from "@elastic/eui";
5873
5873
  import { jsx as jsx87 } from "@emotion/react/jsx-runtime";
5874
5874
  var WfoMultiCheckboxField = ({ pydanticFormField, onChange, value }) => {
@@ -5882,7 +5882,7 @@ var WfoMultiCheckboxField = ({ pydanticFormField, onChange, value }) => {
5882
5882
  };
5883
5883
  setCheckboxIdToSelectedMap(getInitialMap());
5884
5884
  }, [value]);
5885
- const [checkboxIdToSelectedMap, setCheckboxIdToSelectedMap] = useState9({});
5885
+ const [checkboxIdToSelectedMap, setCheckboxIdToSelectedMap] = useState10({});
5886
5886
  const { options, id } = pydanticFormField;
5887
5887
  const checkboxes = options?.map((option, index) => ({
5888
5888
  label: option.label,
@@ -7098,7 +7098,7 @@ var WfoValueOnlyTable = ({ values, showCopyToClipboardIcon = false }) => {
7098
7098
  };
7099
7099
 
7100
7100
  // src/components/WfoSearchBar/WfoSearchField.tsx
7101
- import { useEffect as useEffect7, useRef as useRef2, useState as useState10 } from "react";
7101
+ import { useEffect as useEffect7, useRef as useRef2, useState as useState11 } from "react";
7102
7102
  import { useTranslations as useTranslations18 } from "next-intl";
7103
7103
  import { EuiFieldSearch, EuiFormRow as EuiFormRow3 } from "@elastic/eui";
7104
7104
  import { jsx as jsx117 } from "@emotion/react/jsx-runtime";
@@ -7107,7 +7107,7 @@ var WfoSearchField = ({ queryString, queryIsValid = true, onUpdateQueryString })
7107
7107
  const tError = useTranslations18("errors");
7108
7108
  const { formFieldBaseStyle } = useWithOrchestratorTheme(getFormFieldsBaseStyle);
7109
7109
  const handleSearch = useRef2((queryText) => onUpdateQueryString?.(queryText));
7110
- const [currentQuery, setCurrentQuery] = useState10(queryString ?? "");
7110
+ const [currentQuery, setCurrentQuery] = useState11(queryString ?? "");
7111
7111
  useEffect7(() => {
7112
7112
  setCurrentQuery(queryString ?? "");
7113
7113
  }, [queryString]);
@@ -7551,7 +7551,7 @@ var SubscriptionKeyValueBlock = ({ title, keyValues }) => {
7551
7551
  };
7552
7552
 
7553
7553
  // src/components/WfoSubscription/WfoInSyncField/WfoInSyncField.tsx
7554
- import { useContext as useContext5, useEffect as useEffect8, useState as useState11 } from "react";
7554
+ import { useContext as useContext5, useEffect as useEffect8, useState as useState12 } from "react";
7555
7555
  import { useTranslations as useTranslations24 } from "next-intl";
7556
7556
  import Link6 from "next/link";
7557
7557
  import { EuiButton as EuiButton7, EuiContextMenuItem, EuiLoadingSpinner, EuiToolTip as EuiToolTip6 } from "@elastic/eui";
@@ -7700,7 +7700,7 @@ var WfoInSyncField = ({ subscriptionDetail, compactMode = false, setPopover }) =
7700
7700
  secondaryIconStyle,
7701
7701
  spinnerSecondaryIconStyle
7702
7702
  } = useWithOrchestratorTheme(getSubscriptionActionStyles);
7703
- const [inSync, setInSync] = useState11(subscriptionDetail.insync);
7703
+ const [inSync, setInSync] = useState12(subscriptionDetail.insync);
7704
7704
  const lastTaskRunDate = getLatestTaskDate(subscriptionDetail.processes?.page);
7705
7705
  const lastUncompletedProcess = getLastUncompletedProcess(subscriptionDetail?.processes?.page);
7706
7706
  const [setSubscriptionInSync, { isLoading }] = useSetSubscriptionInSyncMutation();
@@ -7935,7 +7935,7 @@ var WfoProcessesTimeline = ({ subscriptionDetailProcesses }) => {
7935
7935
  };
7936
7936
 
7937
7937
  // src/components/WfoSubscription/WfoRelatedSubscriptions.tsx
7938
- import { useState as useState16 } from "react";
7938
+ import { useState as useState17 } from "react";
7939
7939
  import { useTranslations as useTranslations30 } from "next-intl";
7940
7940
  import Link8 from "next/link";
7941
7941
  import { EuiFlexGroup as EuiFlexGroup12, EuiFlexItem as EuiFlexItem8, EuiSpacer as EuiSpacer14, EuiSwitch } from "@elastic/eui";
@@ -7973,7 +7973,7 @@ var graphQlRelatedSubscriptionsTerminatedSubscriptionsFilterMapper = (data) => d
7973
7973
  } : void 0;
7974
7974
 
7975
7975
  // src/components/WfoTable/WfoTable/WfoTable.tsx
7976
- import { useRef as useRef5, useState as useState14 } from "react";
7976
+ import { useRef as useRef5, useState as useState15 } from "react";
7977
7977
  import { useTranslations as useTranslations27 } from "next-intl";
7978
7978
  import { EuiSpacer as EuiSpacer12, EuiTablePagination, useEuiScrollBar } from "@elastic/eui";
7979
7979
  import { useVirtualizer } from "@tanstack/react-virtual";
@@ -8429,13 +8429,13 @@ var WfoTableDataRows = ({
8429
8429
  import { useRef as useRef4 } from "react";
8430
8430
 
8431
8431
  // src/components/WfoTable/WfoTable/WfoDragHandler.tsx
8432
- import { useState as useState12 } from "react";
8432
+ import { useState as useState13 } from "react";
8433
8433
  import Draggable from "react-draggable";
8434
8434
  import { jsx as jsx132 } from "@emotion/react/jsx-runtime";
8435
8435
  var MINIMUM_COLUMN_WIDTH = 50;
8436
8436
  var WfoDragHandler = ({ headerRowRef, fieldName, onUpdateColumWidth }) => {
8437
- const [position, setPosition] = useState12({ x: 0, y: 0 });
8438
- const [isDragging, setIsDragging] = useState12(false);
8437
+ const [position, setPosition] = useState13({ x: 0, y: 0 });
8438
+ const [isDragging, setIsDragging] = useState13(false);
8439
8439
  const { dragAndDropStyle } = useWithOrchestratorTheme(getWfoTableStyles);
8440
8440
  const resetPosition = () => {
8441
8441
  setPosition({ x: 0, y: 0 });
@@ -8497,7 +8497,7 @@ var WfoSortDirectionIcon = ({ sortDirection }) => {
8497
8497
  };
8498
8498
 
8499
8499
  // src/components/WfoTable/WfoTable/WfoTableHeaderCell/WfoTableHeaderCell.tsx
8500
- import { useState as useState13 } from "react";
8500
+ import { useState as useState14 } from "react";
8501
8501
  import { EuiHorizontalRule as EuiHorizontalRule3, EuiPopover as EuiPopover3, EuiText as EuiText9, useGeneratedHtmlId } from "@elastic/eui";
8502
8502
 
8503
8503
  // src/components/WfoTable/WfoTable/WfoTableHeaderCell/WfoPopoverContent.tsx
@@ -8552,7 +8552,7 @@ var WfoTableHeaderCell = ({
8552
8552
  const smallContextMenuPopoverId = useGeneratedHtmlId({
8553
8553
  prefix: "smallContextMenuPopover"
8554
8554
  });
8555
- const [isPopoverOpen, setPopover] = useState13(false);
8555
+ const [isPopoverOpen, setPopover] = useState14(false);
8556
8556
  const handleButtonClick = () => setPopover(!isPopoverOpen);
8557
8557
  const closePopover = () => setPopover(false);
8558
8558
  const WfoHeaderCellContentButton = () => /* @__PURE__ */ jsx135("button", { onClick: handleButtonClick, disabled: !isFilterable, children: /* @__PURE__ */ jsx135("div", { css: getHeaderCellContentStyle(isFilterable), children }) });
@@ -8690,7 +8690,7 @@ var WfoTable = ({
8690
8690
  isVirtualized = false,
8691
8691
  height
8692
8692
  }) => {
8693
- const [localColumnWidths, setLocalColumnWidths] = useState14(
8693
+ const [localColumnWidths, setLocalColumnWidths] = useState15(
8694
8694
  getColumnWidthsFromConfig(columnConfig)
8695
8695
  );
8696
8696
  const dataLength = data.length;
@@ -8836,7 +8836,7 @@ import { useTranslations as useTranslations29 } from "next-intl";
8836
8836
  import { EuiButtonEmpty as EuiButtonEmpty4, EuiFlexGroup as EuiFlexGroup11, EuiSpacer as EuiSpacer13 } from "@elastic/eui";
8837
8837
 
8838
8838
  // src/components/WfoTable/WfoTable/WfoGroupedTable/useGroupedTableConfig.tsx
8839
- import { useEffect as useEffect10, useRef as useRef6, useState as useState15 } from "react";
8839
+ import { useEffect as useEffect10, useRef as useRef6, useState as useState16 } from "react";
8840
8840
 
8841
8841
  // src/components/WfoTable/WfoTable/WfoGroupedTable/WfoExpandableRow.tsx
8842
8842
  import { useTranslations as useTranslations28 } from "next-intl";
@@ -9010,10 +9010,10 @@ var useGroupedTableConfig = ({
9010
9010
  notifyParent
9011
9011
  }) => {
9012
9012
  const groupReferences = useRef6(/* @__PURE__ */ new Map());
9013
- const [expandedRowIds, setExpandedRowIds] = useState15([]);
9014
- const [isAllGroupsExpanded, setIsAllGroupsExpanded] = useState15(false);
9015
- const [isAllSubgroupsExpanded, setIsAllSubgroupsExpanded] = useState15([]);
9016
- const [isExpanding, setIsExpanding] = useState15(false);
9013
+ const [expandedRowIds, setExpandedRowIds] = useState16([]);
9014
+ const [isAllGroupsExpanded, setIsAllGroupsExpanded] = useState16(false);
9015
+ const [isAllSubgroupsExpanded, setIsAllSubgroupsExpanded] = useState16([]);
9016
+ const [isExpanding, setIsExpanding] = useState16(false);
9017
9017
  const groups = getObjectKeys(data).map((key) => ({
9018
9018
  groupName: key.toString()
9019
9019
  }));
@@ -9244,7 +9244,7 @@ var WfoRelatedSubscriptions = ({
9244
9244
  subscriptionId,
9245
9245
  subscriptionPath = PATH_SUBSCRIPTIONS
9246
9246
  }) => {
9247
- const [hideTerminatedSubscriptions, setHideTerminatedSubscriptions] = useState16(true);
9247
+ const [hideTerminatedSubscriptions, setHideTerminatedSubscriptions] = useState17(true);
9248
9248
  const t = useTranslations30("subscriptions.detail");
9249
9249
  const { theme } = useOrchestratorTheme();
9250
9250
  const terminatedSubscriptionsFilter = {
@@ -9435,7 +9435,7 @@ var WfoSubscription = ({ subscriptionId }) => {
9435
9435
  };
9436
9436
 
9437
9437
  // src/components/WfoSubscription/WfoSubscriptionActions/WfoSubscriptionActions.tsx
9438
- import { useState as useState19 } from "react";
9438
+ import { useState as useState20 } from "react";
9439
9439
  import { useTranslations as useTranslations33 } from "next-intl";
9440
9440
  import { useRouter as useRouter6 } from "next/router";
9441
9441
  import { EuiButton as EuiButton8, EuiButtonIcon as EuiButtonIcon8, EuiLoadingSpinner as EuiLoadingSpinner3, EuiTitle } from "@elastic/eui";
@@ -9445,7 +9445,7 @@ import { useTranslations as useTranslations32 } from "next-intl";
9445
9445
  import { EuiContextMenuItem as EuiContextMenuItem2, EuiLoadingSpinner as EuiLoadingSpinner2, EuiToolTip as EuiToolTip8 } from "@elastic/eui";
9446
9446
 
9447
9447
  // src/components/WfoSubscription/WfoSubscriptionActions/WfoSubscriptionActionExpandableMenuItem.tsx
9448
- import { useState as useState17 } from "react";
9448
+ import { useState as useState18 } from "react";
9449
9449
  import { useTranslations as useTranslations31 } from "next-intl";
9450
9450
  import Link9 from "next/link";
9451
9451
  import { EuiButtonIcon as EuiButtonIcon7, EuiText as EuiText11 } from "@elastic/eui";
@@ -9457,7 +9457,7 @@ var WfoSubscriptionActionExpandableMenuItem = ({
9457
9457
  }) => {
9458
9458
  const t = useTranslations31("subscriptions.detail.actions");
9459
9459
  const { clickableStyle, expandableMenuItemStyle, expandButtonStyle, expandedContentStyle, linkStyle } = useWithOrchestratorTheme(getSubscriptionActionStyles);
9460
- const [isExpanded, setIsExpanded] = useState17(false);
9460
+ const [isExpanded, setIsExpanded] = useState18(false);
9461
9461
  const { locked_relations: lockedRelations } = subscriptionAction;
9462
9462
  return /* @__PURE__ */ jsxs74("div", { children: [
9463
9463
  /* @__PURE__ */ jsxs74(
@@ -9553,11 +9553,11 @@ var WfoSubscriptionActionsMenuItem = ({
9553
9553
  };
9554
9554
 
9555
9555
  // src/components/WfoSubscription/WfoSubscriptionActions/utils.ts
9556
- import { useEffect as useEffect11, useState as useState18 } from "react";
9556
+ import { useEffect as useEffect11, useState as useState19 } from "react";
9557
9557
  var useActiveProcess = (processes) => {
9558
9558
  const lastProcess = processes?.[processes.length - 1];
9559
9559
  const isLastProcessRunning = lastProcess?.lastStatus.toLowerCase() === "running" /* RUNNING */;
9560
- const [processId, setProcessId] = useState18(null);
9560
+ const [processId, setProcessId] = useState19(null);
9561
9561
  useEffect11(() => {
9562
9562
  if (isLastProcessRunning) {
9563
9563
  setProcessId(lastProcess.processId);
@@ -9595,7 +9595,7 @@ var WfoSubscriptionActions = ({
9595
9595
  }) => {
9596
9596
  const t = useTranslations33("subscriptions.detail.actions");
9597
9597
  const { theme } = useOrchestratorTheme();
9598
- const [isPopoverOpen, setPopover] = useState19(false);
9598
+ const [isPopoverOpen, setPopover] = useState20(false);
9599
9599
  const router = useRouter6();
9600
9600
  const disableQuery = isLoading || !isPopoverOpen && compactMode;
9601
9601
  const { isAllowed } = usePolicy();
@@ -9746,7 +9746,7 @@ var WfoSubscriptionActions = ({
9746
9746
  };
9747
9747
 
9748
9748
  // src/components/WfoSubscription/WfoSubscriptionProductBlock/WfoSubscriptionProductBlock.tsx
9749
- import { useState as useState20 } from "react";
9749
+ import { useState as useState21 } from "react";
9750
9750
  import { useTranslations as useTranslations35 } from "next-intl";
9751
9751
  import {
9752
9752
  EuiBadge as EuiBadge2,
@@ -9885,7 +9885,7 @@ var WfoSubscriptionProductBlock = ({
9885
9885
  outsideSubscriptionIdTextStyle,
9886
9886
  rowStyle
9887
9887
  } = useWithOrchestratorTheme(getStyles6);
9888
- const [showDetails, setShowDetails] = useState20(false);
9888
+ const [showDetails, setShowDetails] = useState21(false);
9889
9889
  const ownerSubscriptionId = productBlock.subscription.subscriptionId;
9890
9890
  const isOutsideCurrentSubscription = ownerSubscriptionId !== subscriptionId;
9891
9891
  const inUseByRelations = productBlock.inUseByRelations.filter(
@@ -10009,12 +10009,12 @@ var WfoProductBlockKeyValueRow = ({
10009
10009
  };
10010
10010
 
10011
10011
  // src/components/WfoSubscription/WfoSubscriptionDetailTree.tsx
10012
- import React42, { useState as useState22 } from "react";
10012
+ import React42, { useState as useState23 } from "react";
10013
10013
  import { useTranslations as useTranslations37 } from "next-intl";
10014
10014
  import { EuiCallOut as EuiCallOut4, EuiFlexGroup as EuiFlexGroup17, EuiFlexItem as EuiFlexItem13, EuiText as EuiText15 } from "@elastic/eui";
10015
10015
 
10016
10016
  // src/components/WfoButtonComboBox/WfoButtonComboBox.tsx
10017
- import { useEffect as useEffect12, useState as useState21 } from "react";
10017
+ import { useEffect as useEffect12, useState as useState22 } from "react";
10018
10018
  import { EuiPopover as EuiPopover4, EuiSelectable as EuiSelectable2, EuiSpacer as EuiSpacer16, EuiText as EuiText13 } from "@elastic/eui";
10019
10019
 
10020
10020
  // src/components/WfoButtonComboBox/styles.ts
@@ -10050,8 +10050,8 @@ var WfoButtonComboBox = ({
10050
10050
  children,
10051
10051
  className
10052
10052
  }) => {
10053
- const [isPopoverOpen, setPopoverOpen] = useState21(false);
10054
- const [optionsState, setOptionsState] = useState21(options);
10053
+ const [isPopoverOpen, setPopoverOpen] = useState22(false);
10054
+ const [optionsState, setOptionsState] = useState22(options);
10055
10055
  const { selectableStyle, titleStyle } = useWithOrchestratorTheme(getWfoButtonComboBoxStyles);
10056
10056
  useEffect12(() => {
10057
10057
  if (!isPopoverOpen) {
@@ -10329,7 +10329,7 @@ var WfoSubscriptionDetailTree = ({
10329
10329
  }) => {
10330
10330
  const t = useTranslations37("subscriptions.detail");
10331
10331
  const { theme } = useOrchestratorTheme();
10332
- const [, setSelectedTreeNode] = useState22(-1);
10332
+ const [, setSelectedTreeNode] = useState23(-1);
10333
10333
  const { productBlockTreeWidth } = useWithOrchestratorTheme(getSubscriptionDetailStyles);
10334
10334
  const { selectedIds, expandAll, resetSelection, selectAll, selectIds, deselectIds } = React42.useContext(
10335
10335
  TreeContext
@@ -10578,13 +10578,13 @@ var customerDescriptionsApi = orchestratorApi.injectEndpoints({
10578
10578
  var { useSetCustomerDescriptionMutation, useUpdateCustomerDescriptionMutation } = customerDescriptionsApi;
10579
10579
 
10580
10580
  // src/components/WfoInlineEdit/WfoInlineEdit.tsx
10581
- import { useEffect as useEffect14, useState as useState23 } from "react";
10581
+ import { useEffect as useEffect14, useState as useState24 } from "react";
10582
10582
  import { EuiInlineEditText } from "@elastic/eui";
10583
10583
  import { jsx as jsx165 } from "@emotion/react/jsx-runtime";
10584
10584
  var WfoInlineEdit = ({ value, onlyShowOnHover = false, onSave = () => {
10585
10585
  } }) => {
10586
- const [note, setValue] = useState23(value);
10587
- const [isTooltipVisible, setIsTooltipVisible] = useState23(true);
10586
+ const [note, setValue] = useState24(value);
10587
+ const [isTooltipVisible, setIsTooltipVisible] = useState24(true);
10588
10588
  const handleSave = () => {
10589
10589
  onSave(note.startsWith(INVISIBLE_CHARACTER) ? note.replace(INVISIBLE_CHARACTER, "") : note);
10590
10590
  setIsTooltipVisible(true);
@@ -10765,7 +10765,7 @@ var WfoCustomerDescriptionsField = ({
10765
10765
  };
10766
10766
 
10767
10767
  // src/components/WfoTable/WfoTableSettingsModal/WfoTableSettingsModal.tsx
10768
- import { useState as useState24 } from "react";
10768
+ import { useState as useState25 } from "react";
10769
10769
  import { useTranslations as useTranslations38 } from "next-intl";
10770
10770
  import { EuiForm as EuiForm2, EuiFormRow as EuiFormRow5, EuiHorizontalRule as EuiHorizontalRule4, EuiSelect, EuiSpacer as EuiSpacer17, EuiSwitch as EuiSwitch2 } from "@elastic/eui";
10771
10771
 
@@ -10796,8 +10796,8 @@ var TableSettingsModal = ({
10796
10796
  }) => {
10797
10797
  const t = useTranslations38("main");
10798
10798
  const { formRowStyle, selectFieldStyle } = useWithOrchestratorTheme(getWfoTableSettingsModalStyles);
10799
- const [columns, setColumns] = useState24(tableConfig.columns);
10800
- const [selectedPageSize, setSelectedPageSize] = useState24(tableConfig.selectedPageSize);
10799
+ const [columns, setColumns] = useState25(tableConfig.columns);
10800
+ const [selectedPageSize, setSelectedPageSize] = useState25(tableConfig.selectedPageSize);
10801
10801
  const options = pageSizeOptions.map((pageSizeOption) => ({
10802
10802
  value: pageSizeOption,
10803
10803
  text: pageSizeOption.toString()
@@ -11038,11 +11038,11 @@ var WfoInlineJson = ({ data }) => {
11038
11038
  };
11039
11039
 
11040
11040
  // src/components/WfoTable/WfoRowContextMenu/WfoRowContextMenu.tsx
11041
- import { useEffect as useEffect15, useRef as useRef7, useState as useState25 } from "react";
11041
+ import { useEffect as useEffect15, useRef as useRef7, useState as useState26 } from "react";
11042
11042
  import { EuiButtonIcon as EuiButtonIcon10, EuiContextMenu as EuiContextMenu2, EuiPopover as EuiPopover5 } from "@elastic/eui";
11043
11043
  import { jsx as jsx173 } from "@emotion/react/jsx-runtime";
11044
11044
  var WfoRowContextMenu = ({ items, onOpenContextMenu }) => {
11045
- const [isOpen, setIsOpen] = useState25(false);
11045
+ const [isOpen, setIsOpen] = useState26(false);
11046
11046
  const onOpenContextMenuRef = useRef7(onOpenContextMenu);
11047
11047
  useEffect15(() => {
11048
11048
  if (isOpen) {
@@ -11098,7 +11098,7 @@ var toSortedTableColumnConfig = (columnConfig, columnKeys) => columnKeys.reduce(
11098
11098
  }, {});
11099
11099
 
11100
11100
  // src/components/WfoTable/WfoAdvancedTable/WfoAdvancedTable.tsx
11101
- import { useEffect as useEffect16, useState as useState26 } from "react";
11101
+ import { useEffect as useEffect16, useState as useState27 } from "react";
11102
11102
  import { useTranslations as useTranslations39 } from "next-intl";
11103
11103
  import { EuiButton as EuiButton9, EuiButtonIcon as EuiButtonIcon11, EuiFlexGroup as EuiFlexGroup18, EuiFlexItem as EuiFlexItem15, EuiSpacer as EuiSpacer18, EuiText as EuiText16 } from "@elastic/eui";
11104
11104
  import { Fragment as Fragment34, jsx as jsx175, jsxs as jsxs90 } from "@emotion/react/jsx-runtime";
@@ -11118,10 +11118,10 @@ var WfoAdvancedTable = ({
11118
11118
  ...tableProps
11119
11119
  }) => {
11120
11120
  const { theme } = useOrchestratorTheme();
11121
- const [hiddenColumns, setHiddenColumns] = useState26(defaultHiddenColumns);
11122
- const [showSettingsModal, setShowSettingsModal] = useState26(false);
11123
- const [selectedDataForDetailModal, setSelectedDataForDetailModal] = useState26(void 0);
11124
- const [showSearchModal, setShowSearchModal] = useState26(false);
11121
+ const [hiddenColumns, setHiddenColumns] = useState27(defaultHiddenColumns);
11122
+ const [showSettingsModal, setShowSettingsModal] = useState27(false);
11123
+ const [selectedDataForDetailModal, setSelectedDataForDetailModal] = useState27(void 0);
11124
+ const [showSearchModal, setShowSearchModal] = useState27(false);
11125
11125
  const t = useTranslations39("common");
11126
11126
  useEffect16(() => {
11127
11127
  if (defaultHiddenColumns) {
@@ -11514,12 +11514,12 @@ var WfoIsAllowedToRender = ({ resource, children }) => {
11514
11514
  };
11515
11515
 
11516
11516
  // src/components/WfoDropdownButton/WfoDropdownButton.tsx
11517
- import { useState as useState27 } from "react";
11517
+ import { useState as useState28 } from "react";
11518
11518
  import { EuiButtonGroup, EuiPopover as EuiPopover6 } from "@elastic/eui";
11519
11519
  import { jsx as jsx184 } from "@emotion/react/jsx-runtime";
11520
11520
  var WfoDropdownButton = ({ label, isDisabled = false, children }) => {
11521
- const [isHovered, setIsHovered] = useState27(false);
11522
- const [isPopoverOpen, setPopoverOpen] = useState27(false);
11521
+ const [isHovered, setIsHovered] = useState28(false);
11522
+ const [isPopoverOpen, setPopoverOpen] = useState28(false);
11523
11523
  const buttonOptions = [
11524
11524
  {
11525
11525
  id: "id_1",
@@ -11577,7 +11577,7 @@ import Link13 from "next/link";
11577
11577
  import { useRouter as useRouter17 } from "next/router";
11578
11578
 
11579
11579
  // src/pages/metadata/WfoProductBlocksPage.tsx
11580
- import { useEffect as useEffect17, useState as useState28 } from "react";
11580
+ import { useEffect as useEffect17, useState as useState29 } from "react";
11581
11581
  import { useTranslations as useTranslations42 } from "next-intl";
11582
11582
  import { EuiBadgeGroup as EuiBadgeGroup2 } from "@elastic/eui";
11583
11583
 
@@ -11643,7 +11643,7 @@ var WfoProductBlocksPage = () => {
11643
11643
  const t = useTranslations42("metadata.productBlocks");
11644
11644
  const tError = useTranslations42("errors");
11645
11645
  const { showToastMessage } = useShowToastMessage();
11646
- const [tableDefaults, setTableDefaults] = useState28();
11646
+ const [tableDefaults, setTableDefaults] = useState29();
11647
11647
  const getStoredTableConfig = useStoredTableConfig(
11648
11648
  METADATA_PRODUCT_BLOCKS_TABLE_LOCAL_STORAGE_KEY
11649
11649
  );
@@ -11833,7 +11833,7 @@ var WfoProductBlocksPage = () => {
11833
11833
  };
11834
11834
 
11835
11835
  // src/pages/metadata/WfoResourceTypesPage.tsx
11836
- import { useEffect as useEffect18, useState as useState29 } from "react";
11836
+ import { useEffect as useEffect18, useState as useState30 } from "react";
11837
11837
  import { useTranslations as useTranslations43 } from "next-intl";
11838
11838
  import { EuiBadgeGroup as EuiBadgeGroup3 } from "@elastic/eui";
11839
11839
  import { Fragment as Fragment39, jsx as jsx188, jsxs as jsxs93 } from "@emotion/react/jsx-runtime";
@@ -11842,7 +11842,7 @@ var WfoResourceTypesPage = () => {
11842
11842
  const t = useTranslations43("metadata.resourceTypes");
11843
11843
  const tError = useTranslations43("errors");
11844
11844
  const { showToastMessage } = useShowToastMessage();
11845
- const [tableDefaults, setTableDefaults] = useState29();
11845
+ const [tableDefaults, setTableDefaults] = useState30();
11846
11846
  const getStoredTableConfig = useStoredTableConfig(
11847
11847
  METADATA_RESOURCE_TYPES_TABLE_LOCAL_STORAGE_KEY
11848
11848
  );
@@ -11983,11 +11983,11 @@ var WfoResourceTypesPage = () => {
11983
11983
  };
11984
11984
 
11985
11985
  // src/pages/metadata/WfoProductsPage.tsx
11986
- import { useEffect as useEffect19, useState as useState31 } from "react";
11986
+ import { useEffect as useEffect19, useState as useState32 } from "react";
11987
11987
  import { useTranslations as useTranslations44 } from "next-intl";
11988
11988
 
11989
11989
  // src/components/WfoMetadata/WfoMetadataStatusField.tsx
11990
- import { useState as useState30 } from "react";
11990
+ import { useState as useState31 } from "react";
11991
11991
  import { EuiButtonEmpty as EuiButtonEmpty6 } from "@elastic/eui";
11992
11992
 
11993
11993
  // src/components/WfoPopover/WfoPopover.tsx
@@ -12011,7 +12011,7 @@ var WfoPopover = ({ id, isLoading, PopoverContent, button, isPopoverOpen, closeP
12011
12011
  // src/components/WfoMetadata/WfoMetadataStatusField.tsx
12012
12012
  import { jsx as jsx190 } from "@emotion/react/jsx-runtime";
12013
12013
  var WfoMetadataStatusField = ({ onSave, currentStatus }) => {
12014
- const [isPopoverOpen, setPopover] = useState30(false);
12014
+ const [isPopoverOpen, setPopover] = useState31(false);
12015
12015
  const onButtonClick = () => setPopover(!isPopoverOpen);
12016
12016
  const button = /* @__PURE__ */ jsx190(EuiButtonEmpty6, { iconType: "arrowDown", iconSide: "right", onClick: onButtonClick, color: "text", children: /* @__PURE__ */ jsx190(WfoProductStatusBadge, { status: currentStatus }) });
12017
12017
  const wrappedButton = /* @__PURE__ */ jsx190(
@@ -12055,7 +12055,7 @@ var WfoProductsPage = () => {
12055
12055
  const t = useTranslations44("metadata.products");
12056
12056
  const tError = useTranslations44("errors");
12057
12057
  const { showToastMessage } = useShowToastMessage();
12058
- const [tableDefaults, setTableDefaults] = useState31();
12058
+ const [tableDefaults, setTableDefaults] = useState32();
12059
12059
  const getStoredTableConfig = useStoredTableConfig(METADATA_PRODUCT_TABLE_LOCAL_STORAGE_KEY);
12060
12060
  const [updateProductDescription] = useUpdateProductDescriptionMutation();
12061
12061
  const [updateProductStatus] = useUpdateProductStatusMutation();
@@ -12237,7 +12237,7 @@ var WfoProductsPage = () => {
12237
12237
  };
12238
12238
 
12239
12239
  // src/pages/metadata/WfoWorkflowsPage.tsx
12240
- import { useEffect as useEffect20, useState as useState32 } from "react";
12240
+ import { useEffect as useEffect20, useState as useState33 } from "react";
12241
12241
  import { useTranslations as useTranslations45 } from "next-intl";
12242
12242
  import { EuiBadgeGroup as EuiBadgeGroup4 } from "@elastic/eui";
12243
12243
 
@@ -12273,7 +12273,7 @@ var WfoWorkflowsPage = () => {
12273
12273
  const t = useTranslations45("metadata.workflows");
12274
12274
  const tError = useTranslations45("errors");
12275
12275
  const { showToastMessage } = useShowToastMessage();
12276
- const [tableDefaults, setTableDefaults] = useState32();
12276
+ const [tableDefaults, setTableDefaults] = useState33();
12277
12277
  const getStoredTableConfig = useStoredTableConfig(METADATA_WORKFLOWS_TABLE_LOCAL_STORAGE_KEY);
12278
12278
  const [updateWorkflow] = useUpdateWorkflowMutation();
12279
12279
  useEffect20(() => {
@@ -12431,7 +12431,7 @@ var WfoWorkflowsPage = () => {
12431
12431
  };
12432
12432
 
12433
12433
  // src/pages/metadata/WfoTasksPage.tsx
12434
- import { useEffect as useEffect21, useState as useState33 } from "react";
12434
+ import { useEffect as useEffect21, useState as useState34 } from "react";
12435
12435
  import { useTranslations as useTranslations46 } from "next-intl";
12436
12436
  import { useRouter as useRouter8 } from "next/router";
12437
12437
  import { EuiBadgeGroup as EuiBadgeGroup5, EuiButtonIcon as EuiButtonIcon12, EuiContextMenuItem as EuiContextMenuItem3 } from "@elastic/eui";
@@ -12468,7 +12468,7 @@ var graphQlTaskListMapper = ({ field, order }) => ({
12468
12468
  // src/pages/metadata/WfoTasksPage.tsx
12469
12469
  import { Fragment as Fragment42, jsx as jsx193, jsxs as jsxs96 } from "@emotion/react/jsx-runtime";
12470
12470
  var ScheduleTaskPopoverMenu = ({ workflowId }) => {
12471
- const [isPopoverOpen, setIsPopoverOpen] = useState33(false);
12471
+ const [isPopoverOpen, setIsPopoverOpen] = useState34(false);
12472
12472
  const button = /* @__PURE__ */ jsx193(
12473
12473
  EuiButtonIcon12,
12474
12474
  {
@@ -12512,7 +12512,7 @@ var WfoTasksPage = () => {
12512
12512
  const t = useTranslations46("metadata.tasks");
12513
12513
  const tError = useTranslations46("errors");
12514
12514
  const { showToastMessage } = useShowToastMessage();
12515
- const [tableDefaults, setTableDefaults] = useState33();
12515
+ const [tableDefaults, setTableDefaults] = useState34();
12516
12516
  const getStoredTableConfig = useStoredTableConfig(METADATA_TASKS_TABLE_LOCAL_STORAGE_KEY);
12517
12517
  const [updateWorkflow] = useUpdateWorkflowMutation();
12518
12518
  useEffect21(() => {
@@ -12684,7 +12684,7 @@ var WfoTasksPage = () => {
12684
12684
  };
12685
12685
 
12686
12686
  // src/pages/metadata/WfoScheduledTasksPage.tsx
12687
- import { useEffect as useEffect22, useState as useState34 } from "react";
12687
+ import { useEffect as useEffect22, useState as useState35 } from "react";
12688
12688
  import { useTranslations as useTranslations47 } from "next-intl";
12689
12689
  import { useRouter as useRouter9 } from "next/router";
12690
12690
  import { EuiButton as EuiButton10, EuiFlexGroup as EuiFlexGroup19, EuiFlexItem as EuiFlexItem16 } from "@elastic/eui";
@@ -12699,7 +12699,7 @@ var WfoScheduledTasksPage = () => {
12699
12699
  const tError = useTranslations47("errors");
12700
12700
  const { showToastMessage } = useShowToastMessage();
12701
12701
  const router = useRouter9();
12702
- const [tableDefaults, setTableDefaults] = useState34();
12702
+ const [tableDefaults, setTableDefaults] = useState35();
12703
12703
  const [deleteScheduledTask, mutationState] = useDeleteScheduledTaskMutation();
12704
12704
  const getStoredTableConfig = useStoredTableConfig(METADATA_SCHEDULES_LOCAL_STORAGE_KEY);
12705
12705
  if (mutationState.isError) {
@@ -13486,7 +13486,7 @@ var WfoProcessDetailPage = ({ processId }) => {
13486
13486
  };
13487
13487
 
13488
13488
  // src/pages/processes/WfoStartProcessPage.tsx
13489
- import { useMemo as useMemo6, useState as useState40 } from "react";
13489
+ import { useMemo as useMemo6, useState as useState41 } from "react";
13490
13490
  import { useTranslations as useTranslations59 } from "next-intl";
13491
13491
  import { useRouter as useRouter13 } from "next/router";
13492
13492
  import { EuiFlexGroup as EuiFlexGroup26, EuiFlexItem as EuiFlexItem21, EuiHorizontalRule as EuiHorizontalRule7, EuiPanel as EuiPanel5, EuiText as EuiText23 } from "@elastic/eui";
@@ -13568,7 +13568,7 @@ var WfoPydanticForm = ({ processName, startProcessPayload, isTask }) => {
13568
13568
  };
13569
13569
 
13570
13570
  // src/components/WfoWorkflowSteps/WfoStep/WfoStep.tsx
13571
- import React63, { useCallback as useCallback11, useState as useState36 } from "react";
13571
+ import React63, { useCallback as useCallback11, useState as useState37 } from "react";
13572
13572
  import { useTranslations as useTranslations54 } from "next-intl";
13573
13573
  import { EuiFlexGroup as EuiFlexGroup23, EuiFlexItem as EuiFlexItem19, EuiPanel as EuiPanel4, EuiText as EuiText18 } from "@elastic/eui";
13574
13574
 
@@ -13754,7 +13754,7 @@ var getStepContent = (stepDelta, showHiddenKeys) => {
13754
13754
  };
13755
13755
 
13756
13756
  // src/components/WfoWorkflowSteps/WfoStep/WfoCodeViewSelector.tsx
13757
- import { useCallback as useCallback9, useState as useState35 } from "react";
13757
+ import { useCallback as useCallback9, useState as useState36 } from "react";
13758
13758
  import { useTranslations as useTranslations52 } from "next-intl";
13759
13759
  import { EuiButtonGroup as EuiButtonGroup2 } from "@elastic/eui";
13760
13760
  import { jsx as jsx203 } from "@emotion/react/jsx-runtime";
@@ -13762,7 +13762,7 @@ var WfoCodeViewSelector = ({ codeView, handleCodeViewChange }) => {
13762
13762
  const t = useTranslations52("processes.steps");
13763
13763
  const { theme, toSecondaryColor } = useOrchestratorTheme();
13764
13764
  const isSelected = (buttonView) => buttonView === codeView;
13765
- const [showTooltips, setShowTooltips] = useState35(true);
13765
+ const [showTooltips, setShowTooltips] = useState36(true);
13766
13766
  const codeViewOptions = [
13767
13767
  {
13768
13768
  id: "json" /* JSON */,
@@ -13914,7 +13914,7 @@ var WfoStep = React63.forwardRef(
13914
13914
  userPermissions
13915
13915
  }, ref) => {
13916
13916
  const { isExpanded, step, userInputForm } = stepListItem;
13917
- const [codeView, setCodeView] = useState36("json" /* JSON */);
13917
+ const [codeView, setCodeView] = useState37("json" /* JSON */);
13918
13918
  const { theme } = useOrchestratorTheme();
13919
13919
  const {
13920
13920
  stepEmailContainerStyle,
@@ -14081,11 +14081,11 @@ var WfoStepList = React64.forwardRef(
14081
14081
  WfoStepList.displayName = "WfoStepList";
14082
14082
 
14083
14083
  // src/components/WfoWorkflowSteps/WfoWorkflowStepList/WfoWorkflowStepList.tsx
14084
- import React66, { useEffect as useEffect26, useState as useState38 } from "react";
14084
+ import React66, { useEffect as useEffect26, useState as useState39 } from "react";
14085
14085
  import { useTranslations as useTranslations57 } from "next-intl";
14086
14086
 
14087
14087
  // src/components/WfoDiff/WfoDiff.tsx
14088
- import { useCallback as useCallback12, useEffect as useEffect25, useMemo as useMemo5, useState as useState37 } from "react";
14088
+ import { useCallback as useCallback12, useEffect as useEffect25, useMemo as useMemo5, useState as useState38 } from "react";
14089
14089
  import { Diff, Hunk, parseDiff, tokenize } from "react-diff-view";
14090
14090
  import "react-diff-view/style/index.css";
14091
14091
  import { useTranslations as useTranslations55 } from "next-intl";
@@ -14144,10 +14144,10 @@ var getSubscriptionDiffTexts = (data) => {
14144
14144
  };
14145
14145
  var WfoDiff = ({ oldText, newText, syntax }) => {
14146
14146
  const t = useTranslations55("processes.delta");
14147
- const [showSplit, setShowSplit] = useState37(true);
14148
- const [showFull, setShowFull] = useState37(false);
14147
+ const [showSplit, setShowSplit] = useState38(true);
14148
+ const [showFull, setShowFull] = useState38(false);
14149
14149
  const { diffStyle } = useWithOrchestratorTheme(getWfoDiffStyles);
14150
- const [{ type, hunks }, setDiff] = useState37({
14150
+ const [{ type, hunks }, setDiff] = useState38({
14151
14151
  type: "modify",
14152
14152
  hunks: []
14153
14153
  });
@@ -14255,16 +14255,16 @@ var WfoProcessSubscriptionDelta = ({ processId }) => {
14255
14255
  };
14256
14256
  var WfoWorkflowStepList = React66.forwardRef(
14257
14257
  ({ steps = [], lastStatus, traceBack, processId, isTask, userInputForm, userPermissions }, reference) => {
14258
- const [showHiddenKeys, setShowHiddenKeys] = useState38(false);
14259
- const [showRaw, setShowRaw] = useState38(false);
14260
- const [showDelta, setShowDelta] = useState38(false);
14261
- const [showTraceback, setShowTraceback] = useState38(false);
14258
+ const [showHiddenKeys, setShowHiddenKeys] = useState39(false);
14259
+ const [showRaw, setShowRaw] = useState39(false);
14260
+ const [showDelta, setShowDelta] = useState39(false);
14261
+ const [showTraceback, setShowTraceback] = useState39(false);
14262
14262
  const t = useTranslations57("processes.steps");
14263
14263
  const initialStepListItems = steps.map((step) => ({
14264
14264
  step,
14265
14265
  isExpanded: false
14266
14266
  }));
14267
- const [stepListItems, setStepListItems] = useState38(initialStepListItems);
14267
+ const [stepListItems, setStepListItems] = useState39(initialStepListItems);
14268
14268
  const persistStepListItemState = (previousStepListItems, updatedSteps, userInputForm2) => {
14269
14269
  const reversedSteps = [...updatedSteps].reverse();
14270
14270
  const lastStepWithSuspendStatusStepId = reversedSteps.find((step) => step.status === "suspend" /* SUSPEND */)?.stepId;
@@ -14348,7 +14348,7 @@ var WfoWorkflowStepList = React66.forwardRef(
14348
14348
  WfoWorkflowStepList.displayName = "WfoWorkflowStepList";
14349
14349
 
14350
14350
  // src/components/WfoWorkflowSteps/WfoWorkflowStepList/WfoStepListHeader.tsx
14351
- import { useState as useState39 } from "react";
14351
+ import { useState as useState40 } from "react";
14352
14352
  import { useTranslations as useTranslations58 } from "next-intl";
14353
14353
  import { EuiButton as EuiButton14, EuiFlexGroup as EuiFlexGroup25, EuiForm as EuiForm3, EuiFormRow as EuiFormRow6, EuiPopover as EuiPopover8, EuiSwitch as EuiSwitch3, EuiText as EuiText22 } from "@elastic/eui";
14354
14354
 
@@ -14398,7 +14398,7 @@ var WfoStepListHeader = ({
14398
14398
  const t = useTranslations58("processes.steps");
14399
14399
  const { theme } = useOrchestratorTheme();
14400
14400
  const { stepListHeaderStyle, stepListContentStyle, stepListContentBoldTextStyle, stepListOptionsContainerStyle } = useWithOrchestratorTheme(getWorkflowStepsStyles);
14401
- const [isViewOptionOpen, setIsViewOptionOpen] = useState39(false);
14401
+ const [isViewOptionOpen, setIsViewOptionOpen] = useState40(false);
14402
14402
  const onViewOptionClick = () => setIsViewOptionOpen((isViewOptionOpen2) => !isViewOptionOpen2);
14403
14403
  const closeViewOption = () => setIsViewOptionOpen(false);
14404
14404
  const viewOptionButton = /* @__PURE__ */ jsx212(
@@ -14477,7 +14477,7 @@ var getInitialProcessPayload = ({
14477
14477
  var WfoStartProcessPage = ({ processName, isTask = false }) => {
14478
14478
  const t = useTranslations59("processes.steps");
14479
14479
  const router = useRouter13();
14480
- const [hasError, setHasError] = useState40(false);
14480
+ const [hasError, setHasError] = useState41(false);
14481
14481
  const { theme } = useOrchestratorTheme();
14482
14482
  const { productId, subscriptionId } = router.query;
14483
14483
  const {
@@ -14780,14 +14780,14 @@ var WfoSubscriptionDetailPage = () => {
14780
14780
  };
14781
14781
 
14782
14782
  // src/pages/subscriptions/WfoSubscriptionsListPage.tsx
14783
- import { useEffect as useEffect27, useState as useState41 } from "react";
14783
+ import { useEffect as useEffect27, useState as useState42 } from "react";
14784
14784
  import { useTranslations as useTranslations64 } from "next-intl";
14785
14785
  import { StringParam as StringParam4, useQueryParam as useQueryParam3, withDefault as withDefault4 } from "use-query-params";
14786
14786
  import { EuiSpacer as EuiSpacer24 } from "@elastic/eui";
14787
14787
  import { Fragment as Fragment53, jsx as jsx219, jsxs as jsxs115 } from "@emotion/react/jsx-runtime";
14788
14788
  var WfoSubscriptionsListPage = () => {
14789
14789
  const t = useTranslations64("subscriptions.detail");
14790
- const [tableDefaults, setTableDefaults] = useState41();
14790
+ const [tableDefaults, setTableDefaults] = useState42();
14791
14791
  const getStoredTableConfig = useStoredTableConfig(SUBSCRIPTIONS_TABLE_LOCAL_STORAGE_KEY);
14792
14792
  useEffect27(() => {
14793
14793
  const storedConfig = getStoredTableConfig();
@@ -14840,7 +14840,7 @@ var WfoSubscriptionsListPage = () => {
14840
14840
  };
14841
14841
 
14842
14842
  // src/pages/tasks/WfoTasksListPage.tsx
14843
- import { useContext as useContext10, useEffect as useEffect28, useState as useState42 } from "react";
14843
+ import { useContext as useContext10, useEffect as useEffect28, useState as useState43 } from "react";
14844
14844
  import { useTranslations as useTranslations65 } from "next-intl";
14845
14845
  import Link12 from "next/link";
14846
14846
  import { useRouter as useRouter15 } from "next/router";
@@ -14915,7 +14915,7 @@ var WfoTasksListPage = () => {
14915
14915
  const router = useRouter15();
14916
14916
  const t = useTranslations65("tasks.page");
14917
14917
  const [activeTab, setActiveTab] = useQueryParam4("activeTab", withDefault5(StringParam5, "ACTIVE" /* ACTIVE */));
14918
- const [tableDefaults, setTableDefaults] = useState42();
14918
+ const [tableDefaults, setTableDefaults] = useState43();
14919
14919
  const selectedTasksListTab = getTasksListTabTypeFromString(activeTab);
14920
14920
  const localStorageKey = selectedTasksListTab === "ACTIVE" /* ACTIVE */ ? ACTIVE_TASKS_LIST_TABLE_LOCAL_STORAGE_KEY : COMPLETED_TASKS_LIST_TABLE_LOCAL_STORAGE_KEY;
14921
14921
  const getStoredTableConfig = useStoredTableConfig(localStorageKey);
@@ -15016,7 +15016,7 @@ var WfoTasksListPage = () => {
15016
15016
  };
15017
15017
 
15018
15018
  // src/pages/workflows/WfoWorkflowsListPage.tsx
15019
- import { useEffect as useEffect29, useState as useState43 } from "react";
15019
+ import { useEffect as useEffect29, useState as useState44 } from "react";
15020
15020
  import { useTranslations as useTranslations66 } from "next-intl";
15021
15021
  import { useRouter as useRouter16 } from "next/router";
15022
15022
  import { StringParam as StringParam6, useQueryParam as useQueryParam5, withDefault as withDefault6 } from "use-query-params";
@@ -15093,7 +15093,7 @@ var WfoWorkflowsListPage = () => {
15093
15093
  "activeTab",
15094
15094
  withDefault6(StringParam6, "ACTIVE" /* ACTIVE */)
15095
15095
  );
15096
- const [tableDefaults, setTableDefaults] = useState43();
15096
+ const [tableDefaults, setTableDefaults] = useState44();
15097
15097
  const selectedWorkflowsListTab = getWorkflowsListTabTypeFromString(activeTab);
15098
15098
  const localStorageKey = selectedWorkflowsListTab === "ACTIVE" /* ACTIVE */ ? ACTIVE_PROCESSES_LIST_TABLE_LOCAL_STORAGE_KEY : COMPLETED_PROCESSES_LIST_TABLE_LOCAL_STORAGE_KEY;
15099
15099
  const getStoredTableConfig = useStoredTableConfig(localStorageKey);
@@ -15147,7 +15147,7 @@ var WfoWorkflowsListPage = () => {
15147
15147
  };
15148
15148
 
15149
15149
  // src/components/WfoProcessList/WfoProcessListDeltaPopover.tsx
15150
- import { useState as useState44 } from "react";
15150
+ import { useState as useState45 } from "react";
15151
15151
  import { useTranslations as useTranslations67 } from "next-intl";
15152
15152
  import { EuiButtonIcon as EuiButtonIcon15, EuiLoadingSpinner as EuiLoadingSpinner5, EuiPanel as EuiPanel8, EuiPopover as EuiPopover9 } from "@elastic/eui";
15153
15153
 
@@ -15183,7 +15183,7 @@ var WfoProcessListDeltaPopover = ({ processListItem }) => {
15183
15183
  getWfoProcessListDeltaPopoverStyles
15184
15184
  );
15185
15185
  const t = useTranslations67("processes.steps");
15186
- const [isPopoverOpen, setPopoverOpen] = useState44(false);
15186
+ const [isPopoverOpen, setPopoverOpen] = useState45(false);
15187
15187
  const { processId, workflowTarget } = processListItem;
15188
15188
  const { data, isFetching } = useGetRawProcessDetailQuery({ processId }, { skip: !isPopoverOpen });
15189
15189
  if (workflowTarget.toUpperCase() !== "modify" /* MODIFY */.toUpperCase()) {
@@ -15547,7 +15547,7 @@ var WfoJsonCodeBlock = ({ data, isBasicStyle = false }) => {
15547
15547
  };
15548
15548
 
15549
15549
  // src/components/WfoSettings/WfoFlushSettings.tsx
15550
- import { useState as useState45 } from "react";
15550
+ import { useState as useState46 } from "react";
15551
15551
  import { useTranslations as useTranslations69 } from "next-intl";
15552
15552
  import { EuiButton as EuiButton17, EuiComboBox, EuiPanel as EuiPanel9, EuiSpacer as EuiSpacer27, EuiText as EuiText27 } from "@elastic/eui";
15553
15553
 
@@ -15580,7 +15580,7 @@ var WfoFlushSettings = () => {
15580
15580
  const { comboboxStyle } = useWithOrchestratorTheme(getWfoFlushSettingsStyle);
15581
15581
  const [clearCache] = useClearCacheMutation();
15582
15582
  const t = useTranslations69("settings.page");
15583
- const [selectedOptions, setSelected] = useState45([]);
15583
+ const [selectedOptions, setSelected] = useState46([]);
15584
15584
  const { showToastMessage } = useShowToastMessage();
15585
15585
  const onChange = (selectedOptions2) => {
15586
15586
  setSelected(selectedOptions2);
@@ -16648,11 +16648,11 @@ var WfoTitleWithWebsocketBadge = ({ title, wsUrl = void 0 }) => {
16648
16648
  };
16649
16649
 
16650
16650
  // src/components/WfoRadioDropdown/WfoRadioDropdown.tsx
16651
- import { useState as useState46 } from "react";
16651
+ import { useState as useState47 } from "react";
16652
16652
  import { EuiButtonEmpty as EuiButtonEmpty7, EuiFlexGroup as EuiFlexGroup34, EuiPopover as EuiPopover10, EuiRadioGroup as EuiRadioGroup2 } from "@elastic/eui";
16653
16653
  import { jsx as jsx249 } from "@emotion/react/jsx-runtime";
16654
16654
  var WfoRadioDropdown = ({ options, onUpdateOption, selectedOption }) => {
16655
- const [isOpen, setIsOpen] = useState46(false);
16655
+ const [isOpen, setIsOpen] = useState47(false);
16656
16656
  const handleClose = () => {
16657
16657
  if (isOpen) {
16658
16658
  setIsOpen(false);
@@ -16824,11 +16824,11 @@ var WfoSubscriptionDetailNoteEdit = ({
16824
16824
  };
16825
16825
 
16826
16826
  // src/components/WfoInlineNoteEdit/WfoProcessListNoteEdit.tsx
16827
- import { useEffect as useEffect30, useState as useState47 } from "react";
16827
+ import { useEffect as useEffect30, useState as useState48 } from "react";
16828
16828
  import { jsx as jsx252 } from "@emotion/react/jsx-runtime";
16829
16829
  var WfoProcessListNoteEdit = ({ processId, note }) => {
16830
16830
  const [patchProcess] = usePatchProcessMutation();
16831
- const [noteValue, setNoteValue] = useState47(note);
16831
+ const [noteValue, setNoteValue] = useState48(note);
16832
16832
  useEffect30(() => {
16833
16833
  if (note !== noteValue) {
16834
16834
  setNoteValue(note);
@@ -16875,7 +16875,7 @@ var WfoTableCodeBlock = ({ stepState: data }) => {
16875
16875
  };
16876
16876
 
16877
16877
  // src/components/WfoSearchPage/WfoSearch/WfoSearch.tsx
16878
- import { useEffect as useEffect34, useState as useState52 } from "react";
16878
+ import { useEffect as useEffect34, useState as useState53 } from "react";
16879
16879
  import { useTranslations as useTranslations83 } from "next-intl";
16880
16880
  import {
16881
16881
  EuiButton as EuiButton21,
@@ -16892,9 +16892,9 @@ import {
16892
16892
  } from "@elastic/eui";
16893
16893
 
16894
16894
  // src/hooks/useDebounce.ts
16895
- import { useEffect as useEffect31, useState as useState48 } from "react";
16895
+ import { useEffect as useEffect31, useState as useState49 } from "react";
16896
16896
  function useDebounce(value, delay) {
16897
- const [debouncedValue, setDebouncedValue] = useState48(value);
16897
+ const [debouncedValue, setDebouncedValue] = useState49(value);
16898
16898
  useEffect31(() => {
16899
16899
  if (delay <= 0) {
16900
16900
  setDebouncedValue(value);
@@ -16911,9 +16911,9 @@ function useDebounce(value, delay) {
16911
16911
  }
16912
16912
 
16913
16913
  // src/hooks/useSearch.ts
16914
- import { useEffect as useEffect32, useState as useState49 } from "react";
16914
+ import { useEffect as useEffect32, useState as useState50 } from "react";
16915
16915
  var useSearch = (query, entityType, filterGroup, limit, retriever = "auto" /* Auto */) => {
16916
- const [results, setResults] = useState49({
16916
+ const [results, setResults] = useState50({
16917
16917
  data: [],
16918
16918
  page_info: { has_next_page: false, next_page_cursor: null },
16919
16919
  search_metadata: { search_type: null, description: null }
@@ -16970,12 +16970,12 @@ var useSearch = (query, entityType, filterGroup, limit, retriever = "auto" /* Au
16970
16970
  };
16971
16971
 
16972
16972
  // src/hooks/useSearchPagination.ts
16973
- import { useCallback as useCallback13, useState as useState50 } from "react";
16973
+ import { useCallback as useCallback13, useState as useState51 } from "react";
16974
16974
  var useSearchPagination = (debouncedQuery, selectedEntityTab, filterGroup, pageSize, results, setResults, retriever) => {
16975
- const [currentPage, setCurrentPage] = useState50(1);
16976
- const [pageHistory, setPageHistory] = useState50([]);
16977
- const [error, setError] = useState50(null);
16978
- const [isLoadingMore, setIsLoadingMore] = useState50(false);
16975
+ const [currentPage, setCurrentPage] = useState51(1);
16976
+ const [pageHistory, setPageHistory] = useState51([]);
16977
+ const [error, setError] = useState51(null);
16978
+ const [isLoadingMore, setIsLoadingMore] = useState51(false);
16979
16979
  const [triggerSearchPagination] = useSearchWithPaginationMutation();
16980
16980
  const handleNextPage = useCallback13(
16981
16981
  async (nextPageCursor) => {
@@ -17068,7 +17068,7 @@ var useSearchPagination = (debouncedQuery, selectedEntityTab, filterGroup, pageS
17068
17068
  };
17069
17069
 
17070
17070
  // src/hooks/useUrlParams.ts
17071
- import { useCallback as useCallback14, useEffect as useEffect33, useState as useState51 } from "react";
17071
+ import { useCallback as useCallback14, useEffect as useEffect33, useState as useState52 } from "react";
17072
17072
 
17073
17073
  // src/components/WfoSearchPage/constants.ts
17074
17074
  var DEFAULT_PAGE_SIZE2 = 5;
@@ -17083,28 +17083,28 @@ var DEFAULT_ENTITY_TAB = "SUBSCRIPTION";
17083
17083
 
17084
17084
  // src/hooks/useUrlParams.ts
17085
17085
  var useUrlParams = () => {
17086
- const [urlParams, setUrlParams] = useState51(() => {
17086
+ const [urlParams, setUrlParams] = useState52(() => {
17087
17087
  if (typeof window !== "undefined") {
17088
17088
  return new URLSearchParams(window.location.search);
17089
17089
  }
17090
17090
  return new URLSearchParams();
17091
17091
  });
17092
- const [query, setQuery] = useState51(() => {
17092
+ const [query, setQuery] = useState52(() => {
17093
17093
  const queryParam = urlParams.get("q");
17094
17094
  return queryParam || "";
17095
17095
  });
17096
- const [selectedEntityTab, setSelectedEntityTab] = useState51(() => {
17096
+ const [selectedEntityTab, setSelectedEntityTab] = useState52(() => {
17097
17097
  const tabParam = urlParams.get("tab");
17098
17098
  return tabParam && VALID_ENTITY_TYPES.includes(tabParam) ? tabParam : DEFAULT_ENTITY_TAB;
17099
17099
  });
17100
- const [showFilters, setShowFilters] = useState51(() => {
17100
+ const [showFilters, setShowFilters] = useState52(() => {
17101
17101
  return urlParams.get("filters") === "true";
17102
17102
  });
17103
- const [selectedRecordIndex, setSelectedRecordIndex] = useState51(() => {
17103
+ const [selectedRecordIndex, setSelectedRecordIndex] = useState52(() => {
17104
17104
  const indexParam = urlParams.get("selected");
17105
17105
  return indexParam ? parseInt(indexParam, 10) || 0 : 0;
17106
17106
  });
17107
- const [selectedRecordId, setSelectedRecordId] = useState51(() => {
17107
+ const [selectedRecordId, setSelectedRecordId] = useState52(() => {
17108
17108
  return urlParams.get("id") || null;
17109
17109
  });
17110
17110
  const updateUrl = useCallback14(() => {
@@ -17166,12 +17166,12 @@ var WfoSearch = () => {
17166
17166
  setSelectedRecordId
17167
17167
  } = useUrlParams();
17168
17168
  const pageSize = DEFAULT_PAGE_SIZE2;
17169
- const [filterGroup, setFilterGroup] = useState52({
17169
+ const [filterGroup, setFilterGroup] = useState53({
17170
17170
  op: "AND",
17171
17171
  children: []
17172
17172
  });
17173
- const [showDetailPanel, setShowDetailPanel] = useState52(false);
17174
- const [retrieverType, setRetrieverType] = useState52("auto" /* Auto */);
17173
+ const [showDetailPanel, setShowDetailPanel] = useState53(false);
17174
+ const [retrieverType, setRetrieverType] = useState53("auto" /* Auto */);
17175
17175
  const debouncedQuery = useDebounce(query, DEFAULT_DEBOUNCE_DELAY);
17176
17176
  const { results, loading, setResults } = useSearch(
17177
17177
  debouncedQuery,
@@ -17180,7 +17180,7 @@ var WfoSearch = () => {
17180
17180
  pageSize,
17181
17181
  retrieverType
17182
17182
  );
17183
- const [hasSearchBeenAttempted, setHasSearchBeenAttempted] = useState52(false);
17183
+ const [hasSearchBeenAttempted, setHasSearchBeenAttempted] = useState53(false);
17184
17184
  useEffect34(() => {
17185
17185
  const queryText = typeof debouncedQuery === "string" ? debouncedQuery : debouncedQuery?.text?.trim() || "";
17186
17186
  const hasFilters = filterGroup && filterGroup.children.length > 0;
@@ -17191,7 +17191,7 @@ var WfoSearch = () => {
17191
17191
  }
17192
17192
  }, [debouncedQuery, filterGroup]);
17193
17193
  const { currentPage, error, isLoadingMore, handleNextPage, handlePrevPage, resetPagination, setError } = useSearchPagination(debouncedQuery, selectedEntityTab, filterGroup, pageSize, results, setResults, retrieverType);
17194
- const [searchValue, setSearchValue] = useState52(() => {
17194
+ const [searchValue, setSearchValue] = useState53(() => {
17195
17195
  if (typeof query === "string") {
17196
17196
  return query;
17197
17197
  }
@@ -17716,12 +17716,12 @@ import {
17716
17716
  } from "@elastic/eui";
17717
17717
 
17718
17718
  // src/components/WfoSearchPage/WfoConditionRow/WfoConditionRow.tsx
17719
- import { useState as useState54 } from "react";
17719
+ import { useState as useState55 } from "react";
17720
17720
  import { useTranslations as useTranslations93 } from "next-intl";
17721
17721
  import { EuiButtonIcon as EuiButtonIcon18, EuiFlexGroup as EuiFlexGroup46, EuiFlexItem as EuiFlexItem43, EuiFormRow as EuiFormRow8, EuiPanel as EuiPanel20 } from "@elastic/eui";
17722
17722
 
17723
17723
  // src/hooks/usePathAutoComplete.ts
17724
- import { useEffect as useEffect36, useState as useState53 } from "react";
17724
+ import { useEffect as useEffect36, useState as useState54 } from "react";
17725
17725
  var FALLBACK_DEFINITIONS = {
17726
17726
  string: {
17727
17727
  operators: ["eq", "neq"],
@@ -17761,7 +17761,7 @@ var FALLBACK_DEFINITIONS = {
17761
17761
  }
17762
17762
  };
17763
17763
  var usePathAutocomplete = (prefix, entityType) => {
17764
- const [paths, setPaths] = useState53([]);
17764
+ const [paths, setPaths] = useState54([]);
17765
17765
  const debouncedPrefix = useDebounce(prefix, 300);
17766
17766
  const { data: definitions = FALLBACK_DEFINITIONS, isError: defError } = useSearchDefinitionsQuery();
17767
17767
  const {
@@ -18396,9 +18396,9 @@ import { jsx as jsx270, jsxs as jsxs140 } from "@emotion/react/jsx-runtime";
18396
18396
  var ConditionRow = ({ condition, entityType, onChange, onRemove }) => {
18397
18397
  const t = useTranslations93("search.page");
18398
18398
  const { theme } = useOrchestratorTheme();
18399
- const [searchValue, setSearchValue] = useState54(condition.path);
18400
- const [showPathSelection, setShowPathSelection] = useState54(false);
18401
- const [selectedFieldName, setSelectedFieldName] = useState54("");
18399
+ const [searchValue, setSearchValue] = useState55(condition.path);
18400
+ const [showPathSelection, setShowPathSelection] = useState55(false);
18401
+ const [selectedFieldName, setSelectedFieldName] = useState55("");
18402
18402
  const { paths, loading, error } = usePathAutocomplete(searchValue, entityType);
18403
18403
  const selectedPathInfo = (() => {
18404
18404
  if (!condition.path) return null;
@@ -18722,7 +18722,7 @@ var FilterGroup = ({
18722
18722
  };
18723
18723
 
18724
18724
  // src/components/WfoMonacoCodeBlock/WfoMonacoCodeBlock.tsx
18725
- import { useCallback as useCallback15, useEffect as useEffect37, useState as useState55 } from "react";
18725
+ import { useCallback as useCallback15, useEffect as useEffect37, useState as useState56 } from "react";
18726
18726
  import { EuiFlexItem as EuiFlexItem45 } from "@elastic/eui";
18727
18727
  import Editor from "@monaco-editor/react";
18728
18728
 
@@ -18749,9 +18749,9 @@ var MONACO_THEME = {
18749
18749
  var WfoMonacoCodeBlock = ({ data }) => {
18750
18750
  const { theme, isDarkModeActive } = useOrchestratorTheme();
18751
18751
  const { monacoEditorStyle } = useWithOrchestratorTheme(getStyles15);
18752
- const [monacoInstance, setMonacoInstance] = useState55(void 0);
18752
+ const [monacoInstance, setMonacoInstance] = useState56(void 0);
18753
18753
  const json = JSON.stringify(data, null, 4);
18754
- const [editorHeight, setEditorHeight] = useState55(0);
18754
+ const [editorHeight, setEditorHeight] = useState56(0);
18755
18755
  const addThemeToEditor = useCallback15(
18756
18756
  (monaco) => {
18757
18757
  monaco.editor.defineTheme("wfoTheme", {