@orchestrator-ui/orchestrator-ui-components 5.7.1 → 5.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -26790,6 +26790,7 @@ var PolicyResource = /* @__PURE__ */ ((PolicyResource2) => {
26790
26790
  PolicyResource2["SUBSCRIPTION_CREATE"] = "/orchestrator/processes/create/process/menu";
26791
26791
  PolicyResource2["SUBSCRIPTION_MODIFY"] = "/orchestrator/subscriptions/modify/";
26792
26792
  PolicyResource2["SUBSCRIPTION_TERMINATE"] = "/orchestrator/subscriptions/terminate/";
26793
+ PolicyResource2["SUBSCRIPTION_RECONCILE"] = "/orchestrator/subscriptions/reconcile/";
26793
26794
  PolicyResource2["SUBSCRIPTION_VALIDATE"] = "/orchestrator/subscriptions/validate/";
26794
26795
  PolicyResource2["TASKS_CREATE"] = "/orchestrator/processes/create/task";
26795
26796
  PolicyResource2["TASKS_RETRY_ALL"] = "/orchestrator/processes/all-tasks/retry";
@@ -26800,7 +26801,7 @@ var PolicyResource = /* @__PURE__ */ ((PolicyResource2) => {
26800
26801
  })(PolicyResource || {});
26801
26802
 
26802
26803
  // src/configuration/version.ts
26803
- var ORCHESTRATOR_UI_LIBRARY_VERSION = "5.7.1";
26804
+ var ORCHESTRATOR_UI_LIBRARY_VERSION = "5.8.0";
26804
26805
 
26805
26806
  // src/types/types.ts
26806
26807
  var EngineStatus = /* @__PURE__ */ ((EngineStatus3) => {
@@ -26839,6 +26840,7 @@ var WorkflowTarget = /* @__PURE__ */ ((WorkflowTarget2) => {
26839
26840
  WorkflowTarget2["TERMINATE"] = "terminate";
26840
26841
  WorkflowTarget2["SYSTEM"] = "system";
26841
26842
  WorkflowTarget2["VALIDATE"] = "validate";
26843
+ WorkflowTarget2["RECONCILE"] = "reconcile";
26842
26844
  return WorkflowTarget2;
26843
26845
  })(WorkflowTarget || {});
26844
26846
  var StepStatus = /* @__PURE__ */ ((StepStatus2) => {
@@ -34031,7 +34033,7 @@ query MetadataWorkflows(
34031
34033
  after: $after
34032
34034
  sortBy: $sortBy
34033
34035
  query: $query
34034
- filterBy: { field: "target", value: "CREATE|MODIFY|TERMINATE" }
34036
+ filterBy: { field: "target", value: "CREATE|MODIFY|TERMINATE|RECONCILE" }
34035
34037
  ) {
34036
34038
  page {
34037
34039
  workflowId
@@ -39164,7 +39166,9 @@ var WfoWorkflowTargetBadge = ({
39164
39166
  success,
39165
39167
  successText,
39166
39168
  warning: warning2,
39167
- warningText
39169
+ warningText,
39170
+ accent,
39171
+ accentText
39168
39172
  } = theme.colors;
39169
39173
  switch (_target?.toLowerCase()) {
39170
39174
  case "create" /* CREATE */:
@@ -39188,6 +39192,11 @@ var WfoWorkflowTargetBadge = ({
39188
39192
  badgeColor: toSecondaryColor(danger),
39189
39193
  textColor: dangerText
39190
39194
  };
39195
+ case "reconcile" /* RECONCILE */:
39196
+ return {
39197
+ badgeColor: toSecondaryColor(accent),
39198
+ textColor: accentText
39199
+ };
39191
39200
  default:
39192
39201
  return {
39193
39202
  badgeColor: toSecondaryColor(primary),
@@ -40031,6 +40040,8 @@ var getWorkflowTargetColor = (workflowTarget, theme) => {
40031
40040
  case "system" /* SYSTEM */:
40032
40041
  case "validate" /* VALIDATE */:
40033
40042
  return theme.colors.warning;
40043
+ case "reconcile" /* RECONCILE */:
40044
+ return theme.colors.accent;
40034
40045
  case "terminate" /* TERMINATE */:
40035
40046
  return theme.colors.danger;
40036
40047
  }
@@ -40045,6 +40056,8 @@ var getWorkflowTargetIconContent = (workflowTarget) => {
40045
40056
  return "T";
40046
40057
  case "terminate" /* TERMINATE */:
40047
40058
  return "X";
40059
+ case "reconcile" /* RECONCILE */:
40060
+ return "R";
40048
40061
  default:
40049
40062
  return "M";
40050
40063
  }
@@ -42380,14 +42393,53 @@ import Link8 from "next/link";
42380
42393
  import { useRouter as useRouter5 } from "next/router";
42381
42394
  import {
42382
42395
  EuiButton as EuiButton7,
42396
+ EuiButtonIcon as EuiButtonIcon7,
42383
42397
  EuiContextMenuItem,
42384
42398
  EuiContextMenuPanel,
42399
+ EuiLoadingSpinner,
42385
42400
  EuiPanel,
42386
42401
  EuiPopover as EuiPopover4,
42387
42402
  EuiTitle,
42388
42403
  EuiToolTip as EuiToolTip6
42389
42404
  } from "@elastic/eui";
42390
42405
 
42406
+ // src/icons/WfoDotsHorizontal.tsx
42407
+ import { jsx as jsx121, jsxs as jsxs67 } from "@emotion/react/jsx-runtime";
42408
+ var WfoDotsHorizontal = ({
42409
+ width = 20,
42410
+ height = 20,
42411
+ color = "currentColor"
42412
+ }) => /* @__PURE__ */ jsxs67(
42413
+ "svg",
42414
+ {
42415
+ width,
42416
+ height,
42417
+ viewBox: "0 0 24 24",
42418
+ version: "1.1",
42419
+ xmlns: "http://www.w3.org/2000/svg",
42420
+ children: [
42421
+ /* @__PURE__ */ jsx121("title", { children: "icon/dots-horizontal" }),
42422
+ /* @__PURE__ */ jsx121(
42423
+ "g",
42424
+ {
42425
+ id: "Symbols",
42426
+ stroke: "none",
42427
+ strokeWidth: "1",
42428
+ fill: "none",
42429
+ fillRule: "evenodd",
42430
+ children: /* @__PURE__ */ jsx121("g", { id: "icon/dots-horizontal", fill: color, fillRule: "nonzero", children: /* @__PURE__ */ jsx121(
42431
+ "path",
42432
+ {
42433
+ d: "M8,12 C8,13.1046 7.10457,14 6,14 C4.89543,14 4,13.1046 4,12 C4,10.89543 4.89543,10 6,10 C7.10457,10 8,10.89543 8,12 Z M14,12 C14,13.1046 13.1046,14 12,14 C10.89543,14 10,13.1046 10,12 C10,10.89543 10.89543,10 12,10 C13.1046,10 14,10.89543 14,12 Z M18,14 C19.1046,14 20,13.1046 20,12 C20,10.89543 19.1046,10 18,10 C16.8954,10 16,10.89543 16,12 C16,13.1046 16.8954,14 18,14 Z",
42434
+ id: "Combined-Shape"
42435
+ }
42436
+ ) })
42437
+ }
42438
+ )
42439
+ ]
42440
+ }
42441
+ );
42442
+
42391
42443
  // src/components/WfoSubscription/WfoSubscriptionActions/WfoSubscriptionActionExpandableMenuItem.tsx
42392
42444
  import { useState as useState18 } from "react";
42393
42445
  import { useTranslations as useTranslations29 } from "next-intl";
@@ -42458,7 +42510,7 @@ var getSubscriptionActionStyles = ({ theme }) => {
42458
42510
  };
42459
42511
 
42460
42512
  // src/components/WfoSubscription/WfoSubscriptionActions/WfoSubscriptionActionExpandableMenuItem.tsx
42461
- import { jsx as jsx121, jsxs as jsxs67 } from "@emotion/react/jsx-runtime";
42513
+ import { jsx as jsx122, jsxs as jsxs68 } from "@emotion/react/jsx-runtime";
42462
42514
  var WfoSubscriptionActionExpandableMenuItem = ({ subscriptionAction, onClickLockedRelation, children }) => {
42463
42515
  const t = useTranslations29("subscriptions.detail.actions");
42464
42516
  const {
@@ -42470,8 +42522,8 @@ var WfoSubscriptionActionExpandableMenuItem = ({ subscriptionAction, onClickLock
42470
42522
  } = useWithOrchestratorTheme(getSubscriptionActionStyles);
42471
42523
  const [isExpanded, setIsExpanded] = useState18(false);
42472
42524
  const { locked_relations: lockedRelations } = subscriptionAction;
42473
- return /* @__PURE__ */ jsxs67("div", { children: [
42474
- /* @__PURE__ */ jsxs67(
42525
+ return /* @__PURE__ */ jsxs68("div", { children: [
42526
+ /* @__PURE__ */ jsxs68(
42475
42527
  "div",
42476
42528
  {
42477
42529
  css: [
@@ -42480,8 +42532,8 @@ var WfoSubscriptionActionExpandableMenuItem = ({ subscriptionAction, onClickLock
42480
42532
  ],
42481
42533
  onClick: () => setIsExpanded(!isExpanded),
42482
42534
  children: [
42483
- /* @__PURE__ */ jsx121("div", { children }),
42484
- lockedRelations && /* @__PURE__ */ jsx121(
42535
+ /* @__PURE__ */ jsx122("div", { children }),
42536
+ lockedRelations && /* @__PURE__ */ jsx122(
42485
42537
  EuiButtonIcon6,
42486
42538
  {
42487
42539
  css: expandButtonStyle,
@@ -42493,9 +42545,9 @@ var WfoSubscriptionActionExpandableMenuItem = ({ subscriptionAction, onClickLock
42493
42545
  ]
42494
42546
  }
42495
42547
  ),
42496
- lockedRelations && isExpanded && /* @__PURE__ */ jsxs67("div", { css: expandedContentStyle, children: [
42497
- /* @__PURE__ */ jsx121(EuiText8, { size: "xs", children: t("lockedBySubscriptions") }),
42498
- lockedRelations.map((relation) => /* @__PURE__ */ jsx121(EuiText8, { size: "xs", children: /* @__PURE__ */ jsx121(
42548
+ lockedRelations && isExpanded && /* @__PURE__ */ jsxs68("div", { css: expandedContentStyle, children: [
42549
+ /* @__PURE__ */ jsx122(EuiText8, { size: "xs", children: t("lockedBySubscriptions") }),
42550
+ lockedRelations.map((relation) => /* @__PURE__ */ jsx122(EuiText8, { size: "xs", children: /* @__PURE__ */ jsx122(
42499
42551
  Link7,
42500
42552
  {
42501
42553
  css: linkStyle,
@@ -42510,11 +42562,12 @@ var WfoSubscriptionActionExpandableMenuItem = ({ subscriptionAction, onClickLock
42510
42562
  };
42511
42563
 
42512
42564
  // src/components/WfoSubscription/WfoSubscriptionActions/WfoSubscriptionActions.tsx
42513
- import { Fragment as Fragment24, jsx as jsx122, jsxs as jsxs68 } from "@emotion/react/jsx-runtime";
42514
- var MenuBlock = ({ title }) => /* @__PURE__ */ jsx122(EuiTitle, { size: "xxxs", children: /* @__PURE__ */ jsx122("h3", { children: title }) });
42565
+ import { Fragment as Fragment24, jsx as jsx123, jsxs as jsxs69 } from "@emotion/react/jsx-runtime";
42566
+ var MenuBlock = ({ title }) => /* @__PURE__ */ jsx123(EuiTitle, { size: "xxxs", children: /* @__PURE__ */ jsx123("h3", { children: title }) });
42515
42567
  var WfoSubscriptionActions = ({
42516
42568
  subscriptionId,
42517
- isLoading
42569
+ isLoading,
42570
+ compactMode = false
42518
42571
  }) => {
42519
42572
  const { theme } = useOrchestratorTheme();
42520
42573
  const {
@@ -42527,20 +42580,18 @@ var WfoSubscriptionActions = ({
42527
42580
  const router = useRouter5();
42528
42581
  const t = useTranslations30("subscriptions.detail.actions");
42529
42582
  const [isPopoverOpen, setPopover] = useState19(false);
42530
- const { data: subscriptionActions } = useGetSubscriptionActionsQuery(
42531
- {
42532
- subscriptionId
42533
- },
42534
- { skip: isLoading }
42583
+ const disableQuery = isLoading || !isPopoverOpen && compactMode;
42584
+ const {
42585
+ data: subscriptionActions,
42586
+ isLoading: subscriptionActionsIsLoading
42587
+ } = useGetSubscriptionActionsQuery(
42588
+ { subscriptionId },
42589
+ { skip: disableQuery }
42535
42590
  );
42536
42591
  const { isEngineRunningNow } = useCheckEngineStatus();
42537
42592
  const { isAllowed } = usePolicy();
42538
- const onButtonClick = () => {
42539
- setPopover(!isPopoverOpen);
42540
- };
42541
- const closePopover = () => {
42542
- setPopover(false);
42543
- };
42593
+ const onButtonClick = () => setPopover(!isPopoverOpen);
42594
+ const closePopover = () => setPopover(false);
42544
42595
  const MenuItem = ({
42545
42596
  action,
42546
42597
  target,
@@ -42559,12 +42610,12 @@ var WfoSubscriptionActions = ({
42559
42610
  router.push(url);
42560
42611
  }
42561
42612
  };
42562
- return /* @__PURE__ */ jsx122(Link8, { href: url, onClick: handleLinkClick, children: /* @__PURE__ */ jsx122("div", { css: linkMenuItemStyle, children: actionItem }) });
42613
+ return /* @__PURE__ */ jsx123(Link8, { href: url, onClick: handleLinkClick, children: /* @__PURE__ */ jsx123("div", { css: linkMenuItemStyle, children: actionItem }) });
42563
42614
  };
42564
42615
  const tooltipIt = (actionItem) => {
42565
42616
  if (!action.reason) return actionItem;
42566
42617
  const tooltipContent = t(action.reason, flattenArrayProps(action));
42567
- return /* @__PURE__ */ jsx122("div", { css: tooltipMenuItemStyle, children: /* @__PURE__ */ jsx122(EuiToolTip6, { position: "top", content: tooltipContent, children: /* @__PURE__ */ jsx122(
42618
+ return /* @__PURE__ */ jsx123("div", { css: tooltipMenuItemStyle, children: /* @__PURE__ */ jsx123(EuiToolTip6, { position: "top", content: tooltipContent, children: /* @__PURE__ */ jsx123(
42568
42619
  WfoSubscriptionActionExpandableMenuItem,
42569
42620
  {
42570
42621
  subscriptionAction: action,
@@ -42573,23 +42624,29 @@ var WfoSubscriptionActions = ({
42573
42624
  }
42574
42625
  ) }) });
42575
42626
  };
42576
- const getIcon = () => {
42577
- return action.reason ? /* @__PURE__ */ jsxs68("div", { css: disabledIconStyle, children: [
42578
- /* @__PURE__ */ jsx122(WfoTargetTypeIcon, { target, disabled: true }),
42579
- /* @__PURE__ */ jsx122("div", { css: secondaryIconStyle, children: /* @__PURE__ */ jsx122(
42580
- WfoXCircleFill,
42581
- {
42582
- width: 20,
42583
- height: 20,
42584
- color: theme.colors.danger
42585
- }
42586
- ) })
42587
- ] }) : /* @__PURE__ */ jsx122("div", { css: iconStyle, children: /* @__PURE__ */ jsx122(WfoTargetTypeIcon, { target }) });
42588
- };
42589
- const ActionItem = () => /* @__PURE__ */ jsx122(EuiContextMenuItem, { icon: getIcon(), disabled: !!action.reason, children: action.description });
42590
- return action?.reason ? tooltipIt(/* @__PURE__ */ jsx122(ActionItem, {})) : linkIt(/* @__PURE__ */ jsx122(ActionItem, {}));
42627
+ const getIcon = () => action.reason ? /* @__PURE__ */ jsxs69("div", { css: disabledIconStyle, children: [
42628
+ /* @__PURE__ */ jsx123(WfoTargetTypeIcon, { target, disabled: true }),
42629
+ /* @__PURE__ */ jsx123("div", { css: secondaryIconStyle, children: /* @__PURE__ */ jsx123(
42630
+ WfoXCircleFill,
42631
+ {
42632
+ width: 20,
42633
+ height: 20,
42634
+ color: theme.colors.danger
42635
+ }
42636
+ ) })
42637
+ ] }) : /* @__PURE__ */ jsx123("div", { css: iconStyle, children: /* @__PURE__ */ jsx123(WfoTargetTypeIcon, { target }) });
42638
+ const ActionItem = () => /* @__PURE__ */ jsx123(EuiContextMenuItem, { icon: getIcon(), disabled: !!action.reason, children: action.description });
42639
+ return action?.reason ? tooltipIt(/* @__PURE__ */ jsx123(ActionItem, {})) : linkIt(/* @__PURE__ */ jsx123(ActionItem, {}));
42591
42640
  };
42592
- const button = /* @__PURE__ */ jsx122(
42641
+ const button = compactMode ? /* @__PURE__ */ jsx123(
42642
+ EuiButtonIcon7,
42643
+ {
42644
+ iconType: () => /* @__PURE__ */ jsx123(WfoDotsHorizontal, {}),
42645
+ onClick: onButtonClick,
42646
+ "aria-label": "Row context menu",
42647
+ isLoading
42648
+ }
42649
+ ) : /* @__PURE__ */ jsx123(
42593
42650
  EuiButton7,
42594
42651
  {
42595
42652
  iconType: "arrowDown",
@@ -42599,7 +42656,68 @@ var WfoSubscriptionActions = ({
42599
42656
  children: t("actions")
42600
42657
  }
42601
42658
  );
42602
- return /* @__PURE__ */ jsx122(
42659
+ const {
42660
+ SUBSCRIPTION_VALIDATE,
42661
+ SUBSCRIPTION_RECONCILE,
42662
+ SUBSCRIPTION_MODIFY,
42663
+ SUBSCRIPTION_TERMINATE
42664
+ } = PolicyResource;
42665
+ const compactItems = /* @__PURE__ */ jsxs69(Fragment24, { children: [
42666
+ isAllowed(SUBSCRIPTION_VALIDATE + subscriptionId) && subscriptionActions?.validate && /* @__PURE__ */ jsxs69(Fragment24, { children: [
42667
+ !compactMode && /* @__PURE__ */ jsx123(MenuBlock, { title: t("tasks") }),
42668
+ subscriptionActions.validate.map((action, index) => /* @__PURE__ */ jsx123(
42669
+ MenuItem,
42670
+ {
42671
+ action,
42672
+ index,
42673
+ target: "validate" /* VALIDATE */,
42674
+ isTask: true
42675
+ },
42676
+ `s_${index}`
42677
+ ))
42678
+ ] }),
42679
+ isAllowed(SUBSCRIPTION_RECONCILE + subscriptionId) && (subscriptionActions?.reconcile?.length ?? 0) > 0 && /* @__PURE__ */ jsxs69(Fragment24, { children: [
42680
+ !compactMode && /* @__PURE__ */ jsx123(MenuBlock, { title: t("reconcile") }),
42681
+ subscriptionActions?.reconcile.map((action, index) => /* @__PURE__ */ jsx123(
42682
+ MenuItem,
42683
+ {
42684
+ action,
42685
+ index,
42686
+ target: "reconcile" /* RECONCILE */
42687
+ },
42688
+ `r_${index}`
42689
+ ))
42690
+ ] })
42691
+ ] });
42692
+ const fullItems = /* @__PURE__ */ jsxs69(Fragment24, { children: [
42693
+ isAllowed(SUBSCRIPTION_MODIFY + subscriptionId) && subscriptionActions?.modify && /* @__PURE__ */ jsxs69(Fragment24, { children: [
42694
+ /* @__PURE__ */ jsx123(MenuBlock, { title: t("modify") }),
42695
+ subscriptionActions.modify.map((action, index) => /* @__PURE__ */ jsx123(
42696
+ MenuItem,
42697
+ {
42698
+ action,
42699
+ index,
42700
+ target: "modify" /* MODIFY */
42701
+ },
42702
+ `m_${index}`
42703
+ ))
42704
+ ] }),
42705
+ compactItems,
42706
+ isAllowed(SUBSCRIPTION_TERMINATE + subscriptionId) && subscriptionActions?.terminate && /* @__PURE__ */ jsxs69(Fragment24, { children: [
42707
+ /* @__PURE__ */ jsx123(MenuBlock, { title: t("terminate") }),
42708
+ subscriptionActions.terminate.map((action, index) => /* @__PURE__ */ jsx123(
42709
+ MenuItem,
42710
+ {
42711
+ action,
42712
+ index,
42713
+ target: "terminate" /* TERMINATE */
42714
+ },
42715
+ `t_${index}`
42716
+ ))
42717
+ ] })
42718
+ ] });
42719
+ const MenuItemsList = () => compactMode ? compactItems : fullItems;
42720
+ return /* @__PURE__ */ jsx123(
42603
42721
  EuiPopover4,
42604
42722
  {
42605
42723
  id: "subscriptionActionPopover",
@@ -42608,57 +42726,7 @@ var WfoSubscriptionActions = ({
42608
42726
  closePopover,
42609
42727
  panelPaddingSize: "none",
42610
42728
  anchorPosition: "downLeft",
42611
- children: /* @__PURE__ */ jsx122(EuiContextMenuPanel, { children: /* @__PURE__ */ jsxs68(EuiPanel, { color: "transparent", paddingSize: "s", children: [
42612
- subscriptionActions && isAllowed(
42613
- "/orchestrator/subscriptions/modify/" /* SUBSCRIPTION_MODIFY */ + subscriptionId
42614
- ) && subscriptionActions.modify && /* @__PURE__ */ jsxs68(Fragment24, { children: [
42615
- /* @__PURE__ */ jsx122(MenuBlock, { title: t("modify") }),
42616
- subscriptionActions.modify.map(
42617
- (action, index) => /* @__PURE__ */ jsx122(
42618
- MenuItem,
42619
- {
42620
- action,
42621
- index,
42622
- target: "modify" /* MODIFY */
42623
- },
42624
- `m_${index}`
42625
- )
42626
- )
42627
- ] }),
42628
- subscriptionActions && isAllowed(
42629
- "/orchestrator/subscriptions/validate/" /* SUBSCRIPTION_VALIDATE */ + subscriptionId
42630
- ) && subscriptionActions.validate && /* @__PURE__ */ jsxs68(Fragment24, { children: [
42631
- /* @__PURE__ */ jsx122(MenuBlock, { title: t("tasks") }),
42632
- subscriptionActions.validate.map(
42633
- (action, index) => /* @__PURE__ */ jsx122(
42634
- MenuItem,
42635
- {
42636
- action,
42637
- index,
42638
- target: "validate" /* VALIDATE */,
42639
- isTask: true
42640
- },
42641
- `s_${index}`
42642
- )
42643
- )
42644
- ] }),
42645
- subscriptionActions && isAllowed(
42646
- "/orchestrator/subscriptions/terminate/" /* SUBSCRIPTION_TERMINATE */ + subscriptionId
42647
- ) && subscriptionActions.terminate && /* @__PURE__ */ jsxs68(Fragment24, { children: [
42648
- /* @__PURE__ */ jsx122(MenuBlock, { title: t("terminate") }),
42649
- subscriptionActions.terminate.map(
42650
- (action, index) => /* @__PURE__ */ jsx122(
42651
- MenuItem,
42652
- {
42653
- action,
42654
- index,
42655
- target: "terminate" /* TERMINATE */
42656
- },
42657
- `t_${index}`
42658
- )
42659
- )
42660
- ] })
42661
- ] }) })
42729
+ children: /* @__PURE__ */ jsx123(EuiContextMenuPanel, { children: /* @__PURE__ */ jsx123(EuiPanel, { color: "transparent", paddingSize: "s", children: subscriptionActionsIsLoading ? /* @__PURE__ */ jsx123(EuiLoadingSpinner, {}) : /* @__PURE__ */ jsx123(MenuItemsList, {}) }) })
42662
42730
  }
42663
42731
  );
42664
42732
  };
@@ -42680,7 +42748,7 @@ import {
42680
42748
  // src/components/WfoSubscription/WfoInUseByRelations.tsx
42681
42749
  import { useTranslations as useTranslations31 } from "next-intl";
42682
42750
  import Link9 from "next/link";
42683
- import { Fragment as Fragment25, jsx as jsx123 } from "@emotion/react/jsx-runtime";
42751
+ import { Fragment as Fragment25, jsx as jsx124 } from "@emotion/react/jsx-runtime";
42684
42752
  var WfoInUseByRelations = ({
42685
42753
  inUseByRelations
42686
42754
  }) => {
@@ -42693,16 +42761,16 @@ var WfoInUseByRelations = ({
42693
42761
  subscriptionIds
42694
42762
  });
42695
42763
  if (isError2) {
42696
- return /* @__PURE__ */ jsx123(WfoError, {});
42764
+ return /* @__PURE__ */ jsx124(WfoError, {});
42697
42765
  }
42698
42766
  if (isLoading) {
42699
- return /* @__PURE__ */ jsx123(WfoLoading, {});
42767
+ return /* @__PURE__ */ jsx124(WfoLoading, {});
42700
42768
  }
42701
42769
  const getKeyValues = (inUseByRelationDetails) => {
42702
42770
  return [
42703
42771
  {
42704
42772
  key: t("subscriptionId"),
42705
- value: /* @__PURE__ */ jsx123(
42773
+ value: /* @__PURE__ */ jsx124(
42706
42774
  WfoFirstPartUUID,
42707
42775
  {
42708
42776
  UUID: inUseByRelationDetails.subscriptionId,
@@ -42713,7 +42781,7 @@ var WfoInUseByRelations = ({
42713
42781
  },
42714
42782
  {
42715
42783
  key: t("description"),
42716
- value: /* @__PURE__ */ jsx123(
42784
+ value: /* @__PURE__ */ jsx124(
42717
42785
  Link9,
42718
42786
  {
42719
42787
  href: `${PATH_SUBSCRIPTIONS}/${inUseByRelationDetails.subscriptionId}`,
@@ -42730,9 +42798,9 @@ var WfoInUseByRelations = ({
42730
42798
  }
42731
42799
  ];
42732
42800
  };
42733
- return /* @__PURE__ */ jsx123(Fragment25, { children: data?.inUseByRelationDetails.map((relation, index) => {
42801
+ return /* @__PURE__ */ jsx124(Fragment25, { children: data?.inUseByRelationDetails.map((relation, index) => {
42734
42802
  const keyValues = getKeyValues(relation);
42735
- return /* @__PURE__ */ jsx123("div", { css: inUseByRelationDetailsStyle, children: /* @__PURE__ */ jsx123(
42803
+ return /* @__PURE__ */ jsx124("div", { css: inUseByRelationDetailsStyle, children: /* @__PURE__ */ jsx124(
42736
42804
  WfoKeyValueTable,
42737
42805
  {
42738
42806
  keyValues,
@@ -42811,7 +42879,7 @@ var getStyles6 = (wfoTheme) => {
42811
42879
  };
42812
42880
 
42813
42881
  // src/components/WfoSubscription/WfoSubscriptionProductBlock/WfoSubscriptionProductBlock.tsx
42814
- import { Fragment as Fragment26, jsx as jsx124, jsxs as jsxs69 } from "@emotion/react/jsx-runtime";
42882
+ import { Fragment as Fragment26, jsx as jsx125, jsxs as jsxs70 } from "@emotion/react/jsx-runtime";
42815
42883
  var HIDDEN_KEYS = ["title", "name", "label", "inUseByIds"];
42816
42884
  var WfoSubscriptionProductBlock = ({
42817
42885
  productBlock,
@@ -42839,33 +42907,33 @@ var WfoSubscriptionProductBlock = ({
42839
42907
  const isEmpty2 = (value) => {
42840
42908
  return value === null || value === void 0 || value === "" || Array.isArray(value) && value.length === 0;
42841
42909
  };
42842
- return /* @__PURE__ */ jsxs69(Fragment26, { children: [
42843
- /* @__PURE__ */ jsx124(EuiSpacer14, { size: "m" }),
42844
- /* @__PURE__ */ jsxs69(
42910
+ return /* @__PURE__ */ jsxs70(Fragment26, { children: [
42911
+ /* @__PURE__ */ jsx125(EuiSpacer14, { size: "m" }),
42912
+ /* @__PURE__ */ jsxs70(
42845
42913
  EuiPanel2,
42846
42914
  {
42847
42915
  color: "transparent",
42848
42916
  hasShadow: false,
42849
42917
  css: isOutsideCurrentSubscription ? panelStyleOutsideCurrentSubscription : panelStyle,
42850
42918
  children: [
42851
- /* @__PURE__ */ jsxs69(EuiFlexGroup11, { children: [
42852
- /* @__PURE__ */ jsx124(EuiFlexItem8, { grow: false, children: /* @__PURE__ */ jsx124(
42919
+ /* @__PURE__ */ jsxs70(EuiFlexGroup11, { children: [
42920
+ /* @__PURE__ */ jsx125(EuiFlexItem8, { grow: false, children: /* @__PURE__ */ jsx125(
42853
42921
  "div",
42854
42922
  {
42855
42923
  css: isOutsideCurrentSubscription ? iconOutsideCurrentSubscriptionStyle : iconStyle,
42856
- children: /* @__PURE__ */ jsx124(EuiIcon, { type: "filebeatApp", color: "currentColor" })
42924
+ children: /* @__PURE__ */ jsx125(EuiIcon, { type: "filebeatApp", color: "currentColor" })
42857
42925
  }
42858
42926
  ) }),
42859
- /* @__PURE__ */ jsxs69(EuiFlexItem8, { children: [
42860
- /* @__PURE__ */ jsx124(EuiText9, { grow: true, children: /* @__PURE__ */ jsx124("h3", { children: getProductBlockTitle(
42927
+ /* @__PURE__ */ jsxs70(EuiFlexItem8, { children: [
42928
+ /* @__PURE__ */ jsx125(EuiText9, { grow: true, children: /* @__PURE__ */ jsx125("h3", { children: getProductBlockTitle(
42861
42929
  productBlock.productBlockInstanceValues
42862
42930
  ) }) }),
42863
- /* @__PURE__ */ jsx124(EuiText9, { size: "s", children: getFieldFromProductBlockInstanceValues(
42931
+ /* @__PURE__ */ jsx125(EuiText9, { size: "s", children: getFieldFromProductBlockInstanceValues(
42864
42932
  productBlock.productBlockInstanceValues,
42865
42933
  "name"
42866
42934
  ) })
42867
42935
  ] }),
42868
- /* @__PURE__ */ jsx124(EuiFlexItem8, { grow: false, children: /* @__PURE__ */ jsx124(
42936
+ /* @__PURE__ */ jsx125(EuiFlexItem8, { grow: false, children: /* @__PURE__ */ jsx125(
42869
42937
  EuiButtonEmpty4,
42870
42938
  {
42871
42939
  "aria-label": showDetails ? t("hideDetails") : t("showDetails"),
@@ -42875,15 +42943,15 @@ var WfoSubscriptionProductBlock = ({
42875
42943
  }
42876
42944
  ) })
42877
42945
  ] }),
42878
- /* @__PURE__ */ jsx124(EuiSpacer14, { size: "m" }),
42879
- /* @__PURE__ */ jsx124("table", { width: "100%", children: /* @__PURE__ */ jsxs69("tbody", { children: [
42880
- isOutsideCurrentSubscription && /* @__PURE__ */ jsxs69("tr", { css: rowStyle, children: [
42881
- /* @__PURE__ */ jsx124("td", { css: leftColumnStyleWithAlignSelf, children: /* @__PURE__ */ jsx124("b", { children: t("ownerSubscriptionId") }) }),
42882
- /* @__PURE__ */ jsx124("td", { children: /* @__PURE__ */ jsx124(
42946
+ /* @__PURE__ */ jsx125(EuiSpacer14, { size: "m" }),
42947
+ /* @__PURE__ */ jsx125("table", { width: "100%", children: /* @__PURE__ */ jsxs70("tbody", { children: [
42948
+ isOutsideCurrentSubscription && /* @__PURE__ */ jsxs70("tr", { css: rowStyle, children: [
42949
+ /* @__PURE__ */ jsx125("td", { css: leftColumnStyleWithAlignSelf, children: /* @__PURE__ */ jsx125("b", { children: t("ownerSubscriptionId") }) }),
42950
+ /* @__PURE__ */ jsx125("td", { children: /* @__PURE__ */ jsx125(
42883
42951
  WfoValueCell,
42884
42952
  {
42885
- value: /* @__PURE__ */ jsxs69(Fragment26, { children: [
42886
- /* @__PURE__ */ jsx124(
42953
+ value: /* @__PURE__ */ jsxs70(Fragment26, { children: [
42954
+ /* @__PURE__ */ jsx125(
42887
42955
  "a",
42888
42956
  {
42889
42957
  href: `${subscriptionPath}/${ownerSubscriptionId}`,
@@ -42891,7 +42959,7 @@ var WfoSubscriptionProductBlock = ({
42891
42959
  children: productBlock.subscription.description
42892
42960
  }
42893
42961
  ),
42894
- /* @__PURE__ */ jsx124(
42962
+ /* @__PURE__ */ jsx125(
42895
42963
  EuiText9,
42896
42964
  {
42897
42965
  css: outsideSubscriptionIdTextStyle,
@@ -42908,18 +42976,18 @@ var WfoSubscriptionProductBlock = ({
42908
42976
  }
42909
42977
  ) })
42910
42978
  ] }, -1),
42911
- showDetails && /* @__PURE__ */ jsxs69(Fragment26, { children: [
42912
- /* @__PURE__ */ jsxs69("tr", { css: rowStyle, children: [
42913
- /* @__PURE__ */ jsx124("td", { css: leftColumnStyle, children: /* @__PURE__ */ jsx124("b", { children: t("subscriptionInstanceId") }) }),
42914
- /* @__PURE__ */ jsx124("td", { children: productBlock.subscriptionInstanceId })
42979
+ showDetails && /* @__PURE__ */ jsxs70(Fragment26, { children: [
42980
+ /* @__PURE__ */ jsxs70("tr", { css: rowStyle, children: [
42981
+ /* @__PURE__ */ jsx125("td", { css: leftColumnStyle, children: /* @__PURE__ */ jsx125("b", { children: t("subscriptionInstanceId") }) }),
42982
+ /* @__PURE__ */ jsx125("td", { children: productBlock.subscriptionInstanceId })
42915
42983
  ] }, -2),
42916
- !isOutsideCurrentSubscription && /* @__PURE__ */ jsxs69("tr", { css: rowStyle, children: [
42917
- /* @__PURE__ */ jsx124("td", { css: leftColumnStyle, children: /* @__PURE__ */ jsx124("b", { children: t("ownerSubscriptionId") }) }),
42918
- /* @__PURE__ */ jsx124("td", { children: /* @__PURE__ */ jsx124(Fragment26, { children: /* @__PURE__ */ jsx124(EuiBadge2, { children: t("self") }) }) })
42984
+ !isOutsideCurrentSubscription && /* @__PURE__ */ jsxs70("tr", { css: rowStyle, children: [
42985
+ /* @__PURE__ */ jsx125("td", { css: leftColumnStyle, children: /* @__PURE__ */ jsx125("b", { children: t("ownerSubscriptionId") }) }),
42986
+ /* @__PURE__ */ jsx125("td", { children: /* @__PURE__ */ jsx125(Fragment26, { children: /* @__PURE__ */ jsx125(EuiBadge2, { children: t("self") }) }) })
42919
42987
  ] }, -3),
42920
- /* @__PURE__ */ jsxs69("tr", { css: rowStyle, children: [
42921
- /* @__PURE__ */ jsx124("td", { css: leftColumnStyle, children: /* @__PURE__ */ jsx124("b", { children: t("inUseByRelations") }) }),
42922
- /* @__PURE__ */ jsx124("td", { children: inUseByRelations.length === 0 && "None" || /* @__PURE__ */ jsx124(
42988
+ /* @__PURE__ */ jsxs70("tr", { css: rowStyle, children: [
42989
+ /* @__PURE__ */ jsx125("td", { css: leftColumnStyle, children: /* @__PURE__ */ jsx125("b", { children: t("inUseByRelations") }) }),
42990
+ /* @__PURE__ */ jsx125("td", { children: inUseByRelations.length === 0 && "None" || /* @__PURE__ */ jsx125(
42923
42991
  WfoInUseByRelations,
42924
42992
  {
42925
42993
  inUseByRelations
@@ -42945,7 +43013,7 @@ var WfoSubscriptionProductBlock = ({
42945
43013
  if (productBlockInstanceValue && (!isEmpty2(
42946
43014
  productBlockInstanceValue.value
42947
43015
  ) || showDetails)) {
42948
- return /* @__PURE__ */ jsx124(
43016
+ return /* @__PURE__ */ jsx125(
42949
43017
  WfoProductBlockKeyValueRow,
42950
43018
  {
42951
43019
  fieldValue: productBlockInstanceValue,
@@ -42964,7 +43032,7 @@ var WfoSubscriptionProductBlock = ({
42964
43032
 
42965
43033
  // src/components/WfoSubscription/WfoSubscriptionProductBlock/WfoProductBlockKeyValueRow.tsx
42966
43034
  import { EuiBadge as EuiBadge3 } from "@elastic/eui";
42967
- import { Fragment as Fragment27, jsx as jsx125, jsxs as jsxs70 } from "@emotion/react/jsx-runtime";
43035
+ import { Fragment as Fragment27, jsx as jsx126, jsxs as jsxs71 } from "@emotion/react/jsx-runtime";
42968
43036
  var KEY_CELL_CLASS_NAME = "key-cell";
42969
43037
  var VALUE_CELL_CLASS_NAME = "value-cell";
42970
43038
  var WfoProductBlockKeyValueRow = ({ fieldValue, allFieldValues, className }) => {
@@ -42973,17 +43041,17 @@ var WfoProductBlockKeyValueRow = ({ fieldValue, allFieldValues, className }) =>
42973
43041
  const { field, value } = fieldValue;
42974
43042
  const WfoProductBlockValue = ({ value: value2 }) => {
42975
43043
  if (typeof value2 === "boolean") {
42976
- return /* @__PURE__ */ jsx125(EuiBadge3, { children: value2.toString() });
43044
+ return /* @__PURE__ */ jsx126(EuiBadge3, { children: value2.toString() });
42977
43045
  } else if (Array.isArray(value2)) {
42978
43046
  const result = value2.join(", ");
42979
- return /* @__PURE__ */ jsx125(Fragment27, { children: result });
43047
+ return /* @__PURE__ */ jsx126(Fragment27, { children: result });
42980
43048
  } else {
42981
- return /* @__PURE__ */ jsx125(Fragment27, { children: value2 });
43049
+ return /* @__PURE__ */ jsx126(Fragment27, { children: value2 });
42982
43050
  }
42983
43051
  };
42984
- return /* @__PURE__ */ jsxs70("tr", { className, css: rowStyle, children: [
42985
- /* @__PURE__ */ jsx125("td", { className: KEY_CELL_CLASS_NAME, css: leftColumnStyle, children: /* @__PURE__ */ jsx125("b", { children: camelToHuman(field) }) }),
42986
- /* @__PURE__ */ jsx125("td", { className: VALUE_CELL_CLASS_NAME, children: getOverriddenValue(fieldValue, allFieldValues) ?? /* @__PURE__ */ jsx125(WfoProductBlockValue, { value }) })
43052
+ return /* @__PURE__ */ jsxs71("tr", { className, css: rowStyle, children: [
43053
+ /* @__PURE__ */ jsx126("td", { className: KEY_CELL_CLASS_NAME, css: leftColumnStyle, children: /* @__PURE__ */ jsx126("b", { children: camelToHuman(field) }) }),
43054
+ /* @__PURE__ */ jsx126("td", { className: VALUE_CELL_CLASS_NAME, children: getOverriddenValue(fieldValue, allFieldValues) ?? /* @__PURE__ */ jsx126(WfoProductBlockValue, { value }) })
42987
43055
  ] });
42988
43056
  };
42989
43057
 
@@ -43031,7 +43099,7 @@ var getWfoButtonComboBoxStyles = ({ theme }) => {
43031
43099
  };
43032
43100
 
43033
43101
  // src/components/WfoButtonComboBox/WfoButtonComboBox.tsx
43034
- import { Fragment as Fragment28, jsx as jsx126, jsxs as jsxs71 } from "@emotion/react/jsx-runtime";
43102
+ import { Fragment as Fragment28, jsx as jsx127, jsxs as jsxs72 } from "@emotion/react/jsx-runtime";
43035
43103
  var WfoButtonComboBox = ({
43036
43104
  options,
43037
43105
  onOptionChange,
@@ -43049,7 +43117,7 @@ var WfoButtonComboBox = ({
43049
43117
  setOptionsState(options);
43050
43118
  }
43051
43119
  }, [isPopoverOpen, options]);
43052
- return /* @__PURE__ */ jsxs71(
43120
+ return /* @__PURE__ */ jsxs72(
43053
43121
  EuiPopover5,
43054
43122
  {
43055
43123
  initialFocus: `.euiSelectable .euiFieldSearch`,
@@ -43057,11 +43125,11 @@ var WfoButtonComboBox = ({
43057
43125
  isOpen: isPopoverOpen,
43058
43126
  closePopover: () => setPopoverOpen(false),
43059
43127
  children: [
43060
- title && /* @__PURE__ */ jsxs71(Fragment28, { children: [
43061
- /* @__PURE__ */ jsx126(EuiText10, { size: "s", css: titleStyle, children: title }),
43062
- /* @__PURE__ */ jsx126(EuiSpacer15, { size: "s" })
43128
+ title && /* @__PURE__ */ jsxs72(Fragment28, { children: [
43129
+ /* @__PURE__ */ jsx127(EuiText10, { size: "s", css: titleStyle, children: title }),
43130
+ /* @__PURE__ */ jsx127(EuiSpacer15, { size: "s" })
43063
43131
  ] }),
43064
- /* @__PURE__ */ jsx126(
43132
+ /* @__PURE__ */ jsx127(
43065
43133
  EuiSelectable2,
43066
43134
  {
43067
43135
  className,
@@ -43073,9 +43141,9 @@ var WfoButtonComboBox = ({
43073
43141
  setOptionsState(options2);
43074
43142
  },
43075
43143
  height: 200,
43076
- children: (list, search) => /* @__PURE__ */ jsxs71(Fragment28, { children: [
43144
+ children: (list, search) => /* @__PURE__ */ jsxs72(Fragment28, { children: [
43077
43145
  search,
43078
- /* @__PURE__ */ jsx126(EuiSpacer15, { size: "s" }),
43146
+ /* @__PURE__ */ jsx127(EuiSpacer15, { size: "s" }),
43079
43147
  list
43080
43148
  ] })
43081
43149
  }
@@ -43114,7 +43182,7 @@ import { EuiFlexGroup as EuiFlexGroup13, EuiFlexItem as EuiFlexItem10, EuiIcon a
43114
43182
  import { useContext as useContext7 } from "react";
43115
43183
  import { useTranslations as useTranslations33 } from "next-intl";
43116
43184
  import {
43117
- EuiButtonIcon as EuiButtonIcon7,
43185
+ EuiButtonIcon as EuiButtonIcon8,
43118
43186
  EuiFlexGroup as EuiFlexGroup12,
43119
43187
  EuiFlexItem as EuiFlexItem9,
43120
43188
  EuiText as EuiText11,
@@ -43164,11 +43232,11 @@ var getStyles7 = (wfoTheme) => {
43164
43232
  };
43165
43233
 
43166
43234
  // src/icons/WfoXMarkSmall.tsx
43167
- import { jsx as jsx127, jsxs as jsxs72 } from "@emotion/react/jsx-runtime";
43235
+ import { jsx as jsx128, jsxs as jsxs73 } from "@emotion/react/jsx-runtime";
43168
43236
  var WfoXMarkSmall = ({
43169
43237
  width = 20,
43170
43238
  height = 20
43171
- }) => /* @__PURE__ */ jsxs72(
43239
+ }) => /* @__PURE__ */ jsxs73(
43172
43240
  "svg",
43173
43241
  {
43174
43242
  width,
@@ -43177,8 +43245,8 @@ var WfoXMarkSmall = ({
43177
43245
  version: "1.1",
43178
43246
  xmlns: "http://www.w3.org/2000/svg",
43179
43247
  children: [
43180
- /* @__PURE__ */ jsx127("title", { children: "icon/x-mark" }),
43181
- /* @__PURE__ */ jsx127(
43248
+ /* @__PURE__ */ jsx128("title", { children: "icon/x-mark" }),
43249
+ /* @__PURE__ */ jsx128(
43182
43250
  "g",
43183
43251
  {
43184
43252
  id: "Symbols",
@@ -43186,7 +43254,7 @@ var WfoXMarkSmall = ({
43186
43254
  strokeWidth: "1",
43187
43255
  fill: "none",
43188
43256
  fillRule: "evenodd",
43189
- children: /* @__PURE__ */ jsx127("g", { xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", children: /* @__PURE__ */ jsx127("path", { d: "M5.28 4.22a.75.75 0 0 0-1.06 1.06L6.94 8l-2.72 2.72a.75.75 0 1 0 1.06 1.06L8 9.06l2.72 2.72a.75.75 0 1 0 1.06-1.06L9.06 8l2.72-2.72a.75.75 0 0 0-1.06-1.06L8 6.94 5.28 4.22Z" }) })
43257
+ children: /* @__PURE__ */ jsx128("g", { xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", children: /* @__PURE__ */ jsx128("path", { d: "M5.28 4.22a.75.75 0 0 0-1.06 1.06L6.94 8l-2.72 2.72a.75.75 0 1 0 1.06 1.06L8 9.06l2.72 2.72a.75.75 0 1 0 1.06-1.06L9.06 8l2.72-2.72a.75.75 0 0 0-1.06-1.06L8 6.94 5.28 4.22Z" }) })
43190
43258
  }
43191
43259
  )
43192
43260
  ]
@@ -43194,7 +43262,7 @@ var WfoXMarkSmall = ({
43194
43262
  );
43195
43263
 
43196
43264
  // src/components/WfoTree/WfoTreeNodeListItem.tsx
43197
- import { jsx as jsx128, jsxs as jsxs73 } from "@emotion/react/jsx-runtime";
43265
+ import { jsx as jsx129, jsxs as jsxs74 } from "@emotion/react/jsx-runtime";
43198
43266
  var WfoTreeNodeListItem = ({
43199
43267
  item,
43200
43268
  selected
@@ -43205,7 +43273,7 @@ var WfoTreeNodeListItem = ({
43205
43273
  const { selectedTreeItemStyle, treeItemStyle } = useWithOrchestratorTheme(getStyles7);
43206
43274
  const { isOutsideCurrentSubscription, id, label } = item;
43207
43275
  const textLabel = label.toString();
43208
- return /* @__PURE__ */ jsxs73(
43276
+ return /* @__PURE__ */ jsxs74(
43209
43277
  EuiFlexGroup12,
43210
43278
  {
43211
43279
  alignItems: "center",
@@ -43214,12 +43282,12 @@ var WfoTreeNodeListItem = ({
43214
43282
  gutterSize: "xs",
43215
43283
  justifyContent: "spaceBetween",
43216
43284
  children: [
43217
- /* @__PURE__ */ jsx128(EuiFlexItem9, { children: /* @__PURE__ */ jsx128(EuiText11, { title: textLabel, children: /* @__PURE__ */ jsx128(EuiTextTruncate, { text: textLabel }) }) }),
43218
- /* @__PURE__ */ jsx128(EuiFlexItem9, { css: { maxWidth: theme.size.l }, children: /* @__PURE__ */ jsx128(
43219
- EuiButtonIcon7,
43285
+ /* @__PURE__ */ jsx129(EuiFlexItem9, { children: /* @__PURE__ */ jsx129(EuiText11, { title: textLabel, children: /* @__PURE__ */ jsx129(EuiTextTruncate, { text: textLabel }) }) }),
43286
+ /* @__PURE__ */ jsx129(EuiFlexItem9, { css: { maxWidth: theme.size.l }, children: /* @__PURE__ */ jsx129(
43287
+ EuiButtonIcon8,
43220
43288
  {
43221
43289
  color: "primary",
43222
- iconType: () => /* @__PURE__ */ jsx128(WfoXMarkSmall, { color: "currentColor" }),
43290
+ iconType: () => /* @__PURE__ */ jsx129(WfoXMarkSmall, { color: "currentColor" }),
43223
43291
  size: "xs",
43224
43292
  "aria-label": t("deselect"),
43225
43293
  css: { display: selected ? "block" : "none" }
@@ -43231,7 +43299,7 @@ var WfoTreeNodeListItem = ({
43231
43299
  };
43232
43300
 
43233
43301
  // src/components/WfoTree/WfoTreeNode.tsx
43234
- import { jsx as jsx129, jsxs as jsxs74 } from "@emotion/react/jsx-runtime";
43302
+ import { jsx as jsx130, jsxs as jsxs75 } from "@emotion/react/jsx-runtime";
43235
43303
  var WfoTreeNode = ({
43236
43304
  item,
43237
43305
  hasChildren,
@@ -43243,8 +43311,8 @@ var WfoTreeNode = ({
43243
43311
  const expanded = expandedIds.includes(item.id);
43244
43312
  const selected = selectedIds.includes(item.id);
43245
43313
  const expandIcon = expanded ? "arrowDown" : "arrowRight";
43246
- return /* @__PURE__ */ jsx129("div", { style: { paddingLeft: `${level * parseInt(theme.size.m)}px` }, children: /* @__PURE__ */ jsxs74(EuiFlexGroup13, { children: [
43247
- /* @__PURE__ */ jsx129(EuiFlexItem10, { grow: false, css: treeContainerStyle, children: hasChildren ? /* @__PURE__ */ jsx129(
43314
+ return /* @__PURE__ */ jsx130("div", { style: { paddingLeft: `${level * parseInt(theme.size.m)}px` }, children: /* @__PURE__ */ jsxs75(EuiFlexGroup13, { children: [
43315
+ /* @__PURE__ */ jsx130(EuiFlexItem10, { grow: false, css: treeContainerStyle, children: hasChildren ? /* @__PURE__ */ jsx130(
43248
43316
  EuiIcon2,
43249
43317
  {
43250
43318
  type: expandIcon,
@@ -43252,13 +43320,13 @@ var WfoTreeNode = ({
43252
43320
  cursor: "hand",
43253
43321
  onClick: () => expanded ? collapseNode(item.id) : expandNode(item.id)
43254
43322
  }
43255
- ) : /* @__PURE__ */ jsx129(EuiToken, { iconType: item.icon }) }),
43256
- /* @__PURE__ */ jsx129(EuiFlexItem10, { children: /* @__PURE__ */ jsx129(WfoTreeNodeListItem, { item, selected }) })
43323
+ ) : /* @__PURE__ */ jsx130(EuiToken, { iconType: item.icon }) }),
43324
+ /* @__PURE__ */ jsx130(EuiFlexItem10, { children: /* @__PURE__ */ jsx130(WfoTreeNodeListItem, { item, selected }) })
43257
43325
  ] }) });
43258
43326
  };
43259
43327
 
43260
43328
  // src/components/WfoTree/WfoTreeBranch.tsx
43261
- import { Fragment as Fragment29, jsx as jsx130, jsxs as jsxs75 } from "@emotion/react/jsx-runtime";
43329
+ import { Fragment as Fragment29, jsx as jsx131, jsxs as jsxs76 } from "@emotion/react/jsx-runtime";
43262
43330
  var WfoTreeBranch = ({ item, level }) => {
43263
43331
  const { expandedIds } = React35.useContext(TreeContext);
43264
43332
  const selected = expandedIds.includes(item.id);
@@ -43269,18 +43337,18 @@ var WfoTreeBranch = ({ item, level }) => {
43269
43337
  const renderBranches = () => {
43270
43338
  if (hasChildren) {
43271
43339
  const newLevel = level + 1;
43272
- return item.children.map((child) => /* @__PURE__ */ jsx130(WfoTreeBranch, { item: child, level: newLevel }, child.id));
43340
+ return item.children.map((child) => /* @__PURE__ */ jsx131(WfoTreeBranch, { item: child, level: newLevel }, child.id));
43273
43341
  }
43274
43342
  return null;
43275
43343
  };
43276
- return /* @__PURE__ */ jsxs75(Fragment29, { children: [
43277
- /* @__PURE__ */ jsx130(
43344
+ return /* @__PURE__ */ jsxs76(Fragment29, { children: [
43345
+ /* @__PURE__ */ jsx131(
43278
43346
  EuiListGroup,
43279
43347
  {
43280
43348
  flush: true,
43281
43349
  color: "primary",
43282
43350
  maxWidth: productBlockTreeWidth,
43283
- children: /* @__PURE__ */ jsx130(
43351
+ children: /* @__PURE__ */ jsx131(
43284
43352
  WfoTreeNode,
43285
43353
  {
43286
43354
  item,
@@ -43295,13 +43363,13 @@ var WfoTreeBranch = ({ item, level }) => {
43295
43363
  };
43296
43364
 
43297
43365
  // src/components/WfoTree/WfoTree.tsx
43298
- import { jsx as jsx131 } from "@emotion/react/jsx-runtime";
43366
+ import { jsx as jsx132 } from "@emotion/react/jsx-runtime";
43299
43367
  var WfoTree = ({ treeBlocks, depthList }) => {
43300
43368
  const { setDepths } = React36.useContext(TreeContext);
43301
43369
  useEffect10(() => {
43302
43370
  setDepths(depthList);
43303
43371
  }, [setDepths, TreeContext]);
43304
- return /* @__PURE__ */ jsx131("div", { style: { width: "500px" }, children: treeBlocks.map((item) => /* @__PURE__ */ jsx131(WfoTreeBranch, { item, level: 0 }, item.id)) });
43372
+ return /* @__PURE__ */ jsx132("div", { style: { width: "500px" }, children: treeBlocks.map((item) => /* @__PURE__ */ jsx132(WfoTreeBranch, { item, level: 0 }, item.id)) });
43305
43373
  };
43306
43374
 
43307
43375
  // src/components/WfoTree/treeUtils.ts
@@ -43365,7 +43433,7 @@ var getPositionInTree = (tree, id) => {
43365
43433
  };
43366
43434
 
43367
43435
  // src/components/WfoSubscription/WfoSubscriptionDetailTree.tsx
43368
- import { jsx as jsx132, jsxs as jsxs76 } from "@emotion/react/jsx-runtime";
43436
+ import { jsx as jsx133, jsxs as jsxs77 } from "@emotion/react/jsx-runtime";
43369
43437
  var EUI_OPTION_CHECKED_STATE_ON = "on";
43370
43438
  var WfoSubscriptionDetailTree = ({
43371
43439
  productBlockInstances,
@@ -43457,7 +43525,7 @@ var WfoSubscriptionDetailTree = ({
43457
43525
  expandAll();
43458
43526
  return shouldAddIds ? selectIds(data.ids) : deselectIds(data.ids);
43459
43527
  };
43460
- return /* @__PURE__ */ jsxs76(
43528
+ return /* @__PURE__ */ jsxs77(
43461
43529
  EuiFlexGroup14,
43462
43530
  {
43463
43531
  css: {
@@ -43465,7 +43533,7 @@ var WfoSubscriptionDetailTree = ({
43465
43533
  height: `calc(100vh - ${headerHeight}px)`
43466
43534
  },
43467
43535
  children: [
43468
- /* @__PURE__ */ jsx132(
43536
+ /* @__PURE__ */ jsx133(
43469
43537
  EuiFlexItem11,
43470
43538
  {
43471
43539
  style: {
@@ -43475,16 +43543,16 @@ var WfoSubscriptionDetailTree = ({
43475
43543
  overflowY: "auto"
43476
43544
  },
43477
43545
  grow: true,
43478
- children: /* @__PURE__ */ jsxs76(EuiFlexGroup14, { direction: "column", children: [
43479
- /* @__PURE__ */ jsx132(EuiFlexItem11, { grow: false, children: /* @__PURE__ */ jsxs76(
43546
+ children: /* @__PURE__ */ jsxs77(EuiFlexGroup14, { direction: "column", children: [
43547
+ /* @__PURE__ */ jsx133(EuiFlexItem11, { grow: false, children: /* @__PURE__ */ jsxs77(
43480
43548
  EuiFlexGroup14,
43481
43549
  {
43482
43550
  justifyContent: "spaceBetween",
43483
43551
  alignItems: "center",
43484
43552
  children: [
43485
- /* @__PURE__ */ jsx132(EuiFlexItem11, { children: /* @__PURE__ */ jsx132(EuiText12, { children: /* @__PURE__ */ jsx132("h3", { children: t("productBlocks") }) }) }),
43486
- /* @__PURE__ */ jsx132(EuiFlexItem11, { grow: false, children: /* @__PURE__ */ jsxs76(EuiFlexGroup14, { children: [
43487
- /* @__PURE__ */ jsx132(
43553
+ /* @__PURE__ */ jsx133(EuiFlexItem11, { children: /* @__PURE__ */ jsx133(EuiText12, { children: /* @__PURE__ */ jsx133("h3", { children: t("productBlocks") }) }) }),
43554
+ /* @__PURE__ */ jsx133(EuiFlexItem11, { grow: false, children: /* @__PURE__ */ jsxs77(EuiFlexGroup14, { children: [
43555
+ /* @__PURE__ */ jsx133(
43488
43556
  WfoTextAnchor,
43489
43557
  {
43490
43558
  text: t(
@@ -43493,7 +43561,7 @@ var WfoSubscriptionDetailTree = ({
43493
43561
  onClick: toggleShowAll
43494
43562
  }
43495
43563
  ),
43496
- /* @__PURE__ */ jsx132(
43564
+ /* @__PURE__ */ jsx133(
43497
43565
  WfoButtonComboBox,
43498
43566
  {
43499
43567
  options: mapProductBlockInstancesToEuiSelectableOptions(
@@ -43501,7 +43569,7 @@ var WfoSubscriptionDetailTree = ({
43501
43569
  ),
43502
43570
  onOptionChange: handleOptionChange,
43503
43571
  title: t("selectByNameTitle"),
43504
- children: (togglePopover) => /* @__PURE__ */ jsx132(
43572
+ children: (togglePopover) => /* @__PURE__ */ jsx133(
43505
43573
  WfoTextAnchor,
43506
43574
  {
43507
43575
  text: t(
@@ -43516,9 +43584,9 @@ var WfoSubscriptionDetailTree = ({
43516
43584
  ]
43517
43585
  }
43518
43586
  ) }),
43519
- /* @__PURE__ */ jsxs76(EuiFlexItem11, { grow: true, children: [
43520
- !tree && /* @__PURE__ */ jsx132(WfoLoading, {}),
43521
- tree && /* @__PURE__ */ jsx132(
43587
+ /* @__PURE__ */ jsxs77(EuiFlexItem11, { grow: true, children: [
43588
+ !tree && /* @__PURE__ */ jsx133(WfoLoading, {}),
43589
+ tree && /* @__PURE__ */ jsx133(
43522
43590
  WfoTree,
43523
43591
  {
43524
43592
  treeBlocks: [tree],
@@ -43529,7 +43597,7 @@ var WfoSubscriptionDetailTree = ({
43529
43597
  ] })
43530
43598
  }
43531
43599
  ),
43532
- /* @__PURE__ */ jsx132(
43600
+ /* @__PURE__ */ jsx133(
43533
43601
  EuiFlexItem11,
43534
43602
  {
43535
43603
  css: {
@@ -43537,10 +43605,10 @@ var WfoSubscriptionDetailTree = ({
43537
43605
  minWidth: 350
43538
43606
  },
43539
43607
  grow: true,
43540
- children: /* @__PURE__ */ jsxs76("div", { children: [
43541
- /* @__PURE__ */ jsx132("div", { children: "\xA0" }),
43608
+ children: /* @__PURE__ */ jsxs77("div", { children: [
43609
+ /* @__PURE__ */ jsx133("div", { children: "\xA0" }),
43542
43610
  " ",
43543
- selectedIds.length === 0 && /* @__PURE__ */ jsx132(
43611
+ selectedIds.length === 0 && /* @__PURE__ */ jsx133(
43544
43612
  EuiCallOut,
43545
43613
  {
43546
43614
  css: {
@@ -43550,7 +43618,7 @@ var WfoSubscriptionDetailTree = ({
43550
43618
  size: "m",
43551
43619
  title: t("noProductBlockSelected"),
43552
43620
  iconType: "inspect",
43553
- children: /* @__PURE__ */ jsxs76(EuiText12, { children: [
43621
+ children: /* @__PURE__ */ jsxs77(EuiText12, { children: [
43554
43622
  t("ctaSelectProductBlock"),
43555
43623
  " "
43556
43624
  ] })
@@ -43558,7 +43626,7 @@ var WfoSubscriptionDetailTree = ({
43558
43626
  ),
43559
43627
  selectedIds.length !== 0 && selectedIds.sort(sortByTree).map((id) => {
43560
43628
  const block = idToNodeMap[id];
43561
- return /* @__PURE__ */ jsx132(
43629
+ return /* @__PURE__ */ jsx133(
43562
43630
  WfoSubscriptionProductBlock,
43563
43631
  {
43564
43632
  subscriptionId,
@@ -43578,7 +43646,7 @@ var WfoSubscriptionDetailTree = ({
43578
43646
 
43579
43647
  // src/components/WfoSubscription/WfoSubscriptionGeneral.tsx
43580
43648
  import { EuiFlexGrid, EuiFlexItem as EuiFlexItem12 } from "@elastic/eui";
43581
- import { jsx as jsx133 } from "@emotion/react/jsx-runtime";
43649
+ import { jsx as jsx134 } from "@emotion/react/jsx-runtime";
43582
43650
  var WfoSubscriptionGeneralSections = /* @__PURE__ */ ((WfoSubscriptionGeneralSections2) => {
43583
43651
  WfoSubscriptionGeneralSections2["BLOCK_TITLE_SUBSCRIPTION_DETAILS"] = "blockTitleSubscriptionDetails";
43584
43652
  WfoSubscriptionGeneralSections2["BLOCK_TITLE_METADATA"] = "metadata";
@@ -43596,7 +43664,7 @@ var WfoSubscriptionGeneral = ({
43596
43664
  const defaultConfiguration = [
43597
43665
  {
43598
43666
  id: "blockTitleSubscriptionDetails" /* BLOCK_TITLE_SUBSCRIPTION_DETAILS */,
43599
- node: /* @__PURE__ */ jsx133(
43667
+ node: /* @__PURE__ */ jsx134(
43600
43668
  WfoSubscriptionDetailSection,
43601
43669
  {
43602
43670
  subscriptionDetail
@@ -43606,14 +43674,14 @@ var WfoSubscriptionGeneral = ({
43606
43674
  ...toOptionalArrayEntry(
43607
43675
  {
43608
43676
  id: "metadata" /* BLOCK_TITLE_METADATA */,
43609
- node: /* @__PURE__ */ jsx133(WfoSubscriptionMetadataSection, { metadata })
43677
+ node: /* @__PURE__ */ jsx134(WfoSubscriptionMetadataSection, { metadata })
43610
43678
  },
43611
43679
  hasMetadata
43612
43680
  ),
43613
43681
  ...toOptionalArrayEntry(
43614
43682
  {
43615
43683
  id: "blockTitleFixedInputs" /* BLOCK_TITLE_FIXED_INPUTS */,
43616
- node: /* @__PURE__ */ jsx133(
43684
+ node: /* @__PURE__ */ jsx134(
43617
43685
  WfoSubscriptionFixedInputSection,
43618
43686
  {
43619
43687
  fixedInputs
@@ -43624,11 +43692,11 @@ var WfoSubscriptionGeneral = ({
43624
43692
  ),
43625
43693
  {
43626
43694
  id: "blockTitleProductInfo" /* BLOCK_TITLE_PRODUCT_INFO */,
43627
- node: /* @__PURE__ */ jsx133(WfoSubscriptionProductInfoSection, { product })
43695
+ node: /* @__PURE__ */ jsx134(WfoSubscriptionProductInfoSection, { product })
43628
43696
  }
43629
43697
  ];
43630
43698
  const configuration = overrideSections?.(defaultConfiguration, subscriptionDetail) || defaultConfiguration;
43631
- return /* @__PURE__ */ jsx133(EuiFlexGrid, { direction: "row", children: configuration.map(({ id, node }) => /* @__PURE__ */ jsx133(EuiFlexItem12, { children: node }, id)) });
43699
+ return /* @__PURE__ */ jsx134(EuiFlexGrid, { direction: "row", children: configuration.map(({ id, node }) => /* @__PURE__ */ jsx134(EuiFlexItem12, { children: node }, id)) });
43632
43700
  };
43633
43701
 
43634
43702
  // src/rtk/endpoints/customerDescriptions.ts
@@ -43679,7 +43747,7 @@ var {
43679
43747
  // src/components/WfoInlineEdit/WfoInlineEdit.tsx
43680
43748
  import { useEffect as useEffect11, useState as useState23 } from "react";
43681
43749
  import { EuiInlineEditText } from "@elastic/eui";
43682
- import { jsx as jsx134 } from "@emotion/react/jsx-runtime";
43750
+ import { jsx as jsx135 } from "@emotion/react/jsx-runtime";
43683
43751
  var WfoInlineEdit = ({
43684
43752
  value,
43685
43753
  onlyShowOnHover = false,
@@ -43699,7 +43767,7 @@ var WfoInlineEdit = ({
43699
43767
  useEffect11(() => {
43700
43768
  setValue(value);
43701
43769
  }, [value]);
43702
- return /* @__PURE__ */ jsx134(
43770
+ return /* @__PURE__ */ jsx135(
43703
43771
  "div",
43704
43772
  {
43705
43773
  css: {
@@ -43713,14 +43781,14 @@ var WfoInlineEdit = ({
43713
43781
  width: "100%"
43714
43782
  }
43715
43783
  },
43716
- children: /* @__PURE__ */ jsx134(
43784
+ children: /* @__PURE__ */ jsx135(
43717
43785
  WfoToolTip,
43718
43786
  {
43719
43787
  css: {
43720
43788
  visibility: isTooltipVisible && note !== INVISIBLE_CHARACTER ? "visible" : "hidden"
43721
43789
  },
43722
43790
  tooltipContent: note,
43723
- children: /* @__PURE__ */ jsx134("span", { children: /* @__PURE__ */ jsx134(
43791
+ children: /* @__PURE__ */ jsx135("span", { children: /* @__PURE__ */ jsx135(
43724
43792
  EuiInlineEditText,
43725
43793
  {
43726
43794
  inputAriaLabel: "Edit field",
@@ -43789,7 +43857,7 @@ var WfoInlineEdit = ({
43789
43857
  };
43790
43858
 
43791
43859
  // src/components/WfoSubscription/WfoCustomerDescriptionsField.tsx
43792
- import { jsx as jsx135, jsxs as jsxs77 } from "@emotion/react/jsx-runtime";
43860
+ import { jsx as jsx136, jsxs as jsxs78 } from "@emotion/react/jsx-runtime";
43793
43861
  var WfoCustomerDescriptionsField = ({ customerDescriptions, subscriptionCustomerId, subscriptionId }) => {
43794
43862
  const {
43795
43863
  customerDescriptionsCustomerNameStyle,
@@ -43826,14 +43894,14 @@ var WfoCustomerDescriptionsField = ({ customerDescriptions, subscriptionCustomer
43826
43894
  description,
43827
43895
  id,
43828
43896
  subscriptionId: subscriptionId2
43829
- }) => /* @__PURE__ */ jsxs77("div", { css: { display: "flex" }, children: [
43830
- /* @__PURE__ */ jsxs77("div", { css: customerDescriptionsCustomerNameStyle, children: [
43897
+ }) => /* @__PURE__ */ jsxs78("div", { css: { display: "flex" }, children: [
43898
+ /* @__PURE__ */ jsxs78("div", { css: customerDescriptionsCustomerNameStyle, children: [
43831
43899
  fullname ?? customerId,
43832
43900
  " ",
43833
43901
  `${shortcode ?? customerId}`,
43834
43902
  ":"
43835
43903
  ] }),
43836
- /* @__PURE__ */ jsx135(
43904
+ /* @__PURE__ */ jsx136(
43837
43905
  WfoInlineEdit,
43838
43906
  {
43839
43907
  value: description,
@@ -43848,7 +43916,7 @@ var WfoCustomerDescriptionsField = ({ customerDescriptions, subscriptionCustomer
43848
43916
  ] }, customerId);
43849
43917
  const customerDescriptionCreateForm = () => {
43850
43918
  if (!subscriptionCustomerId) return;
43851
- return /* @__PURE__ */ jsx135("div", { children: /* @__PURE__ */ jsx135(
43919
+ return /* @__PURE__ */ jsx136("div", { children: /* @__PURE__ */ jsx136(
43852
43920
  WfoInlineEdit,
43853
43921
  {
43854
43922
  value: INVISIBLE_CHARACTER,
@@ -43864,7 +43932,7 @@ var WfoCustomerDescriptionsField = ({ customerDescriptions, subscriptionCustomer
43864
43932
  const currentCustomerSubscriptionDescription = customerDescriptionsWithName.find(
43865
43933
  ({ customerId }) => customerId === subscriptionCustomerId
43866
43934
  );
43867
- return /* @__PURE__ */ jsxs77("div", { css: customerDescriptionsFormStyle, children: [
43935
+ return /* @__PURE__ */ jsxs78("div", { css: customerDescriptionsFormStyle, children: [
43868
43936
  currentCustomerSubscriptionDescription && customerDescriptionEditForm(
43869
43937
  currentCustomerSubscriptionDescription
43870
43938
  ) || customerDescriptionCreateForm(),
@@ -43906,7 +43974,7 @@ var getWfoTableSettingsModalStyles = (wfoTheme) => {
43906
43974
  };
43907
43975
 
43908
43976
  // src/components/WfoTable/WfoTableSettingsModal/WfoTableSettingsModal.tsx
43909
- import { jsx as jsx136, jsxs as jsxs78 } from "@emotion/react/jsx-runtime";
43977
+ import { jsx as jsx137, jsxs as jsxs79 } from "@emotion/react/jsx-runtime";
43910
43978
  var TableSettingsModal = ({
43911
43979
  tableConfig,
43912
43980
  pageSizeOptions,
@@ -43935,7 +44003,7 @@ var TableSettingsModal = ({
43935
44003
  );
43936
44004
  setColumns(updatedColumns);
43937
44005
  };
43938
- return /* @__PURE__ */ jsx136(
44006
+ return /* @__PURE__ */ jsx137(
43939
44007
  WfoSettingsModal,
43940
44008
  {
43941
44009
  title: t("tableSettings"),
@@ -43945,15 +44013,15 @@ var TableSettingsModal = ({
43945
44013
  columns,
43946
44014
  selectedPageSize
43947
44015
  }),
43948
- children: /* @__PURE__ */ jsxs78(EuiForm2, { children: [
43949
- columns.map(({ field, name, isVisible }) => /* @__PURE__ */ jsxs78("div", { children: [
43950
- /* @__PURE__ */ jsx136(
44016
+ children: /* @__PURE__ */ jsxs79(EuiForm2, { children: [
44017
+ columns.map(({ field, name, isVisible }) => /* @__PURE__ */ jsxs79("div", { children: [
44018
+ /* @__PURE__ */ jsx137(
43951
44019
  EuiFormRow3,
43952
44020
  {
43953
44021
  display: "columnCompressed",
43954
44022
  label: name,
43955
44023
  css: formRowStyle,
43956
- children: /* @__PURE__ */ jsx136(
44024
+ children: /* @__PURE__ */ jsx137(
43957
44025
  EuiSwitch2,
43958
44026
  {
43959
44027
  showLabel: false,
@@ -43967,17 +44035,17 @@ var TableSettingsModal = ({
43967
44035
  )
43968
44036
  }
43969
44037
  ),
43970
- /* @__PURE__ */ jsx136(EuiHorizontalRule3, { margin: "xs" })
44038
+ /* @__PURE__ */ jsx137(EuiHorizontalRule3, { margin: "xs" })
43971
44039
  ] }, field.toString())),
43972
- /* @__PURE__ */ jsx136(EuiSpacer16, { size: "xs" }),
43973
- /* @__PURE__ */ jsx136(
44040
+ /* @__PURE__ */ jsx137(EuiSpacer16, { size: "xs" }),
44041
+ /* @__PURE__ */ jsx137(
43974
44042
  EuiFormRow3,
43975
44043
  {
43976
44044
  css: formRowStyle,
43977
44045
  hasEmptyLabelSpace: true,
43978
44046
  label: t("numberOfRows"),
43979
44047
  display: "columnCompressed",
43980
- children: /* @__PURE__ */ jsx136(
44048
+ children: /* @__PURE__ */ jsx137(
43981
44049
  EuiSelect,
43982
44050
  {
43983
44051
  css: selectFieldStyle,
@@ -44046,12 +44114,12 @@ var getWfoStatusColorFieldStyles = ({ theme }) => {
44046
44114
  };
44047
44115
 
44048
44116
  // src/components/WfoTable/WfoStatusColorField/WfoStatusColorField.tsx
44049
- import { jsx as jsx137 } from "@emotion/react/jsx-runtime";
44117
+ import { jsx as jsx138 } from "@emotion/react/jsx-runtime";
44050
44118
  var WfoStatusColorField = ({ color }) => {
44051
44119
  const { getStatusColorFieldStyle } = useWithOrchestratorTheme(
44052
44120
  getWfoStatusColorFieldStyles
44053
44121
  );
44054
- return /* @__PURE__ */ jsx137("div", { css: getStatusColorFieldStyle(color) });
44122
+ return /* @__PURE__ */ jsx138("div", { css: getStatusColorFieldStyle(color) });
44055
44123
  };
44056
44124
 
44057
44125
  // src/components/WfoTable/WfoTableWithFilter/updateQueryString.ts
@@ -44106,7 +44174,7 @@ var getStyles8 = () => {
44106
44174
  };
44107
44175
 
44108
44176
  // src/components/WfoTable/WfoSortButtons/WfoSortButton.tsx
44109
- import { jsx as jsx138 } from "@emotion/react/jsx-runtime";
44177
+ import { jsx as jsx139 } from "@emotion/react/jsx-runtime";
44110
44178
  var WfoSortButton = ({
44111
44179
  WfoIconComponent,
44112
44180
  isActive,
@@ -44114,12 +44182,12 @@ var WfoSortButton = ({
44114
44182
  }) => {
44115
44183
  const { theme } = useOrchestratorTheme();
44116
44184
  const { getSortButtonStyle } = getStyles8();
44117
- return /* @__PURE__ */ jsx138(
44185
+ return /* @__PURE__ */ jsx139(
44118
44186
  "button",
44119
44187
  {
44120
44188
  css: getSortButtonStyle(isActive),
44121
44189
  onClick: () => isActive && onClick?.(),
44122
- children: /* @__PURE__ */ jsx138(
44190
+ children: /* @__PURE__ */ jsx139(
44123
44191
  WfoIconComponent,
44124
44192
  {
44125
44193
  color: isActive ? theme.colors.title : theme.colors.lightShade
@@ -44130,14 +44198,14 @@ var WfoSortButton = ({
44130
44198
  };
44131
44199
 
44132
44200
  // src/components/WfoTable/WfoSortButtons/WfoSortButtons.tsx
44133
- import { jsx as jsx139, jsxs as jsxs79 } from "@emotion/react/jsx-runtime";
44201
+ import { jsx as jsx140, jsxs as jsxs80 } from "@emotion/react/jsx-runtime";
44134
44202
  var WfoSortButtons = ({
44135
44203
  sortOrder,
44136
44204
  onChangeSortOrder
44137
44205
  }) => {
44138
44206
  const { sortButtonsContainerStyle } = getStyles8();
44139
- return /* @__PURE__ */ jsxs79("div", { css: sortButtonsContainerStyle, children: [
44140
- /* @__PURE__ */ jsx139(
44207
+ return /* @__PURE__ */ jsxs80("div", { css: sortButtonsContainerStyle, children: [
44208
+ /* @__PURE__ */ jsx140(
44141
44209
  WfoSortButton,
44142
44210
  {
44143
44211
  WfoIconComponent: WfoSortAsc,
@@ -44145,7 +44213,7 @@ var WfoSortButtons = ({
44145
44213
  onClick: () => onChangeSortOrder("ASC" /* ASC */)
44146
44214
  }
44147
44215
  ),
44148
- /* @__PURE__ */ jsx139(
44216
+ /* @__PURE__ */ jsx140(
44149
44217
  WfoSortButton,
44150
44218
  {
44151
44219
  WfoIconComponent: WfoSortDesc,
@@ -44185,22 +44253,22 @@ var getStyles9 = ({ theme }) => {
44185
44253
  };
44186
44254
 
44187
44255
  // src/components/WfoTable/WfoFirstPartUUID/WfoFirstPartUUID.tsx
44188
- import { jsx as jsx140, jsxs as jsxs80 } from "@emotion/react/jsx-runtime";
44256
+ import { jsx as jsx141, jsxs as jsxs81 } from "@emotion/react/jsx-runtime";
44189
44257
  var WfoFirstPartUUID = ({
44190
44258
  UUID,
44191
44259
  showCopyIcon = true
44192
44260
  }) => {
44193
44261
  const { uuidFieldStyle, clickable } = useWithOrchestratorTheme(getStyles9);
44194
44262
  const { theme } = useOrchestratorTheme();
44195
- return /* @__PURE__ */ jsxs80("span", { css: uuidFieldStyle, children: [
44263
+ return /* @__PURE__ */ jsxs81("span", { css: uuidFieldStyle, children: [
44196
44264
  getFirstUuidPart(UUID),
44197
- showCopyIcon && /* @__PURE__ */ jsx140(EuiCopy2, { textToCopy: UUID, children: (copy) => /* @__PURE__ */ jsx140(
44265
+ showCopyIcon && /* @__PURE__ */ jsx141(EuiCopy2, { textToCopy: UUID, children: (copy) => /* @__PURE__ */ jsx141(
44198
44266
  "div",
44199
44267
  {
44200
44268
  className: COPY_ICON_CLASS,
44201
44269
  onClick: copy,
44202
44270
  css: clickable,
44203
- children: /* @__PURE__ */ jsx140(
44271
+ children: /* @__PURE__ */ jsx141(
44204
44272
  WfoClipboardCopy,
44205
44273
  {
44206
44274
  width: 16,
@@ -44214,61 +44282,22 @@ var WfoFirstPartUUID = ({
44214
44282
  };
44215
44283
 
44216
44284
  // src/components/WfoTable/WfoInlineJson/WfoInlineJson.tsx
44217
- import { jsx as jsx141 } from "@emotion/react/jsx-runtime";
44285
+ import { jsx as jsx142 } from "@emotion/react/jsx-runtime";
44218
44286
  var WfoInlineJson = ({ data }) => {
44219
44287
  if (!data) {
44220
44288
  return null;
44221
44289
  }
44222
44290
  const valueAsString = JSON.stringify(data);
44223
- return /* @__PURE__ */ jsx141("span", { children: valueAsString });
44291
+ return /* @__PURE__ */ jsx142("span", { children: valueAsString });
44224
44292
  };
44225
44293
 
44226
44294
  // src/components/WfoTable/WfoRowContextMenu/WfoRowContextMenu.tsx
44227
44295
  import { useEffect as useEffect12, useRef as useRef9, useState as useState25 } from "react";
44228
44296
  import {
44229
- EuiButtonIcon as EuiButtonIcon8,
44297
+ EuiButtonIcon as EuiButtonIcon9,
44230
44298
  EuiContextMenu as EuiContextMenu2,
44231
44299
  EuiPopover as EuiPopover6
44232
44300
  } from "@elastic/eui";
44233
-
44234
- // src/icons/WfoDotsHorizontal.tsx
44235
- import { jsx as jsx142, jsxs as jsxs81 } from "@emotion/react/jsx-runtime";
44236
- var WfoDotsHorizontal = ({
44237
- width = 20,
44238
- height = 20,
44239
- color = "currentColor"
44240
- }) => /* @__PURE__ */ jsxs81(
44241
- "svg",
44242
- {
44243
- width,
44244
- height,
44245
- viewBox: "0 0 24 24",
44246
- version: "1.1",
44247
- xmlns: "http://www.w3.org/2000/svg",
44248
- children: [
44249
- /* @__PURE__ */ jsx142("title", { children: "icon/dots-horizontal" }),
44250
- /* @__PURE__ */ jsx142(
44251
- "g",
44252
- {
44253
- id: "Symbols",
44254
- stroke: "none",
44255
- strokeWidth: "1",
44256
- fill: "none",
44257
- fillRule: "evenodd",
44258
- children: /* @__PURE__ */ jsx142("g", { id: "icon/dots-horizontal", fill: color, fillRule: "nonzero", children: /* @__PURE__ */ jsx142(
44259
- "path",
44260
- {
44261
- d: "M8,12 C8,13.1046 7.10457,14 6,14 C4.89543,14 4,13.1046 4,12 C4,10.89543 4.89543,10 6,10 C7.10457,10 8,10.89543 8,12 Z M14,12 C14,13.1046 13.1046,14 12,14 C10.89543,14 10,13.1046 10,12 C10,10.89543 10.89543,10 12,10 C13.1046,10 14,10.89543 14,12 Z M18,14 C19.1046,14 20,13.1046 20,12 C20,10.89543 19.1046,10 18,10 C16.8954,10 16,10.89543 16,12 C16,13.1046 16.8954,14 18,14 Z",
44262
- id: "Combined-Shape"
44263
- }
44264
- ) })
44265
- }
44266
- )
44267
- ]
44268
- }
44269
- );
44270
-
44271
- // src/components/WfoTable/WfoRowContextMenu/WfoRowContextMenu.tsx
44272
44301
  import { jsx as jsx143 } from "@emotion/react/jsx-runtime";
44273
44302
  var WfoRowContextMenu = ({
44274
44303
  items,
@@ -44287,7 +44316,7 @@ var WfoRowContextMenu = ({
44287
44316
  EuiPopover6,
44288
44317
  {
44289
44318
  button: /* @__PURE__ */ jsx143(
44290
- EuiButtonIcon8,
44319
+ EuiButtonIcon9,
44291
44320
  {
44292
44321
  iconType: () => /* @__PURE__ */ jsx143(WfoDotsHorizontal, {}),
44293
44322
  onClick: togglePopover,
@@ -44348,7 +44377,7 @@ import { useEffect as useEffect13, useState as useState26 } from "react";
44348
44377
  import { useTranslations as useTranslations36 } from "next-intl";
44349
44378
  import {
44350
44379
  EuiButton as EuiButton8,
44351
- EuiButtonIcon as EuiButtonIcon9,
44380
+ EuiButtonIcon as EuiButtonIcon10,
44352
44381
  EuiFlexGroup as EuiFlexGroup15,
44353
44382
  EuiFlexItem as EuiFlexItem13,
44354
44383
  EuiSpacer as EuiSpacer17,
@@ -44448,7 +44477,7 @@ var WfoAdvancedTable = ({
44448
44477
  }
44449
44478
  ) }),
44450
44479
  /* @__PURE__ */ jsx145(EuiFlexItem13, { grow: false, children: /* @__PURE__ */ jsx145(
44451
- EuiButtonIcon9,
44480
+ EuiButtonIcon10,
44452
44481
  {
44453
44482
  onClick: () => setShowSearchModal(true),
44454
44483
  iconSize: "xl",
@@ -47369,7 +47398,7 @@ import {
47369
47398
  useForm as useForm8
47370
47399
  } from "uniforms";
47371
47400
  import {
47372
- EuiButtonIcon as EuiButtonIcon10,
47401
+ EuiButtonIcon as EuiButtonIcon11,
47373
47402
  EuiFlexGroup as EuiFlexGroup16,
47374
47403
  EuiFlexItem as EuiFlexItem20,
47375
47404
  EuiFormRow as EuiFormRow18,
@@ -47547,7 +47576,7 @@ function SubscriptionFieldDefinition({
47547
47576
  gutterSize: "none",
47548
47577
  responsive: false,
47549
47578
  children: /* @__PURE__ */ jsx178(
47550
- EuiButtonIcon10,
47579
+ EuiButtonIcon11,
47551
47580
  {
47552
47581
  className: "reload-subscriptions-icon-button",
47553
47582
  id: `refresh-icon-${id}`,
@@ -51521,7 +51550,7 @@ var WfoInteger = ({
51521
51550
  // src/components/WfoPydanticForm/fields/WfoReactSelect/WfoReactSelect.tsx
51522
51551
  import React67, { useEffect as useEffect30 } from "react";
51523
51552
  import ReactSelect5, { components } from "react-select";
51524
- import { EuiButtonIcon as EuiButtonIcon11 } from "@elastic/eui";
51553
+ import { EuiButtonIcon as EuiButtonIcon12 } from "@elastic/eui";
51525
51554
 
51526
51555
  // src/components/WfoPydanticForm/fields/WfoReactSelect/styles.ts
51527
51556
  import { css as css39 } from "@emotion/react";
@@ -51621,7 +51650,7 @@ var WfoReactSelect = ({
51621
51650
  };
51622
51651
  return /* @__PURE__ */ jsxs113("div", { css: containerStyle, children: [
51623
51652
  refetch && /* @__PURE__ */ jsx217(
51624
- EuiButtonIcon11,
51653
+ EuiButtonIcon12,
51625
51654
  {
51626
51655
  className: "reload-subscriptions-icon-button",
51627
51656
  css: refreshButtonStyle,
@@ -52680,7 +52709,7 @@ import { useTranslations as useTranslations65 } from "next-intl";
52680
52709
  import "prism-themes/themes/prism-ghcolors.min.css";
52681
52710
  import { diffLines, formatLines } from "unidiff";
52682
52711
  import {
52683
- EuiButtonIcon as EuiButtonIcon12,
52712
+ EuiButtonIcon as EuiButtonIcon13,
52684
52713
  EuiFlexGroup as EuiFlexGroup23,
52685
52714
  EuiFlexItem as EuiFlexItem29,
52686
52715
  EuiSpacer as EuiSpacer20,
@@ -52766,7 +52795,7 @@ var WfoDiff = ({ oldText, newText, syntax }) => {
52766
52795
  /* @__PURE__ */ jsxs118(EuiFlexGroup23, { gutterSize: "xs", children: [
52767
52796
  /* @__PURE__ */ jsx227(EuiFlexItem29, { grow: false, children: /* @__PURE__ */ jsx227(EuiText38, { children: /* @__PURE__ */ jsx227("h3", { children: t("title") }) }) }),
52768
52797
  /* @__PURE__ */ jsx227(EuiFlexItem29, { grow: false, children: /* @__PURE__ */ jsx227(
52769
- EuiButtonIcon12,
52798
+ EuiButtonIcon13,
52770
52799
  {
52771
52800
  size: "s",
52772
52801
  iconType: showSplit ? "continuityAboveBelow" : "continuityWithin",
@@ -52777,7 +52806,7 @@ var WfoDiff = ({ oldText, newText, syntax }) => {
52777
52806
  }
52778
52807
  ) }),
52779
52808
  /* @__PURE__ */ jsx227(EuiFlexItem29, { grow: false, children: /* @__PURE__ */ jsx227(
52780
- EuiButtonIcon12,
52809
+ EuiButtonIcon13,
52781
52810
  {
52782
52811
  size: "s",
52783
52812
  iconType: showFull ? "fullScreenExit" : "fullScreen",
@@ -53313,7 +53342,7 @@ var WfoStartProcessPage = ({
53313
53342
 
53314
53343
  // src/pages/processes/WfoProductInformationWithLink.tsx
53315
53344
  import { useTranslations as useTranslations70 } from "next-intl";
53316
- import { EuiButtonIcon as EuiButtonIcon13, EuiFlexGroup as EuiFlexGroup26, EuiText as EuiText43, EuiToolTip as EuiToolTip8 } from "@elastic/eui";
53345
+ import { EuiButtonIcon as EuiButtonIcon14, EuiFlexGroup as EuiFlexGroup26, EuiText as EuiText43, EuiToolTip as EuiToolTip8 } from "@elastic/eui";
53317
53346
  import { jsx as jsx233, jsxs as jsxs123 } from "@emotion/react/jsx-runtime";
53318
53347
  var WfoProductInformationWithLink = ({
53319
53348
  workflowName,
@@ -53324,7 +53353,7 @@ var WfoProductInformationWithLink = ({
53324
53353
  const docsUrl = workflowInformationLinkUrl + workflowName;
53325
53354
  return /* @__PURE__ */ jsxs123(EuiFlexGroup26, { gutterSize: "s", alignItems: "center", children: [
53326
53355
  showWorkflowInformationLink && /* @__PURE__ */ jsx233(EuiToolTip8, { content: t("openWorkflowTaskInfo"), children: /* @__PURE__ */ jsx233("a", { href: docsUrl, target: "_blank", children: /* @__PURE__ */ jsx233(
53327
- EuiButtonIcon13,
53356
+ EuiButtonIcon14,
53328
53357
  {
53329
53358
  iconSize: "l",
53330
53359
  iconType: "iInCircle",
@@ -54848,6 +54877,18 @@ var WfoSubscriptionsList = ({
54848
54877
  );
54849
54878
  }
54850
54879
  },
54880
+ actions: {
54881
+ columnType: "control" /* CONTROL */,
54882
+ label: t("actions"),
54883
+ width: "80px",
54884
+ renderControl: (row) => /* @__PURE__ */ jsx253(
54885
+ WfoSubscriptionActions,
54886
+ {
54887
+ compactMode: true,
54888
+ subscriptionId: row.subscriptionId
54889
+ }
54890
+ )
54891
+ },
54851
54892
  metadata: {
54852
54893
  columnType: "data" /* DATA */,
54853
54894
  label: t("metadata"),
@@ -54942,7 +54983,7 @@ import {
54942
54983
  EuiAvatar as EuiAvatar2,
54943
54984
  EuiFlexGroup as EuiFlexGroup30,
54944
54985
  EuiFlexItem as EuiFlexItem36,
54945
- EuiLoadingSpinner,
54986
+ EuiLoadingSpinner as EuiLoadingSpinner2,
54946
54987
  EuiPanel as EuiPanel12,
54947
54988
  EuiText as EuiText50
54948
54989
  } from "@elastic/eui";
@@ -54999,7 +55040,7 @@ var WfoSummaryCardHeader = ({
54999
55040
  /* @__PURE__ */ jsx254(EuiText50, { color: "subdued", children: text }),
55000
55041
  /* @__PURE__ */ jsxs137(EuiFlexGroup30, { gutterSize: "s", alignItems: "center", children: [
55001
55042
  /* @__PURE__ */ jsx254(EuiText50, { css: valueStyle, children: value }),
55002
- isFetching && /* @__PURE__ */ jsx254(EuiLoadingSpinner, {})
55043
+ isFetching && /* @__PURE__ */ jsx254(EuiLoadingSpinner2, {})
55003
55044
  ] })
55004
55045
  ] })
55005
55046
  ] }) }) });
@@ -56191,8 +56232,13 @@ var en_GB_default = {
56191
56232
  modify: "Modify workflow",
56192
56233
  tasks: "Tasks",
56193
56234
  terminate: "Terminate workflow",
56235
+ reconcile: "Reconcile workflow",
56194
56236
  actions: "Actions",
56195
56237
  lockedBySubscriptions: "This action is locked by the following subscriptions:",
56238
+ notAvailable: "Not available",
56239
+ notAvailableForWorkflow: "Not available for this workflow",
56240
+ reconcileSubscription: "Reconcile subscription",
56241
+ validateSubscription: "Validate subscription",
56196
56242
  subscription: {
56197
56243
  no_modify_deleted_related_objects: "This subscription can not be modified because it contains references to other systems that are deleted.",
56198
56244
  no_modify_in_use_by_subscription: "This subscription can not be {action} as it is used in other subscriptions: {unterminated_in_use_by_subscriptions}",
@@ -56654,6 +56700,11 @@ var nl_NL_default = {
56654
56700
  modify: "Modify workflow",
56655
56701
  tasks: "Taken",
56656
56702
  terminate: "Terminate workflow",
56703
+ reconcile: "Reconcile workflow",
56704
+ notAvailable: "Niet beschikbaar",
56705
+ notAvailableForWorkflow: "Niet beschikbaar voor deze workflow",
56706
+ reconcileSubscription: "Reconcile subscription",
56707
+ validateSubscription: "Validate subscription",
56657
56708
  actions: "Acties",
56658
56709
  lockedBySubscriptions: "Deze actie is geblokkeerd door de volgende subscriptions:",
56659
56710
  subscription: {