@orchestrator-ui/orchestrator-ui-components 8.7.3 → 8.8.1

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.
Files changed (40) hide show
  1. package/.turbo/turbo-build.log +8 -8
  2. package/.turbo/turbo-lint.log +1 -1
  3. package/.turbo/turbo-test.log +16 -14
  4. package/CHANGELOG.md +22 -0
  5. package/dist/index.d.ts +23 -18
  6. package/dist/index.js +389 -267
  7. package/dist/index.js.map +1 -1
  8. package/package.json +1 -1
  9. package/src/components/WfoBadges/WfoWorkflowTargetBadge/WfoWorkflowTargetBadge.tsx +2 -2
  10. package/src/components/WfoContentHeader/WfoContentHeader.tsx +1 -1
  11. package/src/components/WfoInlineNoteEdit/WfoProcessListNoteEdit.spec.tsx +35 -0
  12. package/src/components/WfoInlineNoteEdit/WfoProcessListNoteEdit.tsx +7 -9
  13. package/src/components/WfoProcessList/WfoProcessListDeltaPopover.tsx +1 -1
  14. package/src/components/WfoProcessList/WfoProcessesList.tsx +7 -5
  15. package/src/components/WfoSubscription/WfoProcessesTimeline.tsx +21 -7
  16. package/src/components/WfoSubscription/WfoSubscriptionActions/WfoSubscriptionActions.tsx +25 -9
  17. package/src/components/WfoSubscription/WfoSubscriptionGeneralSections/WfoSubscriptionDetailSection.tsx +1 -1
  18. package/src/components/WfoSubscription/styles.ts +6 -0
  19. package/src/components/WfoSubscription/utils/utils.ts +2 -4
  20. package/src/components/WfoTable/WfoStructuredSearchTable/WfoExpandingSearchRow.tsx +0 -1
  21. package/src/components/WfoTable/WfoStructuredSearchTable/WfoStructuredSearchTable.tsx +40 -1
  22. package/src/components/WfoTable/WfoStructuredSearchTable/styles.ts +8 -9
  23. package/src/components/WfoTable/WfoTable/WfoTable.tsx +5 -1
  24. package/src/components/WfoTable/WfoTable/WfoTableDataRows.tsx +11 -2
  25. package/src/components/WfoTable/WfoTable/WfoTableExpandedRowReveal.spec.tsx +120 -0
  26. package/src/components/WfoTable/WfoTable/styles.ts +6 -0
  27. package/src/components/WfoTable/utils/tableConfigPersistence.ts +1 -0
  28. package/src/components/WfoTimeline/styles.ts +1 -1
  29. package/src/components/WfoWorkflowUserGuide/WfoPageWithUserGuide.tsx +8 -2
  30. package/src/components/WfoWorkflowUserGuide/WfoWorkflowGuideExpandablePanel.tsx +39 -30
  31. package/src/components/WfoWorkflowUserGuide/styles.ts +55 -7
  32. package/src/configuration/constants.ts +1 -1
  33. package/src/configuration/version.ts +1 -1
  34. package/src/hooks/useStoredTableConfig.ts +1 -0
  35. package/src/messages/en-GB.json +3 -1
  36. package/src/messages/nl-NL.json +4 -2
  37. package/src/pages/WfoSearchPocPage.tsx +1 -1
  38. package/src/pages/tasks/WfoTasksListPage.tsx +1 -0
  39. package/src/types/types.ts +11 -11
  40. package/src/utils/getDefaultTableConfig.ts +2 -0
package/dist/index.js CHANGED
@@ -31,7 +31,7 @@ var METADATA_PRODUCT_ENDPOINT = "products";
31
31
  var METADATA_PRODUCT_BLOCK_ENDPOINT = "product_blocks";
32
32
  var METADATA_RESOURCE_TYPE_ENDPOINT = "resource_types";
33
33
  var METADATA_WORKFLOWS_ENDPOINT = "workflows";
34
- var METADATA_SCHEDULES_ENDPOINT = "schedules";
34
+ var METADATA_SCHEDULES_ENDPOINT = "schedules/";
35
35
  var SEARCH_QUERY_RESULTS_ENDPOINT = "search/queries";
36
36
 
37
37
  // src/configuration/policy-resources.ts
@@ -61,7 +61,7 @@ var PolicyResource = /* @__PURE__ */ ((PolicyResource2) => {
61
61
  })(PolicyResource || {});
62
62
 
63
63
  // src/configuration/version.ts
64
- var ORCHESTRATOR_UI_LIBRARY_VERSION = "8.7.3";
64
+ var ORCHESTRATOR_UI_LIBRARY_VERSION = "8.8.1";
65
65
 
66
66
  // src/types/types.ts
