@orchestrator-ui/orchestrator-ui-components 5.5.1 → 5.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -4922,10 +4922,10 @@ var require_markup = __commonJS({
4922
4922
  var require_css = __commonJS({
4923
4923
  "../../node_modules/refractor/lang/css.js"(exports, module) {
4924
4924
  "use strict";
4925
- module.exports = css53;
4926
- css53.displayName = "css";
4927
- css53.aliases = [];
4928
- function css53(Prism) {
4925
+ module.exports = css52;
4926
+ css52.displayName = "css";
4927
+ css52.aliases = [];
4928
+ function css52(Prism) {
4929
4929
  ;
4930
4930
  (function(Prism2) {
4931
4931
  var string = /(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;
@@ -5192,7 +5192,7 @@ var require_core = __commonJS({
5192
5192
  var decode = require_parse_entities();
5193
5193
  var Prism = require_prism_core();
5194
5194
  var markup = require_markup();
5195
- var css53 = require_css();
5195
+ var css52 = require_css();
5196
5196
  var clike = require_clike();
5197
5197
  var js = require_javascript();
5198
5198
  restore();
@@ -5208,7 +5208,7 @@ var require_core = __commonJS({
5208
5208
  refract.registered = registered;
5209
5209
  refract.listLanguages = listLanguages;
5210
5210
  register(markup);
5211
- register(css53);
5211
+ register(css52);
5212
5212
  register(clike);
5213
5213
  register(js);
5214
5214
  refract.util.encode = encode;
@@ -26800,7 +26800,7 @@ var PolicyResource = /* @__PURE__ */ ((PolicyResource2) => {
26800
26800
  })(PolicyResource || {});
26801
26801
 
26802
26802
  // src/configuration/version.ts
26803
- var ORCHESTRATOR_UI_LIBRARY_VERSION = "5.5.1";
26803
+ var ORCHESTRATOR_UI_LIBRARY_VERSION = "5.5.3";
26804
26804
 
26805
26805
  // src/types/types.ts
26806
26806
  var EngineStatus = /* @__PURE__ */ ((EngineStatus3) => {
@@ -39057,7 +39057,7 @@ var WfoHeaderBadge = ({
39057
39057
  children,
39058
39058
  ...restProps
39059
39059
  }) => {
39060
- const css53 = restProps.iconType ? {
39060
+ const css52 = restProps.iconType ? {
39061
39061
  height: 24,
39062
39062
  display: "flex",
39063
39063
  paddingLeft: 0
@@ -39065,7 +39065,7 @@ var WfoHeaderBadge = ({
39065
39065
  height: 24,
39066
39066
  display: "flex"
39067
39067
  };
39068
- return /* @__PURE__ */ jsx73(WfoBadge, { ...restProps, css: css53, children });
39068
+ return /* @__PURE__ */ jsx73(WfoBadge, { ...restProps, css: css52, children });
39069
39069
  };
39070
39070
 
39071
39071
  // src/components/WfoBadges/WfoEnvironmentBadge/WfoEnvironmentBadge.tsx
@@ -47704,7 +47704,7 @@ import { EuiFlexItem as EuiFlexItem23, EuiFormRow as EuiFormRow20, EuiText as Eu
47704
47704
 
47705
47705
  // src/components/WfoForms/formFields/SummaryFieldStyling.ts
47706
47706
  import { css as css33 } from "@emotion/react";
47707
- var getStyles10 = ({ theme }) => {
47707
+ var summaryFieldStyles = ({ theme }) => {
47708
47708
  const summaryFieldStyle = css33({
47709
47709
  "div.emailMessage": {
47710
47710
  td: {
@@ -47754,7 +47754,7 @@ function Summary({
47754
47754
  data,
47755
47755
  ...props
47756
47756
  }) {
47757
- const { summaryFieldStyle } = useWithOrchestratorTheme(getStyles10);
47757
+ const { summaryFieldStyle } = useWithOrchestratorTheme(summaryFieldStyles);
47758
47758
  const { formRowStyle } = useWithOrchestratorTheme(getCommonFormFieldStyles);
47759
47759
  if (!data) {
47760
47760
  return null;
@@ -50324,7 +50324,7 @@ var WfoProcessDetailPage = ({
50324
50324
  };
50325
50325
 
50326
50326
  // src/pages/processes/WfoStartProcessPage.tsx
50327
- import { useCallback as useCallback8, useEffect as useEffect33, useMemo as useMemo6, useState as useState50 } from "react";
50327
+ import { useCallback as useCallback8, useEffect as useEffect34, useMemo as useMemo6, useState as useState50 } from "react";
50328
50328
  import { useTranslations as useTranslations68 } from "next-intl";
50329
50329
  import { useRouter as useRouter10 } from "next/router";
50330
50330
  import {
@@ -50599,53 +50599,11 @@ var WfoCheckbox = ({
50599
50599
  };
50600
50600
 
50601
50601
  // src/components/WfoPydanticForm/fields/WfoSummary.tsx
50602
+ import { capitalize as capitalize2 } from "lodash";
50602
50603
  import { EuiFlexItem as EuiFlexItem24, EuiFormRow as EuiFormRow22, EuiText as EuiText36 } from "@elastic/eui";
50603
- import { tint as tint3 } from "@elastic/eui";
50604
- import { css as css36 } from "@emotion/react";
50605
50604
  import { jsx as jsx212, jsxs as jsxs111 } from "@emotion/react/jsx-runtime";
50606
- var getStyles11 = ({ theme }) => {
50607
- const toShadeColor = (color) => tint3(color, 0.9);
50608
- const summaryFieldStyle = css36({
50609
- "div.emailMessage": {
50610
- td: {
50611
- color: theme.colors.text
50612
- },
50613
- p: {
50614
- color: theme.colors.text
50615
- },
50616
- html: {
50617
- marginLeft: "-10px"
50618
- }
50619
- },
50620
- "section.table-summary": {
50621
- marginTop: "20px",
50622
- width: "100%",
50623
- td: {
50624
- padding: "10px",
50625
- verticalAlign: "top"
50626
- },
50627
- "td:not(:first-child):not(:last-child)": {
50628
- borderRight: `1px solid ${theme.colors.lightestShade}`
50629
- },
50630
- ".label": {
50631
- fontWeight: "bold",
50632
- color: theme.colors.lightestShade,
50633
- backgroundColor: theme.colors.primary,
50634
- borderRight: `2px solid ${theme.colors.lightestShade}`,
50635
- borderBottom: `1px solid ${theme.colors.lightestShade}`
50636
- },
50637
- ".value": {
50638
- backgroundColor: toShadeColor(theme.colors.primary),
50639
- borderBottom: `1px solid ${theme.colors.lightestShade}`
50640
- }
50641
- }
50642
- });
50643
- return {
50644
- summaryFieldStyle
50645
- };
50646
- };
50647
50605
  var WfoSummary = ({ pydanticFormField }) => {
50648
- const { summaryFieldStyle } = useWithOrchestratorTheme(getStyles11);
50606
+ const { summaryFieldStyle } = useWithOrchestratorTheme(summaryFieldStyles);
50649
50607
  const { formRowStyle } = useWithOrchestratorTheme(getCommonFormFieldStyles);
50650
50608
  const { id, title, description } = pydanticFormField;
50651
50609
  const uniforms = pydanticFormField.schema.uniforms;
@@ -50669,11 +50627,12 @@ var WfoSummary = ({ pydanticFormField }) => {
50669
50627
  labels && /* @__PURE__ */ jsx212("th", {}),
50670
50628
  headers.map((header, idx) => /* @__PURE__ */ jsx212("th", { children: header }, idx))
50671
50629
  ] });
50630
+ const formattedTitle = snakeToHuman(capitalize2(title ?? ""));
50672
50631
  return /* @__PURE__ */ jsx212(EuiFlexItem24, { "data-testid": id, css: [summaryFieldStyle, formRowStyle], children: /* @__PURE__ */ jsx212("section", { children: /* @__PURE__ */ jsx212(
50673
50632
  EuiFormRow22,
50674
50633
  {
50675
- label: description,
50676
- labelAppend: /* @__PURE__ */ jsx212(EuiText36, { size: "m", children: title }),
50634
+ label: /* @__PURE__ */ jsx212("p", { className: "label", children: formattedTitle }),
50635
+ labelAppend: /* @__PURE__ */ jsx212(EuiText36, { size: "m", children: description }),
50677
50636
  id,
50678
50637
  fullWidth: true,
50679
50638
  children: /* @__PURE__ */ jsx212("section", { className: "table-summary", children: /* @__PURE__ */ jsxs111("table", { id: `${id}-table`, children: [
@@ -50694,9 +50653,9 @@ import {
50694
50653
  import { EuiFlexGroup as EuiFlexGroup21 } from "@elastic/eui";
50695
50654
 
50696
50655
  // src/components/WfoPydanticForm/fields/WfoObjectField/styles.ts
50697
- import { css as css37 } from "@emotion/react";
50656
+ import { css as css36 } from "@emotion/react";
50698
50657
  var getWfoObjectFieldStyles = () => {
50699
- const wfoObjectFieldStyles = css37({
50658
+ const wfoObjectFieldStyles = css36({
50700
50659
  width: "100%",
50701
50660
  "& > div": {
50702
50661
  width: "100%"
@@ -51356,24 +51315,26 @@ import {
51356
51315
  import { EuiIcon as EuiIcon5 } from "@elastic/eui";
51357
51316
 
51358
51317
  // src/components/WfoPydanticForm/fields/WfoArrayField/styles.ts
51359
- import { css as css38 } from "@emotion/react";
51318
+ import { css as css37 } from "@emotion/react";
51360
51319
  var getWfoArrayFieldStyles = () => {
51361
- const container = css38({
51320
+ const container = css37({
51321
+ border: "thin solid #eee",
51362
51322
  padding: "1rem",
51363
51323
  display: "flex",
51364
51324
  flexDirection: "column",
51365
51325
  flexGrow: 1
51366
51326
  });
51367
- const fieldWrapper = css38({
51327
+ const fieldWrapper = css37({
51368
51328
  display: "flex",
51369
51329
  gap: "10px",
51370
51330
  alignItems: "center"
51371
51331
  });
51372
- const minusButton = css38({
51332
+ const minusButton = css37({
51373
51333
  width: "40px",
51374
- cursor: "pointer"
51334
+ cursor: "pointer",
51335
+ marginBottom: "12px"
51375
51336
  });
51376
- const plusButtonWrapper = css38({
51337
+ const plusButtonWrapper = css37({
51377
51338
  display: "flex",
51378
51339
  cursor: "pointer",
51379
51340
  justifyContent: "end"
@@ -51425,9 +51386,9 @@ var PlusButton = ({
51425
51386
  var WfoArrayField = ({
51426
51387
  pydanticFormField
51427
51388
  }) => {
51428
- const { config, rhf } = usePydanticFormContext5();
51389
+ const { config, reactHookForm } = usePydanticFormContext5();
51429
51390
  const disabled = pydanticFormField.attributes?.disabled || false;
51430
- const { control } = rhf;
51391
+ const { control } = reactHookForm;
51431
51392
  const { id: arrayName, arrayItem } = pydanticFormField;
51432
51393
  const { minItems, maxItems } = pydanticFormField.validations;
51433
51394
  const { container, fieldWrapper } = getWfoArrayFieldStyles();
@@ -51512,10 +51473,10 @@ var WfoRadio = ({
51512
51473
 
51513
51474
  // src/components/WfoPydanticForm/fields/WfoInteger.tsx
51514
51475
  import { EuiFieldNumber as EuiFieldNumber2 } from "@elastic/eui";
51515
- import { css as css39 } from "@emotion/react";
51476
+ import { css as css38 } from "@emotion/react";
51516
51477
  import { jsx as jsx216 } from "@emotion/react/jsx-runtime";
51517
51478
  var getFormFieldsBaseStyle2 = ({ theme }) => {
51518
- const formFieldBaseStyle = css39({
51479
+ const formFieldBaseStyle = css38({
51519
51480
  backgroundColor: theme.colors.body,
51520
51481
  color: theme.colors.text,
51521
51482
  "&:focus": {
@@ -51549,11 +51510,12 @@ var WfoInteger = ({
51549
51510
  };
51550
51511
 
51551
51512
  // src/components/WfoPydanticForm/fields/WfoReactSelect/WfoReactSelect.tsx
51513
+ import React67, { useEffect as useEffect30 } from "react";
51552
51514
  import ReactSelect5, { components } from "react-select";
51553
51515
  import { EuiButtonIcon as EuiButtonIcon11 } from "@elastic/eui";
51554
51516
 
51555
51517
  // src/components/WfoPydanticForm/fields/WfoReactSelect/styles.ts
51556
- import { css as css40 } from "@emotion/react";
51518
+ import { css as css39 } from "@emotion/react";
51557
51519
  var getWfoReactSelectStyles = (wfoTheme) => {
51558
51520
  const { theme } = wfoTheme;
51559
51521
  const reactSelectInnerComponentStyles = {
@@ -51591,15 +51553,15 @@ var getWfoReactSelectStyles = (wfoTheme) => {
51591
51553
  backgroundColor: theme.colors.lightestShade
51592
51554
  })
51593
51555
  };
51594
- const containerStyle = css40({
51556
+ const containerStyle = css39({
51595
51557
  display: "flex",
51596
51558
  flexDirection: "row",
51597
51559
  alignItems: "center"
51598
51560
  });
51599
- const reactSelectStyle = css40({
51561
+ const reactSelectStyle = css39({
51600
51562
  width: "100%"
51601
51563
  });
51602
- const refreshButtonStyle = css40({
51564
+ const refreshButtonStyle = css39({
51603
51565
  marginRight: theme.base / 2,
51604
51566
  cursor: "pointer"
51605
51567
  });
@@ -51624,9 +51586,16 @@ var WfoReactSelect = ({
51624
51586
  hasError = false,
51625
51587
  refetch
51626
51588
  }) => {
51627
- const selectedValue = options.find(
51589
+ useEffect30(() => {
51590
+ const selectedValue2 = options.find(
51591
+ (option) => option.value === value
51592
+ );
51593
+ setSelectedValue(selectedValue2 || null);
51594
+ }, [options, value]);
51595
+ const initialValue = options.find(
51628
51596
  (option) => option.value === value
51629
51597
  );
51598
+ const [selectedValue, setSelectedValue] = React67.useState(initialValue || null);
51630
51599
  const {
51631
51600
  reactSelectInnerComponentStyles,
51632
51601
  containerStyle,
@@ -51664,8 +51633,14 @@ var WfoReactSelect = ({
51664
51633
  id,
51665
51634
  inputId: `${id}.search`,
51666
51635
  onChange: (option) => {
51667
- const selectedValue2 = option?.value;
51668
- onChange(selectedValue2);
51636
+ if (option === null) {
51637
+ setSelectedValue(null);
51638
+ onChange(void 0);
51639
+ } else {
51640
+ const selectedValue2 = option?.value;
51641
+ setSelectedValue(option);
51642
+ onChange(selectedValue2);
51643
+ }
51669
51644
  },
51670
51645
  css: reactSelectStyle,
51671
51646
  isLoading,
@@ -51707,7 +51682,7 @@ var WfoDropdown = ({
51707
51682
  };
51708
51683
 
51709
51684
  // src/components/WfoPydanticForm/fields/WfoMultiCheckboxField.tsx
51710
- import { useEffect as useEffect30, useState as useState44 } from "react";
51685
+ import { useEffect as useEffect31, useState as useState44 } from "react";
51711
51686
  import { EuiCheckboxGroup } from "@elastic/eui";
51712
51687
  import { jsx as jsx219 } from "@emotion/react/jsx-runtime";
51713
51688
  var WfoMultiCheckboxField = ({
@@ -51715,7 +51690,7 @@ var WfoMultiCheckboxField = ({
51715
51690
  onChange,
51716
51691
  value
51717
51692
  }) => {
51718
- useEffect30(() => {
51693
+ useEffect31(() => {
51719
51694
  const getInitialMap = () => {
51720
51695
  const initialIdMap = (value || []).reduce(
51721
51696
  (idMap, id2) => {
@@ -51994,6 +51969,7 @@ var WfoPydanticForm = ({
51994
51969
  labelProvider: pydanticLabelProvider,
51995
51970
  rowRenderer: Row,
51996
51971
  customTranslations,
51972
+ loadingComponent: /* @__PURE__ */ jsx220(WfoLoading, {}),
51997
51973
  locale: getLocale()
51998
51974
  };
51999
51975
  }, [
@@ -52006,17 +51982,16 @@ var WfoPydanticForm = ({
52006
51982
  return /* @__PURE__ */ jsx220(
52007
51983
  PydanticForm2,
52008
51984
  {
52009
- id: processName,
51985
+ formKey: processName,
52010
51986
  onSuccess,
52011
51987
  onCancel: handleCancel,
52012
- loadingComponent: /* @__PURE__ */ jsx220(WfoLoading, {}),
52013
51988
  config
52014
51989
  }
52015
51990
  );
52016
51991
  };
52017
51992
 
52018
51993
  // src/components/WfoWorkflowSteps/WfoStep/WfoStep.tsx
52019
- import React70, { useState as useState46 } from "react";
51994
+ import React71, { useState as useState46 } from "react";
52020
51995
  import { useTranslations as useTranslations63 } from "next-intl";
52021
51996
  import {
52022
51997
  EuiButton as EuiButton12,
@@ -52030,36 +52005,36 @@ import {
52030
52005
  import { EuiFlexItem as EuiFlexItem25 } from "@elastic/eui";
52031
52006
 
52032
52007
  // src/components/WfoWorkflowSteps/styles.ts
52033
- import { css as css41 } from "@emotion/react";
52008
+ import { css as css40 } from "@emotion/react";
52034
52009
  var getWorkflowStepsStyles = ({
52035
52010
  theme,
52036
52011
  toSecondaryColor
52037
52012
  }) => {
52038
52013
  const SPACE_BETWEEN_STEPS = theme.base * 1.5;
52039
- const stepSpacerStyle = css41({
52014
+ const stepSpacerStyle = css40({
52040
52015
  borderLeft: `1px solid ${theme.colors.darkShade}`,
52041
52016
  height: `${SPACE_BETWEEN_STEPS}px`,
52042
52017
  marginLeft: "36px"
52043
52018
  });
52044
- const stepRowStyle = css41({
52019
+ const stepRowStyle = css40({
52045
52020
  flexGrow: 1,
52046
52021
  alignItems: "center",
52047
52022
  justifyContent: "flex-end"
52048
52023
  });
52049
- const stepListHeaderStyle = css41({
52024
+ const stepListHeaderStyle = css40({
52050
52025
  marginBottom: "24px",
52051
52026
  marginTop: "60px",
52052
52027
  alignItems: "flex-end"
52053
52028
  });
52054
- const stepListContentStyle = css41({
52029
+ const stepListContentStyle = css40({
52055
52030
  flexDirection: "row",
52056
52031
  alignItems: "center"
52057
52032
  });
52058
- const stepListContentBoldTextStyle = css41({
52033
+ const stepListContentBoldTextStyle = css40({
52059
52034
  fontSize: theme.size.base,
52060
52035
  fontWeight: theme.font.weight.bold
52061
52036
  });
52062
- const stepListContentAnchorStyle = css41({
52037
+ const stepListContentAnchorStyle = css40({
52063
52038
  marginTop: 2,
52064
52039
  marginLeft: 0,
52065
52040
  fontSize: theme.size.m,
@@ -52067,7 +52042,7 @@ var getWorkflowStepsStyles = ({
52067
52042
  color: theme.colors.link,
52068
52043
  cursor: "pointer"
52069
52044
  });
52070
- const stepListOptionsContainerStyle = css41({
52045
+ const stepListOptionsContainerStyle = css40({
52071
52046
  flexGrow: 0
52072
52047
  });
52073
52048
  const stepStateIcon = {
@@ -52083,36 +52058,36 @@ var getWorkflowStepsStyles = ({
52083
52058
  color: theme.colors.disabled,
52084
52059
  fontWeight: theme.font.weight.semiBold
52085
52060
  };
52086
- const stepStateSuccessIconStyle = css41({
52061
+ const stepStateSuccessIconStyle = css40({
52087
52062
  ...stepStateIcon,
52088
52063
  backgroundColor: toSecondaryColor(theme.colors.primary)
52089
52064
  });
52090
- const stepStateSuspendIconStyle = css41({
52065
+ const stepStateSuspendIconStyle = css40({
52091
52066
  ...stepStateIcon,
52092
52067
  backgroundColor: toSecondaryColor(theme.colors.warning)
52093
52068
  });
52094
- const stepStatePendingIconStyle = css41({
52069
+ const stepStatePendingIconStyle = css40({
52095
52070
  ...stepStateIcon,
52096
52071
  backgroundColor: toSecondaryColor(theme.colors.darkShade)
52097
52072
  });
52098
- const stepStateFailedIconStyle = css41({
52073
+ const stepStateFailedIconStyle = css40({
52099
52074
  ...stepStateIcon,
52100
52075
  backgroundColor: toSecondaryColor(theme.colors.danger)
52101
52076
  });
52102
- const stepHeaderRightStyle = css41({
52077
+ const stepHeaderRightStyle = css40({
52103
52078
  alignItems: "center"
52104
52079
  });
52105
- const stepEmailContainerStyle = css41({
52080
+ const stepEmailContainerStyle = css40({
52106
52081
  paddingLeft: 24,
52107
52082
  width: 600,
52108
52083
  marginTop: 0
52109
52084
  });
52110
- const getStepHeaderStyle = (isClickable) => css41({
52085
+ const getStepHeaderStyle = (isClickable) => css40({
52111
52086
  gap: 0,
52112
52087
  alignItems: "center",
52113
52088
  cursor: isClickable ? "pointer" : "default"
52114
52089
  });
52115
- const getStepToggleExpandStyle = (isVisible) => css41({
52090
+ const getStepToggleExpandStyle = (isVisible) => css40({
52116
52091
  marginRight: theme.base / 2,
52117
52092
  visibility: isVisible ? "visible" : "hidden"
52118
52093
  });
@@ -52304,7 +52279,7 @@ var WfoStepForm = ({
52304
52279
 
52305
52280
  // src/components/WfoWorkflowSteps/WfoStep/WfoStep.tsx
52306
52281
  import { Fragment as Fragment51, jsx as jsx223, jsxs as jsxs115 } from "@emotion/react/jsx-runtime";
52307
- var WfoStep = React70.forwardRef(
52282
+ var WfoStep = React71.forwardRef(
52308
52283
  ({
52309
52284
  stepListItem,
52310
52285
  onToggleStepDetail,
@@ -52463,9 +52438,9 @@ var WfoStep = React70.forwardRef(
52463
52438
  WfoStep.displayName = "WfoStep";
52464
52439
 
52465
52440
  // src/components/WfoWorkflowSteps/WfoStepList/WfoStepList.tsx
52466
- import React71, { useImperativeHandle as useImperativeHandle2, useRef as useRef12 } from "react";
52441
+ import React72, { useImperativeHandle as useImperativeHandle2, useRef as useRef12 } from "react";
52467
52442
  import { Fragment as Fragment52, jsx as jsx224, jsxs as jsxs116 } from "@emotion/react/jsx-runtime";
52468
- var WfoStepList = React71.forwardRef(
52443
+ var WfoStepList = React72.forwardRef(
52469
52444
  ({
52470
52445
  stepListItems,
52471
52446
  showHiddenKeys,
@@ -52545,12 +52520,12 @@ var WfoStepList = React71.forwardRef(
52545
52520
  WfoStepList.displayName = "WfoStepList";
52546
52521
 
52547
52522
  // src/components/WfoWorkflowSteps/WfoWorkflowStepList/WfoWorkflowStepList.tsx
52548
- import React73, { useEffect as useEffect32, useState as useState48 } from "react";
52523
+ import React74, { useEffect as useEffect33, useState as useState48 } from "react";
52549
52524
  import { useTranslations as useTranslations66 } from "next-intl";
52550
52525
 
52551
52526
  // src/components/WfoDiff/WfoDiff.tsx
52552
52527
  var refractor = __toESM(require_refractor(), 1);
52553
- import { useCallback as useCallback7, useEffect as useEffect31, useMemo as useMemo5, useState as useState47 } from "react";
52528
+ import { useCallback as useCallback7, useEffect as useEffect32, useMemo as useMemo5, useState as useState47 } from "react";
52554
52529
  import { Diff, Hunk, parseDiff, tokenize } from "react-diff-view";
52555
52530
  import "react-diff-view/style/index.css";
52556
52531
  import { useTranslations as useTranslations64 } from "next-intl";
@@ -52565,8 +52540,8 @@ import {
52565
52540
  } from "@elastic/eui";
52566
52541
 
52567
52542
  // src/components/WfoDiff/styles.ts
52568
- import { shade as shade2, tint as tint4 } from "@elastic/eui";
52569
- import { css as css42 } from "@emotion/react";
52543
+ import { shade as shade2, tint as tint3 } from "@elastic/eui";
52544
+ import { css as css41 } from "@emotion/react";
52570
52545
  var getWfoDiffStyles = ({
52571
52546
  theme,
52572
52547
  toSecondaryColor,
@@ -52575,10 +52550,10 @@ var getWfoDiffStyles = ({
52575
52550
  const SHADE_FACTOR = 0.5;
52576
52551
  const TINT_FACTOR = 0.65;
52577
52552
  const insertGutterColor = toSecondaryColor(theme.colors.success);
52578
- const insertCodeColor = isDarkThemeActive ? shade2(insertGutterColor, SHADE_FACTOR) : tint4(insertGutterColor, TINT_FACTOR);
52553
+ const insertCodeColor = isDarkThemeActive ? shade2(insertGutterColor, SHADE_FACTOR) : tint3(insertGutterColor, TINT_FACTOR);
52579
52554
  const deleteColor = toSecondaryColor(theme.colors.danger);
52580
- const deleteSecondaryColor = isDarkThemeActive ? shade2(deleteColor, SHADE_FACTOR) : tint4(deleteColor, TINT_FACTOR);
52581
- const diffStyle = css42({
52555
+ const deleteSecondaryColor = isDarkThemeActive ? shade2(deleteColor, SHADE_FACTOR) : tint3(deleteColor, TINT_FACTOR);
52556
+ const diffStyle = css41({
52582
52557
  ".diff-code-insert": {
52583
52558
  backgroundColor: insertCodeColor
52584
52559
  },
@@ -52636,7 +52611,7 @@ var WfoDiff = ({ oldText, newText, syntax }) => {
52636
52611
  return void 0;
52637
52612
  }
52638
52613
  }, [hunks, syntax]);
52639
- useEffect31(() => {
52614
+ useEffect32(() => {
52640
52615
  updateDiffText();
52641
52616
  }, [updateDiffText, showFull]);
52642
52617
  return /* @__PURE__ */ jsxs117("div", { children: [
@@ -52686,9 +52661,9 @@ import { useTranslations as useTranslations65 } from "next-intl";
52686
52661
  import { EuiCodeBlock, EuiText as EuiText39 } from "@elastic/eui";
52687
52662
 
52688
52663
  // src/components/WfoWorkflowSteps/WfoTraceback/styles.ts
52689
- import { css as css43 } from "@emotion/react";
52690
- var getStyles12 = ({ theme }) => {
52691
- const codeBlockStyle = css43({
52664
+ import { css as css42 } from "@emotion/react";
52665
+ var getStyles10 = ({ theme }) => {
52666
+ const codeBlockStyle = css42({
52692
52667
  marginTop: theme.size.m,
52693
52668
  marginBottom: theme.size.l,
52694
52669
  borderRadius: theme.border.radius.medium
@@ -52701,7 +52676,7 @@ var getStyles12 = ({ theme }) => {
52701
52676
  // src/components/WfoWorkflowSteps/WfoTraceback/WfoTraceback.tsx
52702
52677
  import { Fragment as Fragment53, jsx as jsx226, jsxs as jsxs118 } from "@emotion/react/jsx-runtime";
52703
52678
  var WfoTraceback = ({ children }) => {
52704
- const { codeBlockStyle } = useWithOrchestratorTheme(getStyles12);
52679
+ const { codeBlockStyle } = useWithOrchestratorTheme(getStyles10);
52705
52680
  const t = useTranslations65("processes.steps");
52706
52681
  return /* @__PURE__ */ jsxs118(Fragment53, { children: [
52707
52682
  /* @__PURE__ */ jsx226(EuiText39, { children: /* @__PURE__ */ jsx226("h3", { children: t("traceback") }) }),
@@ -52733,7 +52708,7 @@ var WfoProcessSubscriptionDelta = ({
52733
52708
  }
52734
52709
  );
52735
52710
  };
52736
- var WfoWorkflowStepList = React73.forwardRef(
52711
+ var WfoWorkflowStepList = React74.forwardRef(
52737
52712
  ({
52738
52713
  steps = [],
52739
52714
  lastStatus,
@@ -52769,7 +52744,7 @@ var WfoWorkflowStepList = React73.forwardRef(
52769
52744
  };
52770
52745
  });
52771
52746
  };
52772
- useEffect32(() => {
52747
+ useEffect33(() => {
52773
52748
  setStepListItems(
52774
52749
  (previousStepListItems) => persistStepListItemState(
52775
52750
  previousStepListItems,
@@ -52864,9 +52839,9 @@ import {
52864
52839
  import { EuiText as EuiText40 } from "@elastic/eui";
52865
52840
 
52866
52841
  // src/components/WfoTextAnchor/styles.ts
52867
- import { css as css44 } from "@emotion/react";
52868
- var getStyles13 = ({ theme }) => {
52869
- const textAnchorStyle = css44({
52842
+ import { css as css43 } from "@emotion/react";
52843
+ var getStyles11 = ({ theme }) => {
52844
+ const textAnchorStyle = css43({
52870
52845
  marginTop: theme.size.xxs,
52871
52846
  marginLeft: 0,
52872
52847
  fontSize: theme.size.m,
@@ -52882,7 +52857,7 @@ var getStyles13 = ({ theme }) => {
52882
52857
  // src/components/WfoTextAnchor/WfoTextAnchor.tsx
52883
52858
  import { jsx as jsx228 } from "@emotion/react/jsx-runtime";
52884
52859
  var WfoTextAnchor = ({ text, onClick }) => {
52885
- const { textAnchorStyle } = useWithOrchestratorTheme(getStyles13);
52860
+ const { textAnchorStyle } = useWithOrchestratorTheme(getStyles11);
52886
52861
  return /* @__PURE__ */ jsx228(EuiText40, { onClick, css: textAnchorStyle, children: text });
52887
52862
  };
52888
52863
 
@@ -53108,7 +53083,7 @@ var WfoStartProcessPage = ({
53108
53083
  },
53109
53084
  [startProcess, processName, startProcessPayload, isTask, router]
53110
53085
  );
53111
- useEffect33(() => {
53086
+ useEffect34(() => {
53112
53087
  if (processName && processName !== "modify_note") {
53113
53088
  const clientResultCallback = (json) => {
53114
53089
  setForm({
@@ -53225,7 +53200,7 @@ import {
53225
53200
  EuiTabs as EuiTabs3,
53226
53201
  EuiText as EuiText45
53227
53202
  } from "@elastic/eui";
53228
- import { css as css45 } from "@emotion/react";
53203
+ import { css as css44 } from "@emotion/react";
53229
53204
 
53230
53205
  // src/components/WfoSettings/WfoAoStackStatus.tsx
53231
53206
  import { useTranslations as useTranslations70 } from "next-intl";
@@ -53306,7 +53281,7 @@ var WfoEnvSettings = () => {
53306
53281
  {
53307
53282
  fontSize: "m",
53308
53283
  paddingSize: "m",
53309
- css: css45({
53284
+ css: css44({
53310
53285
  background: theme.colors.lightShade
53311
53286
  }),
53312
53287
  children: showVariables
@@ -53451,7 +53426,7 @@ var WfoSubscriptionDetailPage = () => {
53451
53426
  };
53452
53427
 
53453
53428
  // src/pages/subscriptions/WfoSubscriptionsListPage.tsx
53454
- import { useEffect as useEffect34, useState as useState51 } from "react";
53429
+ import { useEffect as useEffect35, useState as useState51 } from "react";
53455
53430
  import { useTranslations as useTranslations73 } from "next-intl";
53456
53431
  import { StringParam as StringParam4, useQueryParam as useQueryParam3, withDefault as withDefault4 } from "use-query-params";
53457
53432
  import { EuiSpacer as EuiSpacer23 } from "@elastic/eui";
@@ -53462,7 +53437,7 @@ var WfoSubscriptionsListPage = () => {
53462
53437
  const getStoredTableConfig = useStoredTableConfig(
53463
53438
  SUBSCRIPTIONS_TABLE_LOCAL_STORAGE_KEY
53464
53439
  );
53465
- useEffect34(() => {
53440
+ useEffect35(() => {
53466
53441
  const storedConfig = getStoredTableConfig();
53467
53442
  if (storedConfig) {
53468
53443
  setTableDefaults(storedConfig);
@@ -53523,7 +53498,7 @@ var WfoSubscriptionsListPage = () => {
53523
53498
  };
53524
53499
 
53525
53500
  // src/pages/tasks/WfoTasksListPage.tsx
53526
- import { useContext as useContext11, useEffect as useEffect35, useState as useState52 } from "react";
53501
+ import { useContext as useContext11, useEffect as useEffect36, useState as useState52 } from "react";
53527
53502
  import { useTranslations as useTranslations74 } from "next-intl";
53528
53503
  import Link11 from "next/link";
53529
53504
  import { useRouter as useRouter12 } from "next/router";
@@ -53609,7 +53584,7 @@ var WfoTasksListPage = () => {
53609
53584
  const { showConfirmDialog } = useContext11(ConfirmationDialogContext);
53610
53585
  const [retryAllProcesses] = useRetryAllProcessesMutation();
53611
53586
  const { isEngineRunningNow } = useCheckEngineStatus();
53612
- useEffect35(() => {
53587
+ useEffect36(() => {
53613
53588
  const storedConfig = getStoredTableConfig();
53614
53589
  if (storedConfig) {
53615
53590
  setTableDefaults(storedConfig);
@@ -53710,7 +53685,7 @@ var WfoTasksListPage = () => {
53710
53685
  };
53711
53686
 
53712
53687
  // src/pages/workflows/WfoWorkflowsListPage.tsx
53713
- import { useEffect as useEffect36, useState as useState53 } from "react";
53688
+ import { useEffect as useEffect37, useState as useState53 } from "react";
53714
53689
  import { useTranslations as useTranslations75 } from "next-intl";
53715
53690
  import { useRouter as useRouter13 } from "next/router";
53716
53691
  import { StringParam as StringParam6, useQueryParam as useQueryParam5, withDefault as withDefault6 } from "use-query-params";
@@ -53791,7 +53766,7 @@ var WfoWorkflowsListPage = () => {
53791
53766
  const selectedWorkflowsListTab = getWorkflowsListTabTypeFromString(activeTab);
53792
53767
  const localStorageKey = selectedWorkflowsListTab === "ACTIVE" /* ACTIVE */ ? ACTIVE_PROCESSES_LIST_TABLE_LOCAL_STORAGE_KEY : COMPLETED_PROCESSES_LIST_TABLE_LOCAL_STORAGE_KEY;
53793
53768
  const getStoredTableConfig = useStoredTableConfig(localStorageKey);
53794
- useEffect36(() => {
53769
+ useEffect37(() => {
53795
53770
  const storedConfig = getStoredTableConfig();
53796
53771
  if (storedConfig) {
53797
53772
  setTableDefaults(storedConfig);
@@ -54129,13 +54104,13 @@ var WfoProcessesList = ({
54129
54104
  import { EuiCodeBlock as EuiCodeBlock3 } from "@elastic/eui";
54130
54105
 
54131
54106
  // src/components/WfoJsonCodeBlock/styles.ts
54132
- import { css as css46 } from "@emotion/react";
54133
- var getStyles14 = ({ theme }) => {
54134
- const euiCodeBlockStyle = css46({
54107
+ import { css as css45 } from "@emotion/react";
54108
+ var getStyles12 = ({ theme }) => {
54109
+ const euiCodeBlockStyle = css45({
54135
54110
  marginTop: 10,
54136
54111
  borderRadius: theme.border.radius.medium
54137
54112
  });
54138
- const euiBasicCodeBlockStyle = css46({
54113
+ const euiBasicCodeBlockStyle = css45({
54139
54114
  backgroundColor: "inherit",
54140
54115
  ".euiCodeBlock__pre": {
54141
54116
  paddingTop: 0,
@@ -54158,7 +54133,7 @@ var WfoJsonCodeBlock = ({
54158
54133
  data,
54159
54134
  isBasicStyle = false
54160
54135
  }) => {
54161
- const { euiCodeBlockStyle, euiBasicCodeBlockStyle } = useWithOrchestratorTheme(getStyles14);
54136
+ const { euiCodeBlockStyle, euiBasicCodeBlockStyle } = useWithOrchestratorTheme(getStyles12);
54162
54137
  const json = JSON.stringify(data, null, 4);
54163
54138
  return /* @__PURE__ */ jsx240(
54164
54139
  EuiCodeBlock3,
@@ -54184,10 +54159,10 @@ import {
54184
54159
  } from "@elastic/eui";
54185
54160
 
54186
54161
  // src/components/WfoSettings/styles.ts
54187
- import { css as css47 } from "@emotion/react";
54162
+ import { css as css46 } from "@emotion/react";
54188
54163
  var getWfoFlushSettingsStyle = (wfoTheme) => {
54189
54164
  const { theme } = wfoTheme;
54190
- const comboboxStyle = css47({
54165
+ const comboboxStyle = css46({
54191
54166
  // .euiComboBox is needed to override eui styling (more specific)
54192
54167
  "&.euiComboBox": {
54193
54168
  ".euiComboBox__inputWrap": {
@@ -54427,9 +54402,9 @@ var WfoInsyncIcon = ({ inSync }) => {
54427
54402
  };
54428
54403
 
54429
54404
  // src/components/WfoErrorBoundary/WfoErrorBoundary.tsx
54430
- import React81 from "react";
54405
+ import React82 from "react";
54431
54406
  import { jsx as jsx248, jsxs as jsxs134 } from "@emotion/react/jsx-runtime";
54432
- var WfoErrorBoundary = class extends React81.Component {
54407
+ var WfoErrorBoundary = class extends React82.Component {
54433
54408
  constructor(props) {
54434
54409
  super(props);
54435
54410
  this.state = { hasError: false };
@@ -54459,9 +54434,9 @@ var WfoErrorBoundary = class extends React81.Component {
54459
54434
  import { EuiFlexGroup as EuiFlexGroup29 } from "@elastic/eui";
54460
54435
 
54461
54436
  // src/components/WfoNoResults/styles.ts
54462
- import { css as css48 } from "@emotion/react";
54463
- var getStyles15 = ({ theme }) => {
54464
- const panelStyle = css48({
54437
+ import { css as css47 } from "@emotion/react";
54438
+ var getStyles13 = ({ theme }) => {
54439
+ const panelStyle = css47({
54465
54440
  display: "flex",
54466
54441
  padding: theme.base * 2,
54467
54442
  flexDirection: "row",
@@ -54482,7 +54457,7 @@ var getStyles15 = ({ theme }) => {
54482
54457
  // src/components/WfoNoResults/WfoNoResults.tsx
54483
54458
  import { jsxs as jsxs135 } from "@emotion/react/jsx-runtime";
54484
54459
  var WfoNoResults = ({ text, icon }) => {
54485
- const { panelStyle } = useWithOrchestratorTheme(getStyles15);
54460
+ const { panelStyle } = useWithOrchestratorTheme(getStyles13);
54486
54461
  return /* @__PURE__ */ jsxs135(EuiFlexGroup29, { css: panelStyle, children: [
54487
54462
  icon,
54488
54463
  " ",
@@ -54825,18 +54800,18 @@ import {
54825
54800
  } from "@elastic/eui";
54826
54801
 
54827
54802
  // src/components/WfoSummary/WfoSummaryCardHeader/styles.ts
54828
- import { css as css49 } from "@emotion/react";
54803
+ import { css as css48 } from "@emotion/react";
54829
54804
  var getWfoSummaryCardHeaderStyles = ({ theme }) => {
54830
- const avatarStyle = css49({
54805
+ const avatarStyle = css48({
54831
54806
  maxHeight: theme.base * 3,
54832
54807
  maxWidth: theme.base * 3
54833
54808
  });
54834
- const totalSectionStyle = css49({
54809
+ const totalSectionStyle = css48({
54835
54810
  display: "flex",
54836
54811
  flexDirection: "column",
54837
54812
  justifyContent: "space-between"
54838
54813
  });
54839
- const valueStyle = css49({
54814
+ const valueStyle = css48({
54840
54815
  fontSize: theme.size.l,
54841
54816
  fontWeight: theme.font.weight.semiBold
54842
54817
  });
@@ -54911,23 +54886,23 @@ var WfoOptionalLink = ({
54911
54886
  };
54912
54887
 
54913
54888
  // src/components/WfoSummary/WfoSummaryCardList/styles.ts
54914
- import { css as css50 } from "@emotion/react";
54889
+ import { css as css49 } from "@emotion/react";
54915
54890
  var getWfoSummaryCardListStyles = ({ theme }) => {
54916
- const listContainerStyle = css50({
54891
+ const listContainerStyle = css49({
54917
54892
  display: "flex",
54918
54893
  flexDirection: "column",
54919
54894
  justifyContent: "space-between",
54920
54895
  flexGrow: 1,
54921
54896
  borderColor: theme.colors.lightShade
54922
54897
  });
54923
- const listHeaderStyle = css50({
54898
+ const listHeaderStyle = css49({
54924
54899
  fontWeight: theme.font.weight.semiBold
54925
54900
  });
54926
- const listStyle = css50({
54901
+ const listStyle = css49({
54927
54902
  height: theme.base * 20,
54928
54903
  overflow: "auto"
54929
54904
  });
54930
- const listItemContainerStyle = css50({
54905
+ const listItemContainerStyle = css49({
54931
54906
  paddingBlock: theme.size.m,
54932
54907
  ".highlight-icon": {
54933
54908
  visibility: "hidden"
@@ -54936,13 +54911,13 @@ var getWfoSummaryCardListStyles = ({ theme }) => {
54936
54911
  visibility: "visible"
54937
54912
  }
54938
54913
  });
54939
- const listItemTitleStyle = css50({
54914
+ const listItemTitleStyle = css49({
54940
54915
  fontWeight: theme.font.weight.medium
54941
54916
  });
54942
- const listItemSubtitleStyle = css50({
54917
+ const listItemSubtitleStyle = css49({
54943
54918
  fontWeight: theme.font.weight.regular
54944
54919
  });
54945
- const listItemHighlightIconStyle = css50({
54920
+ const listItemHighlightIconStyle = css49({
54946
54921
  visibility: "hidden"
54947
54922
  });
54948
54923
  return {
@@ -55062,9 +55037,9 @@ var WfoSummaryCards = ({ children }) => {
55062
55037
  import { EuiFlexItem as EuiFlexItem38, EuiSpacer as EuiSpacer29 } from "@elastic/eui";
55063
55038
 
55064
55039
  // src/components/WfoSummary/styles.ts
55065
- import { css as css51 } from "@emotion/react";
55040
+ import { css as css50 } from "@emotion/react";
55066
55041
  var getWfoSummaryCardsStyles = ({ theme }) => {
55067
- const cardContainerStyle = css51({
55042
+ const cardContainerStyle = css50({
55068
55043
  height: theme.base * 36,
55069
55044
  minWidth: theme.base * 25
55070
55045
  });
@@ -55700,9 +55675,9 @@ var WfoSubscriptionDetailNoteEdit = ({ subscriptionId, onlyShowOnHover = false }
55700
55675
  import { EuiFlexItem as EuiFlexItem39 } from "@elastic/eui";
55701
55676
 
55702
55677
  // src/components/WfoTableCodeBlock/styles.ts
55703
- import { css as css52 } from "@emotion/react";
55704
- var getStyles16 = ({ theme }) => {
55705
- const tableCodeBlockMarginStyle = css52({
55678
+ import { css as css51 } from "@emotion/react";
55679
+ var getStyles14 = ({ theme }) => {
55680
+ const tableCodeBlockMarginStyle = css51({
55706
55681
  margin: theme.size.base,
55707
55682
  marginTop: theme.size.l,
55708
55683
  marginRight: theme.size.l
@@ -55717,7 +55692,7 @@ import { jsx as jsx268 } from "@emotion/react/jsx-runtime";
55717
55692
  var WfoTableCodeBlock = ({
55718
55693
  stepState: data
55719
55694
  }) => {
55720
- const { tableCodeBlockMarginStyle } = useWithOrchestratorTheme(getStyles16);
55695
+ const { tableCodeBlockMarginStyle } = useWithOrchestratorTheme(getStyles14);
55721
55696
  const keyValues = Object.entries(data).map(
55722
55697
  (entry) => {
55723
55698
  const key = entry[0];
@@ -56149,8 +56124,8 @@ var en_GB_default = {
56149
56124
  tasks: {
56150
56125
  page: {
56151
56126
  taskName: "Task",
56152
- rerunAll: "Rerun all",
56153
- rerunAllQuestion: "Are you sure you want to rerun all failed tasks?"
56127
+ rerunAll: "Re-try all tasks",
56128
+ rerunAllQuestion: "Are you sure you want to re-try all failed tasks?"
56154
56129
  },
56155
56130
  tabs: {
56156
56131
  active: "Active",
@@ -56612,8 +56587,8 @@ var nl_NL_default = {
56612
56587
  tasks: {
56613
56588
  page: {
56614
56589
  taskName: "Taak",
56615
- rerunAll: "Alles opnieuw uitvoeren",
56616
- rerunAllQuestion: "Weet u zeker dat u alle gefaalde taken opnieuw wilt uitvoeren?"
56590
+ rerunAll: "Alle taken herstarten",
56591
+ rerunAllQuestion: "Weet u zeker dat u alle gefaalde taken opnieuw wilt herstarten?"
56617
56592
  },
56618
56593
  tabs: {
56619
56594
  active: "Actief",
@@ -56679,7 +56654,8 @@ var nl_NL_default = {
56679
56654
  hamburgerMenu: {
56680
56655
  support: "Support",
56681
56656
  softwareVersions: "Software Versies",
56682
- logout: "Logout"
56657
+ logout: "Logout",
56658
+ aoStatusPage: "A&O applicatie status pagina"
56683
56659
  }
56684
56660
  };
56685
56661
 
@@ -57106,7 +57082,6 @@ export {
57106
57082
  getSortDirectionFromString,
57107
57083
  getStatusBadgeColor,
57108
57084
  getStepContent,
57109
- getStyles11 as getStyles,
57110
57085
  getTableConfigFromLocalStorage,
57111
57086
  getTasksListTabTypeFromString,
57112
57087
  getTotalNumberOfRows,
@@ -57186,6 +57161,7 @@ export {
57186
57161
  subscriptionListQuery,
57187
57162
  subscriptionListSummaryQuery,
57188
57163
  subscriptionListTabs,
57164
+ summaryFieldStyles,
57189
57165
  tasksQuery,
57190
57166
  toObjectWithSerializedValues,
57191
57167
  toObjectWithSortedKeys,