67
67
  var EngineStatus = /* @__PURE__ */ ((EngineStatus2) => {
@@ -95,12 +95,12 @@ var BadgeType = /* @__PURE__ */ ((BadgeType2) => {
95
95
  return BadgeType2;
96
96
  })(BadgeType || {});
97
97
  var WorkflowTarget = /* @__PURE__ */ ((WorkflowTarget2) => {
98
- WorkflowTarget2["CREATE"] = "create";
99
- WorkflowTarget2["MODIFY"] = "modify";
100
- WorkflowTarget2["TERMINATE"] = "terminate";
101
- WorkflowTarget2["SYSTEM"] = "system";
102
- WorkflowTarget2["VALIDATE"] = "validate";
103
- WorkflowTarget2["RECONCILE"] = "reconcile";
98
+ WorkflowTarget2["CREATE"] = "CREATE";
99
+ WorkflowTarget2["MODIFY"] = "MODIFY";
100
+ WorkflowTarget2["TERMINATE"] = "TERMINATE";
101
+ WorkflowTarget2["SYSTEM"] = "SYSTEM";
102
+ WorkflowTarget2["VALIDATE"] = "VALIDATE";
103
+ WorkflowTarget2["RECONCILE"] = "RECONCILE";
104
104
  return WorkflowTarget2;
105
105
  })(WorkflowTarget || {});
106
106
  var StepStatus = /* @__PURE__ */ ((StepStatus2) => {
@@ -1807,10 +1807,11 @@ var filterDataByCriteria = (data, filterCriteria) => {
1807
1807
  };
1808
1808
 
1809
1809
  // src/utils/getDefaultTableConfig.ts
1810
- function getTableConfig(hiddenColumns = [], selectedPageSize = DEFAULT_PAGE_SIZE) {
1810
+ function getTableConfig(hiddenColumns = [], selectedPageSize = DEFAULT_PAGE_SIZE, showMatchDetails = false) {
1811
1811
  return {
1812
1812
  selectedPageSize,
1813
- hiddenColumns
1813
+ hiddenColumns,
1814
+ showMatchDetails
1814
1815
  };
1815
1816
  }
1816
1817
  var getDefaultTableConfig = (storageKey) => {
@@ -2389,7 +2390,7 @@ var {
2389
2390
  // src/rtk/endpoints/startOptions.ts
2390
2391
  var workflowOptionsQuery = `
2391
2392
  query StartOptions {
2392
- workflows(first: 1000000, after: 0, filterBy: [{ field: "target", value: "${"create" /* CREATE */}"}]) {
2393
+ workflows(first: 1000000, after: 0, filterBy: [{ field: "target", value: "${"CREATE" /* CREATE */}"}]) {
2393
2394
  page {
2394
2395
  name
2395
2396
  isAllowed
@@ -5261,6 +5262,7 @@ var useStoredTableConfig = (localeStorageKey) => {
5261
5262
  if (storedConfig) {
5262
5263
  tableConfig.hiddenColumns = storedConfig.hiddenColumns;
5263
5264
  tableConfig.selectedPageSize = storedConfig.selectedPageSize;
5265
+ tableConfig.showMatchDetails = storedConfig.showMatchDetails;
5264
5266
  }
5265
5267
  return tableConfig;
5266
5268
  } catch {
@@ -7228,29 +7230,29 @@ var WfoWorkflowTargetBadge = ({ target }) => {
7228
7230
  if (!target) return null;
7229
7231
  const getBadgeColorFromTarget = (_target) => {
7230
7232
  const { primary, danger, textDanger, textPrimary, success, textSuccess, warning, textWarning, accent, textAccent } = theme.colors;
7231
- switch (_target?.toLowerCase()) {
7232
- case "create" /* CREATE */:
7233
+ switch (_target) {
7234
+ case "CREATE" /* CREATE */:
7233
7235
  return {
7234
7236
  badgeColor: toSecondaryColor(success),
7235
7237
  textColor: textSuccess
7236
7238
  };
7237
- case "modify" /* MODIFY */:
7239
+ case "MODIFY" /* MODIFY */:
7238
7240
  return {
7239
7241
  badgeColor: toSecondaryColor(primary),
7240
7242
  textColor: textPrimary
7241
7243
  };
7242
- case "system" /* SYSTEM */:
7243
- case "validate" /* VALIDATE */:
7244
+ case "SYSTEM" /* SYSTEM */:
7245
+ case "VALIDATE" /* VALIDATE */:
7244
7246
  return {
7245
7247
  badgeColor: toSecondaryColor(warning),
7246
7248
  textColor: textWarning
7247
7249
  };
7248
- case "terminate" /* TERMINATE */:
7250
+ case "TERMINATE" /* TERMINATE */:
7249
7251
  return {
7250
7252
  badgeColor: toSecondaryColor(danger),
7251
7253
  textColor: textDanger
7252
7254
  };
7253
- case "reconcile" /* RECONCILE */:
7255
+ case "RECONCILE" /* RECONCILE */:
7254
7256
  return {
7255
7257
  badgeColor: toSecondaryColor(accent),
7256
7258
  textColor: textAccent
@@ -7443,7 +7445,7 @@ var WfoContentHeader = ({ title, subtitle, children }) => /* @__PURE__ */ jsxs52
7443
7445
  /* @__PURE__ */ jsxs52(EuiFlexItem3, { children: [
7444
7446
  /* @__PURE__ */ jsx111(WfoRenderElementOrString, { renderString: (value) => /* @__PURE__ */ jsx111(EuiPageHeader, { pageTitle: value }), children: title }),
7445
7447
  subtitle && /* @__PURE__ */ jsxs52("div", { children: [
7446
- /* @__PURE__ */ jsx111(EuiSpacer5, { size: "m" }),
7448
+ /* @__PURE__ */ jsx111(EuiSpacer5, { size: "s" }),
7447
7449
  /* @__PURE__ */ jsx111(WfoRenderElementOrString, { children: subtitle })
7448
7450
  ] })
7449
7451
  ] }),
@@ -7916,32 +7918,32 @@ var flattenSubscriptionActionProps = (action) => {
7916
7918
  return flatObject;
7917
7919
  };
7918
7920
  var getWorkflowTargetColor = (workflowTarget, theme) => {
7919
- switch (workflowTarget.toLocaleLowerCase()) {
7920
- case "create" /* CREATE */:
7921
+ switch (workflowTarget) {
7922
+ case "CREATE" /* CREATE */:
7921
7923
  return theme.colors.textSuccess;
7922
- case "modify" /* MODIFY */:
7924
+ case "MODIFY" /* MODIFY */:
7923
7925
  return theme.colors.textPrimary;
7924
- case "system" /* SYSTEM */:
7925
- case "validate" /* VALIDATE */:
7926
+ case "SYSTEM" /* SYSTEM */:
7927
+ case "VALIDATE" /* VALIDATE */:
7926
7928
  return theme.colors.warning;
7927
- case "reconcile" /* RECONCILE */:
7929
+ case "RECONCILE" /* RECONCILE */:
7928
7930
  return theme.colors.accent;
7929
- case "terminate" /* TERMINATE */:
7931
+ case "TERMINATE" /* TERMINATE */:
7930
7932
  return theme.colors.danger;
7931
7933
  default:
7932
7934
  return theme.colors.backgroundBaseDisabled;
7933
7935
  }
7934
7936
  };
7935
7937
  var getWorkflowTargetIconContent = (workflowTarget) => {
7936
- switch (workflowTarget.toLocaleLowerCase()) {
7937
- case "create" /* CREATE */:
7938
+ switch (workflowTarget) {
7939
+ case "CREATE" /* CREATE */:
7938
7940
  return "C";
7939
- case "system" /* SYSTEM */:
7940
- case "validate" /* VALIDATE */:
7941
+ case "SYSTEM" /* SYSTEM */:
7942
+ case "VALIDATE" /* VALIDATE */:
7941
7943
  return "T";
7942
- case "terminate" /* TERMINATE */:
7944
+ case "TERMINATE" /* TERMINATE */:
7943
7945
  return "X";
7944
- case "reconcile" /* RECONCILE */:
7946
+ case "RECONCILE" /* RECONCILE */:
7945
7947
  return "R";
7946
7948
  default:
7947
7949
  return "M";
@@ -8098,7 +8100,7 @@ var WfoSubscriptionDetailSection = ({ subscriptionDetail }) => {
8098
8100
  {
8099
8101
  key: t("lastRunValidation"),
8100
8102
  value: (() => {
8101
- const lastValidate = processes?.page?.filter((process3) => process3.workflowTarget.toLowerCase() === "validate" /* VALIDATE */.toLowerCase()).slice(-1)[0];
8103
+ const lastValidate = processes?.page?.filter((process3) => process3.workflowTarget === "VALIDATE" /* VALIDATE */).slice(-1)[0];
8102
8104
  if (!lastValidate) {
8103
8105
  return t("noValidateWorkflows");
8104
8106
  }
@@ -8455,10 +8457,10 @@ var WfoInSyncField = ({ subscriptionDetail, compactMode = false, setPopover }) =
8455
8457
  };
8456
8458
 
8457
8459
  // src/components/WfoSubscription/WfoProcessesTimeline.tsx
8458
- import React24 from "react";
8460
+ import { useState as useState16 } from "react";
8459
8461
  import { useTranslations as useTranslations26 } from "next-intl";
8460
8462
  import Link7 from "next/link";
8461
- import { EuiComment, EuiCommentList, EuiFlexGroup as EuiFlexGroup10, EuiFlexItem as EuiFlexItem7, EuiSpacer as EuiSpacer11, EuiText as EuiText9 } from "@elastic/eui";
8463
+ import { EuiComment, EuiCommentList, EuiFlexGroup as EuiFlexGroup10, EuiFlexItem as EuiFlexItem7, EuiSpacer as EuiSpacer11, EuiSwitch, EuiText as EuiText9 } from "@elastic/eui";
8462
8464
 
8463
8465
  // src/components/WfoSubscription/styles.ts
8464
8466
  import { css as css21 } from "@emotion/react";
@@ -8506,6 +8508,9 @@ var getSubscriptionDetailStyles = ({ theme, isDarkModeActive }) => {
8506
8508
  flexDirection: "column",
8507
8509
  alignItems: "flex-start"
8508
8510
  });
8511
+ const processToggleStyles = css21({
8512
+ justifySelf: "flex-end"
8513
+ });
8509
8514
  return {
8510
8515
  rowStyle,
8511
8516
  labelCellStyle,
@@ -8517,7 +8522,8 @@ var getSubscriptionDetailStyles = ({ theme, isDarkModeActive }) => {
8517
8522
  inUseByRelationDetailsStyle,
8518
8523
  productBlockTreeWidth,
8519
8524
  customerDescriptionsCustomerNameStyle,
8520
- customerDescriptionsFormStyle
8525
+ customerDescriptionsFormStyle,
8526
+ processToggleStyles
8521
8527
  };
8522
8528
  };
8523
8529
 
@@ -8587,7 +8593,9 @@ var WfoProcessesTimeline = ({ subscriptionDetailProcesses }) => {
8587
8593
  value: "DESC" /* DESC */
8588
8594
  }
8589
8595
  ];
8590
- const [selectedOption, setSelectedOption] = React24.useState(options[0]);
8596
+ const { processToggleStyles } = useWithOrchestratorTheme(getSubscriptionDetailStyles);
8597
+ const [selectedOption, setSelectedOption] = useState16(options[0]);
8598
+ const [hideValidateTasks, setHideValidateTasks] = useState16(true);
8591
8599
  const handleOnSelectOption = (option) => {
8592
8600
  setSelectedOption(option);
8593
8601
  };
@@ -8595,16 +8603,30 @@ var WfoProcessesTimeline = ({ subscriptionDetailProcesses }) => {
8595
8603
  return /* @__PURE__ */ jsxs65(Fragment18, { children: [
8596
8604
  /* @__PURE__ */ jsx132(EuiSpacer11, { size: "m" }),
8597
8605
  !subscriptionDetailProcesses && /* @__PURE__ */ jsx132(WfoLoading, {}),
8598
- /* @__PURE__ */ jsx132(WfoRadioDropdown, { options, onUpdateOption: handleOnSelectOption, selectedOption }),
8599
- sortedProcesses && /* @__PURE__ */ jsx132(EuiCommentList, { "aria-label": "Processes", children: sortedProcesses.filter((process3) => !process3.isTask).map((subscriptionDetailProcess, index) => /* @__PURE__ */ jsx132(WfoRenderSubscriptionProcess, { subscriptionDetailProcess }, index)) })
8606
+ /* @__PURE__ */ jsxs65(EuiFlexGroup10, { alignItems: "center", css: processToggleStyles, children: [
8607
+ /* @__PURE__ */ jsx132(
8608
+ EuiSwitch,
8609
+ {
8610
+ showLabel: true,
8611
+ label: t("hideValidateTasks"),
8612
+ type: "button",
8613
+ checked: hideValidateTasks,
8614
+ onChange: () => setHideValidateTasks((value) => !value)
8615
+ }
8616
+ ),
8617
+ /* @__PURE__ */ jsx132(WfoRadioDropdown, { options, onUpdateOption: handleOnSelectOption, selectedOption })
8618
+ ] }),
8619
+ sortedProcesses && /* @__PURE__ */ jsx132(EuiCommentList, { "aria-label": "Processes", children: sortedProcesses.filter(
8620
+ (process3) => !process3.isTask || process3.workflowTarget === "VALIDATE" /* VALIDATE */ && !hideValidateTasks
8621
+ ).map((subscriptionDetailProcess, index) => /* @__PURE__ */ jsx132(WfoRenderSubscriptionProcess, { subscriptionDetailProcess }, index)) })
8600
8622
  ] });
8601
8623
  };
8602
8624
 
8603
8625
  // src/components/WfoSubscription/WfoRelatedSubscriptions.tsx
8604
- import { useState as useState20 } from "react";
8626
+ import { useState as useState21 } from "react";
8605
8627
  import { useTranslations as useTranslations31 } from "next-intl";
8606
8628
  import Link8 from "next/link";
8607
- import { EuiFlexGroup as EuiFlexGroup12, EuiFlexItem as EuiFlexItem8, EuiSpacer as EuiSpacer14, EuiSwitch } from "@elastic/eui";
8629
+ import { EuiFlexGroup as EuiFlexGroup12, EuiFlexItem as EuiFlexItem8, EuiSpacer as EuiSpacer14, EuiSwitch as EuiSwitch2 } from "@elastic/eui";
8608
8630
 
8609
8631
  // src/components/WfoSubscription/utils/relatedSubscriptionsListItemsObjectMappers.ts
8610
8632
  var mapRelatedSubscriptionsResponseToRelatedSubscriptionsListItems = (input) => input?.relatedSubscriptions.map(({ subscriptionId, description, status, insync, customer, product, startDate }) => ({
@@ -8639,7 +8661,7 @@ var graphQlRelatedSubscriptionsTerminatedSubscriptionsFilterMapper = (data) => d
8639
8661
  } : void 0;
8640
8662
 
8641
8663
  // src/components/WfoTable/WfoTable/WfoTable.tsx
8642
- import { useRef as useRef9, useState as useState18 } from "react";
8664
+ import { useRef as useRef9, useState as useState19 } from "react";
8643
8665
  import { useTranslations as useTranslations28 } from "next-intl";
8644
8666
  import { EuiSpacer as EuiSpacer12, EuiTablePagination, useEuiScrollBar } from "@elastic/eui";
8645
8667
  import { useVirtualizer } from "@tanstack/react-virtual";
@@ -8962,8 +8984,12 @@ var getWfoTableStyles = ({ theme, isDarkModeActive }) => {
8962
8984
  const paginationStyle = css23({
8963
8985
  ".eui-xScroll": { display: "flex", justifyContent: "flex-start" }
8964
8986
  });
8987
+ const showExpandedRowStyle = css23({
8988
+ "& + tr": { display: "table-row" }
8989
+ });
8965
8990
  const toggleExpandedRowOnHoverStyle = css23({
8966
- "&:hover + tr, &:focus-within + tr": { display: "table-row" }
8991
+ "&:hover + tr, &:focus-within + tr": { display: "table-row" },
8992
+ "& + tr:hover, & + tr:focus-within": { display: "table-row" }
8967
8993
  });
8968
8994
  return {
8969
8995
  tableContainerStyle,
@@ -8982,6 +9008,7 @@ var getWfoTableStyles = ({ theme, isDarkModeActive }) => {
8982
9008
  dragAndDropStyle,
8983
9009
  paginationStyle,
8984
9010
  setWidth,
9011
+ showExpandedRowStyle,
8985
9012
  toggleExpandedRowOnHoverStyle
8986
9013
  };
8987
9014
  };
@@ -9052,6 +9079,7 @@ var WfoTableDataRows = ({
9052
9079
  hiddenColumns = [],
9053
9080
  columnOrder = [],
9054
9081
  rowExpandingConfiguration,
9082
+ showExpandedRows,
9055
9083
  onRowClick,
9056
9084
  className
9057
9085
  }) => {
@@ -9062,6 +9090,7 @@ var WfoTableDataRows = ({
9062
9090
  dataRowStyle,
9063
9091
  clickableStyle,
9064
9092
  setWidth,
9093
+ showExpandedRowStyle,
9065
9094
  toggleExpandedRowOnHoverStyle
9066
9095
  } = useWithOrchestratorTheme(getWfoTableStyles);
9067
9096
  const sortedVisibleColumns = getSortedVisibleColumns(columnConfig, columnOrder, hiddenColumns);
@@ -9074,7 +9103,7 @@ var WfoTableDataRows = ({
9074
9103
  rowStyle,
9075
9104
  dataRowStyle,
9076
9105
  onRowClick && clickableStyle,
9077
- rowExpandingConfiguration?.shouldOnlyShowOnHover && toggleExpandedRowOnHoverStyle
9106
+ rowExpandingConfiguration && (showExpandedRows ? showExpandedRowStyle : toggleExpandedRowOnHoverStyle)
9078
9107
  ],
9079
9108
  onClick: () => onRowClick?.(row),
9080
9109
  children: sortedVisibleColumns.map(([key, columnConfig2]) => {
@@ -9117,14 +9146,14 @@ var WfoTableDataRows = ({
9117
9146
  import { useRef as useRef8 } from "react";
9118
9147
 
9119
9148
  // src/components/WfoTable/WfoTable/WfoDragHandler.tsx
9120
- import { useRef as useRef6, useState as useState16 } from "react";
9149
+ import { useRef as useRef6, useState as useState17 } from "react";
9121
9150
  import Draggable from "react-draggable";
9122
9151
  import { jsx as jsx135 } from "@emotion/react/jsx-runtime";
9123
9152
  var MINIMUM_COLUMN_WIDTH = 50;
9124
9153
  var WfoDragHandler = ({ headerRowRef, fieldName, onUpdateColumWidth }) => {
9125
9154
  const nodeRef = useRef6(null);
9126
- const [position, setPosition] = useState16({ x: 0, y: 0 });
9127
- const [isDragging, setIsDragging] = useState16(false);
9155
+ const [position, setPosition] = useState17({ x: 0, y: 0 });
9156
+ const [isDragging, setIsDragging] = useState17(false);
9128
9157
  const { dragAndDropStyle } = useWithOrchestratorTheme(getWfoTableStyles);
9129
9158
  const resetPosition = () => {
9130
9159
  setPosition({ x: 0, y: 0 });
@@ -9187,7 +9216,7 @@ var WfoSortDirectionIcon = ({ sortDirection }) => {
9187
9216
  };
9188
9217
 
9189
9218
  // src/components/WfoTable/WfoTable/WfoTableHeaderCell/WfoTableHeaderCell.tsx
9190
- import { useState as useState17 } from "react";
9219
+ import { useState as useState18 } from "react";
9191
9220
  import { EuiHorizontalRule as EuiHorizontalRule3, EuiPopover as EuiPopover3, EuiText as EuiText10, useGeneratedHtmlId } from "@elastic/eui";
9192
9221
 
9193
9222
  // src/components/WfoTable/WfoTable/WfoTableHeaderCell/WfoPopoverContent.tsx
@@ -9242,7 +9271,7 @@ var WfoTableHeaderCell = ({
9242
9271
  const smallContextMenuPopoverId = useGeneratedHtmlId({
9243
9272
  prefix: "smallContextMenuPopover"
9244
9273
  });
9245
- const [isPopoverOpen, setPopover] = useState17(false);
9274
+ const [isPopoverOpen, setPopover] = useState18(false);
9246
9275
  const handleButtonClick = () => setPopover(!isPopoverOpen);
9247
9276
  const closePopover = () => setPopover(false);
9248
9277
  const WfoHeaderCellContentButton = () => /* @__PURE__ */ jsx138("button", { onClick: handleButtonClick, disabled: !isFilterable, children: /* @__PURE__ */ jsx138("div", { css: getHeaderCellContentStyle(isFilterable), children }) });
@@ -9370,6 +9399,7 @@ var WfoTable = ({
9370
9399
  isLoading = false,
9371
9400
  dataSorting = [],
9372
9401
  rowExpandingConfiguration,
9402
+ showExpandedRows = false,
9373
9403
  pagination,
9374
9404
  overrideHeader,
9375
9405
  onUpdateDataSorting,
@@ -9380,7 +9410,7 @@ var WfoTable = ({
9380
9410
  isVirtualized = false,
9381
9411
  height
9382
9412
  }) => {
9383
- const [localColumnWidths, setLocalColumnWidths] = useState18(
9413
+ const [localColumnWidths, setLocalColumnWidths] = useState19(
9384
9414
  getColumnWidthsFromConfig(columnConfig)
9385
9415
  );
9386
9416
  const dataLength = data.length;
@@ -9478,6 +9508,7 @@ var WfoTable = ({
9478
9508
  hiddenColumns,
9479
9509
  columnOrder,
9480
9510
  rowExpandingConfiguration,
9511
+ showExpandedRows,
9481
9512
  onRowClick
9482
9513
  },
9483
9514
  virtualRow.key
@@ -9498,6 +9529,7 @@ var WfoTable = ({
9498
9529
  hiddenColumns,
9499
9530
  columnOrder,
9500
9531
  rowExpandingConfiguration,
9532
+ showExpandedRows,
9501
9533
  onRowClick
9502
9534
  }
9503
9535
  ) })
@@ -9526,7 +9558,7 @@ import { useTranslations as useTranslations30 } from "next-intl";
9526
9558
  import { EuiButtonEmpty as EuiButtonEmpty4, EuiFlexGroup as EuiFlexGroup11, EuiSpacer as EuiSpacer13 } from "@elastic/eui";
9527
9559
 
9528
9560
  // src/components/WfoTable/WfoTable/WfoGroupedTable/useGroupedTableConfig.tsx
9529
- import { useEffect as useEffect13, useRef as useRef10, useState as useState19 } from "react";
9561
+ import { useEffect as useEffect13, useRef as useRef10, useState as useState20 } from "react";
9530
9562
 
9531
9563
  // src/components/WfoTable/WfoTable/WfoGroupedTable/WfoExpandableRow.tsx
9532
9564
  import { useTranslations as useTranslations29 } from "next-intl";
@@ -9700,10 +9732,10 @@ var useGroupedTableConfig = ({
9700
9732
  notifyParent
9701
9733
  }) => {
9702
9734
  const groupReferences = useRef10(/* @__PURE__ */ new Map());
9703
- const [expandedRowIds, setExpandedRowIds] = useState19([]);
9704
- const [isAllGroupsExpanded, setIsAllGroupsExpanded] = useState19(false);
9705
- const [isAllSubgroupsExpanded, setIsAllSubgroupsExpanded] = useState19([]);
9706
- const [isExpanding, setIsExpanding] = useState19(false);
9735
+ const [expandedRowIds, setExpandedRowIds] = useState20([]);
9736
+ const [isAllGroupsExpanded, setIsAllGroupsExpanded] = useState20(false);
9737
+ const [isAllSubgroupsExpanded, setIsAllSubgroupsExpanded] = useState20([]);
9738
+ const [isExpanding, setIsExpanding] = useState20(false);
9707
9739
  const groups = getObjectKeys(data).map((key) => ({
9708
9740
  groupName: key.toString()
9709
9741
  }));
@@ -9934,7 +9966,7 @@ var WfoRelatedSubscriptions = ({
9934
9966
  subscriptionId,
9935
9967
  subscriptionPath = PATH_SUBSCRIPTIONS
9936
9968
  }) => {
9937
- const [hideTerminatedSubscriptions, setHideTerminatedSubscriptions] = useState20(true);
9969
+ const [hideTerminatedSubscriptions, setHideTerminatedSubscriptions] = useState21(true);
9938
9970
  const t = useTranslations31("subscriptions.detail");
9939
9971
  const { theme } = useOrchestratorTheme();
9940
9972
  const terminatedSubscriptionsFilter = {
@@ -10014,7 +10046,7 @@ var WfoRelatedSubscriptions = ({
10014
10046
  return /* @__PURE__ */ jsxs73(Fragment26, { children: [
10015
10047
  /* @__PURE__ */ jsx150(EuiSpacer14, { size: "xl" }),
10016
10048
  /* @__PURE__ */ jsx150(EuiFlexGroup12, { justifyContent: "flexEnd", children: /* @__PURE__ */ jsx150(EuiFlexItem8, { grow: 0, children: /* @__PURE__ */ jsx150(
10017
- EuiSwitch,
10049
+ EuiSwitch2,
10018
10050
  {
10019
10051
  showLabel: true,
10020
10052
  label: t("hideTerminatedRelatedSubscriptions"),
@@ -10125,7 +10157,7 @@ var WfoSubscription = ({ subscriptionId }) => {
10125
10157
  };
10126
10158
 
10127
10159
  // src/components/WfoSubscription/WfoSubscriptionActions/WfoSubscriptionActions.tsx
10128
- import { useState as useState23 } from "react";
10160
+ import { useState as useState24 } from "react";
10129
10161
  import { useTranslations as useTranslations34 } from "next-intl";
10130
10162
  import { useRouter as useRouter6 } from "next/router";
10131
10163
  import { EuiButton as EuiButton8, EuiButtonIcon as EuiButtonIcon8, EuiLoadingSpinner as EuiLoadingSpinner3, EuiTitle } from "@elastic/eui";
@@ -10135,7 +10167,7 @@ import { useTranslations as useTranslations33 } from "next-intl";
10135
10167
  import { EuiContextMenuItem as EuiContextMenuItem2, EuiLoadingSpinner as EuiLoadingSpinner2, EuiToolTip as EuiToolTip8 } from "@elastic/eui";
10136
10168
 
10137
10169
  // src/components/WfoSubscription/WfoSubscriptionActions/WfoSubscriptionActionExpandableMenuItem.tsx
10138
- import { useState as useState21 } from "react";
10170
+ import { useState as useState22 } from "react";
10139
10171
  import { useTranslations as useTranslations32 } from "next-intl";
10140
10172
  import Link9 from "next/link";
10141
10173
  import { EuiButtonIcon as EuiButtonIcon7, EuiText as EuiText12 } from "@elastic/eui";
@@ -10148,7 +10180,7 @@ var WfoSubscriptionActionExpandableMenuItem = ({
10148
10180
  }) => {
10149
10181
  const t = useTranslations32("subscriptions.detail.actions");
10150
10182
  const { clickableStyle, expandableMenuItemStyle, expandButtonStyle, expandedContentStyle, linkStyle } = useWithOrchestratorTheme(getSubscriptionActionStyles);
10151
- const [isExpanded, setIsExpanded] = useState21(false);
10183
+ const [isExpanded, setIsExpanded] = useState22(false);
10152
10184
  const relationsDetail = [
10153
10185
  ...subscriptionAction.locked_relations_detail ?? [],
10154
10186
  ...subscriptionAction.unterminated_in_use_by_subscriptions_detail ?? []
@@ -10266,11 +10298,11 @@ var WfoSubscriptionActionsMenuItem = ({
10266
10298
  };
10267
10299
 
10268
10300
  // src/components/WfoSubscription/WfoSubscriptionActions/utils.ts
10269
- import { useEffect as useEffect14, useState as useState22 } from "react";
10301
+ import { useEffect as useEffect14, useState as useState23 } from "react";
10270
10302
  var useActiveProcess = (processes) => {
10271
10303
  const lastProcess = processes?.[processes.length - 1];
10272
10304
  const isLastProcessRunning = lastProcess?.lastStatus.toLowerCase() === "running" /* RUNNING */;
10273
- const [processId, setProcessId] = useState22(null);
10305
+ const [processId, setProcessId] = useState23(null);
10274
10306
  useEffect14(() => {
10275
10307
  if (isLastProcessRunning) {
10276
10308
  setProcessId(lastProcess.processId);
@@ -10309,7 +10341,7 @@ var WfoSubscriptionActions = ({
10309
10341
  }) => {
10310
10342
  const t = useTranslations34("subscriptions.detail.actions");
10311
10343
  const { theme } = useOrchestratorTheme();
10312
- const [isPopoverOpen, setPopover] = useState23(false);
10344
+ const [isPopoverOpen, setPopover] = useState24(false);
10313
10345
  const router = useRouter6();
10314
10346
  const disableQuery = isLoading || !isPopoverOpen && compactMode;
10315
10347
  const { isAllowed } = usePolicy();
@@ -10374,14 +10406,22 @@ var WfoSubscriptionActions = ({
10374
10406
  redirectToUrl(actionName, isTask);
10375
10407
  }
10376
10408
  };
10409
+ const getActionItems = (workflowTarget) => {
10410
+ const actionsByTarget = subscriptionActions;
10411
+ return actionsByTarget?.[workflowTarget] ?? actionsByTarget?.[workflowTarget.toLowerCase()] ?? [];
10412
+ };
10413
+ const validateActionItems = getActionItems("VALIDATE" /* VALIDATE */);
10414
+ const reconcileActionItems = getActionItems("RECONCILE" /* RECONCILE */);
10415
+ const modifyActionItems = getActionItems("MODIFY" /* MODIFY */);
10416
+ const terminateActionItems = getActionItems("TERMINATE" /* TERMINATE */);
10377
10417
  const compactItems = /* @__PURE__ */ jsxs78(Fragment28, { children: [
10378
- isAllowed(SUBSCRIPTION_VALIDATE + subscriptionId) && subscriptionActions?.validate && /* @__PURE__ */ jsxs78(Fragment28, { children: [
10418
+ isAllowed(SUBSCRIPTION_VALIDATE + subscriptionId) && validateActionItems.length > 0 && /* @__PURE__ */ jsxs78(Fragment28, { children: [
10379
10419
  !compactMode && /* @__PURE__ */ jsx156(MenuBlock, { title: t("tasks") }),
10380
- subscriptionActions.validate.map((subscriptionAction, index) => /* @__PURE__ */ jsx156(
10420
+ validateActionItems.map((subscriptionAction, index) => /* @__PURE__ */ jsx156(
10381
10421
  WfoSubscriptionActionsMenuItem,
10382
10422
  {
10383
10423
  subscriptionAction,
10384
- target: "validate" /* VALIDATE */,
10424
+ target: "VALIDATE" /* VALIDATE */,
10385
10425
  setPopover,
10386
10426
  subscriptionPath,
10387
10427
  onClick: () => handleActionClick(subscriptionAction.name, compactMode, true),
@@ -10390,13 +10430,13 @@ var WfoSubscriptionActions = ({
10390
10430
  `s_${index}`
10391
10431
  ))
10392
10432
  ] }),
10393
- isAllowed(SUBSCRIPTION_RECONCILE + subscriptionId) && (subscriptionActions?.reconcile?.length ?? 0) > 0 && /* @__PURE__ */ jsxs78(Fragment28, { children: [
10433
+ isAllowed(SUBSCRIPTION_RECONCILE + subscriptionId) && reconcileActionItems.length > 0 && /* @__PURE__ */ jsxs78(Fragment28, { children: [
10394
10434
  !compactMode && /* @__PURE__ */ jsx156(MenuBlock, { title: t("reconcile") }),
10395
- subscriptionActions?.reconcile.map((subscriptionAction, index) => /* @__PURE__ */ jsx156(
10435
+ reconcileActionItems.map((subscriptionAction, index) => /* @__PURE__ */ jsx156(
10396
10436
  WfoSubscriptionActionsMenuItem,
10397
10437
  {
10398
10438
  subscriptionAction: buttonIsLoading && !subscriptionAction.reason ? { ...subscriptionAction, reason: "subscription.running_process" } : subscriptionAction,
10399
- target: "reconcile" /* RECONCILE */,
10439
+ target: "RECONCILE" /* RECONCILE */,
10400
10440
  setPopover,
10401
10441
  subscriptionPath,
10402
10442
  onClick: () => handleActionClick(subscriptionAction.name, compactMode, false),
@@ -10415,13 +10455,13 @@ var WfoSubscriptionActions = ({
10415
10455
  ) })
10416
10456
  ] });
10417
10457
  const fullItems = /* @__PURE__ */ jsxs78(Fragment28, { children: [
10418
- isAllowed(SUBSCRIPTION_MODIFY + subscriptionId) && subscriptionActions?.modify && /* @__PURE__ */ jsxs78(Fragment28, { children: [
10458
+ isAllowed(SUBSCRIPTION_MODIFY + subscriptionId) && modifyActionItems.length > 0 && /* @__PURE__ */ jsxs78(Fragment28, { children: [
10419
10459
  /* @__PURE__ */ jsx156(MenuBlock, { title: t("modify") }),
10420
- subscriptionActions.modify.map((subscriptionAction, index) => /* @__PURE__ */ jsx156(
10460
+ modifyActionItems.map((subscriptionAction, index) => /* @__PURE__ */ jsx156(
10421
10461
  WfoSubscriptionActionsMenuItem,
10422
10462
  {
10423
10463
  subscriptionAction,
10424
- target: "modify" /* MODIFY */,
10464
+ target: "MODIFY" /* MODIFY */,
10425
10465
  setPopover,
10426
10466
  subscriptionPath,
10427
10467
  onClick: () => {
@@ -10432,13 +10472,13 @@ var WfoSubscriptionActions = ({
10432
10472
  ))
10433
10473
  ] }),
10434
10474
  compactItems,
10435
- isAllowed(SUBSCRIPTION_TERMINATE + subscriptionId) && subscriptionActions?.terminate && /* @__PURE__ */ jsxs78(Fragment28, { children: [
10475
+ isAllowed(SUBSCRIPTION_TERMINATE + subscriptionId) && terminateActionItems.length > 0 && /* @__PURE__ */ jsxs78(Fragment28, { children: [
10436
10476
  /* @__PURE__ */ jsx156(MenuBlock, { title: t("terminate") }),
10437
- subscriptionActions.terminate.map((subscriptionAction, index) => /* @__PURE__ */ jsx156(
10477
+ terminateActionItems.map((subscriptionAction, index) => /* @__PURE__ */ jsx156(
10438
10478
  WfoSubscriptionActionsMenuItem,
10439
10479
  {
10440
10480
  subscriptionAction,
10441
- target: "terminate" /* TERMINATE */,
10481
+ target: "TERMINATE" /* TERMINATE */,
10442
10482
  setPopover,
10443
10483
  subscriptionPath,
10444
10484
  onClick: () => {
@@ -10464,7 +10504,7 @@ var WfoSubscriptionActions = ({
10464
10504
  };
10465
10505
 
10466
10506
  // src/components/WfoSubscription/WfoSubscriptionProductBlock/WfoSubscriptionProductBlock.tsx
10467
- import { useState as useState24 } from "react";
10507
+ import { useState as useState25 } from "react";
10468
10508
  import { useTranslations as useTranslations36 } from "next-intl";
10469
10509
  import {
10470
10510
  EuiBadge as EuiBadge2,
@@ -10606,7 +10646,7 @@ var WfoSubscriptionProductBlock = ({
10606
10646
  outsideSubscriptionIdTextStyle,
10607
10647
  rowStyle
10608
10648
  } = useWithOrchestratorTheme(getStyles7);
10609
- const [showDetails, setShowDetails] = useState24(false);
10649
+ const [showDetails, setShowDetails] = useState25(false);
10610
10650
  const ownerSubscriptionId = productBlock.subscription.subscriptionId;
10611
10651
  const isOutsideCurrentSubscription = ownerSubscriptionId !== subscriptionId;
10612
10652
  const inUseByRelations = productBlock.inUseByRelations.filter(
@@ -10730,12 +10770,12 @@ var WfoProductBlockKeyValueRow = ({
10730
10770
  };
10731
10771
 
10732
10772
  // src/components/WfoSubscription/WfoSubscriptionDetailTree.tsx
10733
- import React44, { useState as useState26 } from "react";
10773
+ import React44, { useState as useState27 } from "react";
10734
10774
  import { useTranslations as useTranslations38 } from "next-intl";
10735
10775
  import { EuiCallOut as EuiCallOut4, EuiFlexGroup as EuiFlexGroup17, EuiFlexItem as EuiFlexItem13, EuiText as EuiText16 } from "@elastic/eui";
10736
10776
 
10737
10777
  // src/components/WfoButtonComboBox/WfoButtonComboBox.tsx
10738
- import { useEffect as useEffect15, useState as useState25 } from "react";
10778
+ import { useEffect as useEffect15, useState as useState26 } from "react";
10739
10779
  import { EuiPopover as EuiPopover4, EuiSelectable as EuiSelectable2, EuiSpacer as EuiSpacer16, EuiText as EuiText14 } from "@elastic/eui";
10740
10780
 
10741
10781
  // src/components/WfoButtonComboBox/styles.ts
@@ -10771,8 +10811,8 @@ var WfoButtonComboBox = ({
10771
10811
  children,
10772
10812
  className
10773
10813
  }) => {
10774
- const [isPopoverOpen, setPopoverOpen] = useState25(false);
10775
- const [optionsState, setOptionsState] = useState25(options);
10814
+ const [isPopoverOpen, setPopoverOpen] = useState26(false);
10815
+ const [optionsState, setOptionsState] = useState26(options);
10776
10816
  const { selectableStyle, titleStyle } = useWithOrchestratorTheme(getWfoButtonComboBoxStyles);
10777
10817
  useEffect15(() => {
10778
10818
  if (!isPopoverOpen) {
@@ -11050,7 +11090,7 @@ var WfoSubscriptionDetailTree = ({
11050
11090
  }) => {
11051
11091
  const t = useTranslations38("subscriptions.detail");
11052
11092
  const { theme } = useOrchestratorTheme();
11053
- const [, setSelectedTreeNode] = useState26(-1);
11093
+ const [, setSelectedTreeNode] = useState27(-1);
11054
11094
  const { productBlockTreeWidth } = useWithOrchestratorTheme(getSubscriptionDetailStyles);
11055
11095
  const { selectedIds, expandAll, resetSelection, selectAll, selectIds, deselectIds } = React44.useContext(
11056
11096
  TreeContext
@@ -11299,13 +11339,13 @@ var customerDescriptionsApi = orchestratorApi.injectEndpoints({
11299
11339
  var { useSetCustomerDescriptionMutation, useUpdateCustomerDescriptionMutation } = customerDescriptionsApi;
11300
11340
 
11301
11341
  // src/components/WfoInlineEdit/WfoInlineEdit.tsx
11302
- import { useEffect as useEffect17, useState as useState27 } from "react";
11342
+ import { useEffect as useEffect17, useState as useState28 } from "react";
11303
11343
  import { EuiInlineEditText } from "@elastic/eui";
11304
11344
  import { jsx as jsx168 } from "@emotion/react/jsx-runtime";
11305
11345
  var WfoInlineEdit = ({ value, onlyShowOnHover = false, onSave = () => {
11306
11346
  } }) => {
11307
- const [note, setValue] = useState27(value);
11308
- const [isTooltipVisible, setIsTooltipVisible] = useState27(true);
11347
+ const [note, setValue] = useState28(value);
11348
+ const [isTooltipVisible, setIsTooltipVisible] = useState28(true);
11309
11349
  const handleSave = () => {
11310
11350
  onSave(note.startsWith(INVISIBLE_CHARACTER) ? note.replace(INVISIBLE_CHARACTER, "") : note);
11311
11351
  setIsTooltipVisible(true);
@@ -11522,9 +11562,9 @@ var clearTableConfigFromLocalStorage = (key) => {
11522
11562
  };
11523
11563
 
11524
11564
  // src/components/WfoTable/WfoTableSettingsModal/WfoTableSettingsModal.tsx
11525
- import { useState as useState28 } from "react";
11565
+ import { useState as useState29 } from "react";
11526
11566
  import { useTranslations as useTranslations39 } from "next-intl";
11527
- import { EuiForm as EuiForm2, EuiFormRow as EuiFormRow5, EuiHorizontalRule as EuiHorizontalRule4, EuiSelect, EuiSpacer as EuiSpacer17, EuiSwitch as EuiSwitch2 } from "@elastic/eui";
11567
+ import { EuiForm as EuiForm2, EuiFormRow as EuiFormRow5, EuiHorizontalRule as EuiHorizontalRule4, EuiSelect, EuiSpacer as EuiSpacer17, EuiSwitch as EuiSwitch3 } from "@elastic/eui";
11528
11568
 
11529
11569
  // src/components/WfoTable/WfoTableSettingsModal/styles.ts
11530
11570
  import { css as css27 } from "@emotion/react";
@@ -11554,8 +11594,8 @@ var TableSettingsModal = ({
11554
11594
  }) => {
11555
11595
  const t = useTranslations39("main");
11556
11596
  const { formRowStyle, selectFieldStyle } = useWithOrchestratorTheme(getWfoTableSettingsModalStyles);
11557
- const [columns, setColumns] = useState28(tableConfig.columns);
11558
- const [selectedPageSize, setSelectedPageSize] = useState28(tableConfig.selectedPageSize);
11597
+ const [columns, setColumns] = useState29(tableConfig.columns);
11598
+ const [selectedPageSize, setSelectedPageSize] = useState29(tableConfig.selectedPageSize);
11559
11599
  const options = pageSizeOptions.map((pageSizeOption) => ({
11560
11600
  value: pageSizeOption,
11561
11601
  text: pageSizeOption.toString()
@@ -11582,7 +11622,7 @@ var TableSettingsModal = ({
11582
11622
  children: /* @__PURE__ */ jsxs88(EuiForm2, { children: [
11583
11623
  columns.map(({ field, name, isVisible }) => /* @__PURE__ */ jsxs88("div", { children: [
11584
11624
  /* @__PURE__ */ jsx170(EuiFormRow5, { display: "columnCompressed", label: name, css: formRowStyle, children: /* @__PURE__ */ jsx170(
11585
- EuiSwitch2,
11625
+ EuiSwitch3,
11586
11626
  {
11587
11627
  showLabel: false,
11588
11628
  label: name,
@@ -11774,11 +11814,11 @@ var WfoInlineJson = ({ data }) => {
11774
11814
  };
11775
11815
 
11776
11816
  // src/components/WfoTable/WfoRowContextMenu/WfoRowContextMenu.tsx
11777
- import { useEffect as useEffect18, useRef as useRef11, useState as useState29 } from "react";
11817
+ import { useEffect as useEffect18, useRef as useRef11, useState as useState30 } from "react";
11778
11818
  import { EuiButtonIcon as EuiButtonIcon10, EuiContextMenu as EuiContextMenu2, EuiPopover as EuiPopover5 } from "@elastic/eui";
11779
11819
  import { jsx as jsx176 } from "@emotion/react/jsx-runtime";
11780
11820
  var WfoRowContextMenu = ({ items, onOpenContextMenu }) => {
11781
- const [isOpen, setIsOpen] = useState29(false);
11821
+ const [isOpen, setIsOpen] = useState30(false);
11782
11822
  const onOpenContextMenuRef = useRef11(onOpenContextMenu);
11783
11823
  useEffect18(() => {
11784
11824
  if (isOpen) {
@@ -11834,7 +11874,7 @@ var toSortedTableColumnConfig = (columnConfig, columnKeys) => columnKeys.reduce(
11834
11874
  }, {});
11835
11875
 
11836
11876
  // src/components/WfoTable/WfoAdvancedTable/WfoAdvancedTable.tsx
11837
- import { useEffect as useEffect19, useState as useState30 } from "react";
11877
+ import { useEffect as useEffect19, useState as useState31 } from "react";
11838
11878
  import { useTranslations as useTranslations40 } from "next-intl";
11839
11879
  import { EuiButton as EuiButton9, EuiButtonIcon as EuiButtonIcon11, EuiFlexGroup as EuiFlexGroup18, EuiFlexItem as EuiFlexItem15, EuiSpacer as EuiSpacer18, EuiText as EuiText17 } from "@elastic/eui";
11840
11880
  import { Fragment as Fragment36, jsx as jsx178, jsxs as jsxs91 } from "@emotion/react/jsx-runtime";
@@ -11854,10 +11894,10 @@ var WfoAdvancedTable = ({
11854
11894
  ...tableProps
11855
11895
  }) => {
11856
11896
  const { theme } = useOrchestratorTheme();
11857
- const [hiddenColumns, setHiddenColumns] = useState30(defaultHiddenColumns);
11858
- const [showSettingsModal, setShowSettingsModal] = useState30(false);
11859
- const [selectedDataForDetailModal, setSelectedDataForDetailModal] = useState30(void 0);
11860
- const [showSearchModal, setShowSearchModal] = useState30(false);
11897
+ const [hiddenColumns, setHiddenColumns] = useState31(defaultHiddenColumns);
11898
+ const [showSettingsModal, setShowSettingsModal] = useState31(false);
11899
+ const [selectedDataForDetailModal, setSelectedDataForDetailModal] = useState31(void 0);
11900
+ const [showSearchModal, setShowSearchModal] = useState31(false);
11861
11901
  const t = useTranslations40("common");
11862
11902
  useEffect19(() => {
11863
11903
  if (defaultHiddenColumns) {
@@ -11958,12 +11998,21 @@ var WfoAdvancedTable = ({
11958
11998
  };
11959
11999
 
11960
12000
  // src/components/WfoTable/WfoStructuredSearchTable/WfoStructuredSearchTable.tsx
11961
- import { useEffect as useEffect25, useState as useState35 } from "react";
12001
+ import { useEffect as useEffect25, useState as useState36 } from "react";
11962
12002
  import { useTranslations as useTranslations49 } from "next-intl";
11963
- import { EuiButton as EuiButton11, EuiFlexGroup as EuiFlexGroup22, EuiFlexItem as EuiFlexItem23, EuiFormRow as EuiFormRow7, EuiSelect as EuiSelect3, EuiSpacer as EuiSpacer19, EuiText as EuiText18 } from "@elastic/eui";
12003
+ import {
12004
+ EuiButton as EuiButton11,
12005
+ EuiFlexGroup as EuiFlexGroup22,
12006
+ EuiFlexItem as EuiFlexItem23,
12007
+ EuiFormRow as EuiFormRow7,
12008
+ EuiSelect as EuiSelect3,
12009
+ EuiSpacer as EuiSpacer19,
12010
+ EuiSwitch as EuiSwitch4,
12011
+ EuiText as EuiText18
12012
+ } from "@elastic/eui";
11964
12013
 
11965
12014
  // src/components/WfoTable/WfoStructuredSearchTable/WfoFilterBuilder.tsx
11966
- import { useEffect as useEffect24, useMemo as useMemo4, useRef as useRef14, useState as useState34 } from "react";
12015
+ import { useEffect as useEffect24, useMemo as useMemo4, useRef as useRef14, useState as useState35 } from "react";
11967
12016
  import { QueryBuilder, generateID } from "react-querybuilder";
11968
12017
  import "react-querybuilder/dist/query-builder.css";
11969
12018
  import { useTranslations as useTranslations47 } from "next-intl";
@@ -11974,7 +12023,7 @@ import { EuiButtonGroup } from "@elastic/eui";
11974
12023
 
11975
12024
  // src/components/WfoTable/WfoStructuredSearchTable/styles.ts
11976
12025
  import { css as css31 } from "@emotion/react";
11977
- var getWfoStructuredSearchTableStyles = ({ theme }) => {
12026
+ var getWfoStructuredSearchTableStyles = ({ theme, isDarkModeActive }) => {
11978
12027
  const queryBuilderContainerStyles = css31({
11979
12028
  backgroundColor: theme.colors.backgroundBaseSubdued,
11980
12029
  padding: theme.base / 2,
@@ -12031,7 +12080,7 @@ var getWfoStructuredSearchTableStyles = ({ theme }) => {
12031
12080
  const ruleGroupContainerBlueStyles = css31({
12032
12081
  ...ruleGroupContainerBase,
12033
12082
  borderRadius: theme.border.radius.small,
12034
- backgroundColor: "#E9F1F9"
12083
+ backgroundColor: isDarkModeActive ? theme.colors.backgroundLightPrimary : "#E9F1F9"
12035
12084
  });
12036
12085
  const ruleGroupContainerWhiteStyles = css31({
12037
12086
  ...ruleGroupContainerBase,
@@ -12048,7 +12097,7 @@ var getWfoStructuredSearchTableStyles = ({ theme }) => {
12048
12097
  ...ruleGroupContainerBase,
12049
12098
  borderBottomLeftRadius: theme.border.radius.small,
12050
12099
  borderTopLeftRadius: theme.border.radius.small,
12051
- backgroundColor: "#E9F1F9"
12100
+ backgroundColor: isDarkModeActive ? theme.colors.backgroundLightPrimary : "#E9F1F9"
12052
12101
  });
12053
12102
  const removeGroupActionStyles = css31({
12054
12103
  backgroundColor: theme.colors.backgroundLightPrimary,
@@ -12062,11 +12111,10 @@ var getWfoStructuredSearchTableStyles = ({ theme }) => {
12062
12111
  cursor: "pointer"
12063
12112
  });
12064
12113
  const expandingSearchRowStyles = css31({
12065
- padding: theme.base / 2,
12066
- height: theme.base * 2,
12114
+ padding: `${theme.base / 4}px ${theme.base / 2}px`,
12067
12115
  borderRadius: theme.border.radius.medium,
12068
- border: "thin solid FEF7E0",
12069
- backgroundColor: "#FEF7E0"
12116
+ border: `thin solid ${theme.colors.highlight}`,
12117
+ backgroundColor: theme.colors.highlight
12070
12118
  });
12071
12119
  const expandingRowBodyStyles = css31({
12072
12120
  display: "flex",
@@ -12123,11 +12171,11 @@ var getWfoStructuredSearchTableStyles = ({ theme }) => {
12123
12171
  display: "none"
12124
12172
  });
12125
12173
  const dotStyles = css31({
12126
- padding: theme.base / 4
12174
+ padding: `${theme.base / 8}px ${theme.base / 4}px`
12127
12175
  });
12128
12176
  const expandingRowFieldStyles = css31({
12129
12177
  display: "flex",
12130
- padding: theme.base / 4,
12178
+ padding: `${theme.base / 8}px ${theme.base / 4}px`,
12131
12179
  alignItems: "center"
12132
12180
  });
12133
12181
  return {
@@ -12180,7 +12228,7 @@ var WfoCombinatorSelector = (props) => {
12180
12228
  };
12181
12229
 
12182
12230
  // src/components/WfoTable/WfoStructuredSearchTable/WfoFieldSelector.tsx
12183
- import { useEffect as useEffect20, useRef as useRef12, useState as useState31 } from "react";
12231
+ import { useEffect as useEffect20, useRef as useRef12, useState as useState32 } from "react";
12184
12232
  import { useTranslations as useTranslations41 } from "next-intl";
12185
12233
  import { EuiComboBox } from "@elastic/eui";
12186
12234
  import { jsx as jsx180 } from "@emotion/react/jsx-runtime";
@@ -12201,8 +12249,8 @@ var focusValueEditorAfterRender = (searchInput) => {
12201
12249
  var WfoFieldSelector = ({ handleOnChange, disabled, rule, context }) => {
12202
12250
  const { field } = rule;
12203
12251
  const prefilledFieldOptions2 = context.prefilledFieldOptions;
12204
- const [selectedValue, setSelectedValue] = useState31(field);
12205
- const [searchInput, setSearchInput] = useState31(null);
12252
+ const [selectedValue, setSelectedValue] = useState32(field);
12253
+ const [searchInput, setSearchInput] = useState32(null);
12206
12254
  const optionsRef = useRef12([]);
12207
12255
  const handleFieldSelectionRef = useRef12(() => {
12208
12256
  });
@@ -12481,18 +12529,18 @@ var WfoRuleGroup = (props) => {
12481
12529
  };
12482
12530
 
12483
12531
  // src/components/WfoTable/WfoStructuredSearchTable/WfoValueEditor.tsx
12484
- import { useEffect as useEffect23, useState as useState33 } from "react";
12532
+ import { useEffect as useEffect23, useState as useState34 } from "react";
12485
12533
  import moment3 from "moment";
12486
12534
  import { useTranslations as useTranslations46 } from "next-intl";
12487
12535
  import { EuiButtonGroup as EuiButtonGroup2, EuiDatePicker as EuiDatePicker2, EuiFieldNumber as EuiFieldNumber2, EuiFieldText as EuiFieldText3 } from "@elastic/eui";
12488
12536
 
12489
12537
  // src/components/WfoTable/WfoStructuredSearchTable/WfoRangeEditor.tsx
12490
- import { useEffect as useEffect22, useState as useState32 } from "react";
12538
+ import { useEffect as useEffect22, useState as useState33 } from "react";
12491
12539
  import { EuiFlexGroup as EuiFlexGroup20 } from "@elastic/eui";
12492
12540
  import { jsx as jsx189, jsxs as jsxs95 } from "@emotion/react/jsx-runtime";
12493
12541
  var WfoRangeEditor = ({ handleOnChange, InputElement, value: currentValue }) => {
12494
12542
  const startValue = currentValue ? currentValue?.toString().split(",") : [];
12495
- const [value, setValue] = useState32(startValue);
12543
+ const [value, setValue] = useState33(startValue);
12496
12544
  const handleRangeChange = (newValue, rangeIndex) => {
12497
12545
  setValue((currentValues) => {
12498
12546
  const next = [...currentValues];
@@ -12535,7 +12583,7 @@ var BooleanEditor = ({
12535
12583
  value: currentValue
12536
12584
  }) => {
12537
12585
  const initialValue = typeof currentValue === "boolean" ? currentValue : true;
12538
- const [value, setValue] = useState33(initialValue.toString());
12586
+ const [value, setValue] = useState34(initialValue.toString());
12539
12587
  useEffect23(() => {
12540
12588
  if (currentValue === void 0 || currentValue === "") {
12541
12589
  handleOnChange(initialValue);
@@ -12570,7 +12618,7 @@ var BooleanEditor = ({
12570
12618
  );
12571
12619
  };
12572
12620
  var TextEditor = ({ handleOnChange, value: currentValue = "" }) => {
12573
- const [value, setValue] = useState33(currentValue);
12621
+ const [value, setValue] = useState34(currentValue);
12574
12622
  const handleTextChange = (e) => {
12575
12623
  setValue(e.target.value || "");
12576
12624
  };
@@ -12585,7 +12633,7 @@ var TextEditor = ({ handleOnChange, value: currentValue = "" }) => {
12585
12633
  return /* @__PURE__ */ jsx190(EuiFieldText3, { value, onChange: handleTextChange, onBlur: handleOnBlur, onKeyDown: handleOnKeyDown });
12586
12634
  };
12587
12635
  var NumberEditor = ({ handleOnChange, value: currentValue }) => {
12588
- const [value, setValue] = useState33(currentValue?.toString() || "");
12636
+ const [value, setValue] = useState34(currentValue?.toString() || "");
12589
12637
  const handleNumberChange = (e) => {
12590
12638
  setValue(e.target.value || "");
12591
12639
  };
@@ -12609,7 +12657,7 @@ var NumberEditor = ({ handleOnChange, value: currentValue }) => {
12609
12657
  );
12610
12658
  };
12611
12659
  var DatePicker = ({ handleOnChange, value: currentValue }) => {
12612
- const [date, setDate] = useState33(currentValue || "");
12660
+ const [date, setDate] = useState34(currentValue || "");
12613
12661
  const t = useTranslations46("search.page");
12614
12662
  return /* @__PURE__ */ jsx190(
12615
12663
  EuiDatePicker2,
@@ -12780,8 +12828,8 @@ var WfoFilterBuilder = ({
12780
12828
  };
12781
12829
  const t = useTranslations47("common");
12782
12830
  const { queryBuilderContainerStyles } = useWithOrchestratorTheme(getWfoStructuredSearchTableStyles);
12783
- const [fieldToOperatorMap, setFieldToOperatorMap] = useState34(prefilledFieldOptions2);
12784
- const [fieldPathInfoMap, setFieldPathInfoMap] = useState34(/* @__PURE__ */ new Map());
12831
+ const [fieldToOperatorMap, setFieldToOperatorMap] = useState35(prefilledFieldOptions2);
12832
+ const [fieldPathInfoMap, setFieldPathInfoMap] = useState35(/* @__PURE__ */ new Map());
12785
12833
  const latestRuleGroupRef = useRef14(queryBuilderRuleGroup);
12786
12834
  latestRuleGroupRef.current = queryBuilderRuleGroup;
12787
12835
  const handleValueEditorEnter = () => {
@@ -12949,6 +12997,7 @@ import { Fragment as Fragment38, jsx as jsx193, jsxs as jsxs98 } from "@emotion/
12949
12997
  var WfoStructuredSearchTable = ({
12950
12998
  tableColumnConfig,
12951
12999
  defaultHiddenColumns = [],
13000
+ defaultShowMatchDetails = false,
12952
13001
  queryText,
12953
13002
  localStorageKey,
12954
13003
  exportDataIsLoading,
@@ -12980,17 +13029,21 @@ var WfoStructuredSearchTable = ({
12980
13029
  }) => {
12981
13030
  const { theme } = useOrchestratorTheme();
12982
13031
  const { toggleButtonStyles } = useWithOrchestratorTheme(getWfoStructuredSearchTableStyles);
12983
- const [hiddenColumns, setHiddenColumns] = useState35(defaultHiddenColumns);
12984
- const [isFilterBuilderVisible, setIsFilterBuilderVisible] = useState35(false);
12985
- const [showTableSettingsModal, setShowTableSettingsModal] = useState35(false);
12986
- const [rowDetailModalData, setRowDetailModalData] = useState35(void 0);
12987
- const [showInformationModal, setShowInformationModal] = useState35(false);
13032
+ const [hiddenColumns, setHiddenColumns] = useState36(defaultHiddenColumns);
13033
+ const [isFilterBuilderVisible, setIsFilterBuilderVisible] = useState36(false);
13034
+ const [showTableSettingsModal, setShowTableSettingsModal] = useState36(false);
13035
+ const [rowDetailModalData, setRowDetailModalData] = useState36(void 0);
13036
+ const [showInformationModal, setShowInformationModal] = useState36(false);
13037
+ const [showMatchDetails, setShowMatchDetails] = useState36(defaultShowMatchDetails);
12988
13038
  const t = useTranslations49("common");
12989
13039
  useEffect25(() => {
12990
13040
  if (defaultHiddenColumns) {
12991
13041
  setHiddenColumns(defaultHiddenColumns);
12992
13042
  }
12993
13043
  }, [defaultHiddenColumns]);
13044
+ useEffect25(() => {
13045
+ setShowMatchDetails(defaultShowMatchDetails);
13046
+ }, [defaultShowMatchDetails]);
12994
13047
  useEffect25(() => {
12995
13048
  if (filterString) {
12996
13049
  setIsFilterBuilderVisible(true);
@@ -13016,13 +13069,23 @@ var WfoStructuredSearchTable = ({
13016
13069
  setPageSize(updatedTableConfig.selectedPageSize);
13017
13070
  setTableConfigToLocalStorage(localStorageKey, {
13018
13071
  hiddenColumns: updatedHiddenColumns,
13019
- selectedPageSize: updatedTableConfig.selectedPageSize
13072
+ selectedPageSize: updatedTableConfig.selectedPageSize,
13073
+ showMatchDetails
13074
+ });
13075
+ };
13076
+ const handleToggleShowMatchDetails = (checked) => {
13077
+ setShowMatchDetails(checked);
13078
+ setTableConfigToLocalStorage(localStorageKey, {
13079
+ hiddenColumns,
13080
+ selectedPageSize: pageSize ?? DEFAULT_PAGE_SIZE,
13081
+ showMatchDetails: checked
13020
13082
  });
13021
13083
  };
13022
13084
  const handleResetToDefaults = () => {
13023
13085
  const defaultTableConfig = getDefaultTableConfig(localStorageKey);
13024
13086
  setHiddenColumns(defaultTableConfig.hiddenColumns);
13025
13087
  setPageSize(defaultTableConfig.selectedPageSize);
13088
+ setShowMatchDetails(defaultTableConfig.showMatchDetails ?? false);
13026
13089
  setShowTableSettingsModal(false);
13027
13090
  clearTableConfigFromLocalStorage(localStorageKey);
13028
13091
  };
@@ -13086,6 +13149,7 @@ var WfoStructuredSearchTable = ({
13086
13149
  columnConfig: tableColumnsWithControlColumns,
13087
13150
  hiddenColumns,
13088
13151
  rowExpandingConfiguration,
13152
+ showExpandedRows: showMatchDetails,
13089
13153
  onUpdateDataSorting,
13090
13154
  onUpdateDataSearch: handleColumnFilterSearch,
13091
13155
  dataSorting,
@@ -13110,6 +13174,16 @@ var WfoStructuredSearchTable = ({
13110
13174
  onUpdateTableConfig: handleUpdateTableConfig,
13111
13175
  onResetToDefaults: handleResetToDefaults,
13112
13176
  extraSettings: /* @__PURE__ */ jsxs98(Fragment38, { children: [
13177
+ /* @__PURE__ */ jsx193(EuiFormRow7, { label: t("showMatchDetails"), display: "columnCompressed", children: /* @__PURE__ */ jsx193(
13178
+ EuiSwitch4,
13179
+ {
13180
+ showLabel: false,
13181
+ label: t("showMatchDetails"),
13182
+ checked: showMatchDetails,
13183
+ onChange: (event) => handleToggleShowMatchDetails(event.target.checked),
13184
+ compressed: true
13185
+ }
13186
+ ) }),
13113
13187
  /* @__PURE__ */ jsx193(EuiFormRow7, { label: t("retrieval"), display: "columnCompressed", children: /* @__PURE__ */ jsx193(
13114
13188
  EuiSelect3,
13115
13189
  {
@@ -13251,7 +13325,7 @@ var getTimelineStyles = ({ theme }) => {
13251
13325
  paddingLeft: theme.font.baseline * 4,
13252
13326
  paddingRight: theme.font.baseline * 4,
13253
13327
  position: "sticky",
13254
- top: timelineOutlineWidthPx,
13328
+ top: theme.base / 4,
13255
13329
  zIndex: 2,
13256
13330
  // Some EUI components have a zIndex
13257
13331
  display: "flex",
@@ -13479,12 +13553,12 @@ var WfoIsAllowedToRender = ({ resource, children }) => {
13479
13553
  };
13480
13554
 
13481
13555
  // src/components/WfoDropdownButton/WfoDropdownButton.tsx
13482
- import { useState as useState36 } from "react";
13556
+ import { useState as useState37 } from "react";
13483
13557
  import { EuiButtonGroup as EuiButtonGroup3, EuiPopover as EuiPopover6 } from "@elastic/eui";
13484
13558
  import { jsx as jsx204 } from "@emotion/react/jsx-runtime";
13485
13559
  var WfoDropdownButton = ({ label, isDisabled = false, children }) => {
13486
- const [isHovered, setIsHovered] = useState36(false);
13487
- const [isPopoverOpen, setPopoverOpen] = useState36(false);
13560
+ const [isHovered, setIsHovered] = useState37(false);
13561
+ const [isPopoverOpen, setPopoverOpen] = useState37(false);
13488
13562
  const buttonOptions = [
13489
13563
  {
13490
13564
  id: "id_1",
@@ -13542,7 +13616,7 @@ import Link14 from "next/link";
13542
13616
  import { useRouter as useRouter17 } from "next/router";
13543
13617
 
13544
13618
  // src/pages/metadata/WfoProductBlocksPage.tsx
13545
- import { useEffect as useEffect26, useState as useState37 } from "react";
13619
+ import { useEffect as useEffect26, useState as useState38 } from "react";
13546
13620
  import { useTranslations as useTranslations52 } from "next-intl";
13547
13621
  import { EuiBadgeGroup as EuiBadgeGroup2 } from "@elastic/eui";
13548
13622
 
@@ -13608,7 +13682,7 @@ var WfoProductBlocksPage = () => {
13608
13682
  const t = useTranslations52("metadata.productBlocks");
13609
13683
  const tError = useTranslations52("errors");
13610
13684
  const { showToastMessage } = useShowToastMessage();
13611
- const [tableDefaults, setTableDefaults] = useState37();
13685
+ const [tableDefaults, setTableDefaults] = useState38();
13612
13686
  const getStoredTableConfig = useStoredTableConfig(
13613
13687
  METADATA_PRODUCT_BLOCKS_TABLE_LOCAL_STORAGE_KEY
13614
13688
  );
@@ -13798,7 +13872,7 @@ var WfoProductBlocksPage = () => {
13798
13872
  };
13799
13873
 
13800
13874
  // src/pages/metadata/WfoResourceTypesPage.tsx
13801
- import { useEffect as useEffect27, useState as useState38 } from "react";
13875
+ import { useEffect as useEffect27, useState as useState39 } from "react";
13802
13876
  import { useTranslations as useTranslations53 } from "next-intl";
13803
13877
  import { EuiBadgeGroup as EuiBadgeGroup3 } from "@elastic/eui";
13804
13878
  import { Fragment as Fragment44, jsx as jsx208, jsxs as jsxs102 } from "@emotion/react/jsx-runtime";
@@ -13807,7 +13881,7 @@ var WfoResourceTypesPage = () => {
13807
13881
  const t = useTranslations53("metadata.resourceTypes");
13808
13882
  const tError = useTranslations53("errors");
13809
13883
  const { showToastMessage } = useShowToastMessage();
13810
- const [tableDefaults, setTableDefaults] = useState38();
13884
+ const [tableDefaults, setTableDefaults] = useState39();
13811
13885
  const getStoredTableConfig = useStoredTableConfig(
13812
13886
  METADATA_RESOURCE_TYPES_TABLE_LOCAL_STORAGE_KEY
13813
13887
  );
@@ -13948,11 +14022,11 @@ var WfoResourceTypesPage = () => {
13948
14022
  };
13949
14023
 
13950
14024
  // src/pages/metadata/WfoProductsPage.tsx
13951
- import { useEffect as useEffect28, useState as useState40 } from "react";
14025
+ import { useEffect as useEffect28, useState as useState41 } from "react";
13952
14026
  import { useTranslations as useTranslations54 } from "next-intl";
13953
14027
 
13954
14028
  // src/components/WfoMetadata/WfoMetadataStatusField.tsx
13955
- import { useState as useState39 } from "react";
14029
+ import { useState as useState40 } from "react";
13956
14030
  import { EuiButtonEmpty as EuiButtonEmpty6 } from "@elastic/eui";
13957
14031
 
13958
14032
  // src/components/WfoPopover/WfoPopover.tsx
@@ -13976,7 +14050,7 @@ var WfoPopover = ({ id, isLoading, PopoverContent, button, isPopoverOpen, closeP
13976
14050
  // src/components/WfoMetadata/WfoMetadataStatusField.tsx
13977
14051
  import { jsx as jsx210 } from "@emotion/react/jsx-runtime";
13978
14052
  var WfoMetadataStatusField = ({ onSave, currentStatus }) => {
13979
- const [isPopoverOpen, setPopover] = useState39(false);
14053
+ const [isPopoverOpen, setPopover] = useState40(false);
13980
14054
  const onButtonClick = () => setPopover(!isPopoverOpen);
13981
14055
  const button = /* @__PURE__ */ jsx210(EuiButtonEmpty6, { iconType: "arrowDown", iconSide: "right", onClick: onButtonClick, color: "text", children: /* @__PURE__ */ jsx210(WfoProductStatusBadge, { status: currentStatus }) });
13982
14056
  const wrappedButton = /* @__PURE__ */ jsx210(
@@ -14020,7 +14094,7 @@ var WfoProductsPage = () => {
14020
14094
  const t = useTranslations54("metadata.products");
14021
14095
  const tError = useTranslations54("errors");
14022
14096
  const { showToastMessage } = useShowToastMessage();
14023
- const [tableDefaults, setTableDefaults] = useState40();
14097
+ const [tableDefaults, setTableDefaults] = useState41();
14024
14098
  const getStoredTableConfig = useStoredTableConfig(METADATA_PRODUCT_TABLE_LOCAL_STORAGE_KEY);
14025
14099
  const [updateProductDescription] = useUpdateProductDescriptionMutation();
14026
14100
  const [updateProductStatus] = useUpdateProductStatusMutation();
@@ -14202,7 +14276,7 @@ var WfoProductsPage = () => {
14202
14276
  };
14203
14277
 
14204
14278
  // src/pages/metadata/WfoWorkflowsPage.tsx
14205
- import { useEffect as useEffect29, useState as useState41 } from "react";
14279
+ import { useEffect as useEffect29, useState as useState42 } from "react";
14206
14280
  import { useTranslations as useTranslations55 } from "next-intl";
14207
14281
  import { EuiBadgeGroup as EuiBadgeGroup4 } from "@elastic/eui";
14208
14282
 
@@ -14238,7 +14312,7 @@ var WfoWorkflowsPage = () => {
14238
14312
  const t = useTranslations55("metadata.workflows");
14239
14313
  const tError = useTranslations55("errors");
14240
14314
  const { showToastMessage } = useShowToastMessage();
14241
- const [tableDefaults, setTableDefaults] = useState41();
14315
+ const [tableDefaults, setTableDefaults] = useState42();
14242
14316
  const getStoredTableConfig = useStoredTableConfig(METADATA_WORKFLOWS_TABLE_LOCAL_STORAGE_KEY);
14243
14317
  const [updateWorkflow] = useUpdateWorkflowMutation();
14244
14318
  useEffect29(() => {
@@ -14396,7 +14470,7 @@ var WfoWorkflowsPage = () => {
14396
14470
  };
14397
14471
 
14398
14472
  // src/pages/metadata/WfoTasksPage.tsx
14399
- import { useEffect as useEffect30, useState as useState42 } from "react";
14473
+ import { useEffect as useEffect30, useState as useState43 } from "react";
14400
14474
  import { useTranslations as useTranslations56 } from "next-intl";
14401
14475
  import { useRouter as useRouter8 } from "next/router";
14402
14476
  import { EuiBadgeGroup as EuiBadgeGroup5, EuiButtonIcon as EuiButtonIcon13, EuiContextMenuItem as EuiContextMenuItem3 } from "@elastic/eui";
@@ -14433,7 +14507,7 @@ var graphQlTaskListMapper = ({ field, order }) => ({
14433
14507
  // src/pages/metadata/WfoTasksPage.tsx
14434
14508
  import { Fragment as Fragment47, jsx as jsx213, jsxs as jsxs105 } from "@emotion/react/jsx-runtime";
14435
14509
  var ScheduleTaskPopoverMenu = ({ workflowId }) => {
14436
- const [isPopoverOpen, setIsPopoverOpen] = useState42(false);
14510
+ const [isPopoverOpen, setIsPopoverOpen] = useState43(false);
14437
14511
  const button = /* @__PURE__ */ jsx213(
14438
14512
  EuiButtonIcon13,
14439
14513
  {
@@ -14477,7 +14551,7 @@ var WfoTasksPage = () => {
14477
14551
  const t = useTranslations56("metadata.tasks");
14478
14552
  const tError = useTranslations56("errors");
14479
14553
  const { showToastMessage } = useShowToastMessage();
14480
- const [tableDefaults, setTableDefaults] = useState42();
14554
+ const [tableDefaults, setTableDefaults] = useState43();
14481
14555
  const getStoredTableConfig = useStoredTableConfig(METADATA_TASKS_TABLE_LOCAL_STORAGE_KEY);
14482
14556
  const [updateWorkflow] = useUpdateWorkflowMutation();
14483
14557
  useEffect30(() => {
@@ -14649,7 +14723,7 @@ var WfoTasksPage = () => {
14649
14723
  };
14650
14724
 
14651
14725
  // src/pages/metadata/WfoScheduledTasksPage.tsx
14652
- import { useEffect as useEffect31, useState as useState43 } from "react";
14726
+ import { useEffect as useEffect31, useState as useState44 } from "react";
14653
14727
  import { useTranslations as useTranslations57 } from "next-intl";
14654
14728
  import { useRouter as useRouter9 } from "next/router";
14655
14729
  import { EuiButton as EuiButton12, EuiFlexGroup as EuiFlexGroup23, EuiFlexItem as EuiFlexItem24 } from "@elastic/eui";
@@ -14664,7 +14738,7 @@ var WfoScheduledTasksPage = () => {
14664
14738
  const tError = useTranslations57("errors");
14665
14739
  const { showToastMessage } = useShowToastMessage();
14666
14740
  const router = useRouter9();
14667
- const [tableDefaults, setTableDefaults] = useState43();
14741
+ const [tableDefaults, setTableDefaults] = useState44();
14668
14742
  const [deleteScheduledTask, mutationState] = useDeleteScheduledTaskMutation();
14669
14743
  const getStoredTableConfig = useStoredTableConfig(METADATA_SCHEDULES_LOCAL_STORAGE_KEY);
14670
14744
  if (mutationState.isError) {
@@ -15454,7 +15528,7 @@ var WfoProcessDetailPage = ({ processId }) => {
15454
15528
  };
15455
15529
 
15456
15530
  // src/pages/processes/WfoStartProcessPage.tsx
15457
- import { useMemo as useMemo10, useState as useState49 } from "react";
15531
+ import { useMemo as useMemo10, useState as useState50 } from "react";
15458
15532
  import { useTranslations as useTranslations70 } from "next-intl";
15459
15533
  import { useRouter as useRouter13 } from "next/router";
15460
15534
  import { EuiFlexGroup as EuiFlexGroup30, EuiFlexItem as EuiFlexItem29, EuiHorizontalRule as EuiHorizontalRule7, EuiPanel as EuiPanel5, EuiText as EuiText25 } from "@elastic/eui";
@@ -15556,7 +15630,7 @@ var WfoPydanticForm = ({ processName, startProcessPayload, isTask }) => {
15556
15630
  };
15557
15631
 
15558
15632
  // src/components/WfoWorkflowSteps/WfoStep/WfoStep.tsx
15559
- import React72, { useCallback as useCallback12, useState as useState45 } from "react";
15633
+ import React72, { useCallback as useCallback12, useState as useState46 } from "react";
15560
15634
  import { useTranslations as useTranslations65 } from "next-intl";
15561
15635
  import { EuiFlexGroup as EuiFlexGroup27, EuiFlexItem as EuiFlexItem27, EuiPanel as EuiPanel4, EuiText as EuiText20 } from "@elastic/eui";
15562
15636
 
@@ -15742,7 +15816,7 @@ var getStepContent = (stepDelta, showHiddenKeys) => {
15742
15816
  };
15743
15817
 
15744
15818
  // src/components/WfoWorkflowSteps/WfoStep/WfoCodeViewSelector.tsx
15745
- import { useCallback as useCallback10, useState as useState44 } from "react";
15819
+ import { useCallback as useCallback10, useState as useState45 } from "react";
15746
15820
  import { useTranslations as useTranslations63 } from "next-intl";
15747
15821
  import { EuiButtonGroup as EuiButtonGroup4 } from "@elastic/eui";
15748
15822
  import { jsx as jsx223 } from "@emotion/react/jsx-runtime";
@@ -15750,7 +15824,7 @@ var WfoCodeViewSelector = ({ codeView, handleCodeViewChange }) => {
15750
15824
  const t = useTranslations63("processes.steps");
15751
15825
  const { theme, toSecondaryColor } = useOrchestratorTheme();
15752
15826
  const isSelected = (buttonView) => buttonView === codeView;
15753
- const [showTooltips, setShowTooltips] = useState44(true);
15827
+ const [showTooltips, setShowTooltips] = useState45(true);
15754
15828
  const codeViewOptions = [
15755
15829
  {
15756
15830
  id: "json" /* JSON */,
@@ -15902,7 +15976,7 @@ var WfoStep = React72.forwardRef(
15902
15976
  userPermissions
15903
15977
  }, ref) => {
15904
15978
  const { isExpanded, step, userInputForm } = stepListItem;
15905
- const [codeView, setCodeView] = useState45("json" /* JSON */);
15979
+ const [codeView, setCodeView] = useState46("json" /* JSON */);
15906
15980
  const { theme } = useOrchestratorTheme();
15907
15981
  const {
15908
15982
  stepEmailContainerStyle,
@@ -16071,11 +16145,11 @@ var WfoStepList = React73.forwardRef(
16071
16145
  WfoStepList.displayName = "WfoStepList";
16072
16146
 
16073
16147
  // src/components/WfoWorkflowSteps/WfoWorkflowStepList/WfoWorkflowStepList.tsx
16074
- import React75, { useEffect as useEffect35, useState as useState47 } from "react";
16148
+ import React75, { useEffect as useEffect35, useState as useState48 } from "react";
16075
16149
  import { useTranslations as useTranslations68 } from "next-intl";
16076
16150
 
16077
16151
  // src/components/WfoDiff/WfoDiff.tsx
16078
- import { useCallback as useCallback13, useEffect as useEffect34, useMemo as useMemo9, useState as useState46 } from "react";
16152
+ import { useCallback as useCallback13, useEffect as useEffect34, useMemo as useMemo9, useState as useState47 } from "react";
16079
16153
  import { Diff, Hunk, parseDiff, tokenize } from "react-diff-view";
16080
16154
  import "react-diff-view/style/index.css";
16081
16155
  import { useTranslations as useTranslations66 } from "next-intl";
@@ -16134,10 +16208,10 @@ var getSubscriptionDiffTexts = (data) => {
16134
16208
  };
16135
16209
  var WfoDiff = ({ oldText, newText, syntax }) => {
16136
16210
  const t = useTranslations66("processes.delta");
16137
- const [showSplit, setShowSplit] = useState46(true);
16138
- const [showFull, setShowFull] = useState46(false);
16211
+ const [showSplit, setShowSplit] = useState47(true);
16212
+ const [showFull, setShowFull] = useState47(false);
16139
16213
  const { diffStyle } = useWithOrchestratorTheme(getWfoDiffStyles);
16140
- const [{ type, hunks }, setDiff] = useState46({
16214
+ const [{ type, hunks }, setDiff] = useState47({
16141
16215
  type: "modify",
16142
16216
  hunks: []
16143
16217
  });
@@ -16254,16 +16328,16 @@ var WfoWorkflowStepList = React75.forwardRef(
16254
16328
  userInputForm,
16255
16329
  userPermissions
16256
16330
  }, reference) => {
16257
- const [showHiddenKeys, setShowHiddenKeys] = useState47(false);
16258
- const [showRaw, setShowRaw] = useState47(false);
16259
- const [showDelta, setShowDelta] = useState47(false);
16260
- const [showTraceback, setShowTraceback] = useState47(false);
16331
+ const [showHiddenKeys, setShowHiddenKeys] = useState48(false);
16332
+ const [showRaw, setShowRaw] = useState48(false);
16333
+ const [showDelta, setShowDelta] = useState48(false);
16334
+ const [showTraceback, setShowTraceback] = useState48(false);
16261
16335
  const t = useTranslations68("processes.steps");
16262
16336
  const initialStepListItems = steps.map((step) => ({
16263
16337
  step,
16264
16338
  isExpanded: false
16265
16339
  }));
16266
- const [stepListItems, setStepListItems] = useState47(initialStepListItems);
16340
+ const [stepListItems, setStepListItems] = useState48(initialStepListItems);
16267
16341
  const persistStepListItemState = (previousStepListItems, updatedSteps, userInputForm2) => {
16268
16342
  const reversedSteps = [...updatedSteps].reverse();
16269
16343
  const lastStepWithSuspendStatusStepId = reversedSteps.find((step) => step.status === "suspend" /* SUSPEND */)?.stepId;
@@ -16348,9 +16422,9 @@ var WfoWorkflowStepList = React75.forwardRef(
16348
16422
  WfoWorkflowStepList.displayName = "WfoWorkflowStepList";
16349
16423
 
16350
16424
  // src/components/WfoWorkflowSteps/WfoWorkflowStepList/WfoStepListHeader.tsx
16351
- import { useState as useState48 } from "react";
16425
+ import { useState as useState49 } from "react";
16352
16426
  import { useTranslations as useTranslations69 } from "next-intl";
16353
- import { EuiButton as EuiButton16, EuiFlexGroup as EuiFlexGroup29, EuiForm as EuiForm3, EuiFormRow as EuiFormRow8, EuiPopover as EuiPopover8, EuiSwitch as EuiSwitch3, EuiText as EuiText24 } from "@elastic/eui";
16427
+ import { EuiButton as EuiButton16, EuiFlexGroup as EuiFlexGroup29, EuiForm as EuiForm3, EuiFormRow as EuiFormRow8, EuiPopover as EuiPopover8, EuiSwitch as EuiSwitch5, EuiText as EuiText24 } from "@elastic/eui";
16354
16428
 
16355
16429
  // src/components/WfoTextAnchor/WfoTextAnchor.tsx
16356
16430
  import { EuiText as EuiText23 } from "@elastic/eui";
@@ -16398,7 +16472,7 @@ var WfoStepListHeader = ({
16398
16472
  const t = useTranslations69("processes.steps");
16399
16473
  const { theme } = useOrchestratorTheme();
16400
16474
  const { stepListHeaderStyle, stepListContentStyle, stepListContentBoldTextStyle, stepListOptionsContainerStyle } = useWithOrchestratorTheme(getWorkflowStepsStyles);
16401
- const [isViewOptionOpen, setIsViewOptionOpen] = useState48(false);
16475
+ const [isViewOptionOpen, setIsViewOptionOpen] = useState49(false);
16402
16476
  const onViewOptionClick = () => setIsViewOptionOpen((isViewOptionOpen2) => !isViewOptionOpen2);
16403
16477
  const closeViewOption = () => setIsViewOptionOpen(false);
16404
16478
  const viewOptionButton = /* @__PURE__ */ jsx232(
@@ -16431,7 +16505,7 @@ var WfoStepListHeader = ({
16431
16505
  ),
16432
16506
  /* @__PURE__ */ jsx232(EuiPopover8, { button: viewOptionButton, isOpen: isViewOptionOpen, closePopover: closeViewOption, display: "block", children: /* @__PURE__ */ jsx232("div", { children: /* @__PURE__ */ jsxs118(EuiForm3, { component: "form", children: [
16433
16507
  /* @__PURE__ */ jsx232(EuiFormRow8, { children: /* @__PURE__ */ jsx232(
16434
- EuiSwitch3,
16508
+ EuiSwitch5,
16435
16509
  {
16436
16510
  label: "Hidden keys",
16437
16511
  checked: showHiddenKeys,
@@ -16442,7 +16516,7 @@ var WfoStepListHeader = ({
16442
16516
  }
16443
16517
  ) }),
16444
16518
  /* @__PURE__ */ jsx232(EuiFormRow8, { children: /* @__PURE__ */ jsx232(
16445
- EuiSwitch3,
16519
+ EuiSwitch5,
16446
16520
  {
16447
16521
  label: "Raw JSON data",
16448
16522
  checked: showRaw,
@@ -16477,7 +16551,7 @@ var getInitialProcessPayload = ({
16477
16551
  var WfoStartProcessPage = ({ processName, isTask = false }) => {
16478
16552
  const t = useTranslations70("processes.steps");
16479
16553
  const router = useRouter13();
16480
- const [hasError, setHasError] = useState49(false);
16554
+ const [hasError, setHasError] = useState50(false);
16481
16555
  const { theme } = useOrchestratorTheme();
16482
16556
  const { productId, subscriptionId } = router.query;
16483
16557
  const {
@@ -16771,14 +16845,14 @@ var WfoSubscriptionDetailPage = () => {
16771
16845
  };
16772
16846
 
16773
16847
  // src/pages/subscriptions/WfoSubscriptionsListPage.tsx
16774
- import { useEffect as useEffect36, useState as useState50 } from "react";
16848
+ import { useEffect as useEffect36, useState as useState51 } from "react";
16775
16849
  import { useTranslations as useTranslations75 } from "next-intl";
16776
16850
  import { StringParam as StringParam4, useQueryParam as useQueryParam3, withDefault as withDefault4 } from "use-query-params";
16777
16851
  import { EuiSpacer as EuiSpacer25 } from "@elastic/eui";
16778
16852
  import { Fragment as Fragment58, jsx as jsx239, jsxs as jsxs124 } from "@emotion/react/jsx-runtime";
16779
16853
  var WfoSubscriptionsListPage = () => {
16780
16854
  const t = useTranslations75("subscriptions.detail");
16781
- const [tableDefaults, setTableDefaults] = useState50();
16855
+ const [tableDefaults, setTableDefaults] = useState51();
16782
16856
  const getStoredTableConfig = useStoredTableConfig(SUBSCRIPTIONS_TABLE_LOCAL_STORAGE_KEY);
16783
16857
  useEffect36(() => {
16784
16858
  const storedConfig = getStoredTableConfig();
@@ -16831,7 +16905,7 @@ var WfoSubscriptionsListPage = () => {
16831
16905
  };
16832
16906
 
16833
16907
  // src/pages/tasks/WfoTasksListPage.tsx
16834
- import { useContext as useContext10, useEffect as useEffect37, useState as useState51 } from "react";
16908
+ import { useContext as useContext10, useEffect as useEffect37, useState as useState52 } from "react";
16835
16909
  import { useTranslations as useTranslations76 } from "next-intl";
16836
16910
  import Link12 from "next/link";
16837
16911
  import { useRouter as useRouter15 } from "next/router";
@@ -16906,7 +16980,7 @@ var WfoTasksListPage = () => {
16906
16980
  const router = useRouter15();
16907
16981
  const t = useTranslations76("tasks.page");
16908
16982
  const [activeTab, setActiveTab] = useQueryParam4("activeTab", withDefault5(StringParam5, "ACTIVE" /* ACTIVE */));
16909
- const [tableDefaults, setTableDefaults] = useState51();
16983
+ const [tableDefaults, setTableDefaults] = useState52();
16910
16984
  const selectedTasksListTab = getTasksListTabTypeFromString(activeTab);
16911
16985
  const localStorageKey = selectedTasksListTab === "ACTIVE" /* ACTIVE */ ? ACTIVE_TASKS_LIST_TABLE_LOCAL_STORAGE_KEY : COMPLETED_TASKS_LIST_TABLE_LOCAL_STORAGE_KEY;
16912
16986
  const getStoredTableConfig = useStoredTableConfig(localStorageKey);
@@ -16962,6 +17036,7 @@ var WfoTasksListPage = () => {
16962
17036
  "productName",
16963
17037
  "customer",
16964
17038
  "customerAbbreviation",
17039
+ "note",
16965
17040
  "subscriptions",
16966
17041
  "createdBy",
16967
17042
  "assignee",
@@ -17007,7 +17082,7 @@ var WfoTasksListPage = () => {
17007
17082
  };
17008
17083
 
17009
17084
  // src/pages/workflows/WfoWorkflowsListPage.tsx
17010
- import { useEffect as useEffect38, useState as useState52 } from "react";
17085
+ import { useEffect as useEffect38, useState as useState53 } from "react";
17011
17086
  import { useTranslations as useTranslations77 } from "next-intl";
17012
17087
  import { useRouter as useRouter16 } from "next/router";
17013
17088
  import { StringParam as StringParam6, useQueryParam as useQueryParam5, withDefault as withDefault6 } from "use-query-params";
@@ -17084,7 +17159,7 @@ var WfoWorkflowsListPage = () => {
17084
17159
  "activeTab",
17085
17160
  withDefault6(StringParam6, "ACTIVE" /* ACTIVE */)
17086
17161
  );
17087
- const [tableDefaults, setTableDefaults] = useState52();
17162
+ const [tableDefaults, setTableDefaults] = useState53();
17088
17163
  const selectedWorkflowsListTab = getWorkflowsListTabTypeFromString(activeTab);
17089
17164
  const localStorageKey = selectedWorkflowsListTab === "ACTIVE" /* ACTIVE */ ? ACTIVE_PROCESSES_LIST_TABLE_LOCAL_STORAGE_KEY : COMPLETED_PROCESSES_LIST_TABLE_LOCAL_STORAGE_KEY;
17090
17165
  const getStoredTableConfig = useStoredTableConfig(localStorageKey);
@@ -17138,7 +17213,7 @@ var WfoWorkflowsListPage = () => {
17138
17213
  };
17139
17214
 
17140
17215
  // src/pages/WfoSearchPocPage.tsx
17141
- import { useCallback as useCallback14, useEffect as useEffect39, useMemo as useMemo12, useRef as useRef18, useState as useState53 } from "react";
17216
+ import { useCallback as useCallback14, useEffect as useEffect39, useMemo as useMemo12, useRef as useRef18, useState as useState54 } from "react";
17142
17217
  import { formatQuery as formatQuery2 } from "react-querybuilder/formatQuery";
17143
17218
  import { useTranslations as useTranslations78 } from "next-intl";
17144
17219
  import Link13 from "next/link";
@@ -17175,8 +17250,7 @@ var getDataFromResponse = (data, resultColumToPropertyMap2, uniqueRowId, selecte
17175
17250
  return rowMap;
17176
17251
  },
17177
17252
  {}
17178
- ),
17179
- shouldOnlyShowOnHover: true
17253
+ )
17180
17254
  };
17181
17255
  const items = responseColumns.map((responseColumn) => {
17182
17256
  const item = Object.entries(responseColumn).reduce((acc, [key, value]) => {
@@ -17228,8 +17302,8 @@ var WfoSearchPocPage = () => {
17228
17302
  const [activeTab, setActiveTab] = useQueryParam6("activeTab", withDefault7(StringParam7, "ACTIVE" /* ACTIVE */));
17229
17303
  const selectedTab = subscriptionListTabs.find(({ id }) => id === activeTab)?.id ?? "ACTIVE" /* ACTIVE */;
17230
17304
  const getStoredTableConfig = useStoredTableConfig(SEARCH_TABLE_LOCAL_STORAGE_KEY);
17231
- const [retrieverType, setRetrieverType] = useState53("auto" /* Auto */);
17232
- const [queryText, setQueryText] = useState53("");
17305
+ const [retrieverType, setRetrieverType] = useState54("auto" /* Auto */);
17306
+ const [queryText, setQueryText] = useState54("");
17233
17307
  const [committedSearchQuery, setCommittedSearchQuery] = useQueryParam6("queryString", withDefault7(StringParam7, ""));
17234
17308
  const [committedFilterString, setCommittedFilterString] = useQueryParam6("filterString", withDefault7(StringParam7, ""));
17235
17309
  const lastSelfCommittedFilter = useRef18("");
@@ -17242,18 +17316,18 @@ var WfoSearchPocPage = () => {
17242
17316
  lastSelfCommittedQuery.current = queryText2;
17243
17317
  setCommittedSearchQuery(queryText2 || void 0);
17244
17318
  };
17245
- const [filterString, setFilterString] = useState53("");
17246
- const [queryBuilderRuleGroup, setQueryBuilderRuleGroup] = useState53();
17319
+ const [filterString, setFilterString] = useState54("");
17320
+ const [queryBuilderRuleGroup, setQueryBuilderRuleGroup] = useState54();
17247
17321
  const committedRuleGroup = useMemo12(
17248
17322
  () => parseCelToRuleGroup(committedFilterString),
17249
17323
  [committedFilterString]
17250
17324
  );
17251
- const [isValidFilterString, setIsValidFilterString] = useState53(true);
17252
- const [tableDefaults, setTableDefaults] = useState53();
17253
- const [pageSize, setPageSize] = useState53(tableDefaults?.selectedPageSize || DEFAULT_PAGE_SIZE);
17254
- const [limit, setLimit] = useState53(pageSize);
17255
- const [pageCursor, setPageCursor] = useState53(void 0);
17256
- const [dataSorting, setDataSorting] = useState53({
17325
+ const [isValidFilterString, setIsValidFilterString] = useState54(true);
17326
+ const [tableDefaults, setTableDefaults] = useState54();
17327
+ const [pageSize, setPageSize] = useState54(tableDefaults?.selectedPageSize || DEFAULT_PAGE_SIZE);
17328
+ const [limit, setLimit] = useState54(pageSize);
17329
+ const [pageCursor, setPageCursor] = useState54(void 0);
17330
+ const [dataSorting, setDataSorting] = useState54({
17257
17331
  field: "subscriptionId",
17258
17332
  sortOrder: "DESC" /* DESC */
17259
17333
  });
@@ -17527,6 +17601,7 @@ var WfoSearchPocPage = () => {
17527
17601
  data: subscriptionListItems,
17528
17602
  rowExpandingConfiguration,
17529
17603
  defaultHiddenColumns: tableDefaults?.hiddenColumns,
17604
+ defaultShowMatchDetails: tableDefaults?.showMatchDetails,
17530
17605
  filterString,
17531
17606
  handleSearch: handleApplyFilter,
17532
17607
  isLoading: isFetching,
@@ -17557,7 +17632,7 @@ var WfoSearchPocPage = () => {
17557
17632
  };
17558
17633
 
17559
17634
  // src/components/WfoProcessList/WfoProcessListDeltaPopover.tsx
17560
- import { useState as useState54 } from "react";
17635
+ import { useState as useState55 } from "react";
17561
17636
  import { useTranslations as useTranslations79 } from "next-intl";
17562
17637
  import { EuiButtonIcon as EuiButtonIcon16, EuiLoadingSpinner as EuiLoadingSpinner5, EuiPanel as EuiPanel8, EuiPopover as EuiPopover9 } from "@elastic/eui";
17563
17638
 
@@ -17593,10 +17668,10 @@ var WfoProcessListDeltaPopover = ({ processListItem }) => {
17593
17668
  getWfoProcessListDeltaPopoverStyles
17594
17669
  );
17595
17670
  const t = useTranslations79("processes.steps");
17596
- const [isPopoverOpen, setPopoverOpen] = useState54(false);
17671
+ const [isPopoverOpen, setPopoverOpen] = useState55(false);
17597
17672
  const { processId, workflowTarget } = processListItem;
17598
17673
  const { data, isFetching } = useGetRawProcessDetailQuery({ processId }, { skip: !isPopoverOpen });
17599
- if (workflowTarget.toUpperCase() !== "modify" /* MODIFY */.toUpperCase()) {
17674
+ if (workflowTarget !== "MODIFY" /* MODIFY */) {
17600
17675
  return null;
17601
17676
  }
17602
17677
  const { oldText, newText } = getSubscriptionDiffTexts(data);
@@ -17879,16 +17954,17 @@ var WfoProcessesList = ({
17879
17954
  sortOrder: sortBy2?.order ?? "ASC" /* ASC */
17880
17955
  };
17881
17956
  const getProcessListForExport = () => getProcessListTrigger(getQueryVariablesForExport(processListQueryVars)).unwrap();
17957
+ const tableConfig = mapSortableAndFilterableValuesToTableColumnConfig(
17958
+ tableColumns,
17959
+ pageInfo?.sortFields,
17960
+ pageInfo?.filterFields
17961
+ );
17882
17962
  return /* @__PURE__ */ jsx244(
17883
17963
  WfoAdvancedTable,
17884
17964
  {
17885
17965
  queryString,
17886
17966
  data: mapGraphQlProcessListResultToProcessListItems(processes || []),
17887
- tableColumnConfig: mapSortableAndFilterableValuesToTableColumnConfig(
17888
- tableColumns,
17889
- pageInfo?.sortFields,
17890
- pageInfo?.filterFields
17891
- ),
17967
+ tableColumnConfig: tableConfig,
17892
17968
  dataSorting: [dataSorting],
17893
17969
  pagination,
17894
17970
  isLoading: isFetching,
@@ -17957,7 +18033,7 @@ var WfoJsonCodeBlock = ({ data, isBasicStyle = false }) => {
17957
18033
  };
17958
18034
 
17959
18035
  // src/components/WfoSettings/WfoFlushSettings.tsx
17960
- import { useState as useState55 } from "react";
18036
+ import { useState as useState56 } from "react";
17961
18037
  import { useTranslations as useTranslations81 } from "next-intl";
17962
18038
  import { EuiButton as EuiButton19, EuiComboBox as EuiComboBox2, EuiPanel as EuiPanel9, EuiSpacer as EuiSpacer29, EuiText as EuiText29 } from "@elastic/eui";
17963
18039
 
@@ -17990,7 +18066,7 @@ var WfoFlushSettings = () => {
17990
18066
  const { comboboxStyle } = useWithOrchestratorTheme(getWfoFlushSettingsStyle);
17991
18067
  const [clearCache] = useClearCacheMutation();
17992
18068
  const t = useTranslations81("settings.page");
17993
- const [selectedOptions, setSelected] = useState55([]);
18069
+ const [selectedOptions, setSelected] = useState56([]);
17994
18070
  const { showToastMessage } = useShowToastMessage();
17995
18071
  const onChange = (selectedOptions2) => {
17996
18072
  setSelected(selectedOptions2);
@@ -19069,11 +19145,11 @@ var WfoTitleWithWebsocketBadge = ({
19069
19145
  };
19070
19146
 
19071
19147
  // src/components/WfoRadioDropdown/WfoRadioDropdown.tsx
19072
- import { useState as useState56 } from "react";
19148
+ import { useState as useState57 } from "react";
19073
19149
  import { EuiButtonEmpty as EuiButtonEmpty7, EuiFlexGroup as EuiFlexGroup38, EuiPopover as EuiPopover10, EuiRadioGroup as EuiRadioGroup2 } from "@elastic/eui";
19074
19150
  import { jsx as jsx270 } from "@emotion/react/jsx-runtime";
19075
19151
  var WfoRadioDropdown = ({ options, onUpdateOption, selectedOption }) => {
19076
- const [isOpen, setIsOpen] = useState56(false);
19152
+ const [isOpen, setIsOpen] = useState57(false);
19077
19153
  const handleClose = () => {
19078
19154
  if (isOpen) {
19079
19155
  setIsOpen(false);
@@ -19245,22 +19321,15 @@ var WfoSubscriptionDetailNoteEdit = ({
19245
19321
  };
19246
19322
 
19247
19323
  // src/components/WfoInlineNoteEdit/WfoProcessListNoteEdit.tsx
19248
- import { useEffect as useEffect40, useState as useState57 } from "react";
19249
19324
  import { jsx as jsx273 } from "@emotion/react/jsx-runtime";
19250
19325
  var WfoProcessListNoteEdit = ({ processId, note }) => {
19251
19326
  const [patchProcess] = usePatchProcessMutation();
19252
- const [noteValue, setNoteValue] = useState57(note);
19253
- useEffect40(() => {
19254
- if (note !== noteValue) {
19255
- setNoteValue(note);
19256
- }
19257
- }, [note, noteValue]);
19258
19327
  const onSaveNote = async (note2) => {
19259
19328
  const noteModifyPayload = { id: processId, note: note2 };
19260
19329
  patchProcess(noteModifyPayload);
19261
19330
  return note2;
19262
19331
  };
19263
- return /* @__PURE__ */ jsx273(WfoInlineEdit, { value: noteValue?.trim() || "", onSave: onSaveNote });
19332
+ return /* @__PURE__ */ jsx273(WfoInlineEdit, { value: note?.trim() ? note : INVISIBLE_CHARACTER, onSave: onSaveNote });
19264
19333
  };
19265
19334
 
19266
19335
  // src/components/WfoTableCodeBlock/WfoTableCodeBlock.tsx
@@ -19296,7 +19365,7 @@ var WfoTableCodeBlock = ({ stepState: data }) => {
19296
19365
  };
19297
19366
 
19298
19367
  // src/components/WfoSearchPage/WfoSearch/WfoSearch.tsx
19299
- import { useEffect as useEffect43, useState as useState61 } from "react";
19368
+ import { useEffect as useEffect42, useState as useState61 } from "react";
19300
19369
  import { useTranslations as useTranslations95 } from "next-intl";
19301
19370
  import {
19302
19371
  EuiButton as EuiButton23,
@@ -19313,7 +19382,7 @@ import {
19313
19382
  } from "@elastic/eui";
19314
19383
 
19315
19384
  // src/hooks/useSearch.ts
19316
- import { useEffect as useEffect41, useState as useState58 } from "react";
19385
+ import { useEffect as useEffect40, useState as useState58 } from "react";
19317
19386
  var emptyResult = {
19318
19387
  data: [],
19319
19388
  page_info: { has_next_page: false, next_page_cursor: null },
@@ -19327,7 +19396,7 @@ var emptyResult = {
19327
19396
  var useSearch = (query, entityType, filterGroup, limit, retriever = "auto" /* Auto */) => {
19328
19397
  const [results, setResults] = useState58({ ...emptyResult });
19329
19398
  const [triggerSearch, { isLoading, isError }] = useLazySearchQuery();
19330
- useEffect41(() => {
19399
+ useEffect40(() => {
19331
19400
  const queryText = typeof query === "string" ? query : query.text?.trim() || "";
19332
19401
  const hasFilters = filterGroup && filterGroup.children.length > 0;
19333
19402
  if (queryText.length < 2 && !hasFilters) {
@@ -19476,7 +19545,7 @@ var useSearchPagination = (debouncedQuery, selectedEntityTab, filterGroup, pageS
19476
19545
  };
19477
19546
 
19478
19547
  // src/hooks/useUrlParams.ts
19479
- import { useCallback as useCallback16, useEffect as useEffect42, useState as useState60 } from "react";
19548
+ import { useCallback as useCallback16, useEffect as useEffect41, useState as useState60 } from "react";
19480
19549
  var useUrlParams = () => {
19481
19550
  const [urlParams, setUrlParams] = useState60(() => {
19482
19551
  if (typeof window !== "undefined") {
@@ -19524,7 +19593,7 @@ var useUrlParams = () => {
19524
19593
  window.history.replaceState({}, "", newUrl);
19525
19594
  setUrlParams(newParams);
19526
19595
  }, [query, selectedEntityTab, showFilters, selectedRecordIndex, selectedRecordId]);
19527
- useEffect42(() => {
19596
+ useEffect41(() => {
19528
19597
  updateUrl();
19529
19598
  }, [updateUrl]);
19530
19599
  return {
@@ -19585,7 +19654,7 @@ var WfoSearch = () => {
19585
19654
  retrieverType
19586
19655
  );
19587
19656
  const [hasSearchBeenAttempted, setHasSearchBeenAttempted] = useState61(false);
19588
- useEffect43(() => {
19657
+ useEffect42(() => {
19589
19658
  const queryText = typeof debouncedQuery === "string" ? debouncedQuery : debouncedQuery?.text?.trim() || "";
19590
19659
  const hasFilters = filterGroup && filterGroup.children.length > 0;
19591
19660
  if (queryText.length >= 2 || hasFilters) {
@@ -19633,7 +19702,7 @@ var WfoSearch = () => {
19633
19702
  setSearchValue(searchText);
19634
19703
  setQuery(searchText);
19635
19704
  };
19636
- useEffect43(() => {
19705
+ useEffect42(() => {
19637
19706
  if (typeof query === "string") {
19638
19707
  if (query !== searchValue) {
19639
19708
  setSearchValue(query);
@@ -19650,7 +19719,7 @@ var WfoSearch = () => {
19650
19719
  const shouldShowNoResults = (() => {
19651
19720
  return hasSearchBeenAttempted && !loading && results.data.length === 0;
19652
19721
  })();
19653
- useEffect43(() => {
19722
+ useEffect42(() => {
19654
19723
  if (results.data.length > 0) {
19655
19724
  if (selectedRecordId) {
19656
19725
  const foundIndex = results.data.findIndex((result) => result.entity_id === selectedRecordId);
@@ -19668,10 +19737,10 @@ var WfoSearch = () => {
19668
19737
  }
19669
19738
  }
19670
19739
  }, [results.data, selectedRecordId, setSelectedRecordId, setSelectedRecordIndex, urlParams]);
19671
- useEffect43(() => {
19740
+ useEffect42(() => {
19672
19741
  setShowDetailPanel(results?.data?.length > 0 && selectedRecordIndex >= 0 && selectedEntityTab === "SUBSCRIPTION");
19673
19742
  }, [results?.data?.length, selectedRecordIndex, selectedEntityTab]);
19674
- useEffect43(() => {
19743
+ useEffect42(() => {
19675
19744
  resetPagination();
19676
19745
  }, [debouncedQuery, selectedEntityTab, filterGroup, resetPagination]);
19677
19746
  const { RESULTS_GROW, DETAIL_GROW } = LAYOUT_RATIOS;
@@ -19832,7 +19901,7 @@ var WfoSearchLoadingState = () => {
19832
19901
  };
19833
19902
 
19834
19903
  // src/components/WfoSearchPage/WfoSearchResults/WfoSearchResultItem.tsx
19835
- import { useEffect as useEffect44, useRef as useRef19 } from "react";
19904
+ import { useEffect as useEffect43, useRef as useRef19 } from "react";
19836
19905
  import { useTranslations as useTranslations98 } from "next-intl";
19837
19906
  import { EuiButtonIcon as EuiButtonIcon17, EuiFlexGroup as EuiFlexGroup43, EuiFlexItem as EuiFlexItem45, EuiPanel as EuiPanel18, EuiSpacer as EuiSpacer34, EuiText as EuiText37 } from "@elastic/eui";
19838
19907
 
@@ -19880,7 +19949,7 @@ var WfoSearchResultItem = ({
19880
19949
  const baseUrl = `${window.location.protocol}//${window.location.host}`;
19881
19950
  const detailUrl = getDetailUrl(result, baseUrl);
19882
19951
  const itemRef = useRef19(null);
19883
- useEffect44(() => {
19952
+ useEffect43(() => {
19884
19953
  if (isSelected && onPositionChange && itemRef.current) {
19885
19954
  onPositionChange(index, itemRef.current);
19886
19955
  }
@@ -21015,6 +21084,10 @@ import {
21015
21084
  // src/components/WfoWorkflowUserGuide/styles.ts
21016
21085
  import { css as css47 } from "@emotion/react";
21017
21086
  var getStyles16 = ({ theme }) => {
21087
+ const navigationHeight = theme.base * 3;
21088
+ const timelineStickyHeight = theme.base * 4;
21089
+ const stripBottomGap = theme.base;
21090
+ const stripMinHeight = theme.base * 40;
21018
21091
  const fullHeightStyle = css47({
21019
21092
  height: "100%"
21020
21093
  });
@@ -21022,23 +21095,50 @@ var getStyles16 = ({ theme }) => {
21022
21095
  width: theme.base * 4,
21023
21096
  cursor: "pointer"
21024
21097
  });
21098
+ const stickyStripContainerStyle = css47({
21099
+ width: theme.base * 4,
21100
+ cursor: "pointer",
21101
+ alignSelf: "stretch",
21102
+ position: "sticky",
21103
+ top: timelineStickyHeight,
21104
+ minHeight: stripMinHeight,
21105
+ maxHeight: `calc(100vh - ${navigationHeight + timelineStickyHeight + stripBottomGap}px)`
21106
+ });
21107
+ const stripIconStyle = css47({
21108
+ display: "flex",
21109
+ justifyContent: "center"
21110
+ });
21111
+ const stickyPanelFillStyle = css47({
21112
+ flexGrow: 1
21113
+ });
21025
21114
  const toggleStripContainerHorizontalStyle = css47({
21026
21115
  width: "100%",
21027
21116
  height: theme.base * 4,
21028
21117
  cursor: "pointer"
21029
21118
  });
21119
+ const stickyHorizontalStripContainerStyle = css47({
21120
+ width: "100%",
21121
+ height: theme.base * 4,
21122
+ cursor: "pointer",
21123
+ position: "sticky",
21124
+ top: timelineStickyHeight,
21125
+ zIndex: 2
21126
+ });
21030
21127
  const toggleStripPanelStyle = css47({
21031
21128
  height: "100%",
21032
21129
  backgroundColor: theme.colors.backgroundBasePrimary,
21033
- border: `2px dashed ${theme.colors.backgroundLightPrimary}`,
21034
- transition: "box-shadow 100ms ease-in-out, border-style 100ms ease-in-out",
21130
+ border: `2px solid ${theme.colors.backgroundLightPrimary}`,
21131
+ transition: "border-color 100ms ease-in-out",
21035
21132
  "&:hover": {
21036
- borderStyle: "solid",
21037
- boxShadow: `0 0 0 2px ${theme.colors.backgroundBasePrimary}`
21133
+ borderColor: theme.colors.borderBasePrimary
21038
21134
  }
21039
21135
  });
21040
21136
  const guideExpandedItemStyle = css47({
21041
- position: "relative"
21137
+ alignSelf: "stretch",
21138
+ position: "sticky",
21139
+ top: timelineStickyHeight,
21140
+ minHeight: stripMinHeight,
21141
+ maxHeight: `calc(100vh - ${navigationHeight + timelineStickyHeight + stripBottomGap}px)`
21042
21142
  });
21043
21143
  const guideExpandedFillStyle = css47({
21044
21144
  position: "absolute",
@@ -21047,8 +21147,10 @@ var getStyles16 = ({ theme }) => {
21047
21147
  const guidePanelStyle = css47({
21048
21148
  height: "100%",
21049
21149
  overflowY: "auto",
21050
- border: `2px dashed ${theme.colors.backgroundLightPrimary}`,
21051
- borderRightWidth: 0
21150
+ border: `2px solid ${theme.colors.backgroundLightPrimary}`,
21151
+ borderRightWidth: 0,
21152
+ borderTopRightRadius: 0,
21153
+ borderBottomRightRadius: 0
21052
21154
  });
21053
21155
  const guideBodyStyle = css47({
21054
21156
  flex: 1,
@@ -21057,23 +21159,33 @@ var getStyles16 = ({ theme }) => {
21057
21159
  flexDirection: "column"
21058
21160
  });
21059
21161
  const noLeftBorderStyle = css47({
21060
- borderLeftWidth: 0
21162
+ borderLeftWidth: 0,
21163
+ borderTopLeftRadius: 0,
21164
+ borderBottomLeftRadius: 0
21061
21165
  });
21062
21166
  const noBottomBorderStyle = css47({
21063
- borderBottomWidth: 0
21167
+ borderBottomWidth: 0,
21168
+ borderBottomLeftRadius: 0,
21169
+ borderBottomRightRadius: 0
21064
21170
  });
21065
21171
  const guideStackedBodyStyle = css47({
21066
21172
  maxHeight: "50vh",
21067
21173
  overflowY: "auto"
21068
21174
  });
21069
21175
  const guideStackedPanelStyle = css47({
21070
- border: `2px dashed ${theme.colors.backgroundLightPrimary}`,
21071
- borderTopWidth: 0
21176
+ border: `2px solid ${theme.colors.backgroundLightPrimary}`,
21177
+ borderTopWidth: 0,
21178
+ borderTopLeftRadius: 0,
21179
+ borderTopRightRadius: 0
21072
21180
  });
21073
21181
  return {
21074
21182
  fullHeightStyle,
21075
21183
  toggleStripContainerStyle,
21184
+ stickyStripContainerStyle,
21185
+ stripIconStyle,
21186
+ stickyPanelFillStyle,
21076
21187
  toggleStripContainerHorizontalStyle,
21188
+ stickyHorizontalStripContainerStyle,
21077
21189
  toggleStripPanelStyle,
21078
21190
  noLeftBorderStyle,
21079
21191
  noBottomBorderStyle,
@@ -21093,62 +21205,60 @@ var WfoWorkflowGuideToggleStrip = ({
21093
21205
  ariaLabel,
21094
21206
  isBigScreen,
21095
21207
  noLeadingBorder,
21208
+ sticky,
21096
21209
  children
21097
21210
  }) => {
21098
21211
  const {
21099
21212
  fullHeightStyle,
21213
+ stickyStripContainerStyle,
21214
+ stripIconStyle,
21215
+ stickyPanelFillStyle,
21100
21216
  toggleStripContainerStyle,
21101
21217
  toggleStripContainerHorizontalStyle,
21218
+ stickyHorizontalStripContainerStyle,
21102
21219
  toggleStripPanelStyle,
21103
21220
  noLeftBorderStyle,
21104
21221
  noBottomBorderStyle
21105
21222
  } = useWithOrchestratorTheme(getStyles16);
21106
- return /* @__PURE__ */ jsx292(
21107
- EuiFlexItem53,
21223
+ const containerStyle = isBigScreen ? sticky ? stickyStripContainerStyle : toggleStripContainerStyle : sticky ? stickyHorizontalStripContainerStyle : toggleStripContainerHorizontalStyle;
21224
+ return /* @__PURE__ */ jsx292(EuiFlexItem53, { grow: false, onClick: onToggle, "aria-label": ariaLabel, css: containerStyle, children: /* @__PURE__ */ jsx292(
21225
+ EuiPanel22,
21108
21226
  {
21109
- grow: false,
21110
- onClick: onToggle,
21111
- "aria-label": ariaLabel,
21112
- css: isBigScreen ? toggleStripContainerStyle : toggleStripContainerHorizontalStyle,
21113
- children: /* @__PURE__ */ jsx292(
21114
- EuiPanel22,
21227
+ hasShadow: false,
21228
+ css: [
21229
+ toggleStripPanelStyle,
21230
+ sticky && stickyPanelFillStyle,
21231
+ noLeadingBorder && (isBigScreen ? noLeftBorderStyle : noBottomBorderStyle)
21232
+ ],
21233
+ children: isBigScreen ? /* @__PURE__ */ jsx292("div", { css: stripIconStyle, children }) : /* @__PURE__ */ jsx292(
21234
+ EuiFlexGroup52,
21115
21235
  {
21116
- hasShadow: false,
21117
- css: [toggleStripPanelStyle, noLeadingBorder && (isBigScreen ? noLeftBorderStyle : noBottomBorderStyle)],
21118
- children: /* @__PURE__ */ jsx292(
21119
- EuiFlexGroup52,
21120
- {
21121
- direction: isBigScreen ? "column" : "row",
21122
- alignItems: "center",
21123
- gutterSize: "s",
21124
- justifyContent: "center",
21125
- css: fullHeightStyle,
21126
- children
21127
- }
21128
- )
21236
+ direction: "row",
21237
+ alignItems: "center",
21238
+ gutterSize: "s",
21239
+ justifyContent: "center",
21240
+ css: fullHeightStyle,
21241
+ children
21129
21242
  }
21130
21243
  )
21131
21244
  }
21132
- );
21245
+ ) });
21133
21246
  };
21134
21247
  var WfoWorkflowGuideMarkdown = ({ workflowName, isBigScreen }) => {
21135
21248
  const t = useTranslations107("workflowGuide");
21136
21249
  const { guideBodyStyle, guidePanelStyle, guideStackedBodyStyle, guideStackedPanelStyle } = useWithOrchestratorTheme(getStyles16);
21137
21250
  const { data, isLoading, isError } = useGetWorkflowGuideQuery({ workflowName });
21138
21251
  const content = data?.content ?? "";
21139
- return /* @__PURE__ */ jsx292("div", { css: isBigScreen ? guideBodyStyle : guideStackedBodyStyle, children: isLoading && /* @__PURE__ */ jsx292(EuiLoadingSpinner7, { size: "m" }) || (isError || !content) && /* @__PURE__ */ jsx292(EuiText44, { color: "subdued", children: t("noGuideAvailable") }) || /* @__PURE__ */ jsx292(EuiPanel22, { paddingSize: "m", hasShadow: true, css: isBigScreen ? guidePanelStyle : guideStackedPanelStyle, children: /* @__PURE__ */ jsx292(EuiMarkdownFormat2, { children: content }) }) });
21252
+ return /* @__PURE__ */ jsx292("div", { css: isBigScreen ? guideBodyStyle : guideStackedBodyStyle, children: isLoading && /* @__PURE__ */ jsx292(EuiLoadingSpinner7, { size: "m" }) || /* @__PURE__ */ jsx292(EuiPanel22, { paddingSize: "m", hasShadow: true, css: isBigScreen ? guidePanelStyle : guideStackedPanelStyle, children: (isError || !content) && /* @__PURE__ */ jsx292(EuiText44, { color: "subdued", children: t("noGuideAvailable") }) || /* @__PURE__ */ jsx292(EuiMarkdownFormat2, { children: content }) }) });
21140
21253
  };
21141
21254
  var WfoWorkflowGuideExpandablePanel = ({ workflowName, isExpanded, onToggle }) => {
21142
21255
  const t = useTranslations107("workflowGuide");
21143
21256
  const { fullHeightStyle, guideExpandedItemStyle, guideExpandedFillStyle } = useWithOrchestratorTheme(getStyles16);
21144
21257
  const isBigScreen = useIsWithinBreakpoints(["xl", "xxl"]);
21145
- const OpenGuideButton = () => /* @__PURE__ */ jsx292(EuiFlexItem53, { grow: false, children: /* @__PURE__ */ jsxs152(EuiFlexGroup52, { gutterSize: "xs", alignItems: "center", direction: isBigScreen ? "column" : "row", children: [
21146
- /* @__PURE__ */ jsx292(EuiIcon8, { type: isBigScreen ? "arrowLeft" : "arrowDown", size: "xxl", color: "primary" }),
21147
- /* @__PURE__ */ jsx292(EuiIcon8, { type: "info", size: "xxl", color: "primary" })
21148
- ] }) });
21258
+ const OpenGuideButton = () => /* @__PURE__ */ jsx292(EuiIcon8, { type: "info", size: "xxl", color: "primary" });
21149
21259
  const CloseGuideButton = () => /* @__PURE__ */ jsx292(EuiFlexItem53, { grow: false, children: /* @__PURE__ */ jsx292(EuiIcon8, { type: isBigScreen ? "arrowRight" : "arrowUp", size: "xl", color: "primary" }) });
21150
21260
  if (!isExpanded) {
21151
- return /* @__PURE__ */ jsx292(WfoWorkflowGuideToggleStrip, { onToggle, ariaLabel: t("show"), isBigScreen, children: /* @__PURE__ */ jsx292(OpenGuideButton, {}) });
21261
+ return /* @__PURE__ */ jsx292(WfoWorkflowGuideToggleStrip, { onToggle, ariaLabel: t("show"), isBigScreen, sticky: true, children: /* @__PURE__ */ jsx292(OpenGuideButton, {}) });
21152
21262
  }
21153
21263
  if (isBigScreen) {
21154
21264
  return /* @__PURE__ */ jsx292(EuiFlexItem53, { grow: 1, css: guideExpandedItemStyle, children: /* @__PURE__ */ jsxs152(EuiFlexGroup52, { gutterSize: "none", css: [fullHeightStyle, guideExpandedFillStyle], children: [
@@ -21190,15 +21300,23 @@ var WfoPageWithUserGuide = ({ workflowName, children }) => {
21190
21300
  onToggle: () => setIsExpanded((expanded) => !expanded)
21191
21301
  }
21192
21302
  );
21193
- return /* @__PURE__ */ jsxs153(EuiFlexGroup53, { gutterSize: "s", direction: isBigScreen ? "row" : "column", children: [
21194
- !isBigScreen && workflowGuideExpandablePanel,
21195
- /* @__PURE__ */ jsx293(EuiFlexItem54, { grow: true, children }),
21196
- isBigScreen && workflowGuideExpandablePanel
21197
- ] });
21303
+ return /* @__PURE__ */ jsxs153(
21304
+ EuiFlexGroup53,
21305
+ {
21306
+ gutterSize: "s",
21307
+ direction: isBigScreen ? "row" : "column",
21308
+ alignItems: isBigScreen ? "flexStart" : "stretch",
21309
+ children: [
21310
+ !isBigScreen && workflowGuideExpandablePanel,
21311
+ /* @__PURE__ */ jsx293(EuiFlexItem54, { grow: true, css: { minWidth: 0 }, children }),
21312
+ isBigScreen && workflowGuideExpandablePanel
21313
+ ]
21314
+ }
21315
+ );
21198
21316
  };
21199
21317
 
21200
21318
  // src/components/WfoMonacoCodeBlock/WfoMonacoCodeBlock.tsx
21201
- import { useCallback as useCallback17, useEffect as useEffect45, useState as useState64 } from "react";
21319
+ import { useCallback as useCallback17, useEffect as useEffect44, useState as useState64 } from "react";
21202
21320
  import { EuiFlexItem as EuiFlexItem55 } from "@elastic/eui";
21203
21321
  import Editor from "@monaco-editor/react";
21204
21322
 
@@ -21242,7 +21360,7 @@ var WfoMonacoCodeBlock = ({ data }) => {
21242
21360
  },
21243
21361
  [theme, isDarkModeActive]
21244
21362
  );
21245
- useEffect45(() => {
21363
+ useEffect44(() => {
21246
21364
  if (monacoInstance) {
21247
21365
  addThemeToEditor(monacoInstance);
21248
21366
  }
@@ -21413,6 +21531,7 @@ var en_GB_default = {
21413
21531
  searchModalText: '<p>Different options are available from free text search covering all data columns, or column specific filtering. Note that: <p></p><ul><li>Hidden columns are included</li> <li>Searching is case-insensitive</li> <li>Ordering of words does not matter (unless it is a Phrase)</li> <li>TSV (text search vector) search only available for subscriptions table</li></ul></p> <p>For example:</p> <li><b>"l2vpn"</b> \u2013 free text search</li> <li><b>tag:l2vpn</b> \u2013 search in a specific column</li><li><b>tag:lp description:test</b> \u2013 search in multiple columns</li><li><b>tag:(lp|lr)</b> \u2013 multiselect within 1 column</li><li><b>-tag:lp</b> \u2013 negated filter</li><li><b>test*</b> \u2013 prefix filter</li> <p></p><p><b>Note:</b> Search words containing characters `|-*():"` may not be valid, as they are part of the search query grammar</p><p>Invalid search strings are for example:</p><ul><li>2a10:e300:fff0::/48</li> <li>"node123(planned)"</li> <li>"node123|planned"</li></ul>',
21414
21532
  searchModalTitle: "Search string options",
21415
21533
  showAllColumnsInDetailView: "Show all columns in detail view",
21534
+ showMatchDetails: "Show match details",
21416
21535
  tableSettings: "Table settings",
21417
21536
  unauthorizedPage: "You are not authorized to see this page",
21418
21537
  unknownError: "Unknown error"
@@ -21909,7 +22028,8 @@ var en_GB_default = {
21909
22028
  title: "Subscriptions",
21910
22029
  workflowsTab: {
21911
22030
  startWithNewestLabel: "Start with newest first",
21912
- startWithOldestLabel: "Start with oldest first"
22031
+ startWithOldestLabel: "Start with oldest first",
22032
+ hideValidateTasks: "Hide validation tasks"
21913
22033
  }
21914
22034
  },
21915
22035
  index: {
@@ -21988,6 +22108,7 @@ var nl_NL_default = {
21988
22108
  searchModalText: '<p>Er zijn verschillende opties beschikbaar: zoeken in vrije tekst voor alle datakolommen en specifiek per kolom te filteren. Houd er rekening mee dat: </p><p></p><ul><li>Verborgen kolommen zijn inbegrepen</li> <li>Zoeken is niet hoofdlettergevoelig</li> <li>De volgorde van woorden doet er niet toe (tenzij het een quote)</li> <li>TSV (text search vector) zoekactie alleen beschikbaar voor subscription tabel</li></ul><p>Bijvoorbeeld:</p> <li><b>"l2vpn"</b> \u2013 vrije tekst search</li> <li><b>tag:l2vpn</b> \u2013 zoeken in een specifieke kolom</li> <li><b>tag:lp beschrijving: test</b> \u2013 zoeken in meerdere kolommen</li><li><b>tag:(lp|lr)</b> \u2013 multi select binnen 1 kolom</li> <li><b>-tag:lp</b> \u2013 omgekeerd filteren</li> <li><b>test*</b> \u2013 prefix filter</li> <p></p><p><b>Opmerking:</b> Zoeken op woorden die tekens `|-*():"` bevatten, zijn mogelijk niet geldig, omdat ze deel uitmaken van de grammatica van de zoekfunctie</p><p>Ongeldige zoekwoorden zijn bijvoorbeeld:</p><ul><li>2a10:e300:fff0::/48</li> <li>"node123(gepland)"</li> <li>"node123|gepland"</li></ul>',
21989
22109
  searchModalTitle: "Zoekwoorden opties",
21990
22110
  showAllColumnsInDetailView: "Toon alle kolommen in detailweergave",
22111
+ showMatchDetails: "Toon overeenkomstdetails",
21991
22112
  tableSettings: "Tabel instellingen",
21992
22113
  unauthorizedPage: "Niet geautoriseerd om deze pagina te bekijken",
21993
22114
  unknownError: "Onbekende fout"
@@ -22483,8 +22604,9 @@ var nl_NL_default = {
22483
22604
  tag: "Tag",
22484
22605
  title: "Subscriptions",
22485
22606
  workflowsTab: {
22486
- startWithNewestLabel: "Start met nieuwste eerst",
22487
- startWithOldestLabel: "Start met oudste eerst"
22607
+ startWithNewestLabel: "Start met nieuwste",
22608
+ startWithOldestLabel: "Start met oudste",
22609
+ hideValidateTasks: "Verberg validatie taken"
22488
22610
  }
22489
22611
  },
22490
22612
  index: {