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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/.turbo/turbo-build.log +8 -8
  2. package/.turbo/turbo-lint.log +1 -1
  3. package/.turbo/turbo-test.log +6 -6
  4. package/CHANGELOG.md +12 -0
  5. package/dist/index.d.ts +258 -21
  6. package/dist/index.js +794 -533
  7. package/dist/index.js.map +1 -1
  8. package/package.json +2 -2
  9. package/src/components/WfoForms/formFields/SelectField/SelectField.tsx +2 -1
  10. package/src/components/WfoForms/formFields/deprecated/ImsPortIdField.tsx +2 -1
  11. package/src/components/WfoForms/formFields/deprecated/IpPrefixTableField.tsx +2 -1
  12. package/src/components/WfoForms/formFields/deprecated/SplitPrefix.tsx +1 -2
  13. package/src/components/WfoForms/formFields/deprecated/SubscriptionField.tsx +2 -1
  14. package/src/components/WfoForms/formFields/types.ts +0 -10
  15. package/src/components/WfoPydanticForm/RenderFormErrors.tsx +1 -1
  16. package/src/components/WfoPydanticForm/WfoPydanticForm.tsx +68 -28
  17. package/src/components/WfoPydanticForm/fields/WfoArrayField/WfoArrayField.tsx +13 -5
  18. package/src/components/WfoPydanticForm/fields/WfoArrayField/index.ts +1 -1
  19. package/src/components/WfoPydanticForm/fields/WfoDropdown.tsx +25 -0
  20. package/src/components/WfoPydanticForm/fields/WfoMultiCheckboxField.tsx +68 -0
  21. package/src/components/WfoPydanticForm/fields/WfoObjectField/WfoObjectField.tsx +12 -1
  22. package/src/components/WfoPydanticForm/fields/WfoObjectField/index.ts +1 -1
  23. package/src/components/WfoPydanticForm/fields/WfoReactSelect/WfoReactSelect.tsx +100 -0
  24. package/src/components/WfoPydanticForm/fields/WfoReactSelect/index.ts +2 -0
  25. package/src/components/WfoPydanticForm/fields/WfoReactSelect/styles.ts +70 -0
  26. package/src/components/WfoPydanticForm/fields/index.ts +3 -0
  27. package/src/configuration/version.ts +1 -1
  28. package/src/messages/en-GB.json +2 -1
  29. package/src/messages/nl-NL.json +2 -1
  30. package/src/rtk/endpoints/deprecated/surfSubscriptionDropdownOptions.ts +1 -1
  31. package/src/rtk/endpoints/index.ts +1 -0
  32. package/src/types/types.ts +5 -0
  33. package/src/components/WfoPydanticForm/fields/WfoArrayField/arrayFieldStyles.ts +0 -34
  34. /package/src/components/WfoPydanticForm/fields/WfoObjectField/{getWfoObjectFieldStyles.ts → styles.ts} +0 -0
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 = css52;
4926
- css52.displayName = "css";
4927
- css52.aliases = [];
4928
- function css52(Prism) {
4925
+ module.exports = css53;
4926
+ css53.displayName = "css";
4927
+ css53.aliases = [];
4928
+ function css53(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 css52 = require_css();
5195
+ var css53 = 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(css52);
5211
+ register(css53);
5212
5212
  register(clike);
5213
5213
  register(js);
5214
5214
  refract.util.encode = encode;
@@ -15304,10 +15304,10 @@ var require_jsstacktrace = __commonJS({
15304
15304
  var require_jsx = __commonJS({
15305
15305
  "../../node_modules/refractor/lang/jsx.js"(exports, module) {
15306
15306
  "use strict";
15307
- module.exports = jsx266;
15308
- jsx266.displayName = "jsx";
15309
- jsx266.aliases = [];
15310
- function jsx266(Prism) {
15307
+ module.exports = jsx269;
15308
+ jsx269.displayName = "jsx";
15309
+ jsx269.aliases = [];
15310
+ function jsx269(Prism) {
15311
15311
  ;
15312
15312
  (function(Prism2) {
15313
15313
  var javascript = Prism2.util.clone(Prism2.languages.javascript);
@@ -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.4.0";
26803
+ var ORCHESTRATOR_UI_LIBRARY_VERSION = "5.5.1";
26804
26804
 
26805
26805
  // src/types/types.ts
26806
26806
  var EngineStatus = /* @__PURE__ */ ((EngineStatus3) => {
@@ -26879,10 +26879,10 @@ var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
26879
26879
  SortOrder2["DESC"] = "DESC";
26880
26880
  return SortOrder2;
26881
26881
  })(SortOrder || {});
26882
- var Locale = /* @__PURE__ */ ((Locale2) => {
26883
- Locale2["enGB"] = "en-GB";
26884
- Locale2["nlNL"] = "nl-NL";
26885
- return Locale2;
26882
+ var Locale = /* @__PURE__ */ ((Locale3) => {
26883
+ Locale3["enGB"] = "en-GB";
26884
+ Locale3["nlNL"] = "nl-NL";
26885
+ return Locale3;
26886
26886
  })(Locale || {});
26887
26887
  var SubscriptionStatus = /* @__PURE__ */ ((SubscriptionStatus2) => {
26888
26888
  SubscriptionStatus2["INITIAL"] = "initial";
@@ -35426,6 +35426,28 @@ var {
35426
35426
  useGetNodeSubscriptionOptionsQuery
35427
35427
  } = formFieldsApi;
35428
35428
 
35429
+ // src/rtk/endpoints/fileUpload.ts
35430
+ var fileUploadApi = orchestratorApi.injectEndpoints({
35431
+ endpoints: (build) => ({
35432
+ uploadFile: build.mutation({
35433
+ query: ({ url, file }) => {
35434
+ const formData = new FormData();
35435
+ formData.append("file", file);
35436
+ return {
35437
+ url,
35438
+ method: "POST",
35439
+ body: formData
35440
+ };
35441
+ },
35442
+ extraOptions: {
35443
+ baseQueryType: "fetch" /* fetch */,
35444
+ apiName: "cim"
35445
+ }
35446
+ })
35447
+ })
35448
+ });
35449
+ var { useUploadFileMutation } = fileUploadApi;
35450
+
35429
35451
  // src/hooks/useCheckEngineStatus.ts
35430
35452
  var useCheckEngineStatus = () => {
35431
35453
  const { data, isLoading, refetch } = useGetEngineStatusQuery();
@@ -39035,7 +39057,7 @@ var WfoHeaderBadge = ({
39035
39057
  children,
39036
39058
  ...restProps
39037
39059
  }) => {
39038
- const css52 = restProps.iconType ? {
39060
+ const css53 = restProps.iconType ? {
39039
39061
  height: 24,
39040
39062
  display: "flex",
39041
39063
  paddingLeft: 0
@@ -39043,7 +39065,7 @@ var WfoHeaderBadge = ({
39043
39065
  height: 24,
39044
39066
  display: "flex"
39045
39067
  };
39046
- return /* @__PURE__ */ jsx73(WfoBadge, { ...restProps, css: css52, children });
39068
+ return /* @__PURE__ */ jsx73(WfoBadge, { ...restProps, css: css53, children });
39047
39069
  };
39048
39070
 
39049
39071
  // src/components/WfoBadges/WfoEnvironmentBadge/WfoEnvironmentBadge.tsx
@@ -47196,30 +47218,6 @@ import { useState as useState34 } from "react";
47196
47218
  import { useTranslations as useTranslations46 } from "next-intl";
47197
47219
  import { connectField as connectField23, filterDOMProps as filterDOMProps23 } from "uniforms";
47198
47220
  import { EuiFilePicker, EuiFormRow as EuiFormRow17, EuiText as EuiText30 } from "@elastic/eui";
47199
-
47200
- // src/rtk/endpoints/fileUpload.ts
47201
- var fileUploadApi = orchestratorApi.injectEndpoints({
47202
- endpoints: (build) => ({
47203
- uploadFile: build.mutation({
47204
- query: ({ url, file }) => {
47205
- const formData = new FormData();
47206
- formData.append("file", file);
47207
- return {
47208
- url,
47209
- method: "POST",
47210
- body: formData
47211
- };
47212
- },
47213
- extraOptions: {
47214
- baseQueryType: "fetch" /* fetch */,
47215
- apiName: "cim"
47216
- }
47217
- })
47218
- })
47219
- });
47220
- var { useUploadFileMutation } = fileUploadApi;
47221
-
47222
- // src/components/WfoForms/formFields/deprecated/FileUploadField.tsx
47223
47221
  import { Fragment as Fragment35, jsx as jsx177, jsxs as jsxs94 } from "@emotion/react/jsx-runtime";
47224
47222
  function FileUpload({
47225
47223
  id,
@@ -50326,7 +50324,7 @@ var WfoProcessDetailPage = ({
50326
50324
  };
50327
50325
 
50328
50326
  // src/pages/processes/WfoStartProcessPage.tsx
50329
- import { useCallback as useCallback8, useEffect as useEffect32, useMemo as useMemo6, useState as useState49 } from "react";
50327
+ import { useCallback as useCallback8, useEffect as useEffect33, useMemo as useMemo6, useState as useState50 } from "react";
50330
50328
  import { useTranslations as useTranslations68 } from "next-intl";
50331
50329
  import { useRouter as useRouter10 } from "next/router";
50332
50330
  import {
@@ -50342,6 +50340,7 @@ import { useCallback as useCallback6, useMemo as useMemo4 } from "react";
50342
50340
  import { useMessages, useTranslations as useTranslations62 } from "next-intl";
50343
50341
  import { useRouter as useRouter9 } from "next/router";
50344
50342
  import {
50343
+ Locale as Locale2,
50345
50344
  PydanticForm as PydanticForm2,
50346
50345
  PydanticFormFieldFormat,
50347
50346
  PydanticFormFieldType,
@@ -50368,7 +50367,7 @@ var RenderFormErrors = () => {
50368
50367
  const otherErrors = errors2.filter((err) => !err.loc.includes("__root__"));
50369
50368
  return /* @__PURE__ */ jsxs108("em", { className: "error backend-validation-metadata", children: [
50370
50369
  rootError && /* @__PURE__ */ jsx203("div", { children: rootError.msg }),
50371
- otherErrors?.length && t("inputFieldsHaveValidationErrors", {
50370
+ otherErrors?.length >= 1 && t("inputFieldsHaveValidationErrors", {
50372
50371
  nrOfValidationErrors: otherErrors.length
50373
50372
  })
50374
50373
  ] });
@@ -50688,12 +50687,13 @@ var WfoSummary = ({ pydanticFormField }) => {
50688
50687
  // src/components/WfoPydanticForm/fields/WfoObjectField/WfoObjectField.tsx
50689
50688
  import {
50690
50689
  RenderFields,
50690
+ disableField,
50691
50691
  getPydanticFormComponents,
50692
50692
  usePydanticFormContext as usePydanticFormContext4
50693
50693
  } from "pydantic-forms";
50694
50694
  import { EuiFlexGroup as EuiFlexGroup21 } from "@elastic/eui";
50695
50695
 
50696
- // src/components/WfoPydanticForm/fields/WfoObjectField/getWfoObjectFieldStyles.ts
50696
+ // src/components/WfoPydanticForm/fields/WfoObjectField/styles.ts
50697
50697
  import { css as css37 } from "@emotion/react";
50698
50698
  var getWfoObjectFieldStyles = () => {
50699
50699
  const wfoObjectFieldStyles = css37({
@@ -50713,11 +50713,19 @@ var WfoObjectField = ({
50713
50713
  pydanticFormField
50714
50714
  }) => {
50715
50715
  const { config } = usePydanticFormContext4();
50716
+ const disabled = pydanticFormField.attributes?.disabled || false;
50716
50717
  const { wfoObjectFieldStyles } = getWfoObjectFieldStyles();
50717
- const components = getPydanticFormComponents(
50718
+ const components2 = getPydanticFormComponents(
50718
50719
  pydanticFormField.properties || {},
50719
50720
  config?.componentMatcherExtender
50720
50721
  );
50722
+ if (disabled) {
50723
+ components2.forEach((component) => {
50724
+ component.pydanticFormField = disableField(
50725
+ component.pydanticFormField
50726
+ );
50727
+ });
50728
+ }
50721
50729
  return /* @__PURE__ */ jsx213(
50722
50730
  EuiFlexGroup21,
50723
50731
  {
@@ -50726,7 +50734,7 @@ var WfoObjectField = ({
50726
50734
  children: /* @__PURE__ */ jsx213(
50727
50735
  RenderFields,
50728
50736
  {
50729
- pydanticFormComponents: components,
50737
+ pydanticFormComponents: components2,
50730
50738
  idPrefix: pydanticFormField.id
50731
50739
  }
50732
50740
  )
@@ -51340,11 +51348,45 @@ function useFieldArray(props) {
51340
51348
  // src/components/WfoPydanticForm/fields/WfoArrayField/WfoArrayField.tsx
51341
51349
  import {
51342
51350
  RenderFields as RenderFields2,
51351
+ disableField as disableField2,
51343
51352
  fieldToComponentMatcher,
51344
51353
  itemizeArrayItem,
51345
51354
  usePydanticFormContext as usePydanticFormContext5
51346
51355
  } from "pydantic-forms";
51347
51356
  import { EuiIcon as EuiIcon5 } from "@elastic/eui";
51357
+
51358
+ // src/components/WfoPydanticForm/fields/WfoArrayField/styles.ts
51359
+ import { css as css38 } from "@emotion/react";
51360
+ var getWfoArrayFieldStyles = () => {
51361
+ const container = css38({
51362
+ padding: "1rem",
51363
+ display: "flex",
51364
+ flexDirection: "column",
51365
+ flexGrow: 1
51366
+ });
51367
+ const fieldWrapper = css38({
51368
+ display: "flex",
51369
+ gap: "10px",
51370
+ alignItems: "center"
51371
+ });
51372
+ const minusButton = css38({
51373
+ width: "40px",
51374
+ cursor: "pointer"
51375
+ });
51376
+ const plusButtonWrapper = css38({
51377
+ display: "flex",
51378
+ cursor: "pointer",
51379
+ justifyContent: "end"
51380
+ });
51381
+ return {
51382
+ container,
51383
+ fieldWrapper,
51384
+ minusButton,
51385
+ plusButtonWrapper
51386
+ };
51387
+ };
51388
+
51389
+ // src/components/WfoPydanticForm/fields/WfoArrayField/WfoArrayField.tsx
51348
51390
  import { jsx as jsx214, jsxs as jsxs112 } from "@emotion/react/jsx-runtime";
51349
51391
  var MinusButton = ({
51350
51392
  index,
@@ -51384,6 +51426,7 @@ var WfoArrayField = ({
51384
51426
  pydanticFormField
51385
51427
  }) => {
51386
51428
  const { config, rhf } = usePydanticFormContext5();
51429
+ const disabled = pydanticFormField.attributes?.disabled || false;
51387
51430
  const { control } = rhf;
51388
51431
  const { id: arrayName, arrayItem } = pydanticFormField;
51389
51432
  const { minItems, maxItems } = pydanticFormField.validations;
@@ -51392,15 +51435,16 @@ var WfoArrayField = ({
51392
51435
  control,
51393
51436
  name: arrayName
51394
51437
  });
51395
- const showMinus = !minItems || fields.length > minItems;
51396
- const showPlus = !maxItems || fields.length < maxItems;
51438
+ const showMinus = (!minItems || fields.length > minItems) && !disabled;
51439
+ const showPlus = (!maxItems || fields.length < maxItems) && !disabled;
51397
51440
  if (!arrayItem) return null;
51398
51441
  const component = fieldToComponentMatcher(
51399
51442
  arrayItem,
51400
51443
  config?.componentMatcherExtender
51401
51444
  );
51402
51445
  const renderField = (field, index) => {
51403
- const arrayField = itemizeArrayItem(index, arrayItem, arrayName);
51446
+ const itemizedField = itemizeArrayItem(index, arrayItem, arrayName);
51447
+ const arrayItemField = disabled ? disableField2(itemizedField) : itemizedField;
51404
51448
  return /* @__PURE__ */ jsxs112("div", { css: fieldWrapper, children: [
51405
51449
  /* @__PURE__ */ jsx214(
51406
51450
  RenderFields2,
@@ -51408,7 +51452,7 @@ var WfoArrayField = ({
51408
51452
  pydanticFormComponents: [
51409
51453
  {
51410
51454
  Element: component.Element,
51411
- pydanticFormField: arrayField
51455
+ pydanticFormField: arrayItemField
51412
51456
  }
51413
51457
  ],
51414
51458
  extraTriggerFields: [arrayName]
@@ -51440,37 +51484,6 @@ var WfoArrayField = ({
51440
51484
  ] });
51441
51485
  };
51442
51486
 
51443
- // src/components/WfoPydanticForm/fields/WfoArrayField/arrayFieldStyles.ts
51444
- import { css as css38 } from "@emotion/react";
51445
- var getWfoArrayFieldStyles = () => {
51446
- const container = css38({
51447
- padding: "1rem",
51448
- display: "flex",
51449
- flexDirection: "column",
51450
- flexGrow: 1
51451
- });
51452
- const fieldWrapper = css38({
51453
- display: "flex",
51454
- gap: "10px",
51455
- alignItems: "center"
51456
- });
51457
- const minusButton = css38({
51458
- width: "40px",
51459
- cursor: "pointer"
51460
- });
51461
- const plusButtonWrapper = css38({
51462
- display: "flex",
51463
- cursor: "pointer",
51464
- justifyContent: "end"
51465
- });
51466
- return {
51467
- container,
51468
- fieldWrapper,
51469
- minusButton,
51470
- plusButtonWrapper
51471
- };
51472
- };
51473
-
51474
51487
  // src/components/WfoPydanticForm/fields/WfoRadio.tsx
51475
51488
  import { EuiRadioGroup } from "@elastic/eui";
51476
51489
  import { jsx as jsx215 } from "@emotion/react/jsx-runtime";
@@ -51535,8 +51548,219 @@ var WfoInteger = ({
51535
51548
  );
51536
51549
  };
51537
51550
 
51551
+ // src/components/WfoPydanticForm/fields/WfoReactSelect/WfoReactSelect.tsx
51552
+ import ReactSelect5, { components } from "react-select";
51553
+ import { EuiButtonIcon as EuiButtonIcon11 } from "@elastic/eui";
51554
+
51555
+ // src/components/WfoPydanticForm/fields/WfoReactSelect/styles.ts
51556
+ import { css as css40 } from "@emotion/react";
51557
+ var getWfoReactSelectStyles = (wfoTheme) => {
51558
+ const { theme } = wfoTheme;
51559
+ const reactSelectInnerComponentStyles = {
51560
+ option: (baseStyles, state) => ({
51561
+ ...baseStyles,
51562
+ borderBottom: theme.border.thin,
51563
+ borderColor: theme.colors.lightShade,
51564
+ backgroundColor: theme.colors.lightestShade,
51565
+ color: state.isSelected ? theme.colors.primaryText : theme.colors.text
51566
+ }),
51567
+ control: (baseStyles, state) => {
51568
+ return {
51569
+ ...baseStyles,
51570
+ backgroundColor: state.isFocused ? theme.colors.emptyShade : theme.colors.lightestShade,
51571
+ color: theme.colors.text,
51572
+ border: `1px solid ${theme.colors.lightShade}`
51573
+ };
51574
+ },
51575
+ input: (baseStyles) => ({
51576
+ ...baseStyles,
51577
+ color: theme.colors.text
51578
+ }),
51579
+ singleValue: (baseStyles, state) => {
51580
+ const opacity = state.isDisabled ? 0.3 : 1;
51581
+ const transition = "opacity 300ms";
51582
+ return {
51583
+ ...baseStyles,
51584
+ opacity,
51585
+ transition,
51586
+ color: theme.colors.text
51587
+ };
51588
+ },
51589
+ menu: (baseStyles) => ({
51590
+ ...baseStyles,
51591
+ backgroundColor: theme.colors.lightestShade
51592
+ })
51593
+ };
51594
+ const containerStyle = css40({
51595
+ display: "flex",
51596
+ flexDirection: "row",
51597
+ alignItems: "center"
51598
+ });
51599
+ const reactSelectStyle = css40({
51600
+ width: "100%"
51601
+ });
51602
+ const refreshButtonStyle = css40({
51603
+ marginRight: theme.base / 2,
51604
+ cursor: "pointer"
51605
+ });
51606
+ return {
51607
+ reactSelectInnerComponentStyles,
51608
+ refreshButtonStyle,
51609
+ containerStyle,
51610
+ reactSelectStyle
51611
+ };
51612
+ };
51613
+
51614
+ // src/components/WfoPydanticForm/fields/WfoReactSelect/WfoReactSelect.tsx
51615
+ import { jsx as jsx217, jsxs as jsxs113 } from "@emotion/react/jsx-runtime";
51616
+ var WfoReactSelect = ({
51617
+ options,
51618
+ id,
51619
+ onChange,
51620
+ value,
51621
+ disabled = false,
51622
+ isLoading = false,
51623
+ placeholder = "Select an option",
51624
+ hasError = false,
51625
+ refetch
51626
+ }) => {
51627
+ const selectedValue = options.find(
51628
+ (option) => option.value === value
51629
+ );
51630
+ const {
51631
+ reactSelectInnerComponentStyles,
51632
+ containerStyle,
51633
+ refreshButtonStyle,
51634
+ reactSelectStyle
51635
+ } = useWithOrchestratorTheme(getWfoReactSelectStyles);
51636
+ if (hasError) {
51637
+ return /* @__PURE__ */ jsx217(WfoError, {});
51638
+ }
51639
+ const Input = ({
51640
+ ...props
51641
+ }) => {
51642
+ return /* @__PURE__ */ jsx217(components.Input, { ...props, "data-testid": `${id}.search-input` });
51643
+ };
51644
+ return /* @__PURE__ */ jsxs113("div", { css: containerStyle, children: [
51645
+ refetch && /* @__PURE__ */ jsx217(
51646
+ EuiButtonIcon11,
51647
+ {
51648
+ className: "reload-subscriptions-icon-button",
51649
+ css: refreshButtonStyle,
51650
+ "aria-label": `refetch-${id}`,
51651
+ id: `refresh-icon-${id}`,
51652
+ iconType: "refresh",
51653
+ iconSize: "l",
51654
+ disabled,
51655
+ onClick: () => {
51656
+ refetch();
51657
+ },
51658
+ "data-testid": `${id}-refresh-button`
51659
+ }
51660
+ ),
51661
+ /* @__PURE__ */ jsx217(
51662
+ ReactSelect5,
51663
+ {
51664
+ id,
51665
+ inputId: `${id}.search`,
51666
+ onChange: (option) => {
51667
+ const selectedValue2 = option?.value;
51668
+ onChange(selectedValue2);
51669
+ },
51670
+ css: reactSelectStyle,
51671
+ isLoading,
51672
+ styles: reactSelectInnerComponentStyles,
51673
+ options,
51674
+ value: selectedValue || null,
51675
+ isSearchable: true,
51676
+ isClearable: true,
51677
+ placeholder,
51678
+ isDisabled: disabled,
51679
+ components: {
51680
+ Input
51681
+ }
51682
+ }
51683
+ )
51684
+ ] });
51685
+ };
51686
+
51687
+ // src/components/WfoPydanticForm/fields/WfoDropdown.tsx
51688
+ import { jsx as jsx218 } from "@emotion/react/jsx-runtime";
51689
+ var WfoDropdown = ({
51690
+ onChange,
51691
+ pydanticFormField,
51692
+ value
51693
+ }) => {
51694
+ const dropDownOptions = pydanticFormField.options.map((option) => ({
51695
+ value: option.value,
51696
+ label: option.label
51697
+ }));
51698
+ return /* @__PURE__ */ jsx218(
51699
+ WfoReactSelect,
51700
+ {
51701
+ options: dropDownOptions,
51702
+ onChange,
51703
+ id: pydanticFormField.id,
51704
+ value
51705
+ }
51706
+ );
51707
+ };
51708
+
51709
+ // src/components/WfoPydanticForm/fields/WfoMultiCheckboxField.tsx
51710
+ import { useEffect as useEffect30, useState as useState44 } from "react";
51711
+ import { EuiCheckboxGroup } from "@elastic/eui";
51712
+ import { jsx as jsx219 } from "@emotion/react/jsx-runtime";
51713
+ var WfoMultiCheckboxField = ({
51714
+ pydanticFormField,
51715
+ onChange,
51716
+ value
51717
+ }) => {
51718
+ useEffect30(() => {
51719
+ const getInitialMap = () => {
51720
+ const initialIdMap = (value || []).reduce(
51721
+ (idMap, id2) => {
51722
+ idMap[id2] = true;
51723
+ return idMap;
51724
+ },
51725
+ {}
51726
+ );
51727
+ return initialIdMap;
51728
+ };
51729
+ setCheckboxIdToSelectedMap(getInitialMap());
51730
+ }, [value]);
51731
+ const [checkboxIdToSelectedMap, setCheckboxIdToSelectedMap] = useState44({});
51732
+ const { options, id } = pydanticFormField;
51733
+ const checkboxes = options.map((option, index) => ({
51734
+ label: option.label,
51735
+ id: option.value,
51736
+ "data-test-id": `${id}-${index}`
51737
+ }));
51738
+ const handleCheckboxChange = (optionId) => {
51739
+ const newCheckboxIdToSelectedMap = {
51740
+ ...checkboxIdToSelectedMap,
51741
+ ...{
51742
+ [optionId]: !checkboxIdToSelectedMap[optionId]
51743
+ }
51744
+ };
51745
+ const selectedIds = Object.keys(newCheckboxIdToSelectedMap).filter(
51746
+ (key) => newCheckboxIdToSelectedMap[key]
51747
+ );
51748
+ onChange(selectedIds);
51749
+ setCheckboxIdToSelectedMap(newCheckboxIdToSelectedMap);
51750
+ };
51751
+ return /* @__PURE__ */ jsx219(
51752
+ EuiCheckboxGroup,
51753
+ {
51754
+ options: checkboxes,
51755
+ idToSelectedMap: checkboxIdToSelectedMap,
51756
+ onChange: (id2) => handleCheckboxChange(id2),
51757
+ "data-testid": id
51758
+ }
51759
+ );
51760
+ };
51761
+
51538
51762
  // src/components/WfoPydanticForm/WfoPydanticForm.tsx
51539
- import { jsx as jsx217 } from "@emotion/react/jsx-runtime";
51763
+ import { jsx as jsx220 } from "@emotion/react/jsx-runtime";
51540
51764
  var useWfoPydanticFormConfig = () => {
51541
51765
  const componentMatcherExtender = useAppSelector(
51542
51766
  (state) => state.pydanticForm?.componentMatcherExtender
@@ -51618,13 +51842,13 @@ var useWfoPydanticFormConfig = () => {
51618
51842
  }
51619
51843
  },
51620
51844
  {
51621
- id: "radio",
51845
+ id: "dropdown",
51622
51846
  ElementMatch: {
51623
- Element: WfoRadio,
51847
+ Element: WfoDropdown,
51624
51848
  isControlledElement: true
51625
51849
  },
51626
51850
  matcher(field) {
51627
- return field.type === PydanticFormFieldType.STRING && field.options.length > 0 && field.options.length <= 3;
51851
+ return field.type === PydanticFormFieldType.STRING && Array.isArray(field.options) && field.options.length > 0;
51628
51852
  }
51629
51853
  },
51630
51854
  {
@@ -51638,6 +51862,17 @@ var useWfoPydanticFormConfig = () => {
51638
51862
  },
51639
51863
  validator: zodValidationPresets.integer
51640
51864
  },
51865
+ {
51866
+ id: "multicheckbox",
51867
+ ElementMatch: {
51868
+ Element: WfoMultiCheckboxField,
51869
+ isControlledElement: true
51870
+ },
51871
+ matcher(field) {
51872
+ return field.type === PydanticFormFieldType.ARRAY && field.options?.length > 0 && field.options?.length <= 5;
51873
+ },
51874
+ validator: zodValidationPresets.multiSelect
51875
+ },
51641
51876
  ...currentMatchers.filter((matcher) => matcher.id !== "text").filter((matcher) => matcher.id !== "array").filter((matcher) => matcher.id !== "object"),
51642
51877
  {
51643
51878
  id: "object",
@@ -51689,15 +51924,18 @@ var WfoPydanticForm = ({
51689
51924
  pydanticLabelProvider,
51690
51925
  customTranslations
51691
51926
  } = useWfoPydanticFormConfig();
51692
- const onSuccess = (_fieldValues, req) => {
51693
- const request = req;
51694
- const response = request ? request?.response : null;
51695
- if (response?.id) {
51696
- const pfBasePath = isTask ? PATH_TASKS : PATH_WORKFLOWS;
51697
- router.replace(`${pfBasePath}/${response.id}`);
51698
- }
51699
- };
51700
- const getPydanticFormProvider = () => {
51927
+ const onSuccess = useCallback6(
51928
+ (_fieldValues, req) => {
51929
+ const request = req;
51930
+ const response = request ? request?.response : null;
51931
+ if (response?.id) {
51932
+ const pfBasePath = isTask ? PATH_TASKS : PATH_WORKFLOWS;
51933
+ router.replace(`${pfBasePath}/${response.id}`);
51934
+ }
51935
+ },
51936
+ [isTask, router]
51937
+ );
51938
+ const getPydanticFormProvider = useCallback6(() => {
51701
51939
  const pydanticFormProvider = async ({
51702
51940
  requestBody = [],
51703
51941
  formKey
@@ -51734,35 +51972,51 @@ var WfoPydanticForm = ({
51734
51972
  });
51735
51973
  };
51736
51974
  return pydanticFormProvider;
51737
- };
51738
- const handleCancel = () => {
51975
+ }, [startProcess, startProcessPayload]);
51976
+ const handleCancel = useCallback6(() => {
51739
51977
  const pfBasePath = isTask ? PATH_TASKS : PATH_WORKFLOWS;
51740
51978
  router.replace(pfBasePath);
51741
- };
51742
- return /* @__PURE__ */ jsx217(
51979
+ }, [isTask, router]);
51980
+ const config = useMemo4(() => {
51981
+ const getLocale = () => {
51982
+ if (router.locale) {
51983
+ return router.locale;
51984
+ }
51985
+ return Locale2.enGB;
51986
+ };
51987
+ return {
51988
+ apiProvider: getPydanticFormProvider(),
51989
+ allowUntouchedSubmit: true,
51990
+ footerRenderer: Footer,
51991
+ headerRenderer: Header,
51992
+ skipSuccessNotice: true,
51993
+ componentMatcherExtender: wfoComponentMatcherExtender,
51994
+ labelProvider: pydanticLabelProvider,
51995
+ rowRenderer: Row,
51996
+ customTranslations,
51997
+ locale: getLocale()
51998
+ };
51999
+ }, [
52000
+ customTranslations,
52001
+ getPydanticFormProvider,
52002
+ pydanticLabelProvider,
52003
+ router.locale,
52004
+ wfoComponentMatcherExtender
52005
+ ]);
52006
+ return /* @__PURE__ */ jsx220(
51743
52007
  PydanticForm2,
51744
52008
  {
51745
52009
  id: processName,
51746
52010
  onSuccess,
51747
52011
  onCancel: handleCancel,
51748
- loadingComponent: /* @__PURE__ */ jsx217(WfoLoading, {}),
51749
- config: {
51750
- apiProvider: getPydanticFormProvider(),
51751
- allowUntouchedSubmit: true,
51752
- footerRenderer: Footer,
51753
- headerRenderer: Header,
51754
- skipSuccessNotice: true,
51755
- componentMatcherExtender: wfoComponentMatcherExtender,
51756
- labelProvider: pydanticLabelProvider,
51757
- rowRenderer: Row,
51758
- customTranslations
51759
- }
52012
+ loadingComponent: /* @__PURE__ */ jsx220(WfoLoading, {}),
52013
+ config
51760
52014
  }
51761
52015
  );
51762
52016
  };
51763
52017
 
51764
52018
  // src/components/WfoWorkflowSteps/WfoStep/WfoStep.tsx
51765
- import React69, { useState as useState45 } from "react";
52019
+ import React70, { useState as useState46 } from "react";
51766
52020
  import { useTranslations as useTranslations63 } from "next-intl";
51767
52021
  import {
51768
52022
  EuiButton as EuiButton12,
@@ -51776,36 +52030,36 @@ import {
51776
52030
  import { EuiFlexItem as EuiFlexItem25 } from "@elastic/eui";
51777
52031
 
51778
52032
  // src/components/WfoWorkflowSteps/styles.ts
51779
- import { css as css40 } from "@emotion/react";
52033
+ import { css as css41 } from "@emotion/react";
51780
52034
  var getWorkflowStepsStyles = ({
51781
52035
  theme,
51782
52036
  toSecondaryColor
51783
52037
  }) => {
51784
52038
  const SPACE_BETWEEN_STEPS = theme.base * 1.5;
51785
- const stepSpacerStyle = css40({
52039
+ const stepSpacerStyle = css41({
51786
52040
  borderLeft: `1px solid ${theme.colors.darkShade}`,
51787
52041
  height: `${SPACE_BETWEEN_STEPS}px`,
51788
52042
  marginLeft: "36px"
51789
52043
  });
51790
- const stepRowStyle = css40({
52044
+ const stepRowStyle = css41({
51791
52045
  flexGrow: 1,
51792
52046
  alignItems: "center",
51793
52047
  justifyContent: "flex-end"
51794
52048
  });
51795
- const stepListHeaderStyle = css40({
52049
+ const stepListHeaderStyle = css41({
51796
52050
  marginBottom: "24px",
51797
52051
  marginTop: "60px",
51798
52052
  alignItems: "flex-end"
51799
52053
  });
51800
- const stepListContentStyle = css40({
52054
+ const stepListContentStyle = css41({
51801
52055
  flexDirection: "row",
51802
52056
  alignItems: "center"
51803
52057
  });
51804
- const stepListContentBoldTextStyle = css40({
52058
+ const stepListContentBoldTextStyle = css41({
51805
52059
  fontSize: theme.size.base,
51806
52060
  fontWeight: theme.font.weight.bold
51807
52061
  });
51808
- const stepListContentAnchorStyle = css40({
52062
+ const stepListContentAnchorStyle = css41({
51809
52063
  marginTop: 2,
51810
52064
  marginLeft: 0,
51811
52065
  fontSize: theme.size.m,
@@ -51813,7 +52067,7 @@ var getWorkflowStepsStyles = ({
51813
52067
  color: theme.colors.link,
51814
52068
  cursor: "pointer"
51815
52069
  });
51816
- const stepListOptionsContainerStyle = css40({
52070
+ const stepListOptionsContainerStyle = css41({
51817
52071
  flexGrow: 0
51818
52072
  });
51819
52073
  const stepStateIcon = {
@@ -51829,36 +52083,36 @@ var getWorkflowStepsStyles = ({
51829
52083
  color: theme.colors.disabled,
51830
52084
  fontWeight: theme.font.weight.semiBold
51831
52085
  };
51832
- const stepStateSuccessIconStyle = css40({
52086
+ const stepStateSuccessIconStyle = css41({
51833
52087
  ...stepStateIcon,
51834
52088
  backgroundColor: toSecondaryColor(theme.colors.primary)
51835
52089
  });
51836
- const stepStateSuspendIconStyle = css40({
52090
+ const stepStateSuspendIconStyle = css41({
51837
52091
  ...stepStateIcon,
51838
52092
  backgroundColor: toSecondaryColor(theme.colors.warning)
51839
52093
  });
51840
- const stepStatePendingIconStyle = css40({
52094
+ const stepStatePendingIconStyle = css41({
51841
52095
  ...stepStateIcon,
51842
52096
  backgroundColor: toSecondaryColor(theme.colors.darkShade)
51843
52097
  });
51844
- const stepStateFailedIconStyle = css40({
52098
+ const stepStateFailedIconStyle = css41({
51845
52099
  ...stepStateIcon,
51846
52100
  backgroundColor: toSecondaryColor(theme.colors.danger)
51847
52101
  });
51848
- const stepHeaderRightStyle = css40({
52102
+ const stepHeaderRightStyle = css41({
51849
52103
  alignItems: "center"
51850
52104
  });
51851
- const stepEmailContainerStyle = css40({
52105
+ const stepEmailContainerStyle = css41({
51852
52106
  paddingLeft: 24,
51853
52107
  width: 600,
51854
52108
  marginTop: 0
51855
52109
  });
51856
- const getStepHeaderStyle = (isClickable) => css40({
52110
+ const getStepHeaderStyle = (isClickable) => css41({
51857
52111
  gap: 0,
51858
52112
  alignItems: "center",
51859
52113
  cursor: isClickable ? "pointer" : "default"
51860
52114
  });
51861
- const getStepToggleExpandStyle = (isVisible) => css40({
52115
+ const getStepToggleExpandStyle = (isVisible) => css41({
51862
52116
  marginRight: theme.base / 2,
51863
52117
  visibility: isVisible ? "visible" : "hidden"
51864
52118
  });
@@ -51884,26 +52138,26 @@ var getWorkflowStepsStyles = ({
51884
52138
  };
51885
52139
 
51886
52140
  // src/components/WfoWorkflowSteps/WfoStepStatusIcon/WfoStepStatusIcon.tsx
51887
- import { jsx as jsx218, jsxs as jsxs113 } from "@emotion/react/jsx-runtime";
52141
+ import { jsx as jsx221, jsxs as jsxs114 } from "@emotion/react/jsx-runtime";
51888
52142
  var SubIcon = ({ stepStatus, color = "" }) => {
51889
52143
  switch (stepStatus) {
51890
52144
  case "suspend" /* SUSPEND */:
51891
- return /* @__PURE__ */ jsx218(WfoMinusCircleFill, { color });
52145
+ return /* @__PURE__ */ jsx221(WfoMinusCircleFill, { color });
51892
52146
  case "failed" /* FAILED */:
51893
- return /* @__PURE__ */ jsx218(WfoXCircleFill, { color });
52147
+ return /* @__PURE__ */ jsx221(WfoXCircleFill, { color });
51894
52148
  default:
51895
- return /* @__PURE__ */ jsx218(WfoCheckmarkCircleFill, { color });
52149
+ return /* @__PURE__ */ jsx221(WfoCheckmarkCircleFill, { color });
51896
52150
  }
51897
52151
  };
51898
52152
  var MainIcon = ({ stepStatus, color = "", isStartStep }) => {
51899
52153
  if (isStartStep) {
51900
- return /* @__PURE__ */ jsx218(WfoPlayFill, { color });
52154
+ return /* @__PURE__ */ jsx221(WfoPlayFill, { color });
51901
52155
  }
51902
52156
  switch (stepStatus) {
51903
52157
  case "form" /* FORM */:
51904
- return /* @__PURE__ */ jsx218(WfoPencilAlt, { color });
52158
+ return /* @__PURE__ */ jsx221(WfoPencilAlt, { color });
51905
52159
  default:
51906
- return /* @__PURE__ */ jsx218(WfoCogFill, { color, width: 16, height: 16 });
52160
+ return /* @__PURE__ */ jsx221(WfoCogFill, { color, width: 16, height: 16 });
51907
52161
  }
51908
52162
  };
51909
52163
  var WfoStepStatusIcon = ({
@@ -51958,8 +52212,8 @@ var WfoStepStatusIcon = ({
51958
52212
  ];
51959
52213
  }
51960
52214
  })();
51961
- return /* @__PURE__ */ jsxs113(EuiFlexItem25, { css: { flexDirection: "row" }, grow: 0, children: [
51962
- /* @__PURE__ */ jsx218("div", { css: stepStateStyle, children: /* @__PURE__ */ jsx218(
52215
+ return /* @__PURE__ */ jsxs114(EuiFlexItem25, { css: { flexDirection: "row" }, grow: 0, children: [
52216
+ /* @__PURE__ */ jsx221("div", { css: stepStateStyle, children: /* @__PURE__ */ jsx221(
51963
52217
  MainIcon,
51964
52218
  {
51965
52219
  color: mainIconColor,
@@ -51967,7 +52221,7 @@ var WfoStepStatusIcon = ({
51967
52221
  isStartStep
51968
52222
  }
51969
52223
  ) }),
51970
- /* @__PURE__ */ jsx218(
52224
+ /* @__PURE__ */ jsx221(
51971
52225
  "div",
51972
52226
  {
51973
52227
  css: {
@@ -51975,7 +52229,7 @@ var WfoStepStatusIcon = ({
51975
52229
  width: `${theme.base}`,
51976
52230
  visibility: hasSubIcon ? "visible" : "hidden"
51977
52231
  },
51978
- children: /* @__PURE__ */ jsx218(SubIcon, { color: subIconColor, stepStatus })
52232
+ children: /* @__PURE__ */ jsx221(SubIcon, { color: subIconColor, stepStatus })
51979
52233
  }
51980
52234
  )
51981
52235
  ] });
@@ -52004,17 +52258,17 @@ var getStepContent = (stepDelta, showHiddenKeys) => {
52004
52258
  };
52005
52259
 
52006
52260
  // src/components/WfoWorkflowSteps/WfoStep/WfoStepForm.tsx
52007
- import { useState as useState44 } from "react";
52261
+ import { useState as useState45 } from "react";
52008
52262
  import { EuiFlexItem as EuiFlexItem26 } from "@elastic/eui";
52009
- import { jsx as jsx219 } from "@emotion/react/jsx-runtime";
52263
+ import { jsx as jsx222 } from "@emotion/react/jsx-runtime";
52010
52264
  var WfoStepForm = ({
52011
52265
  userInputForm,
52012
52266
  isTask,
52013
52267
  processId,
52014
52268
  userPermissions
52015
52269
  }) => {
52016
- const [isProcessing, setIsProcessing] = useState44(false);
52017
- const [hasError, setHasError] = useState44(false);
52270
+ const [isProcessing, setIsProcessing] = useState45(false);
52271
+ const [hasError, setHasError] = useState45(false);
52018
52272
  const { theme } = useOrchestratorTheme();
52019
52273
  const [resumeProcess] = useResumeProcessMutation();
52020
52274
  const submitForm = (processInput) => {
@@ -52035,7 +52289,7 @@ var WfoStepForm = ({
52035
52289
  }
52036
52290
  });
52037
52291
  };
52038
- return /* @__PURE__ */ jsx219(EuiFlexItem26, { css: { margin: theme.size.m }, children: hasError && /* @__PURE__ */ jsx219(WfoError, {}) || isProcessing && /* @__PURE__ */ jsx219(WfoLoading, {}) || /* @__PURE__ */ jsx219(
52292
+ return /* @__PURE__ */ jsx222(EuiFlexItem26, { css: { margin: theme.size.m }, children: hasError && /* @__PURE__ */ jsx222(WfoError, {}) || isProcessing && /* @__PURE__ */ jsx222(WfoLoading, {}) || /* @__PURE__ */ jsx222(
52039
52293
  UserInputFormWizard,
52040
52294
  {
52041
52295
  stepUserInput: userInputForm,
@@ -52049,8 +52303,8 @@ var WfoStepForm = ({
52049
52303
  };
52050
52304
 
52051
52305
  // src/components/WfoWorkflowSteps/WfoStep/WfoStep.tsx
52052
- import { Fragment as Fragment51, jsx as jsx220, jsxs as jsxs114 } from "@emotion/react/jsx-runtime";
52053
- var WfoStep = React69.forwardRef(
52306
+ import { Fragment as Fragment51, jsx as jsx223, jsxs as jsxs115 } from "@emotion/react/jsx-runtime";
52307
+ var WfoStep = React70.forwardRef(
52054
52308
  ({
52055
52309
  stepListItem,
52056
52310
  onToggleStepDetail,
@@ -52063,7 +52317,7 @@ var WfoStep = React69.forwardRef(
52063
52317
  userPermissions
52064
52318
  }, ref) => {
52065
52319
  const { isExpanded, step, userInputForm } = stepListItem;
52066
- const [tableView, setTableView] = useState45(false);
52320
+ const [tableView, setTableView] = useState46(false);
52067
52321
  const { theme } = useOrchestratorTheme();
52068
52322
  const {
52069
52323
  stepEmailContainerStyle,
@@ -52085,29 +52339,29 @@ var WfoStep = React69.forwardRef(
52085
52339
  if (!value) {
52086
52340
  return "";
52087
52341
  }
52088
- return /* @__PURE__ */ jsxs114(EuiText37, { size: "s", children: [
52089
- /* @__PURE__ */ jsx220("h4", { children: "To" }),
52090
- /* @__PURE__ */ jsx220("p", { children: value.to.map(
52091
- (v, i) => /* @__PURE__ */ jsxs114("div", { children: [
52342
+ return /* @__PURE__ */ jsxs115(EuiText37, { size: "s", children: [
52343
+ /* @__PURE__ */ jsx223("h4", { children: "To" }),
52344
+ /* @__PURE__ */ jsx223("p", { children: value.to.map(
52345
+ (v, i) => /* @__PURE__ */ jsxs115("div", { children: [
52092
52346
  v.name,
52093
52347
  " <",
52094
- /* @__PURE__ */ jsx220("a", { href: `mailto: ${v.email}`, children: v.email }),
52348
+ /* @__PURE__ */ jsx223("a", { href: `mailto: ${v.email}`, children: v.email }),
52095
52349
  ">"
52096
52350
  ] }, `to-${i}`)
52097
52351
  ) }),
52098
- /* @__PURE__ */ jsx220("h4", { children: "CC" }),
52099
- /* @__PURE__ */ jsx220("p", { children: value.cc.map(
52100
- (v, i) => /* @__PURE__ */ jsxs114("div", { children: [
52352
+ /* @__PURE__ */ jsx223("h4", { children: "CC" }),
52353
+ /* @__PURE__ */ jsx223("p", { children: value.cc.map(
52354
+ (v, i) => /* @__PURE__ */ jsxs115("div", { children: [
52101
52355
  v.name,
52102
52356
  " <",
52103
- /* @__PURE__ */ jsx220("a", { href: `mailto: ${v.email}`, children: v.email }),
52357
+ /* @__PURE__ */ jsx223("a", { href: `mailto: ${v.email}`, children: v.email }),
52104
52358
  ">"
52105
52359
  ] }, `cc-${i}`)
52106
52360
  ) }),
52107
- /* @__PURE__ */ jsx220("h4", { children: "Subject" }),
52108
- /* @__PURE__ */ jsx220("p", { children: value.subject }),
52109
- /* @__PURE__ */ jsx220("h4", { children: "Message" }),
52110
- /* @__PURE__ */ jsx220(
52361
+ /* @__PURE__ */ jsx223("h4", { children: "Subject" }),
52362
+ /* @__PURE__ */ jsx223("p", { children: value.subject }),
52363
+ /* @__PURE__ */ jsx223("h4", { children: "Message" }),
52364
+ /* @__PURE__ */ jsx223(
52111
52365
  "div",
52112
52366
  {
52113
52367
  className: "emailMessage",
@@ -52116,30 +52370,30 @@ var WfoStep = React69.forwardRef(
52116
52370
  )
52117
52371
  ] });
52118
52372
  };
52119
- return /* @__PURE__ */ jsx220("div", { ref, children: /* @__PURE__ */ jsxs114(EuiPanel4, { children: [
52120
- /* @__PURE__ */ jsxs114(
52373
+ return /* @__PURE__ */ jsx223("div", { ref, children: /* @__PURE__ */ jsxs115(EuiPanel4, { children: [
52374
+ /* @__PURE__ */ jsxs115(
52121
52375
  EuiFlexGroup22,
52122
52376
  {
52123
52377
  css: getStepHeaderStyle(hasStepContent),
52124
52378
  onClick: () => hasStepContent && onToggleStepDetail(),
52125
52379
  children: [
52126
- /* @__PURE__ */ jsx220(
52380
+ /* @__PURE__ */ jsx223(
52127
52381
  WfoStepStatusIcon,
52128
52382
  {
52129
52383
  stepStatus: step.status,
52130
52384
  isStartStep
52131
52385
  }
52132
52386
  ),
52133
- /* @__PURE__ */ jsxs114(EuiFlexItem27, { grow: 0, children: [
52134
- /* @__PURE__ */ jsx220(EuiText37, { css: stepListContentBoldTextStyle, children: step.name }),
52135
- /* @__PURE__ */ jsxs114(EuiText37, { children: [
52387
+ /* @__PURE__ */ jsxs115(EuiFlexItem27, { grow: 0, children: [
52388
+ /* @__PURE__ */ jsx223(EuiText37, { css: stepListContentBoldTextStyle, children: step.name }),
52389
+ /* @__PURE__ */ jsxs115(EuiText37, { children: [
52136
52390
  step.status,
52137
52391
  " ",
52138
52392
  step.completed && `- ${formatDate(step.completed)}`
52139
52393
  ] })
52140
52394
  ] }),
52141
- /* @__PURE__ */ jsx220(EuiFlexGroup22, { css: stepRowStyle, children: step.completed && /* @__PURE__ */ jsxs114(Fragment51, { children: [
52142
- isExpanded && /* @__PURE__ */ jsx220(
52395
+ /* @__PURE__ */ jsx223(EuiFlexGroup22, { css: stepRowStyle, children: step.completed && /* @__PURE__ */ jsxs115(Fragment51, { children: [
52396
+ isExpanded && /* @__PURE__ */ jsx223(
52143
52397
  EuiButton12,
52144
52398
  {
52145
52399
  onClick: (event) => {
@@ -52152,33 +52406,33 @@ var WfoStep = React69.forwardRef(
52152
52406
  )
52153
52407
  }
52154
52408
  ),
52155
- /* @__PURE__ */ jsxs114(
52409
+ /* @__PURE__ */ jsxs115(
52156
52410
  EuiFlexItem27,
52157
52411
  {
52158
52412
  grow: 0,
52159
52413
  css: stepHeaderRightStyle,
52160
52414
  children: [
52161
- /* @__PURE__ */ jsx220(EuiText37, { css: stepDurationStyle, children: t("duration") }),
52162
- /* @__PURE__ */ jsx220(EuiText37, { size: "m", children: calculateTimeDifference(
52415
+ /* @__PURE__ */ jsx223(EuiText37, { css: stepDurationStyle, children: t("duration") }),
52416
+ /* @__PURE__ */ jsx223(EuiText37, { size: "m", children: calculateTimeDifference(
52163
52417
  startedAt,
52164
52418
  completedAt
52165
52419
  ) })
52166
52420
  ]
52167
52421
  }
52168
52422
  ),
52169
- /* @__PURE__ */ jsx220(
52423
+ /* @__PURE__ */ jsx223(
52170
52424
  EuiFlexItem27,
52171
52425
  {
52172
52426
  grow: 0,
52173
52427
  css: getStepToggleExpandStyle(
52174
52428
  hasStepContent
52175
52429
  ),
52176
- children: isExpanded && /* @__PURE__ */ jsx220(
52430
+ children: isExpanded && /* @__PURE__ */ jsx223(
52177
52431
  WfoChevronUp,
52178
52432
  {
52179
52433
  color: theme.colors.text
52180
52434
  }
52181
- ) || /* @__PURE__ */ jsx220(
52435
+ ) || /* @__PURE__ */ jsx223(
52182
52436
  WfoChevronDown,
52183
52437
  {
52184
52438
  color: theme.colors.text
@@ -52190,11 +52444,11 @@ var WfoStep = React69.forwardRef(
52190
52444
  ]
52191
52445
  }
52192
52446
  ),
52193
- hasStepContent && !hasHtmlMail && isExpanded && (tableView ? /* @__PURE__ */ jsx220(WfoTableCodeBlock, { stepState: stepContent }) : /* @__PURE__ */ jsx220(WfoJsonCodeBlock, { data: stepContent })),
52194
- isExpanded && hasHtmlMail && /* @__PURE__ */ jsx220("div", { css: stepEmailContainerStyle, children: displayMailConfirmation(
52447
+ hasStepContent && !hasHtmlMail && isExpanded && (tableView ? /* @__PURE__ */ jsx223(WfoTableCodeBlock, { stepState: stepContent }) : /* @__PURE__ */ jsx223(WfoJsonCodeBlock, { data: stepContent })),
52448
+ isExpanded && hasHtmlMail && /* @__PURE__ */ jsx223("div", { css: stepEmailContainerStyle, children: displayMailConfirmation(
52195
52449
  step.stateDelta.confirmation_mail
52196
52450
  ) }),
52197
- step.status === "suspend" /* SUSPEND */ && userInputForm && /* @__PURE__ */ jsx220(
52451
+ step.status === "suspend" /* SUSPEND */ && userInputForm && /* @__PURE__ */ jsx223(
52198
52452
  WfoStepForm,
52199
52453
  {
52200
52454
  userInputForm,
@@ -52209,9 +52463,9 @@ var WfoStep = React69.forwardRef(
52209
52463
  WfoStep.displayName = "WfoStep";
52210
52464
 
52211
52465
  // src/components/WfoWorkflowSteps/WfoStepList/WfoStepList.tsx
52212
- import React70, { useImperativeHandle as useImperativeHandle2, useRef as useRef12 } from "react";
52213
- import { Fragment as Fragment52, jsx as jsx221, jsxs as jsxs115 } from "@emotion/react/jsx-runtime";
52214
- var WfoStepList = React70.forwardRef(
52466
+ import React71, { useImperativeHandle as useImperativeHandle2, useRef as useRef12 } from "react";
52467
+ import { Fragment as Fragment52, jsx as jsx224, jsxs as jsxs116 } from "@emotion/react/jsx-runtime";
52468
+ var WfoStepList = React71.forwardRef(
52215
52469
  ({
52216
52470
  stepListItems,
52217
52471
  showHiddenKeys,
@@ -52266,9 +52520,9 @@ var WfoStepList = React70.forwardRef(
52266
52520
  stepReferences.current.delete(stepId);
52267
52521
  }
52268
52522
  };
52269
- return /* @__PURE__ */ jsx221(Fragment52, { children: stepListItems.map((stepListItem, index) => /* @__PURE__ */ jsxs115("div", { children: [
52270
- index !== 0 && /* @__PURE__ */ jsx221("div", { css: stepSpacerStyle }),
52271
- /* @__PURE__ */ jsx221(
52523
+ return /* @__PURE__ */ jsx224(Fragment52, { children: stepListItems.map((stepListItem, index) => /* @__PURE__ */ jsxs116("div", { children: [
52524
+ index !== 0 && /* @__PURE__ */ jsx224("div", { css: stepSpacerStyle }),
52525
+ /* @__PURE__ */ jsx224(
52272
52526
  WfoStep,
52273
52527
  {
52274
52528
  ref: getReferenceCallbackForStepId(
@@ -52291,19 +52545,19 @@ var WfoStepList = React70.forwardRef(
52291
52545
  WfoStepList.displayName = "WfoStepList";
52292
52546
 
52293
52547
  // src/components/WfoWorkflowSteps/WfoWorkflowStepList/WfoWorkflowStepList.tsx
52294
- import React72, { useEffect as useEffect31, useState as useState47 } from "react";
52548
+ import React73, { useEffect as useEffect32, useState as useState48 } from "react";
52295
52549
  import { useTranslations as useTranslations66 } from "next-intl";
52296
52550
 
52297
52551
  // src/components/WfoDiff/WfoDiff.tsx
52298
52552
  var refractor = __toESM(require_refractor(), 1);
52299
- import { useCallback as useCallback7, useEffect as useEffect30, useMemo as useMemo5, useState as useState46 } from "react";
52553
+ import { useCallback as useCallback7, useEffect as useEffect31, useMemo as useMemo5, useState as useState47 } from "react";
52300
52554
  import { Diff, Hunk, parseDiff, tokenize } from "react-diff-view";
52301
52555
  import "react-diff-view/style/index.css";
52302
52556
  import { useTranslations as useTranslations64 } from "next-intl";
52303
52557
  import "prism-themes/themes/prism-ghcolors.min.css";
52304
52558
  import { diffLines, formatLines } from "unidiff";
52305
52559
  import {
52306
- EuiButtonIcon as EuiButtonIcon11,
52560
+ EuiButtonIcon as EuiButtonIcon12,
52307
52561
  EuiFlexGroup as EuiFlexGroup23,
52308
52562
  EuiFlexItem as EuiFlexItem28,
52309
52563
  EuiSpacer as EuiSpacer20,
@@ -52312,7 +52566,7 @@ import {
52312
52566
 
52313
52567
  // src/components/WfoDiff/styles.ts
52314
52568
  import { shade as shade2, tint as tint4 } from "@elastic/eui";
52315
- import { css as css41 } from "@emotion/react";
52569
+ import { css as css42 } from "@emotion/react";
52316
52570
  var getWfoDiffStyles = ({
52317
52571
  theme,
52318
52572
  toSecondaryColor,
@@ -52324,7 +52578,7 @@ var getWfoDiffStyles = ({
52324
52578
  const insertCodeColor = isDarkThemeActive ? shade2(insertGutterColor, SHADE_FACTOR) : tint4(insertGutterColor, TINT_FACTOR);
52325
52579
  const deleteColor = toSecondaryColor(theme.colors.danger);
52326
52580
  const deleteSecondaryColor = isDarkThemeActive ? shade2(deleteColor, SHADE_FACTOR) : tint4(deleteColor, TINT_FACTOR);
52327
- const diffStyle = css41({
52581
+ const diffStyle = css42({
52328
52582
  ".diff-code-insert": {
52329
52583
  backgroundColor: insertCodeColor
52330
52584
  },
@@ -52347,16 +52601,16 @@ var getWfoDiffStyles = ({
52347
52601
  };
52348
52602
 
52349
52603
  // src/components/WfoDiff/WfoDiff.tsx
52350
- import { jsx as jsx222, jsxs as jsxs116 } from "@emotion/react/jsx-runtime";
52604
+ import { jsx as jsx225, jsxs as jsxs117 } from "@emotion/react/jsx-runtime";
52351
52605
  var EMPTY_HUNKS = [];
52352
52606
  var SMALL_CONTEXT = 3;
52353
52607
  var FULL_CONTEXT = 1e6;
52354
52608
  var WfoDiff = ({ oldText, newText, syntax }) => {
52355
52609
  const t = useTranslations64("processes.delta");
52356
- const [showSplit, setShowSplit] = useState46(true);
52357
- const [showFull, setShowFull] = useState46(false);
52610
+ const [showSplit, setShowSplit] = useState47(true);
52611
+ const [showFull, setShowFull] = useState47(false);
52358
52612
  const { diffStyle } = useWithOrchestratorTheme(getWfoDiffStyles);
52359
- const [{ type, hunks }, setDiff] = useState46({
52613
+ const [{ type, hunks }, setDiff] = useState47({
52360
52614
  type: "modify",
52361
52615
  hunks: []
52362
52616
  });
@@ -52382,14 +52636,14 @@ var WfoDiff = ({ oldText, newText, syntax }) => {
52382
52636
  return void 0;
52383
52637
  }
52384
52638
  }, [hunks, syntax]);
52385
- useEffect30(() => {
52639
+ useEffect31(() => {
52386
52640
  updateDiffText();
52387
52641
  }, [updateDiffText, showFull]);
52388
- return /* @__PURE__ */ jsxs116("div", { children: [
52389
- /* @__PURE__ */ jsxs116(EuiFlexGroup23, { gutterSize: "xs", children: [
52390
- /* @__PURE__ */ jsx222(EuiFlexItem28, { grow: false, children: /* @__PURE__ */ jsx222(EuiText38, { children: /* @__PURE__ */ jsx222("h3", { children: t("title") }) }) }),
52391
- /* @__PURE__ */ jsx222(EuiFlexItem28, { grow: false, children: /* @__PURE__ */ jsx222(
52392
- EuiButtonIcon11,
52642
+ return /* @__PURE__ */ jsxs117("div", { children: [
52643
+ /* @__PURE__ */ jsxs117(EuiFlexGroup23, { gutterSize: "xs", children: [
52644
+ /* @__PURE__ */ jsx225(EuiFlexItem28, { grow: false, children: /* @__PURE__ */ jsx225(EuiText38, { children: /* @__PURE__ */ jsx225("h3", { children: t("title") }) }) }),
52645
+ /* @__PURE__ */ jsx225(EuiFlexItem28, { grow: false, children: /* @__PURE__ */ jsx225(
52646
+ EuiButtonIcon12,
52393
52647
  {
52394
52648
  size: "s",
52395
52649
  iconType: showSplit ? "continuityAboveBelow" : "continuityWithin",
@@ -52399,8 +52653,8 @@ var WfoDiff = ({ oldText, newText, syntax }) => {
52399
52653
  )
52400
52654
  }
52401
52655
  ) }),
52402
- /* @__PURE__ */ jsx222(EuiFlexItem28, { grow: false, children: /* @__PURE__ */ jsx222(
52403
- EuiButtonIcon11,
52656
+ /* @__PURE__ */ jsx225(EuiFlexItem28, { grow: false, children: /* @__PURE__ */ jsx225(
52657
+ EuiButtonIcon12,
52404
52658
  {
52405
52659
  size: "s",
52406
52660
  iconType: showFull ? "fullScreenExit" : "fullScreen",
@@ -52411,8 +52665,8 @@ var WfoDiff = ({ oldText, newText, syntax }) => {
52411
52665
  }
52412
52666
  ) })
52413
52667
  ] }),
52414
- /* @__PURE__ */ jsx222(EuiSpacer20, {}),
52415
- /* @__PURE__ */ jsx222(
52668
+ /* @__PURE__ */ jsx225(EuiSpacer20, {}),
52669
+ /* @__PURE__ */ jsx225(
52416
52670
  Diff,
52417
52671
  {
52418
52672
  css: diffStyle,
@@ -52420,7 +52674,7 @@ var WfoDiff = ({ oldText, newText, syntax }) => {
52420
52674
  diffType: type,
52421
52675
  hunks: hunks || EMPTY_HUNKS,
52422
52676
  tokens,
52423
- children: (hunks2) => hunks2.map((hunk) => /* @__PURE__ */ jsx222(Hunk, { hunk }, hunk.content))
52677
+ children: (hunks2) => hunks2.map((hunk) => /* @__PURE__ */ jsx225(Hunk, { hunk }, hunk.content))
52424
52678
  }
52425
52679
  )
52426
52680
  ] });
@@ -52432,9 +52686,9 @@ import { useTranslations as useTranslations65 } from "next-intl";
52432
52686
  import { EuiCodeBlock, EuiText as EuiText39 } from "@elastic/eui";
52433
52687
 
52434
52688
  // src/components/WfoWorkflowSteps/WfoTraceback/styles.ts
52435
- import { css as css42 } from "@emotion/react";
52689
+ import { css as css43 } from "@emotion/react";
52436
52690
  var getStyles12 = ({ theme }) => {
52437
- const codeBlockStyle = css42({
52691
+ const codeBlockStyle = css43({
52438
52692
  marginTop: theme.size.m,
52439
52693
  marginBottom: theme.size.l,
52440
52694
  borderRadius: theme.border.radius.medium
@@ -52445,21 +52699,21 @@ var getStyles12 = ({ theme }) => {
52445
52699
  };
52446
52700
 
52447
52701
  // src/components/WfoWorkflowSteps/WfoTraceback/WfoTraceback.tsx
52448
- import { Fragment as Fragment53, jsx as jsx223, jsxs as jsxs117 } from "@emotion/react/jsx-runtime";
52702
+ import { Fragment as Fragment53, jsx as jsx226, jsxs as jsxs118 } from "@emotion/react/jsx-runtime";
52449
52703
  var WfoTraceback = ({ children }) => {
52450
52704
  const { codeBlockStyle } = useWithOrchestratorTheme(getStyles12);
52451
52705
  const t = useTranslations65("processes.steps");
52452
- return /* @__PURE__ */ jsxs117(Fragment53, { children: [
52453
- /* @__PURE__ */ jsx223(EuiText39, { children: /* @__PURE__ */ jsx223("h3", { children: t("traceback") }) }),
52454
- /* @__PURE__ */ jsx223(EuiCodeBlock, { css: codeBlockStyle, children })
52706
+ return /* @__PURE__ */ jsxs118(Fragment53, { children: [
52707
+ /* @__PURE__ */ jsx226(EuiText39, { children: /* @__PURE__ */ jsx226("h3", { children: t("traceback") }) }),
52708
+ /* @__PURE__ */ jsx226(EuiCodeBlock, { css: codeBlockStyle, children })
52455
52709
  ] });
52456
52710
  };
52457
52711
 
52458
52712
  // src/components/WfoWorkflowSteps/WfoWorkflowStepList/WfoWorkflowStepList.tsx
52459
- import { Fragment as Fragment54, jsx as jsx224, jsxs as jsxs118 } from "@emotion/react/jsx-runtime";
52713
+ import { Fragment as Fragment54, jsx as jsx227, jsxs as jsxs119 } from "@emotion/react/jsx-runtime";
52460
52714
  var WfoProcessRawData = ({ processId }) => {
52461
52715
  const { data, isFetching } = useGetRawProcessDetailQuery({ processId });
52462
- return isFetching ? /* @__PURE__ */ jsx224(WfoLoading, {}) : /* @__PURE__ */ jsx224(WfoJsonCodeBlock, { data: data || {} });
52716
+ return isFetching ? /* @__PURE__ */ jsx227(WfoLoading, {}) : /* @__PURE__ */ jsx227(WfoJsonCodeBlock, { data: data || {} });
52463
52717
  };
52464
52718
  var WfoProcessSubscriptionDelta = ({
52465
52719
  processId
@@ -52470,7 +52724,7 @@ var WfoProcessSubscriptionDelta = ({
52470
52724
  const oldSubscriptions = data?.current_state?.__old_subscriptions__ || {};
52471
52725
  const oldSubscription = subscriptionId in oldSubscriptions ? oldSubscriptions[subscriptionId] : null;
52472
52726
  const oldText = oldSubscription || null;
52473
- return isFetching ? /* @__PURE__ */ jsx224(WfoLoading, {}) : /* @__PURE__ */ jsx224(
52727
+ return isFetching ? /* @__PURE__ */ jsx227(WfoLoading, {}) : /* @__PURE__ */ jsx227(
52474
52728
  WfoDiff_default,
52475
52729
  {
52476
52730
  oldText: oldText ? JSON.stringify(oldText, null, 2) : "",
@@ -52479,7 +52733,7 @@ var WfoProcessSubscriptionDelta = ({
52479
52733
  }
52480
52734
  );
52481
52735
  };
52482
- var WfoWorkflowStepList = React72.forwardRef(
52736
+ var WfoWorkflowStepList = React73.forwardRef(
52483
52737
  ({
52484
52738
  steps = [],
52485
52739
  lastStatus,
@@ -52489,16 +52743,16 @@ var WfoWorkflowStepList = React72.forwardRef(
52489
52743
  userInputForm,
52490
52744
  userPermissions
52491
52745
  }, reference) => {
52492
- const [showHiddenKeys, setShowHiddenKeys] = useState47(false);
52493
- const [showRaw, setShowRaw] = useState47(false);
52494
- const [showDelta, setShowDelta] = useState47(false);
52495
- const [showTraceback, setShowTraceback] = useState47(false);
52746
+ const [showHiddenKeys, setShowHiddenKeys] = useState48(false);
52747
+ const [showRaw, setShowRaw] = useState48(false);
52748
+ const [showDelta, setShowDelta] = useState48(false);
52749
+ const [showTraceback, setShowTraceback] = useState48(false);
52496
52750
  const t = useTranslations66("processes.steps");
52497
52751
  const initialStepListItems = steps.map((step) => ({
52498
52752
  step,
52499
52753
  isExpanded: false
52500
52754
  }));
52501
- const [stepListItems, setStepListItems] = useState47(initialStepListItems);
52755
+ const [stepListItems, setStepListItems] = useState48(initialStepListItems);
52502
52756
  const persistStepListItemState = (previousStepListItems, updatedSteps, userInputForm2) => {
52503
52757
  const reversedSteps = [...updatedSteps].reverse();
52504
52758
  const lastStepWithSuspendStatusStepId = reversedSteps.find(
@@ -52515,7 +52769,7 @@ var WfoWorkflowStepList = React72.forwardRef(
52515
52769
  };
52516
52770
  });
52517
52771
  };
52518
- useEffect31(() => {
52772
+ useEffect32(() => {
52519
52773
  setStepListItems(
52520
52774
  (previousStepListItems) => persistStepListItemState(
52521
52775
  previousStepListItems,
@@ -52553,8 +52807,8 @@ var WfoWorkflowStepList = React72.forwardRef(
52553
52807
  "aborted" /* ABORTED */,
52554
52808
  "completed" /* COMPLETED */
52555
52809
  ].map((status) => status.toLowerCase()).includes(lastStatus.toLowerCase());
52556
- return /* @__PURE__ */ jsxs118(Fragment54, { children: [
52557
- /* @__PURE__ */ jsx224(
52810
+ return /* @__PURE__ */ jsxs119(Fragment54, { children: [
52811
+ /* @__PURE__ */ jsx227(
52558
52812
  WfoStepListHeader,
52559
52813
  {
52560
52814
  showHiddenKeys,
@@ -52572,10 +52826,10 @@ var WfoWorkflowStepList = React72.forwardRef(
52572
52826
  isRunningWorkflow
52573
52827
  }
52574
52828
  ),
52575
- showTraceback && /* @__PURE__ */ jsx224(WfoTraceback, { children: traceBack }),
52576
- showRaw && /* @__PURE__ */ jsx224(WfoProcessRawData, { processId }),
52577
- showDelta && /* @__PURE__ */ jsx224(WfoProcessSubscriptionDelta, { processId }),
52578
- !showRaw && !showDelta && /* @__PURE__ */ jsx224(
52829
+ showTraceback && /* @__PURE__ */ jsx227(WfoTraceback, { children: traceBack }),
52830
+ showRaw && /* @__PURE__ */ jsx227(WfoProcessRawData, { processId }),
52831
+ showDelta && /* @__PURE__ */ jsx227(WfoProcessSubscriptionDelta, { processId }),
52832
+ !showRaw && !showDelta && /* @__PURE__ */ jsx227(
52579
52833
  WfoStepList,
52580
52834
  {
52581
52835
  ref: reference,
@@ -52594,7 +52848,7 @@ var WfoWorkflowStepList = React72.forwardRef(
52594
52848
  WfoWorkflowStepList.displayName = "WfoWorkflowStepList";
52595
52849
 
52596
52850
  // src/components/WfoWorkflowSteps/WfoWorkflowStepList/WfoStepListHeader.tsx
52597
- import { useState as useState48 } from "react";
52851
+ import { useState as useState49 } from "react";
52598
52852
  import { useTranslations as useTranslations67 } from "next-intl";
52599
52853
  import {
52600
52854
  EuiButton as EuiButton13,
@@ -52610,9 +52864,9 @@ import {
52610
52864
  import { EuiText as EuiText40 } from "@elastic/eui";
52611
52865
 
52612
52866
  // src/components/WfoTextAnchor/styles.ts
52613
- import { css as css43 } from "@emotion/react";
52867
+ import { css as css44 } from "@emotion/react";
52614
52868
  var getStyles13 = ({ theme }) => {
52615
- const textAnchorStyle = css43({
52869
+ const textAnchorStyle = css44({
52616
52870
  marginTop: theme.size.xxs,
52617
52871
  marginLeft: 0,
52618
52872
  fontSize: theme.size.m,
@@ -52626,14 +52880,14 @@ var getStyles13 = ({ theme }) => {
52626
52880
  };
52627
52881
 
52628
52882
  // src/components/WfoTextAnchor/WfoTextAnchor.tsx
52629
- import { jsx as jsx225 } from "@emotion/react/jsx-runtime";
52883
+ import { jsx as jsx228 } from "@emotion/react/jsx-runtime";
52630
52884
  var WfoTextAnchor = ({ text, onClick }) => {
52631
52885
  const { textAnchorStyle } = useWithOrchestratorTheme(getStyles13);
52632
- return /* @__PURE__ */ jsx225(EuiText40, { onClick, css: textAnchorStyle, children: text });
52886
+ return /* @__PURE__ */ jsx228(EuiText40, { onClick, css: textAnchorStyle, children: text });
52633
52887
  };
52634
52888
 
52635
52889
  // src/components/WfoWorkflowSteps/WfoWorkflowStepList/WfoStepListHeader.tsx
52636
- import { jsx as jsx226, jsxs as jsxs119 } from "@emotion/react/jsx-runtime";
52890
+ import { jsx as jsx229, jsxs as jsxs120 } from "@emotion/react/jsx-runtime";
52637
52891
  var WfoStepListHeader = ({
52638
52892
  allDetailToggleText,
52639
52893
  showDelta,
@@ -52657,23 +52911,23 @@ var WfoStepListHeader = ({
52657
52911
  stepListContentBoldTextStyle,
52658
52912
  stepListOptionsContainerStyle
52659
52913
  } = useWithOrchestratorTheme(getWorkflowStepsStyles);
52660
- const [isViewOptionOpen, setIsViewOptionOpen] = useState48(false);
52914
+ const [isViewOptionOpen, setIsViewOptionOpen] = useState49(false);
52661
52915
  const onViewOptionClick = () => setIsViewOptionOpen((isViewOptionOpen2) => !isViewOptionOpen2);
52662
52916
  const closeViewOption = () => setIsViewOptionOpen(false);
52663
- const viewOptionButton = /* @__PURE__ */ jsx226(
52917
+ const viewOptionButton = /* @__PURE__ */ jsx229(
52664
52918
  EuiButton13,
52665
52919
  {
52666
52920
  onClick: onViewOptionClick,
52667
- iconType: () => /* @__PURE__ */ jsx226(WfoEyeFill, { color: theme.colors.link }),
52921
+ iconType: () => /* @__PURE__ */ jsx229(WfoEyeFill, { color: theme.colors.link }),
52668
52922
  iconSide: "right",
52669
52923
  size: "s",
52670
52924
  children: t("viewOptions")
52671
52925
  }
52672
52926
  );
52673
- return /* @__PURE__ */ jsxs119(EuiFlexGroup24, { css: stepListHeaderStyle, children: [
52674
- /* @__PURE__ */ jsxs119(EuiFlexGroup24, { css: stepListContentStyle, children: [
52675
- /* @__PURE__ */ jsx226(EuiText41, { css: stepListContentBoldTextStyle, children: t(isTask ? "taskSteps" : "workflowSteps") }),
52676
- !showRaw && /* @__PURE__ */ jsx226(
52927
+ return /* @__PURE__ */ jsxs120(EuiFlexGroup24, { css: stepListHeaderStyle, children: [
52928
+ /* @__PURE__ */ jsxs120(EuiFlexGroup24, { css: stepListContentStyle, children: [
52929
+ /* @__PURE__ */ jsx229(EuiText41, { css: stepListContentBoldTextStyle, children: t(isTask ? "taskSteps" : "workflowSteps") }),
52930
+ !showRaw && /* @__PURE__ */ jsx229(
52677
52931
  WfoTextAnchor,
52678
52932
  {
52679
52933
  text: allDetailToggleText,
@@ -52681,7 +52935,7 @@ var WfoStepListHeader = ({
52681
52935
  }
52682
52936
  )
52683
52937
  ] }),
52684
- /* @__PURE__ */ jsxs119(
52938
+ /* @__PURE__ */ jsxs120(
52685
52939
  EuiFlexGroup24,
52686
52940
  {
52687
52941
  justifyContent: "flexEnd",
@@ -52689,7 +52943,7 @@ var WfoStepListHeader = ({
52689
52943
  css: stepListOptionsContainerStyle,
52690
52944
  gutterSize: "s",
52691
52945
  children: [
52692
- showTracebackButton && /* @__PURE__ */ jsx226(
52946
+ showTracebackButton && /* @__PURE__ */ jsx229(
52693
52947
  EuiButton13,
52694
52948
  {
52695
52949
  onClick: () => onShowTraceback(!showTraceback),
@@ -52697,14 +52951,14 @@ var WfoStepListHeader = ({
52697
52951
  children: showTraceback ? t("hideTraceback") : t("showTraceback")
52698
52952
  }
52699
52953
  ),
52700
- /* @__PURE__ */ jsx226(
52954
+ /* @__PURE__ */ jsx229(
52701
52955
  EuiButton13,
52702
52956
  {
52703
52957
  onClick: () => onChangeShowDelta(!showDelta),
52704
52958
  disabled: isRunningWorkflow,
52705
52959
  iconSide: "right",
52706
52960
  size: "s",
52707
- iconType: () => /* @__PURE__ */ jsx226(
52961
+ iconType: () => /* @__PURE__ */ jsx229(
52708
52962
  WfoCode,
52709
52963
  {
52710
52964
  color: isRunningWorkflow ? theme.colors.disabledText : theme.colors.link
@@ -52713,15 +52967,15 @@ var WfoStepListHeader = ({
52713
52967
  children: showDelta ? t("hideDelta") : t("showDelta")
52714
52968
  }
52715
52969
  ),
52716
- /* @__PURE__ */ jsx226(
52970
+ /* @__PURE__ */ jsx229(
52717
52971
  EuiPopover8,
52718
52972
  {
52719
52973
  button: viewOptionButton,
52720
52974
  isOpen: isViewOptionOpen,
52721
52975
  closePopover: closeViewOption,
52722
52976
  display: "block",
52723
- children: /* @__PURE__ */ jsx226("div", { children: /* @__PURE__ */ jsxs119(EuiForm3, { component: "form", children: [
52724
- /* @__PURE__ */ jsx226(EuiFormRow23, { children: /* @__PURE__ */ jsx226(
52977
+ children: /* @__PURE__ */ jsx229("div", { children: /* @__PURE__ */ jsxs120(EuiForm3, { component: "form", children: [
52978
+ /* @__PURE__ */ jsx229(EuiFormRow23, { children: /* @__PURE__ */ jsx229(
52725
52979
  EuiSwitch3,
52726
52980
  {
52727
52981
  label: "Hidden keys",
@@ -52734,7 +52988,7 @@ var WfoStepListHeader = ({
52734
52988
  }
52735
52989
  }
52736
52990
  ) }),
52737
- /* @__PURE__ */ jsx226(EuiFormRow23, { children: /* @__PURE__ */ jsx226(
52991
+ /* @__PURE__ */ jsx229(EuiFormRow23, { children: /* @__PURE__ */ jsx229(
52738
52992
  EuiSwitch3,
52739
52993
  {
52740
52994
  label: "Raw JSON data",
@@ -52755,7 +53009,7 @@ var WfoStepListHeader = ({
52755
53009
  };
52756
53010
 
52757
53011
  // src/pages/processes/WfoStartProcessPage.tsx
52758
- import { jsx as jsx227, jsxs as jsxs120 } from "@emotion/react/jsx-runtime";
53012
+ import { jsx as jsx230, jsxs as jsxs121 } from "@emotion/react/jsx-runtime";
52759
53013
  var getInitialProcessPayload = ({
52760
53014
  productId,
52761
53015
  subscriptionId
@@ -52777,9 +53031,9 @@ var WfoStartProcessPage = ({
52777
53031
  }) => {
52778
53032
  const t = useTranslations68("processes.steps");
52779
53033
  const router = useRouter10();
52780
- const [hasError, setHasError] = useState49(false);
53034
+ const [hasError, setHasError] = useState50(false);
52781
53035
  const { theme } = useOrchestratorTheme();
52782
- const [form, setForm] = useState49({});
53036
+ const [form, setForm] = useState50({});
52783
53037
  const { productId, subscriptionId } = router.query;
52784
53038
  const {
52785
53039
  data: subscriptionDetail,
@@ -52854,7 +53108,7 @@ var WfoStartProcessPage = ({
52854
53108
  },
52855
53109
  [startProcess, processName, startProcessPayload, isTask, router]
52856
53110
  );
52857
- useEffect32(() => {
53111
+ useEffect33(() => {
52858
53112
  if (processName && processName !== "modify_note") {
52859
53113
  const clientResultCallback = (json) => {
52860
53114
  setForm({
@@ -52890,7 +53144,7 @@ var WfoStartProcessPage = ({
52890
53144
  }
52891
53145
  };
52892
53146
  const pageTitle = workflowMetadata?.description || isErrorWorkflowDescription && processDetail?.workflowName || "";
52893
- return /* @__PURE__ */ jsx227(
53147
+ return /* @__PURE__ */ jsx230(
52894
53148
  WfoProcessDetail,
52895
53149
  {
52896
53150
  pageTitle,
@@ -52899,25 +53153,25 @@ var WfoStartProcessPage = ({
52899
53153
  processDetail,
52900
53154
  timelineItems: timeLineItems,
52901
53155
  isLoading,
52902
- children: /* @__PURE__ */ jsxs120(EuiPanel5, { css: { marginTop: theme.base * 3 }, children: [
52903
- /* @__PURE__ */ jsxs120(EuiFlexGroup25, { css: getStepHeaderStyle(false), children: [
52904
- /* @__PURE__ */ jsx227(WfoStepStatusIcon, { stepStatus: "form" /* FORM */ }),
52905
- /* @__PURE__ */ jsxs120(EuiFlexItem29, { grow: 0, children: [
52906
- /* @__PURE__ */ jsx227(EuiText42, { css: stepListContentBoldTextStyle, children: t("userInput") }),
52907
- /* @__PURE__ */ jsx227(EuiText42, { children: t(
53156
+ children: /* @__PURE__ */ jsxs121(EuiPanel5, { css: { marginTop: theme.base * 3 }, children: [
53157
+ /* @__PURE__ */ jsxs121(EuiFlexGroup25, { css: getStepHeaderStyle(false), children: [
53158
+ /* @__PURE__ */ jsx230(WfoStepStatusIcon, { stepStatus: "form" /* FORM */ }),
53159
+ /* @__PURE__ */ jsxs121(EuiFlexItem29, { grow: 0, children: [
53160
+ /* @__PURE__ */ jsx230(EuiText42, { css: stepListContentBoldTextStyle, children: t("userInput") }),
53161
+ /* @__PURE__ */ jsx230(EuiText42, { children: t(
52908
53162
  isTask ? "submitTaskFormLabel" : "submitWorkflowFormLabel"
52909
53163
  ) })
52910
53164
  ] })
52911
53165
  ] }),
52912
- /* @__PURE__ */ jsx227(EuiHorizontalRule8, {}),
52913
- hasError && /* @__PURE__ */ jsx227(WfoError, {}) || processName === "modify_note" && /* @__PURE__ */ jsx227(
53166
+ /* @__PURE__ */ jsx230(EuiHorizontalRule8, {}),
53167
+ hasError && /* @__PURE__ */ jsx230(WfoError, {}) || processName === "modify_note" && /* @__PURE__ */ jsx230(
52914
53168
  WfoPydanticForm,
52915
53169
  {
52916
53170
  processName,
52917
53171
  startProcessPayload,
52918
53172
  isTask
52919
53173
  }
52920
- ) || stepUserInput && /* @__PURE__ */ jsx227(
53174
+ ) || stepUserInput && /* @__PURE__ */ jsx230(
52921
53175
  UserInputFormWizard,
52922
53176
  {
52923
53177
  stepUserInput,
@@ -52928,7 +53182,7 @@ var WfoStartProcessPage = ({
52928
53182
  hasNext,
52929
53183
  isTask
52930
53184
  }
52931
- ) || /* @__PURE__ */ jsx227(WfoLoading, {})
53185
+ ) || /* @__PURE__ */ jsx230(WfoLoading, {})
52932
53186
  ] })
52933
53187
  }
52934
53188
  );
@@ -52936,8 +53190,8 @@ var WfoStartProcessPage = ({
52936
53190
 
52937
53191
  // src/pages/processes/WfoProductInformationWithLink.tsx
52938
53192
  import { useTranslations as useTranslations69 } from "next-intl";
52939
- import { EuiButtonIcon as EuiButtonIcon12, EuiFlexGroup as EuiFlexGroup26, EuiText as EuiText43, EuiToolTip as EuiToolTip8 } from "@elastic/eui";
52940
- import { jsx as jsx228, jsxs as jsxs121 } from "@emotion/react/jsx-runtime";
53193
+ import { EuiButtonIcon as EuiButtonIcon13, EuiFlexGroup as EuiFlexGroup26, EuiText as EuiText43, EuiToolTip as EuiToolTip8 } from "@elastic/eui";
53194
+ import { jsx as jsx231, jsxs as jsxs122 } from "@emotion/react/jsx-runtime";
52941
53195
  var WfoProductInformationWithLink = ({
52942
53196
  workflowName,
52943
53197
  productNames
@@ -52945,16 +53199,16 @@ var WfoProductInformationWithLink = ({
52945
53199
  const { workflowInformationLinkUrl, showWorkflowInformationLink } = useGetOrchestratorConfig();
52946
53200
  const t = useTranslations69("processes.detail");
52947
53201
  const docsUrl = workflowInformationLinkUrl + workflowName;
52948
- return /* @__PURE__ */ jsxs121(EuiFlexGroup26, { gutterSize: "s", alignItems: "center", children: [
52949
- showWorkflowInformationLink && /* @__PURE__ */ jsx228(EuiToolTip8, { content: t("openWorkflowTaskInfo"), children: /* @__PURE__ */ jsx228("a", { href: docsUrl, target: "_blank", children: /* @__PURE__ */ jsx228(
52950
- EuiButtonIcon12,
53202
+ return /* @__PURE__ */ jsxs122(EuiFlexGroup26, { gutterSize: "s", alignItems: "center", children: [
53203
+ showWorkflowInformationLink && /* @__PURE__ */ jsx231(EuiToolTip8, { content: t("openWorkflowTaskInfo"), children: /* @__PURE__ */ jsx231("a", { href: docsUrl, target: "_blank", children: /* @__PURE__ */ jsx231(
53204
+ EuiButtonIcon13,
52951
53205
  {
52952
53206
  iconSize: "l",
52953
53207
  iconType: "iInCircle",
52954
53208
  "aria-label": t("openWorkflowTaskInfo")
52955
53209
  }
52956
53210
  ) }) }),
52957
- /* @__PURE__ */ jsx228(EuiText43, { size: "s", children: productNames })
53211
+ /* @__PURE__ */ jsx231(EuiText43, { size: "s", children: productNames })
52958
53212
  ] });
52959
53213
  };
52960
53214
 
@@ -52971,7 +53225,7 @@ import {
52971
53225
  EuiTabs as EuiTabs3,
52972
53226
  EuiText as EuiText45
52973
53227
  } from "@elastic/eui";
52974
- import { css as css44 } from "@emotion/react";
53228
+ import { css as css45 } from "@emotion/react";
52975
53229
 
52976
53230
  // src/components/WfoSettings/WfoAoStackStatus.tsx
52977
53231
  import { useTranslations as useTranslations70 } from "next-intl";
@@ -52982,20 +53236,20 @@ import {
52982
53236
  EuiSpacer as EuiSpacer21,
52983
53237
  EuiText as EuiText44
52984
53238
  } from "@elastic/eui";
52985
- import { jsx as jsx229, jsxs as jsxs122 } from "@emotion/react/jsx-runtime";
53239
+ import { jsx as jsx232, jsxs as jsxs123 } from "@emotion/react/jsx-runtime";
52986
53240
  var WfoAoStackStatus = () => {
52987
53241
  const t = useTranslations70("settings.page");
52988
53242
  const { aoStackStatusUrl } = useGetOrchestratorConfig();
52989
53243
  const openStatusPage = () => {
52990
53244
  window.open(aoStackStatusUrl, "_blank");
52991
53245
  };
52992
- return /* @__PURE__ */ jsx229(EuiFlexItem30, { children: /* @__PURE__ */ jsxs122(EuiPanel6, { hasShadow: false, color: "subdued", paddingSize: "l", children: [
52993
- /* @__PURE__ */ jsx229(EuiText44, { size: "s", children: /* @__PURE__ */ jsx229("h4", { children: t("aoStackStatus") }) }),
52994
- /* @__PURE__ */ jsx229(EuiSpacer21, { size: "m" }),
52995
- /* @__PURE__ */ jsx229(
53246
+ return /* @__PURE__ */ jsx232(EuiFlexItem30, { children: /* @__PURE__ */ jsxs123(EuiPanel6, { hasShadow: false, color: "subdued", paddingSize: "l", children: [
53247
+ /* @__PURE__ */ jsx232(EuiText44, { size: "s", children: /* @__PURE__ */ jsx232("h4", { children: t("aoStackStatus") }) }),
53248
+ /* @__PURE__ */ jsx232(EuiSpacer21, { size: "m" }),
53249
+ /* @__PURE__ */ jsx232(
52996
53250
  EuiButton14,
52997
53251
  {
52998
- iconType: () => /* @__PURE__ */ jsx229(WfoChartBar, {}),
53252
+ iconType: () => /* @__PURE__ */ jsx232(WfoChartBar, {}),
52999
53253
  onClick: openStatusPage,
53000
53254
  children: t("viewStatusPage")
53001
53255
  }
@@ -53004,7 +53258,7 @@ var WfoAoStackStatus = () => {
53004
53258
  };
53005
53259
 
53006
53260
  // src/pages/settings/WfoSettingsPage.tsx
53007
- import { Fragment as Fragment55, jsx as jsx230, jsxs as jsxs123 } from "@emotion/react/jsx-runtime";
53261
+ import { Fragment as Fragment55, jsx as jsx233, jsxs as jsxs124 } from "@emotion/react/jsx-runtime";
53008
53262
  var WfoSettingsTab = /* @__PURE__ */ ((WfoSettingsTab2) => {
53009
53263
  WfoSettingsTab2["ACTIONS"] = "ACTIONS";
53010
53264
  WfoSettingsTab2["ENV_SETTINGS"] = "ENV_SETTINGS";
@@ -53013,18 +53267,18 @@ var WfoSettingsTab = /* @__PURE__ */ ((WfoSettingsTab2) => {
53013
53267
  var WfoActionSettings = () => {
53014
53268
  const { theme } = useOrchestratorTheme();
53015
53269
  const { enableAoStackStatus } = useGetOrchestratorConfig();
53016
- return /* @__PURE__ */ jsx230(Fragment55, { children: /* @__PURE__ */ jsxs123("div", { css: { maxWidth: theme.base * 40 }, children: [
53017
- /* @__PURE__ */ jsx230(WfoFlushSettings, {}),
53018
- /* @__PURE__ */ jsx230(EuiSpacer22, {}),
53019
- /* @__PURE__ */ jsx230(WfoModifySettings, {}),
53020
- /* @__PURE__ */ jsx230(EuiSpacer22, {}),
53021
- /* @__PURE__ */ jsx230(WfoEngineStatus, {}),
53022
- enableAoStackStatus && /* @__PURE__ */ jsxs123(Fragment55, { children: [
53023
- /* @__PURE__ */ jsx230(EuiSpacer22, {}),
53024
- /* @__PURE__ */ jsx230(WfoAoStackStatus, {})
53270
+ return /* @__PURE__ */ jsx233(Fragment55, { children: /* @__PURE__ */ jsxs124("div", { css: { maxWidth: theme.base * 40 }, children: [
53271
+ /* @__PURE__ */ jsx233(WfoFlushSettings, {}),
53272
+ /* @__PURE__ */ jsx233(EuiSpacer22, {}),
53273
+ /* @__PURE__ */ jsx233(WfoModifySettings, {}),
53274
+ /* @__PURE__ */ jsx233(EuiSpacer22, {}),
53275
+ /* @__PURE__ */ jsx233(WfoEngineStatus, {}),
53276
+ enableAoStackStatus && /* @__PURE__ */ jsxs124(Fragment55, { children: [
53277
+ /* @__PURE__ */ jsx233(EuiSpacer22, {}),
53278
+ /* @__PURE__ */ jsx233(WfoAoStackStatus, {})
53025
53279
  ] }),
53026
- /* @__PURE__ */ jsx230(EuiSpacer22, {}),
53027
- /* @__PURE__ */ jsx230(WfoWorkerStatus, {})
53280
+ /* @__PURE__ */ jsx233(EuiSpacer22, {}),
53281
+ /* @__PURE__ */ jsx233(WfoWorkerStatus, {})
53028
53282
  ] }) });
53029
53283
  };
53030
53284
  var WfoEnvSettings = () => {
@@ -53037,22 +53291,22 @@ var WfoEnvSettings = () => {
53037
53291
  const renderEnvSettings = () => {
53038
53292
  return data && data.map(({ name, variables }) => {
53039
53293
  const showVariables = mapToRepresentableVariables(variables);
53040
- return /* @__PURE__ */ jsxs123(Fragment55, { children: [
53041
- /* @__PURE__ */ jsx230(EuiFlexItem31, { children: /* @__PURE__ */ jsxs123(
53294
+ return /* @__PURE__ */ jsxs124(Fragment55, { children: [
53295
+ /* @__PURE__ */ jsx233(EuiFlexItem31, { children: /* @__PURE__ */ jsxs124(
53042
53296
  EuiPanel7,
53043
53297
  {
53044
53298
  hasShadow: false,
53045
53299
  color: "subdued",
53046
53300
  paddingSize: "l",
53047
53301
  children: [
53048
- /* @__PURE__ */ jsx230(EuiText45, { size: "s", children: /* @__PURE__ */ jsx230("h2", { children: name.replace("_", " ").toUpperCase() }) }),
53049
- /* @__PURE__ */ jsx230(EuiSpacer22, {}),
53050
- /* @__PURE__ */ jsx230(
53302
+ /* @__PURE__ */ jsx233(EuiText45, { size: "s", children: /* @__PURE__ */ jsx233("h2", { children: name.replace("_", " ").toUpperCase() }) }),
53303
+ /* @__PURE__ */ jsx233(EuiSpacer22, {}),
53304
+ /* @__PURE__ */ jsx233(
53051
53305
  EuiCodeBlock2,
53052
53306
  {
53053
53307
  fontSize: "m",
53054
53308
  paddingSize: "m",
53055
- css: css44({
53309
+ css: css45({
53056
53310
  background: theme.colors.lightShade
53057
53311
  }),
53058
53312
  children: showVariables
@@ -53061,15 +53315,15 @@ var WfoEnvSettings = () => {
53061
53315
  ]
53062
53316
  }
53063
53317
  ) }),
53064
- /* @__PURE__ */ jsx230(EuiSpacer22, {})
53318
+ /* @__PURE__ */ jsx233(EuiSpacer22, {})
53065
53319
  ] });
53066
53320
  });
53067
53321
  };
53068
53322
  const emptyEnvSettings = () => {
53069
- return /* @__PURE__ */ jsx230(EuiFlexItem31, { children: /* @__PURE__ */ jsx230(EuiPanel7, { hasShadow: false, color: "subdued", paddingSize: "l", children: /* @__PURE__ */ jsx230(EuiText45, { size: "s", children: /* @__PURE__ */ jsxs123("h2", { children: [
53323
+ return /* @__PURE__ */ jsx233(EuiFlexItem31, { children: /* @__PURE__ */ jsx233(EuiPanel7, { hasShadow: false, color: "subdued", paddingSize: "l", children: /* @__PURE__ */ jsx233(EuiText45, { size: "s", children: /* @__PURE__ */ jsxs124("h2", { children: [
53070
53324
  t("noSettingsExposed"),
53071
53325
  " ",
53072
- /* @__PURE__ */ jsx230(
53326
+ /* @__PURE__ */ jsx233(
53073
53327
  "a",
53074
53328
  {
53075
53329
  href: "https://workfloworchestrator.org/orchestrator-core/reference-docs/app/settings_overview/",
@@ -53079,18 +53333,18 @@ var WfoEnvSettings = () => {
53079
53333
  )
53080
53334
  ] }) }) }) });
53081
53335
  };
53082
- return /* @__PURE__ */ jsx230("div", { css: { maxWidth: theme.base * 45 }, children: data?.length ? renderEnvSettings() : emptyEnvSettings() });
53336
+ return /* @__PURE__ */ jsx233("div", { css: { maxWidth: theme.base * 45 }, children: data?.length ? renderEnvSettings() : emptyEnvSettings() });
53083
53337
  };
53084
53338
  var settingsTabs = [
53085
53339
  {
53086
53340
  id: "ACTIONS" /* ACTIONS */,
53087
53341
  translationKey: "actions",
53088
- content: /* @__PURE__ */ jsx230(WfoActionSettings, {})
53342
+ content: /* @__PURE__ */ jsx233(WfoActionSettings, {})
53089
53343
  },
53090
53344
  {
53091
53345
  id: "ENV_SETTINGS" /* ENV_SETTINGS */,
53092
53346
  translationKey: "envSettings",
53093
- content: /* @__PURE__ */ jsx230(WfoEnvSettings, {})
53347
+ content: /* @__PURE__ */ jsx233(WfoEnvSettings, {})
53094
53348
  }
53095
53349
  ];
53096
53350
  var WfoSettingsPage = () => {
@@ -53108,7 +53362,7 @@ var WfoSettingsPage = () => {
53108
53362
  setSelectedTabId(id);
53109
53363
  };
53110
53364
  const renderTabs = () => {
53111
- return settingsTabs.map((tab, index) => /* @__PURE__ */ jsx230(
53365
+ return settingsTabs.map((tab, index) => /* @__PURE__ */ jsx233(
53112
53366
  EuiTab3,
53113
53367
  {
53114
53368
  css: tabStyle,
@@ -53119,10 +53373,10 @@ var WfoSettingsPage = () => {
53119
53373
  index
53120
53374
  ));
53121
53375
  };
53122
- return /* @__PURE__ */ jsxs123(Fragment55, { children: [
53123
- /* @__PURE__ */ jsx230(WfoContentHeader, { title: t("settings") }),
53124
- /* @__PURE__ */ jsx230(EuiTabs3, { children: renderTabs() }),
53125
- /* @__PURE__ */ jsx230(EuiSpacer22, { size: "xxl" }),
53376
+ return /* @__PURE__ */ jsxs124(Fragment55, { children: [
53377
+ /* @__PURE__ */ jsx233(WfoContentHeader, { title: t("settings") }),
53378
+ /* @__PURE__ */ jsx233(EuiTabs3, { children: renderTabs() }),
53379
+ /* @__PURE__ */ jsx233(EuiSpacer22, { size: "xxl" }),
53126
53380
  selectedTabContent
53127
53381
  ] });
53128
53382
  };
@@ -53142,7 +53396,7 @@ var useStartPageSummaryCardConfigurationOverride = () => {
53142
53396
  };
53143
53397
 
53144
53398
  // src/pages/startPage/WfoStartPage.tsx
53145
- import { Fragment as Fragment56, jsx as jsx231, jsxs as jsxs124 } from "@emotion/react/jsx-runtime";
53399
+ import { Fragment as Fragment56, jsx as jsx234, jsxs as jsxs125 } from "@emotion/react/jsx-runtime";
53146
53400
  var WfoStartPage = () => {
53147
53401
  const t = useTranslations72("main");
53148
53402
  const { overrideSummaryCards } = useStartPageSummaryCardConfigurationOverride();
@@ -53151,27 +53405,27 @@ var WfoStartPage = () => {
53151
53405
  const username = session?.user?.name ?? "";
53152
53406
  const defaultSummaryCards = [
53153
53407
  ...toOptionalArrayEntry(
53154
- /* @__PURE__ */ jsx231(WfoMyWorkflowsSummaryCard, { username }, "myWorkflows"),
53408
+ /* @__PURE__ */ jsx234(WfoMyWorkflowsSummaryCard, { username }, "myWorkflows"),
53155
53409
  !!username
53156
53410
  ),
53157
- /* @__PURE__ */ jsx231(WfoActiveWorkflowsSummaryCard, {}, "activeWorkflows"),
53411
+ /* @__PURE__ */ jsx234(WfoActiveWorkflowsSummaryCard, {}, "activeWorkflows"),
53158
53412
  ...toOptionalArrayEntry(
53159
- /* @__PURE__ */ jsx231(WfoFailedTasksSummaryCard, {}, "failedTasks"),
53413
+ /* @__PURE__ */ jsx234(WfoFailedTasksSummaryCard, {}, "failedTasks"),
53160
53414
  isAllowed("/orchestrator/tasks/" /* NAVIGATION_TASKS */)
53161
53415
  ),
53162
- /* @__PURE__ */ jsx231(WfoLatestOutOfSyncSubscriptionSummaryCard, {}, "latestOutOfSyncSubscription"),
53163
- /* @__PURE__ */ jsx231(WfoLatestActiveSubscriptionsSummaryCard, {}, "latestActiveSubscriptions"),
53164
- /* @__PURE__ */ jsx231(WfoProductsSummaryCard, {}, "products")
53416
+ /* @__PURE__ */ jsx234(WfoLatestOutOfSyncSubscriptionSummaryCard, {}, "latestOutOfSyncSubscription"),
53417
+ /* @__PURE__ */ jsx234(WfoLatestActiveSubscriptionsSummaryCard, {}, "latestActiveSubscriptions"),
53418
+ /* @__PURE__ */ jsx234(WfoProductsSummaryCard, {}, "products")
53165
53419
  ];
53166
53420
  const summaryCards = overrideSummaryCards?.(defaultSummaryCards) || defaultSummaryCards;
53167
- return /* @__PURE__ */ jsxs124(Fragment56, { children: [
53168
- /* @__PURE__ */ jsx231(
53421
+ return /* @__PURE__ */ jsxs125(Fragment56, { children: [
53422
+ /* @__PURE__ */ jsx234(
53169
53423
  WfoContentHeader,
53170
53424
  {
53171
- title: /* @__PURE__ */ jsx231(EuiPageHeader2, { pageTitle: `${t("welcome")} ${username}` })
53425
+ title: /* @__PURE__ */ jsx234(EuiPageHeader2, { pageTitle: `${t("welcome")} ${username}` })
53172
53426
  }
53173
53427
  ),
53174
- /* @__PURE__ */ jsx231(WfoSummaryCards, { children: summaryCards })
53428
+ /* @__PURE__ */ jsx234(WfoSummaryCards, { children: summaryCards })
53175
53429
  ] });
53176
53430
  };
53177
53431
 
@@ -53189,26 +53443,26 @@ var mapSubscriptionSummaryToSummaryCardListItem = (subscription) => ({
53189
53443
 
53190
53444
  // src/pages/subscriptions/WfoSubscriptionDetailPage.tsx
53191
53445
  import { useRouter as useRouter11 } from "next/router";
53192
- import { Fragment as Fragment57, jsx as jsx232 } from "@emotion/react/jsx-runtime";
53446
+ import { Fragment as Fragment57, jsx as jsx235 } from "@emotion/react/jsx-runtime";
53193
53447
  var WfoSubscriptionDetailPage = () => {
53194
53448
  const router = useRouter11();
53195
53449
  const { subscriptionId } = router.query;
53196
- return subscriptionId && /* @__PURE__ */ jsx232(TreeProvider, { children: /* @__PURE__ */ jsx232(WfoSubscription, { subscriptionId }) }) || /* @__PURE__ */ jsx232(Fragment57, {});
53450
+ return subscriptionId && /* @__PURE__ */ jsx235(TreeProvider, { children: /* @__PURE__ */ jsx235(WfoSubscription, { subscriptionId }) }) || /* @__PURE__ */ jsx235(Fragment57, {});
53197
53451
  };
53198
53452
 
53199
53453
  // src/pages/subscriptions/WfoSubscriptionsListPage.tsx
53200
- import { useEffect as useEffect33, useState as useState50 } from "react";
53454
+ import { useEffect as useEffect34, useState as useState51 } from "react";
53201
53455
  import { useTranslations as useTranslations73 } from "next-intl";
53202
53456
  import { StringParam as StringParam4, useQueryParam as useQueryParam3, withDefault as withDefault4 } from "use-query-params";
53203
53457
  import { EuiSpacer as EuiSpacer23 } from "@elastic/eui";
53204
- import { Fragment as Fragment58, jsx as jsx233, jsxs as jsxs125 } from "@emotion/react/jsx-runtime";
53458
+ import { Fragment as Fragment58, jsx as jsx236, jsxs as jsxs126 } from "@emotion/react/jsx-runtime";
53205
53459
  var WfoSubscriptionsListPage = () => {
53206
53460
  const t = useTranslations73("subscriptions.detail");
53207
- const [tableDefaults, setTableDefaults] = useState50();
53461
+ const [tableDefaults, setTableDefaults] = useState51();
53208
53462
  const getStoredTableConfig = useStoredTableConfig(
53209
53463
  SUBSCRIPTIONS_TABLE_LOCAL_STORAGE_KEY
53210
53464
  );
53211
- useEffect33(() => {
53465
+ useEffect34(() => {
53212
53466
  const storedConfig = getStoredTableConfig();
53213
53467
  if (storedConfig) {
53214
53468
  setTableDefaults(storedConfig);
@@ -53239,14 +53493,14 @@ var WfoSubscriptionsListPage = () => {
53239
53493
  const alwaysOnFilters = subscriptionListTabs.find(
53240
53494
  ({ id }) => id === activeTab
53241
53495
  )?.alwaysOnFilters;
53242
- return /* @__PURE__ */ jsxs125(Fragment58, { children: [
53243
- /* @__PURE__ */ jsx233(
53496
+ return /* @__PURE__ */ jsxs126(Fragment58, { children: [
53497
+ /* @__PURE__ */ jsx236(
53244
53498
  WfoContentHeader,
53245
53499
  {
53246
- title: /* @__PURE__ */ jsx233(WfoTitleWithWebsocketBadge, { title: t("title") })
53500
+ title: /* @__PURE__ */ jsx236(WfoTitleWithWebsocketBadge, { title: t("title") })
53247
53501
  }
53248
53502
  ),
53249
- /* @__PURE__ */ jsx233(
53503
+ /* @__PURE__ */ jsx236(
53250
53504
  WfoFilterTabs,
53251
53505
  {
53252
53506
  tabs: subscriptionListTabs,
@@ -53255,8 +53509,8 @@ var WfoSubscriptionsListPage = () => {
53255
53509
  onChangeTab: handleChangeSubscriptionsTab
53256
53510
  }
53257
53511
  ),
53258
- /* @__PURE__ */ jsx233(EuiSpacer23, { size: "xxl" }),
53259
- /* @__PURE__ */ jsx233(
53512
+ /* @__PURE__ */ jsx236(EuiSpacer23, { size: "xxl" }),
53513
+ /* @__PURE__ */ jsx236(
53260
53514
  WfoSubscriptionsList,
53261
53515
  {
53262
53516
  hiddenColumns: tableDefaults?.hiddenColumns,
@@ -53269,7 +53523,7 @@ var WfoSubscriptionsListPage = () => {
53269
53523
  };
53270
53524
 
53271
53525
  // src/pages/tasks/WfoTasksListPage.tsx
53272
- import { useContext as useContext11, useEffect as useEffect34, useState as useState51 } from "react";
53526
+ import { useContext as useContext11, useEffect as useEffect35, useState as useState52 } from "react";
53273
53527
  import { useTranslations as useTranslations74 } from "next-intl";
53274
53528
  import Link11 from "next/link";
53275
53529
  import { useRouter as useRouter12 } from "next/router";
@@ -53339,7 +53593,7 @@ var getTasksListTabTypeFromString = (tabId) => {
53339
53593
  };
53340
53594
 
53341
53595
  // src/pages/tasks/WfoTasksListPage.tsx
53342
- import { Fragment as Fragment59, jsx as jsx234, jsxs as jsxs126 } from "@emotion/react/jsx-runtime";
53596
+ import { Fragment as Fragment59, jsx as jsx237, jsxs as jsxs127 } from "@emotion/react/jsx-runtime";
53343
53597
  var WfoTasksListPage = () => {
53344
53598
  const router = useRouter12();
53345
53599
  const t = useTranslations74("tasks.page");
@@ -53347,7 +53601,7 @@ var WfoTasksListPage = () => {
53347
53601
  "activeTab",
53348
53602
  withDefault5(StringParam5, "ACTIVE" /* ACTIVE */)
53349
53603
  );
53350
- const [tableDefaults, setTableDefaults] = useState51();
53604
+ const [tableDefaults, setTableDefaults] = useState52();
53351
53605
  const selectedTasksListTab = getTasksListTabTypeFromString(activeTab);
53352
53606
  const localStorageKey = selectedTasksListTab === "ACTIVE" /* ACTIVE */ ? ACTIVE_TASKS_LIST_TABLE_LOCAL_STORAGE_KEY : COMPLETED_TASKS_LIST_TABLE_LOCAL_STORAGE_KEY;
53353
53607
  const getStoredTableConfig = useStoredTableConfig(localStorageKey);
@@ -53355,7 +53609,7 @@ var WfoTasksListPage = () => {
53355
53609
  const { showConfirmDialog } = useContext11(ConfirmationDialogContext);
53356
53610
  const [retryAllProcesses] = useRetryAllProcessesMutation();
53357
53611
  const { isEngineRunningNow } = useCheckEngineStatus();
53358
- useEffect34(() => {
53612
+ useEffect35(() => {
53359
53613
  const storedConfig = getStoredTableConfig();
53360
53614
  if (storedConfig) {
53361
53615
  setTableDefaults(storedConfig);
@@ -53395,7 +53649,7 @@ var WfoTasksListPage = () => {
53395
53649
  workflowName: {
53396
53650
  columnType: "data" /* DATA */,
53397
53651
  label: t("taskName"),
53398
- renderData: (value, { processId }) => /* @__PURE__ */ jsx234(Link11, { href: `${PATH_TASKS}/${processId}`, children: value })
53652
+ renderData: (value, { processId }) => /* @__PURE__ */ jsx237(Link11, { href: `${PATH_TASKS}/${processId}`, children: value })
53399
53653
  },
53400
53654
  ...toSortedTableColumnConfig(defaultTableColumns, [
53401
53655
  "lastStep",
@@ -53413,25 +53667,25 @@ var WfoTasksListPage = () => {
53413
53667
  "lastModifiedAt"
53414
53668
  ])
53415
53669
  });
53416
- return /* @__PURE__ */ jsxs126(Fragment59, { children: [
53417
- /* @__PURE__ */ jsxs126(
53670
+ return /* @__PURE__ */ jsxs127(Fragment59, { children: [
53671
+ /* @__PURE__ */ jsxs127(
53418
53672
  WfoContentHeader,
53419
53673
  {
53420
- title: /* @__PURE__ */ jsx234(WfoTitleWithWebsocketBadge, { title: "Tasks" }),
53674
+ title: /* @__PURE__ */ jsx237(WfoTitleWithWebsocketBadge, { title: "Tasks" }),
53421
53675
  children: [
53422
- /* @__PURE__ */ jsx234(WfoIsAllowedToRender, { resource: "/orchestrator/processes/all-tasks/retry" /* TASKS_RETRY_ALL */, children: /* @__PURE__ */ jsx234(
53676
+ /* @__PURE__ */ jsx237(WfoIsAllowedToRender, { resource: "/orchestrator/processes/all-tasks/retry" /* TASKS_RETRY_ALL */, children: /* @__PURE__ */ jsx237(
53423
53677
  EuiButton15,
53424
53678
  {
53425
53679
  onClick: handleRerunAllButtonClick,
53426
- iconType: () => /* @__PURE__ */ jsx234(WfoRefresh, { color: theme.colors.primaryText }),
53680
+ iconType: () => /* @__PURE__ */ jsx237(WfoRefresh, { color: theme.colors.primaryText }),
53427
53681
  children: t("rerunAll")
53428
53682
  }
53429
53683
  ) }),
53430
- /* @__PURE__ */ jsx234(WfoIsAllowedToRender, { resource: "/orchestrator/processes/create/task" /* TASKS_CREATE */, children: /* @__PURE__ */ jsx234(WfoStartTaskButtonComboBox, {}) })
53684
+ /* @__PURE__ */ jsx237(WfoIsAllowedToRender, { resource: "/orchestrator/processes/create/task" /* TASKS_CREATE */, children: /* @__PURE__ */ jsx237(WfoStartTaskButtonComboBox, {}) })
53431
53685
  ]
53432
53686
  }
53433
53687
  ),
53434
- /* @__PURE__ */ jsx234(
53688
+ /* @__PURE__ */ jsx237(
53435
53689
  WfoFilterTabs,
53436
53690
  {
53437
53691
  tabs: defaultTasksListTabs,
@@ -53440,8 +53694,8 @@ var WfoTasksListPage = () => {
53440
53694
  onChangeTab: handleChangeTasksListTab
53441
53695
  }
53442
53696
  ),
53443
- /* @__PURE__ */ jsx234(EuiSpacer24, { size: "xxl" }),
53444
- /* @__PURE__ */ jsx234(
53697
+ /* @__PURE__ */ jsx237(EuiSpacer24, { size: "xxl" }),
53698
+ /* @__PURE__ */ jsx237(
53445
53699
  WfoProcessesList,
53446
53700
  {
53447
53701
  defaultHiddenColumns: tableDefaults?.hiddenColumns,
@@ -53456,7 +53710,7 @@ var WfoTasksListPage = () => {
53456
53710
  };
53457
53711
 
53458
53712
  // src/pages/workflows/WfoWorkflowsListPage.tsx
53459
- import { useEffect as useEffect35, useState as useState52 } from "react";
53713
+ import { useEffect as useEffect36, useState as useState53 } from "react";
53460
53714
  import { useTranslations as useTranslations75 } from "next-intl";
53461
53715
  import { useRouter as useRouter13 } from "next/router";
53462
53716
  import { StringParam as StringParam6, useQueryParam as useQueryParam5, withDefault as withDefault6 } from "use-query-params";
@@ -53525,7 +53779,7 @@ var getWorkflowsListTabTypeFromString = (tabId) => {
53525
53779
  };
53526
53780
 
53527
53781
  // src/pages/workflows/WfoWorkflowsListPage.tsx
53528
- import { Fragment as Fragment60, jsx as jsx235, jsxs as jsxs127 } from "@emotion/react/jsx-runtime";
53782
+ import { Fragment as Fragment60, jsx as jsx238, jsxs as jsxs128 } from "@emotion/react/jsx-runtime";
53529
53783
  var WfoWorkflowsListPage = () => {
53530
53784
  const router = useRouter13();
53531
53785
  const t = useTranslations75("workflows.index");
@@ -53533,11 +53787,11 @@ var WfoWorkflowsListPage = () => {
53533
53787
  "activeTab",
53534
53788
  withDefault6(StringParam6, "ACTIVE" /* ACTIVE */)
53535
53789
  );
53536
- const [tableDefaults, setTableDefaults] = useState52();
53790
+ const [tableDefaults, setTableDefaults] = useState53();
53537
53791
  const selectedWorkflowsListTab = getWorkflowsListTabTypeFromString(activeTab);
53538
53792
  const localStorageKey = selectedWorkflowsListTab === "ACTIVE" /* ACTIVE */ ? ACTIVE_PROCESSES_LIST_TABLE_LOCAL_STORAGE_KEY : COMPLETED_PROCESSES_LIST_TABLE_LOCAL_STORAGE_KEY;
53539
53793
  const getStoredTableConfig = useStoredTableConfig(localStorageKey);
53540
- useEffect35(() => {
53794
+ useEffect36(() => {
53541
53795
  const storedConfig = getStoredTableConfig();
53542
53796
  if (storedConfig) {
53543
53797
  setTableDefaults(storedConfig);
@@ -53563,14 +53817,14 @@ var WfoWorkflowsListPage = () => {
53563
53817
  router.replace(PATH_WORKFLOWS);
53564
53818
  return null;
53565
53819
  }
53566
- return /* @__PURE__ */ jsxs127(Fragment60, { children: [
53567
- /* @__PURE__ */ jsx235(
53820
+ return /* @__PURE__ */ jsxs128(Fragment60, { children: [
53821
+ /* @__PURE__ */ jsx238(
53568
53822
  WfoContentHeader,
53569
53823
  {
53570
- title: /* @__PURE__ */ jsx235(WfoTitleWithWebsocketBadge, { title: t("title") })
53824
+ title: /* @__PURE__ */ jsx238(WfoTitleWithWebsocketBadge, { title: t("title") })
53571
53825
  }
53572
53826
  ),
53573
- /* @__PURE__ */ jsx235(
53827
+ /* @__PURE__ */ jsx238(
53574
53828
  WfoFilterTabs,
53575
53829
  {
53576
53830
  tabs: defaultWorkflowsListTabs,
@@ -53579,8 +53833,8 @@ var WfoWorkflowsListPage = () => {
53579
53833
  onChangeTab: handleChangeWorkflowsListTab
53580
53834
  }
53581
53835
  ),
53582
- /* @__PURE__ */ jsx235(EuiSpacer25, { size: "xxl" }),
53583
- /* @__PURE__ */ jsx235(
53836
+ /* @__PURE__ */ jsx238(EuiSpacer25, { size: "xxl" }),
53837
+ /* @__PURE__ */ jsx238(
53584
53838
  WfoProcessesList,
53585
53839
  {
53586
53840
  alwaysOnFilters,
@@ -53690,7 +53944,7 @@ var graphQlProcessFilterMapper = (data) => data?.map(({ field, value }) => ({
53690
53944
  }));
53691
53945
 
53692
53946
  // src/components/WfoProcessList/WfoProcessesList.tsx
53693
- import { jsx as jsx236, jsxs as jsxs128 } from "@emotion/react/jsx-runtime";
53947
+ import { jsx as jsx239, jsxs as jsxs129 } from "@emotion/react/jsx-runtime";
53694
53948
  var WfoProcessesList = ({
53695
53949
  alwaysOnFilters,
53696
53950
  defaultHiddenColumns = [],
@@ -53708,7 +53962,7 @@ var WfoProcessesList = ({
53708
53962
  columnType: "data" /* DATA */,
53709
53963
  label: t("workflowName"),
53710
53964
  width: "225px",
53711
- renderData: (value, { processId }) => /* @__PURE__ */ jsx236(Link12, { href: `${PATH_WORKFLOWS}/${processId}`, children: value }),
53965
+ renderData: (value, { processId }) => /* @__PURE__ */ jsx239(Link12, { href: `${PATH_WORKFLOWS}/${processId}`, children: value }),
53712
53966
  renderTooltip: (value) => value
53713
53967
  },
53714
53968
  lastStep: {
@@ -53719,13 +53973,13 @@ var WfoProcessesList = ({
53719
53973
  lastStatus: {
53720
53974
  columnType: "data" /* DATA */,
53721
53975
  label: t("status"),
53722
- renderData: (cellValue) => /* @__PURE__ */ jsx236(WfoProcessStatusBadge, { processStatus: cellValue }),
53976
+ renderData: (cellValue) => /* @__PURE__ */ jsx239(WfoProcessStatusBadge, { processStatus: cellValue }),
53723
53977
  width: "150px"
53724
53978
  },
53725
53979
  workflowTarget: {
53726
53980
  columnType: "data" /* DATA */,
53727
53981
  label: t("workflowTarget"),
53728
- renderData: (target) => /* @__PURE__ */ jsx236(WfoWorkflowTargetBadge, { target }),
53982
+ renderData: (target) => /* @__PURE__ */ jsx239(WfoWorkflowTargetBadge, { target }),
53729
53983
  width: "100px"
53730
53984
  },
53731
53985
  tag: {
@@ -53752,7 +54006,7 @@ var WfoProcessesList = ({
53752
54006
  columnType: "data" /* DATA */,
53753
54007
  label: t("subscriptions"),
53754
54008
  width: "425px",
53755
- renderData: ({ page: subscriptions }, { processId }) => /* @__PURE__ */ jsx236(
54009
+ renderData: ({ page: subscriptions }, { processId }) => /* @__PURE__ */ jsx239(
53756
54010
  WfoProcessListSubscriptionsCell,
53757
54011
  {
53758
54012
  subscriptions,
@@ -53760,13 +54014,13 @@ var WfoProcessesList = ({
53760
54014
  onMoreSubscriptionsClick: () => router.push(`${PATH_WORKFLOWS}/${processId}`)
53761
54015
  }
53762
54016
  ),
53763
- renderDetails: ({ page: subscriptions }) => /* @__PURE__ */ jsx236(
54017
+ renderDetails: ({ page: subscriptions }) => /* @__PURE__ */ jsx239(
53764
54018
  WfoProcessListSubscriptionsCell,
53765
54019
  {
53766
54020
  subscriptions
53767
54021
  }
53768
54022
  ),
53769
- renderTooltip: ({ page: subscriptions }) => subscriptions.map(({ description, subscriptionId }) => /* @__PURE__ */ jsxs128("p", { children: [
54023
+ renderTooltip: ({ page: subscriptions }) => subscriptions.map(({ description, subscriptionId }) => /* @__PURE__ */ jsxs129("p", { children: [
53770
54024
  "- ",
53771
54025
  description
53772
54026
  ] }, subscriptionId)),
@@ -53786,7 +54040,7 @@ var WfoProcessesList = ({
53786
54040
  columnType: "data" /* DATA */,
53787
54041
  label: t("processId"),
53788
54042
  width: "90px",
53789
- renderData: (value) => /* @__PURE__ */ jsx236(WfoFirstPartUUID, { UUID: value }),
54043
+ renderData: (value) => /* @__PURE__ */ jsx239(WfoFirstPartUUID, { UUID: value }),
53790
54044
  renderDetails: (value) => value,
53791
54045
  renderTooltip: (value) => value
53792
54046
  },
@@ -53794,7 +54048,7 @@ var WfoProcessesList = ({
53794
54048
  columnType: "data" /* DATA */,
53795
54049
  label: t("started"),
53796
54050
  width: "100px",
53797
- renderData: (value) => /* @__PURE__ */ jsx236(WfoDateTime, { dateOrIsoString: value }),
54051
+ renderData: (value) => /* @__PURE__ */ jsx239(WfoDateTime, { dateOrIsoString: value }),
53798
54052
  renderDetails: parseDateToLocaleDateTimeString,
53799
54053
  clipboardText: parseDateToLocaleDateTimeString,
53800
54054
  renderTooltip: (value) => value.toString()
@@ -53803,7 +54057,7 @@ var WfoProcessesList = ({
53803
54057
  columnType: "data" /* DATA */,
53804
54058
  label: t("lastModified"),
53805
54059
  width: "125px",
53806
- renderData: (value) => /* @__PURE__ */ jsx236(WfoDateTime, { dateOrIsoString: value }),
54060
+ renderData: (value) => /* @__PURE__ */ jsx239(WfoDateTime, { dateOrIsoString: value }),
53807
54061
  renderDetails: parseDateToLocaleDateTimeString,
53808
54062
  clipboardText: parseDateToLocaleDateTimeString,
53809
54063
  renderTooltip: (value) => value.toString()
@@ -53836,7 +54090,7 @@ var WfoProcessesList = ({
53836
54090
  const getProcessListForExport = () => getProcessListTrigger(
53837
54091
  getQueryVariablesForExport(processListQueryVars)
53838
54092
  ).unwrap();
53839
- return /* @__PURE__ */ jsx236(
54093
+ return /* @__PURE__ */ jsx239(
53840
54094
  WfoAdvancedTable,
53841
54095
  {
53842
54096
  queryString,
@@ -53875,13 +54129,13 @@ var WfoProcessesList = ({
53875
54129
  import { EuiCodeBlock as EuiCodeBlock3 } from "@elastic/eui";
53876
54130
 
53877
54131
  // src/components/WfoJsonCodeBlock/styles.ts
53878
- import { css as css45 } from "@emotion/react";
54132
+ import { css as css46 } from "@emotion/react";
53879
54133
  var getStyles14 = ({ theme }) => {
53880
- const euiCodeBlockStyle = css45({
54134
+ const euiCodeBlockStyle = css46({
53881
54135
  marginTop: 10,
53882
54136
  borderRadius: theme.border.radius.medium
53883
54137
  });
53884
- const euiBasicCodeBlockStyle = css45({
54138
+ const euiBasicCodeBlockStyle = css46({
53885
54139
  backgroundColor: "inherit",
53886
54140
  ".euiCodeBlock__pre": {
53887
54141
  paddingTop: 0,
@@ -53899,14 +54153,14 @@ var getStyles14 = ({ theme }) => {
53899
54153
  };
53900
54154
 
53901
54155
  // src/components/WfoJsonCodeBlock/WfoJsonCodeBlock.tsx
53902
- import { jsx as jsx237 } from "@emotion/react/jsx-runtime";
54156
+ import { jsx as jsx240 } from "@emotion/react/jsx-runtime";
53903
54157
  var WfoJsonCodeBlock = ({
53904
54158
  data,
53905
54159
  isBasicStyle = false
53906
54160
  }) => {
53907
54161
  const { euiCodeBlockStyle, euiBasicCodeBlockStyle } = useWithOrchestratorTheme(getStyles14);
53908
54162
  const json = JSON.stringify(data, null, 4);
53909
- return /* @__PURE__ */ jsx237(
54163
+ return /* @__PURE__ */ jsx240(
53910
54164
  EuiCodeBlock3,
53911
54165
  {
53912
54166
  css: isBasicStyle ? euiBasicCodeBlockStyle : euiCodeBlockStyle,
@@ -53919,7 +54173,7 @@ var WfoJsonCodeBlock = ({
53919
54173
  };
53920
54174
 
53921
54175
  // src/components/WfoSettings/WfoFlushSettings.tsx
53922
- import { useState as useState53 } from "react";
54176
+ import { useState as useState54 } from "react";
53923
54177
  import { useTranslations as useTranslations77 } from "next-intl";
53924
54178
  import {
53925
54179
  EuiButton as EuiButton16,
@@ -53930,10 +54184,10 @@ import {
53930
54184
  } from "@elastic/eui";
53931
54185
 
53932
54186
  // src/components/WfoSettings/styles.ts
53933
- import { css as css46 } from "@emotion/react";
54187
+ import { css as css47 } from "@emotion/react";
53934
54188
  var getWfoFlushSettingsStyle = (wfoTheme) => {
53935
54189
  const { theme } = wfoTheme;
53936
- const comboboxStyle = css46({
54190
+ const comboboxStyle = css47({
53937
54191
  // .euiComboBox is needed to override eui styling (more specific)
53938
54192
  "&.euiComboBox": {
53939
54193
  ".euiComboBox__inputWrap": {
@@ -53954,14 +54208,14 @@ var getWfoFlushSettingsStyle = (wfoTheme) => {
53954
54208
  };
53955
54209
 
53956
54210
  // src/components/WfoSettings/WfoFlushSettings.tsx
53957
- import { jsx as jsx238, jsxs as jsxs129 } from "@emotion/react/jsx-runtime";
54211
+ import { jsx as jsx241, jsxs as jsxs130 } from "@emotion/react/jsx-runtime";
53958
54212
  var WfoFlushSettings = () => {
53959
54213
  const { comboboxStyle } = useWithOrchestratorTheme(
53960
54214
  getWfoFlushSettingsStyle
53961
54215
  );
53962
54216
  const [clearCache] = useClearCacheMutation();
53963
54217
  const t = useTranslations77("settings.page");
53964
- const [selectedOptions, setSelected] = useState53(
54218
+ const [selectedOptions, setSelected] = useState54(
53965
54219
  []
53966
54220
  );
53967
54221
  const { showToastMessage } = useShowToastMessage();
@@ -53992,10 +54246,10 @@ var WfoFlushSettings = () => {
53992
54246
  );
53993
54247
  });
53994
54248
  };
53995
- return /* @__PURE__ */ jsx238(WfoIsAllowedToRender, { resource: "/orchestrator/settings/flush-cache" /* SETTINGS_FLUSH_CACHE */, children: /* @__PURE__ */ jsxs129(EuiPanel8, { hasShadow: false, color: "subdued", paddingSize: "l", children: [
53996
- /* @__PURE__ */ jsx238(EuiText46, { size: "s", children: /* @__PURE__ */ jsx238("h4", { children: t("flushCacheSettingsTitle") }) }),
53997
- /* @__PURE__ */ jsx238(EuiSpacer26, { size: "m" }),
53998
- /* @__PURE__ */ jsx238(
54249
+ return /* @__PURE__ */ jsx241(WfoIsAllowedToRender, { resource: "/orchestrator/settings/flush-cache" /* SETTINGS_FLUSH_CACHE */, children: /* @__PURE__ */ jsxs130(EuiPanel8, { hasShadow: false, color: "subdued", paddingSize: "l", children: [
54250
+ /* @__PURE__ */ jsx241(EuiText46, { size: "s", children: /* @__PURE__ */ jsx241("h4", { children: t("flushCacheSettingsTitle") }) }),
54251
+ /* @__PURE__ */ jsx241(EuiSpacer26, { size: "m" }),
54252
+ /* @__PURE__ */ jsx241(
53999
54253
  EuiComboBox,
54000
54254
  {
54001
54255
  css: comboboxStyle,
@@ -54008,24 +54262,24 @@ var WfoFlushSettings = () => {
54008
54262
  fullWidth: true
54009
54263
  }
54010
54264
  ),
54011
- /* @__PURE__ */ jsx238(EuiSpacer26, { size: "m" }),
54012
- /* @__PURE__ */ jsx238(EuiButton16, { onClick: flushCache, iconType: "refresh", children: t("flushButton") })
54265
+ /* @__PURE__ */ jsx241(EuiSpacer26, { size: "m" }),
54266
+ /* @__PURE__ */ jsx241(EuiButton16, { onClick: flushCache, iconType: "refresh", children: t("flushButton") })
54013
54267
  ] }) });
54014
54268
  };
54015
54269
 
54016
54270
  // src/components/WfoSettings/WfoEngineStatusButton.tsx
54017
54271
  import { useTranslations as useTranslations78 } from "next-intl";
54018
54272
  import { EuiButton as EuiButton17 } from "@elastic/eui";
54019
- import { jsx as jsx239 } from "@emotion/react/jsx-runtime";
54273
+ import { jsx as jsx242 } from "@emotion/react/jsx-runtime";
54020
54274
  var WfoEngineStatusButton = () => {
54021
54275
  const { data, isLoading } = useGetEngineStatusQuery();
54022
54276
  const { engineStatus } = data || {};
54023
54277
  const [setEngineStatus, { isLoading: isSettingEngineStatus }] = useSetEngineStatusMutation();
54024
54278
  const t = useTranslations78("settings.page");
54025
54279
  if (isLoading || isSettingEngineStatus) {
54026
- return /* @__PURE__ */ jsx239(EuiButton17, { isLoading: true, fill: true, children: "Loading..." });
54280
+ return /* @__PURE__ */ jsx242(EuiButton17, { isLoading: true, fill: true, children: "Loading..." });
54027
54281
  }
54028
- return engineStatus === "RUNNING" /* RUNNING */ ? /* @__PURE__ */ jsx239(
54282
+ return engineStatus === "RUNNING" /* RUNNING */ ? /* @__PURE__ */ jsx242(
54029
54283
  EuiButton17,
54030
54284
  {
54031
54285
  onClick: () => setEngineStatus(true),
@@ -54034,7 +54288,7 @@ var WfoEngineStatusButton = () => {
54034
54288
  iconType: "pause",
54035
54289
  children: t("pauseEngine")
54036
54290
  }
54037
- ) : /* @__PURE__ */ jsx239(
54291
+ ) : /* @__PURE__ */ jsx242(
54038
54292
  EuiButton17,
54039
54293
  {
54040
54294
  onClick: () => setEngineStatus(false),
@@ -54049,25 +54303,25 @@ var WfoEngineStatusButton = () => {
54049
54303
  // src/components/WfoSettings/WfoModifySettings.tsx
54050
54304
  import { useTranslations as useTranslations79 } from "next-intl";
54051
54305
  import { EuiFlexItem as EuiFlexItem32, EuiPanel as EuiPanel9, EuiSpacer as EuiSpacer27, EuiText as EuiText47 } from "@elastic/eui";
54052
- import { jsx as jsx240, jsxs as jsxs130 } from "@emotion/react/jsx-runtime";
54306
+ import { jsx as jsx243, jsxs as jsxs131 } from "@emotion/react/jsx-runtime";
54053
54307
  var WfoModifySettings = () => {
54054
54308
  const t = useTranslations79("settings.page");
54055
- return /* @__PURE__ */ jsxs130(EuiFlexItem32, { children: [
54056
- /* @__PURE__ */ jsxs130(EuiPanel9, { hasShadow: false, color: "subdued", paddingSize: "l", children: [
54057
- /* @__PURE__ */ jsx240(EuiText47, { size: "s", children: /* @__PURE__ */ jsx240("h4", { children: t("resetTextSearchIndex") }) }),
54058
- /* @__PURE__ */ jsx240(EuiSpacer27, { size: "m" }),
54059
- /* @__PURE__ */ jsx240(WfoResetTextSearchIndexButton, {})
54309
+ return /* @__PURE__ */ jsxs131(EuiFlexItem32, { children: [
54310
+ /* @__PURE__ */ jsxs131(EuiPanel9, { hasShadow: false, color: "subdued", paddingSize: "l", children: [
54311
+ /* @__PURE__ */ jsx243(EuiText47, { size: "s", children: /* @__PURE__ */ jsx243("h4", { children: t("resetTextSearchIndex") }) }),
54312
+ /* @__PURE__ */ jsx243(EuiSpacer27, { size: "m" }),
54313
+ /* @__PURE__ */ jsx243(WfoResetTextSearchIndexButton, {})
54060
54314
  ] }),
54061
- /* @__PURE__ */ jsxs130(
54315
+ /* @__PURE__ */ jsxs131(
54062
54316
  WfoIsAllowedToRender,
54063
54317
  {
54064
54318
  resource: "/orchestrator/settings/start-stop-engine" /* SETTINGS_START_STOP_ENGINE */,
54065
54319
  children: [
54066
- /* @__PURE__ */ jsx240(EuiSpacer27, {}),
54067
- /* @__PURE__ */ jsxs130(EuiPanel9, { hasShadow: false, color: "subdued", paddingSize: "l", children: [
54068
- /* @__PURE__ */ jsx240(EuiText47, { size: "s", children: /* @__PURE__ */ jsx240("h4", { children: t("modifyEngine") }) }),
54069
- /* @__PURE__ */ jsx240(EuiSpacer27, { size: "m" }),
54070
- /* @__PURE__ */ jsx240(WfoEngineStatusButton, {})
54320
+ /* @__PURE__ */ jsx243(EuiSpacer27, {}),
54321
+ /* @__PURE__ */ jsxs131(EuiPanel9, { hasShadow: false, color: "subdued", paddingSize: "l", children: [
54322
+ /* @__PURE__ */ jsx243(EuiText47, { size: "s", children: /* @__PURE__ */ jsx243("h4", { children: t("modifyEngine") }) }),
54323
+ /* @__PURE__ */ jsx243(EuiSpacer27, { size: "m" }),
54324
+ /* @__PURE__ */ jsx243(WfoEngineStatusButton, {})
54071
54325
  ] })
54072
54326
  ]
54073
54327
  }
@@ -54078,28 +54332,28 @@ var WfoModifySettings = () => {
54078
54332
  // src/components/WfoSettings/WfoEngineStatus.tsx
54079
54333
  import { useTranslations as useTranslations80 } from "next-intl";
54080
54334
  import { EuiFlexGroup as EuiFlexGroup27, EuiFlexItem as EuiFlexItem33, EuiPanel as EuiPanel10, EuiText as EuiText48 } from "@elastic/eui";
54081
- import { jsx as jsx241, jsxs as jsxs131 } from "@emotion/react/jsx-runtime";
54335
+ import { jsx as jsx244, jsxs as jsxs132 } from "@emotion/react/jsx-runtime";
54082
54336
  var WfoEngineStatus = () => {
54083
54337
  const { theme } = useOrchestratorTheme();
54084
54338
  const { data } = useGetEngineStatusQuery();
54085
54339
  const { engineStatus, runningProcesses } = data || {};
54086
54340
  const isRunning = engineStatus === "RUNNING" /* RUNNING */;
54087
54341
  const t = useTranslations80("settings.page");
54088
- return /* @__PURE__ */ jsx241(EuiPanel10, { hasShadow: false, color: "subdued", paddingSize: "l", children: /* @__PURE__ */ jsxs131(EuiFlexGroup27, { direction: "column", gutterSize: "s", children: [
54089
- /* @__PURE__ */ jsx241(EuiFlexItem33, { children: /* @__PURE__ */ jsx241(EuiText48, { size: "s", children: /* @__PURE__ */ jsx241("h4", { children: t("engineStatusTitle") }) }) }),
54090
- /* @__PURE__ */ jsxs131(EuiFlexItem33, { css: { flexDirection: "row" }, children: [
54091
- /* @__PURE__ */ jsx241(EuiText48, { size: "s", style: { minWidth: 200 }, children: t("runningProcesses") }),
54092
- /* @__PURE__ */ jsx241(EuiText48, { size: "s", children: runningProcesses || "-" })
54342
+ return /* @__PURE__ */ jsx244(EuiPanel10, { hasShadow: false, color: "subdued", paddingSize: "l", children: /* @__PURE__ */ jsxs132(EuiFlexGroup27, { direction: "column", gutterSize: "s", children: [
54343
+ /* @__PURE__ */ jsx244(EuiFlexItem33, { children: /* @__PURE__ */ jsx244(EuiText48, { size: "s", children: /* @__PURE__ */ jsx244("h4", { children: t("engineStatusTitle") }) }) }),
54344
+ /* @__PURE__ */ jsxs132(EuiFlexItem33, { css: { flexDirection: "row" }, children: [
54345
+ /* @__PURE__ */ jsx244(EuiText48, { size: "s", style: { minWidth: 200 }, children: t("runningProcesses") }),
54346
+ /* @__PURE__ */ jsx244(EuiText48, { size: "s", children: runningProcesses || "-" })
54093
54347
  ] }),
54094
- /* @__PURE__ */ jsxs131(EuiFlexItem33, { css: { flexDirection: "row" }, children: [
54095
- /* @__PURE__ */ jsx241(EuiText48, { size: "s", style: { minWidth: 190 }, children: t("status") }),
54096
- /* @__PURE__ */ jsx241(
54348
+ /* @__PURE__ */ jsxs132(EuiFlexItem33, { css: { flexDirection: "row" }, children: [
54349
+ /* @__PURE__ */ jsx244(EuiText48, { size: "s", style: { minWidth: 190 }, children: t("status") }),
54350
+ /* @__PURE__ */ jsx244(
54097
54351
  WfoStatusDotIcon,
54098
54352
  {
54099
54353
  color: isRunning ? theme.colors.success : theme.colors.warning
54100
54354
  }
54101
54355
  ),
54102
- /* @__PURE__ */ jsx241(EuiText48, { size: "xs", css: { paddingTop: theme.size.xs }, children: /* @__PURE__ */ jsx241("p", { children: engineStatus }) })
54356
+ /* @__PURE__ */ jsx244(EuiText48, { size: "xs", css: { paddingTop: theme.size.xs }, children: /* @__PURE__ */ jsx244("p", { children: engineStatus }) })
54103
54357
  ] })
54104
54358
  ] }) });
54105
54359
  };
@@ -54107,7 +54361,7 @@ var WfoEngineStatus = () => {
54107
54361
  // src/components/WfoSettings/WfoWorkerStatus.tsx
54108
54362
  import { useTranslations as useTranslations81 } from "next-intl";
54109
54363
  import { EuiFlexGroup as EuiFlexGroup28, EuiFlexItem as EuiFlexItem34, EuiPanel as EuiPanel11, EuiText as EuiText49 } from "@elastic/eui";
54110
- import { jsx as jsx242, jsxs as jsxs132 } from "@emotion/react/jsx-runtime";
54364
+ import { jsx as jsx245, jsxs as jsxs133 } from "@emotion/react/jsx-runtime";
54111
54365
  var WfoWorkerStatus = () => {
54112
54366
  const { data } = useGetWorkerStatusQuery();
54113
54367
  const {
@@ -54117,19 +54371,19 @@ var WfoWorkerStatus = () => {
54117
54371
  numberOfWorkersOnline
54118
54372
  } = data || {};
54119
54373
  const t = useTranslations81("settings.page");
54120
- return executorType?.toUpperCase() === "CELERY" /* CELERY */ && /* @__PURE__ */ jsx242(EuiPanel11, { hasShadow: false, color: "subdued", paddingSize: "l", children: /* @__PURE__ */ jsxs132(EuiFlexGroup28, { direction: "column", gutterSize: "s", children: [
54121
- /* @__PURE__ */ jsx242(EuiFlexItem34, { children: /* @__PURE__ */ jsx242(EuiText49, { size: "s", children: /* @__PURE__ */ jsx242("h4", { children: t("workerStatusTitle") }) }) }),
54122
- /* @__PURE__ */ jsxs132(EuiFlexItem34, { css: { flexDirection: "row" }, children: [
54123
- /* @__PURE__ */ jsx242(EuiText49, { size: "s", style: { minWidth: 200 }, children: t("numberOfQueuedJobs") }),
54124
- /* @__PURE__ */ jsx242(EuiText49, { size: "s", children: numberOfQueuedJobs || "-" })
54374
+ return executorType?.toUpperCase() === "CELERY" /* CELERY */ && /* @__PURE__ */ jsx245(EuiPanel11, { hasShadow: false, color: "subdued", paddingSize: "l", children: /* @__PURE__ */ jsxs133(EuiFlexGroup28, { direction: "column", gutterSize: "s", children: [
54375
+ /* @__PURE__ */ jsx245(EuiFlexItem34, { children: /* @__PURE__ */ jsx245(EuiText49, { size: "s", children: /* @__PURE__ */ jsx245("h4", { children: t("workerStatusTitle") }) }) }),
54376
+ /* @__PURE__ */ jsxs133(EuiFlexItem34, { css: { flexDirection: "row" }, children: [
54377
+ /* @__PURE__ */ jsx245(EuiText49, { size: "s", style: { minWidth: 200 }, children: t("numberOfQueuedJobs") }),
54378
+ /* @__PURE__ */ jsx245(EuiText49, { size: "s", children: numberOfQueuedJobs || "-" })
54125
54379
  ] }),
54126
- /* @__PURE__ */ jsxs132(EuiFlexItem34, { css: { flexDirection: "row" }, children: [
54127
- /* @__PURE__ */ jsx242(EuiText49, { size: "s", style: { minWidth: 200 }, children: t("numberOfRunningJobs") }),
54128
- /* @__PURE__ */ jsx242(EuiText49, { size: "s", children: numberOfRunningJobs || "-" })
54380
+ /* @__PURE__ */ jsxs133(EuiFlexItem34, { css: { flexDirection: "row" }, children: [
54381
+ /* @__PURE__ */ jsx245(EuiText49, { size: "s", style: { minWidth: 200 }, children: t("numberOfRunningJobs") }),
54382
+ /* @__PURE__ */ jsx245(EuiText49, { size: "s", children: numberOfRunningJobs || "-" })
54129
54383
  ] }),
54130
- /* @__PURE__ */ jsxs132(EuiFlexItem34, { css: { flexDirection: "row" }, children: [
54131
- /* @__PURE__ */ jsx242(EuiText49, { size: "s", style: { minWidth: 200 }, children: t("numberOfWorkersOnline") }),
54132
- /* @__PURE__ */ jsx242(EuiText49, { size: "s", children: numberOfWorkersOnline || "-" })
54384
+ /* @__PURE__ */ jsxs133(EuiFlexItem34, { css: { flexDirection: "row" }, children: [
54385
+ /* @__PURE__ */ jsx245(EuiText49, { size: "s", style: { minWidth: 200 }, children: t("numberOfWorkersOnline") }),
54386
+ /* @__PURE__ */ jsx245(EuiText49, { size: "s", children: numberOfWorkersOnline || "-" })
54133
54387
  ] })
54134
54388
  ] }) }) || null;
54135
54389
  };
@@ -54137,11 +54391,11 @@ var WfoWorkerStatus = () => {
54137
54391
  // src/components/WfoSettings/WfoResetTextSearchIndexButton.tsx
54138
54392
  import { useTranslations as useTranslations82 } from "next-intl";
54139
54393
  import { EuiButton as EuiButton18 } from "@elastic/eui";
54140
- import { jsx as jsx243 } from "@emotion/react/jsx-runtime";
54394
+ import { jsx as jsx246 } from "@emotion/react/jsx-runtime";
54141
54395
  var WfoResetTextSearchIndexButton = () => {
54142
54396
  const [resetTextSearchIndex] = useResetTextSearchIndexMutation();
54143
54397
  const t = useTranslations82("settings.page");
54144
- return /* @__PURE__ */ jsx243(
54398
+ return /* @__PURE__ */ jsx246(
54145
54399
  EuiButton18,
54146
54400
  {
54147
54401
  onClick: () => resetTextSearchIndex(null),
@@ -54152,17 +54406,17 @@ var WfoResetTextSearchIndexButton = () => {
54152
54406
  };
54153
54407
 
54154
54408
  // src/components/WfoInsyncIcon/WfoInsyncIcon.tsx
54155
- import { jsx as jsx244 } from "@emotion/react/jsx-runtime";
54409
+ import { jsx as jsx247 } from "@emotion/react/jsx-runtime";
54156
54410
  var WfoInsyncIcon = ({ inSync }) => {
54157
54411
  const { theme } = useOrchestratorTheme();
54158
- return inSync ? /* @__PURE__ */ jsx244(
54412
+ return inSync ? /* @__PURE__ */ jsx247(
54159
54413
  WfoCheckmarkCircleFill,
54160
54414
  {
54161
54415
  height: 20,
54162
54416
  width: 20,
54163
54417
  color: theme.colors.primary
54164
54418
  }
54165
- ) : /* @__PURE__ */ jsx244(
54419
+ ) : /* @__PURE__ */ jsx247(
54166
54420
  WfoMinusCircleFill,
54167
54421
  {
54168
54422
  height: 20,
@@ -54173,9 +54427,9 @@ var WfoInsyncIcon = ({ inSync }) => {
54173
54427
  };
54174
54428
 
54175
54429
  // src/components/WfoErrorBoundary/WfoErrorBoundary.tsx
54176
- import React80 from "react";
54177
- import { jsx as jsx245, jsxs as jsxs133 } from "@emotion/react/jsx-runtime";
54178
- var WfoErrorBoundary = class extends React80.Component {
54430
+ import React81 from "react";
54431
+ import { jsx as jsx248, jsxs as jsxs134 } from "@emotion/react/jsx-runtime";
54432
+ var WfoErrorBoundary = class extends React81.Component {
54179
54433
  constructor(props) {
54180
54434
  super(props);
54181
54435
  this.state = { hasError: false };
@@ -54191,10 +54445,10 @@ var WfoErrorBoundary = class extends React80.Component {
54191
54445
  if (this.props.fallback) {
54192
54446
  return this.props.fallback;
54193
54447
  }
54194
- return /* @__PURE__ */ jsxs133("p", { children: [
54448
+ return /* @__PURE__ */ jsxs134("p", { children: [
54195
54449
  "An unexpected error occurred, try to go back to the",
54196
54450
  " ",
54197
- /* @__PURE__ */ jsx245("a", { href: "/", children: "home page" })
54451
+ /* @__PURE__ */ jsx248("a", { href: "/", children: "home page" })
54198
54452
  ] });
54199
54453
  }
54200
54454
  return this.props.children;
@@ -54205,9 +54459,9 @@ var WfoErrorBoundary = class extends React80.Component {
54205
54459
  import { EuiFlexGroup as EuiFlexGroup29 } from "@elastic/eui";
54206
54460
 
54207
54461
  // src/components/WfoNoResults/styles.ts
54208
- import { css as css47 } from "@emotion/react";
54462
+ import { css as css48 } from "@emotion/react";
54209
54463
  var getStyles15 = ({ theme }) => {
54210
- const panelStyle = css47({
54464
+ const panelStyle = css48({
54211
54465
  display: "flex",
54212
54466
  padding: theme.base * 2,
54213
54467
  flexDirection: "row",
@@ -54226,10 +54480,10 @@ var getStyles15 = ({ theme }) => {
54226
54480
  };
54227
54481
 
54228
54482
  // src/components/WfoNoResults/WfoNoResults.tsx
54229
- import { jsxs as jsxs134 } from "@emotion/react/jsx-runtime";
54483
+ import { jsxs as jsxs135 } from "@emotion/react/jsx-runtime";
54230
54484
  var WfoNoResults = ({ text, icon }) => {
54231
54485
  const { panelStyle } = useWithOrchestratorTheme(getStyles15);
54232
- return /* @__PURE__ */ jsxs134(EuiFlexGroup29, { css: panelStyle, children: [
54486
+ return /* @__PURE__ */ jsxs135(EuiFlexGroup29, { css: panelStyle, children: [
54233
54487
  icon,
54234
54488
  " ",
54235
54489
  text
@@ -54237,7 +54491,7 @@ var WfoNoResults = ({ text, icon }) => {
54237
54491
  };
54238
54492
 
54239
54493
  // src/components/WfoRenderElementOrString/WfoRenderElementOrString.tsx
54240
- import { Fragment as Fragment61, jsx as jsx246 } from "@emotion/react/jsx-runtime";
54494
+ import { Fragment as Fragment61, jsx as jsx249 } from "@emotion/react/jsx-runtime";
54241
54495
  var WfoRenderElementOrString = ({
54242
54496
  children,
54243
54497
  renderString
@@ -54245,13 +54499,13 @@ var WfoRenderElementOrString = ({
54245
54499
  if (typeof children === "string" && renderString) {
54246
54500
  return renderString(children);
54247
54501
  }
54248
- return /* @__PURE__ */ jsx246(Fragment61, { children });
54502
+ return /* @__PURE__ */ jsx249(Fragment61, { children });
54249
54503
  };
54250
54504
 
54251
54505
  // src/components/WfoStartButton/WfoStartTaskComboBox.tsx
54252
54506
  import { useTranslations as useTranslations83 } from "next-intl";
54253
54507
  import { useRouter as useRouter15 } from "next/router";
54254
- import { jsx as jsx247 } from "@emotion/react/jsx-runtime";
54508
+ import { jsx as jsx250 } from "@emotion/react/jsx-runtime";
54255
54509
  var WfoStartTaskButtonComboBox = () => {
54256
54510
  const router = useRouter15();
54257
54511
  const t = useTranslations83("common");
@@ -54273,7 +54527,7 @@ var WfoStartTaskButtonComboBox = () => {
54273
54527
  });
54274
54528
  }
54275
54529
  };
54276
- return /* @__PURE__ */ jsx247(
54530
+ return /* @__PURE__ */ jsx250(
54277
54531
  WfoStartButtonComboBox,
54278
54532
  {
54279
54533
  buttonText: t("newTask"),
@@ -54370,7 +54624,7 @@ var subscriptionListTabs = [
54370
54624
  import { useTranslations as useTranslations84 } from "next-intl";
54371
54625
  import Link13 from "next/link";
54372
54626
  import { useRouter as useRouter16 } from "next/router";
54373
- import { jsx as jsx248 } from "@emotion/react/jsx-runtime";
54627
+ import { jsx as jsx251 } from "@emotion/react/jsx-runtime";
54374
54628
  var WfoSubscriptionsList = ({
54375
54629
  alwaysOnFilters,
54376
54630
  dataDisplayParams,
@@ -54396,7 +54650,7 @@ var WfoSubscriptionsList = ({
54396
54650
  columnType: "data" /* DATA */,
54397
54651
  label: t("id"),
54398
54652
  width: "100px",
54399
- renderData: (value) => /* @__PURE__ */ jsx248(WfoFirstPartUUID, { UUID: value }),
54653
+ renderData: (value) => /* @__PURE__ */ jsx251(WfoFirstPartUUID, { UUID: value }),
54400
54654
  renderDetails: (value) => value,
54401
54655
  renderTooltip: (value) => value
54402
54656
  },
@@ -54404,20 +54658,20 @@ var WfoSubscriptionsList = ({
54404
54658
  columnType: "data" /* DATA */,
54405
54659
  label: t("description"),
54406
54660
  width: "500px",
54407
- renderData: (value, record) => /* @__PURE__ */ jsx248(Link13, { href: `/subscriptions/${record.subscriptionId}`, children: value }),
54661
+ renderData: (value, record) => /* @__PURE__ */ jsx251(Link13, { href: `/subscriptions/${record.subscriptionId}`, children: value }),
54408
54662
  renderTooltip: (value) => value
54409
54663
  },
54410
54664
  status: {
54411
54665
  columnType: "data" /* DATA */,
54412
54666
  label: t("status"),
54413
54667
  width: "120px",
54414
- renderData: (value) => /* @__PURE__ */ jsx248(WfoSubscriptionStatusBadge, { status: value })
54668
+ renderData: (value) => /* @__PURE__ */ jsx251(WfoSubscriptionStatusBadge, { status: value })
54415
54669
  },
54416
54670
  insync: {
54417
54671
  columnType: "data" /* DATA */,
54418
54672
  label: t("insync"),
54419
54673
  width: "80px",
54420
- renderData: (value) => /* @__PURE__ */ jsx248(WfoInsyncIcon, { inSync: value })
54674
+ renderData: (value) => /* @__PURE__ */ jsx251(WfoInsyncIcon, { inSync: value })
54421
54675
  },
54422
54676
  productName: {
54423
54677
  columnType: "data" /* DATA */,
@@ -54441,7 +54695,7 @@ var WfoSubscriptionsList = ({
54441
54695
  columnType: "data" /* DATA */,
54442
54696
  label: t("startDate"),
54443
54697
  width: "120px",
54444
- renderData: (value) => /* @__PURE__ */ jsx248(WfoDateTime, { dateOrIsoString: value }),
54698
+ renderData: (value) => /* @__PURE__ */ jsx251(WfoDateTime, { dateOrIsoString: value }),
54445
54699
  renderDetails: parseDateToLocaleDateTimeString,
54446
54700
  clipboardText: parseDateToLocaleDateTimeString,
54447
54701
  renderTooltip: (cellValue) => cellValue?.toString()
@@ -54450,7 +54704,7 @@ var WfoSubscriptionsList = ({
54450
54704
  columnType: "data" /* DATA */,
54451
54705
  label: t("endDate"),
54452
54706
  width: "120px",
54453
- renderData: (value) => /* @__PURE__ */ jsx248(WfoDateTime, { dateOrIsoString: value }),
54707
+ renderData: (value) => /* @__PURE__ */ jsx251(WfoDateTime, { dateOrIsoString: value }),
54454
54708
  renderDetails: parseDateToLocaleDateTimeString,
54455
54709
  clipboardText: parseDateToLocaleDateTimeString,
54456
54710
  renderTooltip: (cellValue) => cellValue?.toString()
@@ -54459,7 +54713,7 @@ var WfoSubscriptionsList = ({
54459
54713
  columnType: "data" /* DATA */,
54460
54714
  label: t("note"),
54461
54715
  renderData: (cellValue, row) => {
54462
- return /* @__PURE__ */ jsx248(
54716
+ return /* @__PURE__ */ jsx251(
54463
54717
  WfoSubscriptionNoteEdit,
54464
54718
  {
54465
54719
  onlyShowOnHover: true,
@@ -54475,9 +54729,9 @@ var WfoSubscriptionsList = ({
54475
54729
  columnType: "data" /* DATA */,
54476
54730
  label: t("metadata"),
54477
54731
  width: "100px",
54478
- renderData: (value) => /* @__PURE__ */ jsx248(WfoInlineJson, { data: value }),
54479
- renderDetails: (value) => value && /* @__PURE__ */ jsx248(WfoJsonCodeBlock, { data: value, isBasicStyle: true }),
54480
- renderTooltip: (value) => value && /* @__PURE__ */ jsx248(WfoJsonCodeBlock, { data: value, isBasicStyle: false })
54732
+ renderData: (value) => /* @__PURE__ */ jsx251(WfoInlineJson, { data: value }),
54733
+ renderDetails: (value) => value && /* @__PURE__ */ jsx251(WfoJsonCodeBlock, { data: value, isBasicStyle: true }),
54734
+ renderTooltip: (value) => value && /* @__PURE__ */ jsx251(WfoJsonCodeBlock, { data: value, isBasicStyle: false })
54481
54735
  }
54482
54736
  };
54483
54737
  const [getSubscriptionListTrigger, { isFetching: isFetchingCsv }] = useLazyGetSubscriptionListQuery();
@@ -54523,7 +54777,7 @@ var WfoSubscriptionsList = ({
54523
54777
  sortFields,
54524
54778
  filterFields
54525
54779
  );
54526
- return /* @__PURE__ */ jsx248(
54780
+ return /* @__PURE__ */ jsx251(
54527
54781
  WfoAdvancedTable,
54528
54782
  {
54529
54783
  queryString: dataDisplayParams.queryString,
@@ -54571,18 +54825,18 @@ import {
54571
54825
  } from "@elastic/eui";
54572
54826
 
54573
54827
  // src/components/WfoSummary/WfoSummaryCardHeader/styles.ts
54574
- import { css as css48 } from "@emotion/react";
54828
+ import { css as css49 } from "@emotion/react";
54575
54829
  var getWfoSummaryCardHeaderStyles = ({ theme }) => {
54576
- const avatarStyle = css48({
54830
+ const avatarStyle = css49({
54577
54831
  maxHeight: theme.base * 3,
54578
54832
  maxWidth: theme.base * 3
54579
54833
  });
54580
- const totalSectionStyle = css48({
54834
+ const totalSectionStyle = css49({
54581
54835
  display: "flex",
54582
54836
  flexDirection: "column",
54583
54837
  justifyContent: "space-between"
54584
54838
  });
54585
- const valueStyle = css48({
54839
+ const valueStyle = css49({
54586
54840
  fontSize: theme.size.l,
54587
54841
  fontWeight: theme.font.weight.semiBold
54588
54842
  });
@@ -54594,7 +54848,7 @@ var getWfoSummaryCardHeaderStyles = ({ theme }) => {
54594
54848
  };
54595
54849
 
54596
54850
  // src/components/WfoSummary/WfoSummaryCardHeader/WfoSummaryCardHeader.tsx
54597
- import { jsx as jsx249, jsxs as jsxs135 } from "@emotion/react/jsx-runtime";
54851
+ import { jsx as jsx252, jsxs as jsxs136 } from "@emotion/react/jsx-runtime";
54598
54852
  var WfoSummaryCardHeader = ({
54599
54853
  text,
54600
54854
  value,
@@ -54604,8 +54858,8 @@ var WfoSummaryCardHeader = ({
54604
54858
  }) => {
54605
54859
  const { theme } = useOrchestratorTheme();
54606
54860
  const { avatarStyle, totalSectionStyle, valueStyle } = useWithOrchestratorTheme(getWfoSummaryCardHeaderStyles);
54607
- return /* @__PURE__ */ jsx249(EuiFlexItem35, { grow: 0, children: /* @__PURE__ */ jsx249(EuiPanel12, { hasShadow: false, color: "subdued", paddingSize: "l", children: /* @__PURE__ */ jsxs135(EuiFlexGroup30, { alignItems: "center", children: [
54608
- /* @__PURE__ */ jsx249(
54861
+ return /* @__PURE__ */ jsx252(EuiFlexItem35, { grow: 0, children: /* @__PURE__ */ jsx252(EuiPanel12, { hasShadow: false, color: "subdued", paddingSize: "l", children: /* @__PURE__ */ jsxs136(EuiFlexGroup30, { alignItems: "center", children: [
54862
+ /* @__PURE__ */ jsx252(
54609
54863
  EuiAvatar2,
54610
54864
  {
54611
54865
  iconSize: "l",
@@ -54618,11 +54872,11 @@ var WfoSummaryCardHeader = ({
54618
54872
  color: iconColor
54619
54873
  }
54620
54874
  ),
54621
- /* @__PURE__ */ jsxs135("div", { css: totalSectionStyle, children: [
54622
- /* @__PURE__ */ jsx249(EuiText50, { color: "subdued", children: text }),
54623
- /* @__PURE__ */ jsxs135(EuiFlexGroup30, { gutterSize: "s", alignItems: "center", children: [
54624
- /* @__PURE__ */ jsx249(EuiText50, { css: valueStyle, children: value }),
54625
- isFetching && /* @__PURE__ */ jsx249(EuiLoadingSpinner, {})
54875
+ /* @__PURE__ */ jsxs136("div", { css: totalSectionStyle, children: [
54876
+ /* @__PURE__ */ jsx252(EuiText50, { color: "subdued", children: text }),
54877
+ /* @__PURE__ */ jsxs136(EuiFlexGroup30, { gutterSize: "s", alignItems: "center", children: [
54878
+ /* @__PURE__ */ jsx252(EuiText50, { css: valueStyle, children: value }),
54879
+ isFetching && /* @__PURE__ */ jsx252(EuiLoadingSpinner, {})
54626
54880
  ] })
54627
54881
  ] })
54628
54882
  ] }) }) });
@@ -54645,35 +54899,35 @@ import { EuiFlexGroup as EuiFlexGroup31, EuiFlexItem as EuiFlexItem36, EuiIcon a
54645
54899
 
54646
54900
  // src/components/WfoOptionalLink/WfoOptionalLink.tsx
54647
54901
  import Link14 from "next/link";
54648
- import { jsx as jsx250 } from "@emotion/react/jsx-runtime";
54902
+ import { jsx as jsx253 } from "@emotion/react/jsx-runtime";
54649
54903
  var WfoOptionalLink = ({
54650
54904
  children,
54651
54905
  href
54652
54906
  }) => {
54653
54907
  if (!href) {
54654
- return /* @__PURE__ */ jsx250("span", { children });
54908
+ return /* @__PURE__ */ jsx253("span", { children });
54655
54909
  }
54656
- return /* @__PURE__ */ jsx250(Link14, { href, children });
54910
+ return /* @__PURE__ */ jsx253(Link14, { href, children });
54657
54911
  };
54658
54912
 
54659
54913
  // src/components/WfoSummary/WfoSummaryCardList/styles.ts
54660
- import { css as css49 } from "@emotion/react";
54914
+ import { css as css50 } from "@emotion/react";
54661
54915
  var getWfoSummaryCardListStyles = ({ theme }) => {
54662
- const listContainerStyle = css49({
54916
+ const listContainerStyle = css50({
54663
54917
  display: "flex",
54664
54918
  flexDirection: "column",
54665
54919
  justifyContent: "space-between",
54666
54920
  flexGrow: 1,
54667
54921
  borderColor: theme.colors.lightShade
54668
54922
  });
54669
- const listHeaderStyle = css49({
54923
+ const listHeaderStyle = css50({
54670
54924
  fontWeight: theme.font.weight.semiBold
54671
54925
  });
54672
- const listStyle = css49({
54926
+ const listStyle = css50({
54673
54927
  height: theme.base * 20,
54674
54928
  overflow: "auto"
54675
54929
  });
54676
- const listItemContainerStyle = css49({
54930
+ const listItemContainerStyle = css50({
54677
54931
  paddingBlock: theme.size.m,
54678
54932
  ".highlight-icon": {
54679
54933
  visibility: "hidden"
@@ -54682,13 +54936,13 @@ var getWfoSummaryCardListStyles = ({ theme }) => {
54682
54936
  visibility: "visible"
54683
54937
  }
54684
54938
  });
54685
- const listItemTitleStyle = css49({
54939
+ const listItemTitleStyle = css50({
54686
54940
  fontWeight: theme.font.weight.medium
54687
54941
  });
54688
- const listItemSubtitleStyle = css49({
54942
+ const listItemSubtitleStyle = css50({
54689
54943
  fontWeight: theme.font.weight.regular
54690
54944
  });
54691
- const listItemHighlightIconStyle = css49({
54945
+ const listItemHighlightIconStyle = css50({
54692
54946
  visibility: "hidden"
54693
54947
  });
54694
54948
  return {
@@ -54703,7 +54957,7 @@ var getWfoSummaryCardListStyles = ({ theme }) => {
54703
54957
  };
54704
54958
 
54705
54959
  // src/components/WfoSummary/WfoSummaryCardList/WfoSummaryCardListItem.tsx
54706
- import { jsx as jsx251, jsxs as jsxs136 } from "@emotion/react/jsx-runtime";
54960
+ import { jsx as jsx254, jsxs as jsxs137 } from "@emotion/react/jsx-runtime";
54707
54961
  var WfoSummaryCardListItem = ({
54708
54962
  title,
54709
54963
  value,
@@ -54716,9 +54970,9 @@ var WfoSummaryCardListItem = ({
54716
54970
  listItemSubtitleStyle,
54717
54971
  listItemHighlightIconStyle
54718
54972
  } = useWithOrchestratorTheme(getWfoSummaryCardListStyles);
54719
- return /* @__PURE__ */ jsx251(WfoOptionalLink, { href: url, children: /* @__PURE__ */ jsxs136(EuiFlexGroup31, { css: listItemContainerStyle, gutterSize: "none", children: [
54720
- /* @__PURE__ */ jsxs136(EuiFlexItem36, { children: [
54721
- /* @__PURE__ */ jsx251(
54973
+ return /* @__PURE__ */ jsx254(WfoOptionalLink, { href: url, children: /* @__PURE__ */ jsxs137(EuiFlexGroup31, { css: listItemContainerStyle, gutterSize: "none", children: [
54974
+ /* @__PURE__ */ jsxs137(EuiFlexItem36, { children: [
54975
+ /* @__PURE__ */ jsx254(
54722
54976
  EuiTextColor,
54723
54977
  {
54724
54978
  color: url ? theme.colors.link : theme.colors.title,
@@ -54726,22 +54980,22 @@ var WfoSummaryCardListItem = ({
54726
54980
  children: title
54727
54981
  }
54728
54982
  ),
54729
- /* @__PURE__ */ jsx251(EuiTextColor, { css: listItemSubtitleStyle, children: value })
54983
+ /* @__PURE__ */ jsx254(EuiTextColor, { css: listItemSubtitleStyle, children: value })
54730
54984
  ] }),
54731
- /* @__PURE__ */ jsx251(
54985
+ /* @__PURE__ */ jsx254(
54732
54986
  EuiFlexItem36,
54733
54987
  {
54734
54988
  className: url ? "highlight-icon" : void 0,
54735
54989
  grow: false,
54736
54990
  css: listItemHighlightIconStyle,
54737
- children: /* @__PURE__ */ jsx251(EuiIcon6, { type: "sortRight", color: "primary" })
54991
+ children: /* @__PURE__ */ jsx254(EuiIcon6, { type: "sortRight", color: "primary" })
54738
54992
  }
54739
54993
  )
54740
54994
  ] }) });
54741
54995
  };
54742
54996
 
54743
54997
  // src/components/WfoSummary/WfoSummaryCardList/WfoSummaryCardList.tsx
54744
- import { jsx as jsx252, jsxs as jsxs137 } from "@emotion/react/jsx-runtime";
54998
+ import { jsx as jsx255, jsxs as jsxs138 } from "@emotion/react/jsx-runtime";
54745
54999
  var WfoSummaryCardList = ({
54746
55000
  title,
54747
55001
  items,
@@ -54751,7 +55005,7 @@ var WfoSummaryCardList = ({
54751
55005
  const router = useRouter17();
54752
55006
  const euiScrollBarStyle = useEuiScrollBar3();
54753
55007
  const { listContainerStyle, listHeaderStyle, listStyle } = useWithOrchestratorTheme(getWfoSummaryCardListStyles);
54754
- return /* @__PURE__ */ jsx252(EuiFlexItem37, { children: /* @__PURE__ */ jsxs137(
55008
+ return /* @__PURE__ */ jsx255(EuiFlexItem37, { children: /* @__PURE__ */ jsxs138(
54755
55009
  EuiPanel13,
54756
55010
  {
54757
55011
  css: listContainerStyle,
@@ -54759,11 +55013,11 @@ var WfoSummaryCardList = ({
54759
55013
  hasBorder: true,
54760
55014
  paddingSize: "l",
54761
55015
  children: [
54762
- /* @__PURE__ */ jsxs137("div", { children: [
54763
- /* @__PURE__ */ jsx252("p", { css: listHeaderStyle, children: title }),
54764
- /* @__PURE__ */ jsx252(EuiSpacer28, { size: "m" }),
54765
- /* @__PURE__ */ jsx252(EuiSkeletonText, { isLoading, lines: 10, children: /* @__PURE__ */ jsx252("div", { css: [listStyle, euiScrollBarStyle], children: items?.map((item, index) => /* @__PURE__ */ jsxs137("div", { children: [
54766
- /* @__PURE__ */ jsx252(
55016
+ /* @__PURE__ */ jsxs138("div", { children: [
55017
+ /* @__PURE__ */ jsx255("p", { css: listHeaderStyle, children: title }),
55018
+ /* @__PURE__ */ jsx255(EuiSpacer28, { size: "m" }),
55019
+ /* @__PURE__ */ jsx255(EuiSkeletonText, { isLoading, lines: 10, children: /* @__PURE__ */ jsx255("div", { css: [listStyle, euiScrollBarStyle], children: items?.map((item, index) => /* @__PURE__ */ jsxs138("div", { children: [
55020
+ /* @__PURE__ */ jsx255(
54767
55021
  WfoSummaryCardListItem,
54768
55022
  {
54769
55023
  title: item.title,
@@ -54771,11 +55025,11 @@ var WfoSummaryCardList = ({
54771
55025
  url: item.url
54772
55026
  }
54773
55027
  ),
54774
- index === items.length - 1 ? null : /* @__PURE__ */ jsx252(EuiHorizontalRule9, { margin: "none" })
55028
+ index === items.length - 1 ? null : /* @__PURE__ */ jsx255(EuiHorizontalRule9, { margin: "none" })
54775
55029
  ] }, index)) }) })
54776
55030
  ] }),
54777
- /* @__PURE__ */ jsx252(EuiSpacer28, { size: "m" }),
54778
- button && /* @__PURE__ */ jsx252(
55031
+ /* @__PURE__ */ jsx255(EuiSpacer28, { size: "m" }),
55032
+ button && /* @__PURE__ */ jsx255(
54779
55033
  EuiButton19,
54780
55034
  {
54781
55035
  fullWidth: true,
@@ -54790,10 +55044,10 @@ var WfoSummaryCardList = ({
54790
55044
 
54791
55045
  // src/components/WfoSummary/WfoSummaryCards.tsx
54792
55046
  import { EuiFlexGrid as EuiFlexGrid2, useCurrentEuiBreakpoint } from "@elastic/eui";
54793
- import { jsx as jsx253 } from "@emotion/react/jsx-runtime";
55047
+ import { jsx as jsx256 } from "@emotion/react/jsx-runtime";
54794
55048
  var WfoSummaryCards = ({ children }) => {
54795
55049
  const currentBreakpoint = useCurrentEuiBreakpoint();
54796
- return /* @__PURE__ */ jsx253(
55050
+ return /* @__PURE__ */ jsx256(
54797
55051
  EuiFlexGrid2,
54798
55052
  {
54799
55053
  responsive: false,
@@ -54808,9 +55062,9 @@ var WfoSummaryCards = ({ children }) => {
54808
55062
  import { EuiFlexItem as EuiFlexItem38, EuiSpacer as EuiSpacer29 } from "@elastic/eui";
54809
55063
 
54810
55064
  // src/components/WfoSummary/styles.ts
54811
- import { css as css50 } from "@emotion/react";
55065
+ import { css as css51 } from "@emotion/react";
54812
55066
  var getWfoSummaryCardsStyles = ({ theme }) => {
54813
- const cardContainerStyle = css50({
55067
+ const cardContainerStyle = css51({
54814
55068
  height: theme.base * 36,
54815
55069
  minWidth: theme.base * 25
54816
55070
  });
@@ -54820,7 +55074,7 @@ var getWfoSummaryCardsStyles = ({ theme }) => {
54820
55074
  };
54821
55075
 
54822
55076
  // src/components/WfoSummary/WfoSummaryCard.tsx
54823
- import { jsx as jsx254, jsxs as jsxs138 } from "@emotion/react/jsx-runtime";
55077
+ import { jsx as jsx257, jsxs as jsxs139 } from "@emotion/react/jsx-runtime";
54824
55078
  var SummaryCardStatus = /* @__PURE__ */ ((SummaryCardStatus2) => {
54825
55079
  SummaryCardStatus2["Success"] = "Success";
54826
55080
  SummaryCardStatus2["Error"] = "Error";
@@ -54846,7 +55100,7 @@ var WfoSummaryCard = ({
54846
55100
  switch (status) {
54847
55101
  case "Success" /* Success */:
54848
55102
  return {
54849
- iconType: () => /* @__PURE__ */ jsx254(
55103
+ iconType: () => /* @__PURE__ */ jsx257(
54850
55104
  WfoCheckmarkCircleFill,
54851
55105
  {
54852
55106
  width: 32,
@@ -54858,7 +55112,7 @@ var WfoSummaryCard = ({
54858
55112
  };
54859
55113
  case "Error" /* Error */:
54860
55114
  return {
54861
- iconType: () => /* @__PURE__ */ jsx254(
55115
+ iconType: () => /* @__PURE__ */ jsx257(
54862
55116
  WfoXCircleFill,
54863
55117
  {
54864
55118
  width: 32,
@@ -54870,7 +55124,7 @@ var WfoSummaryCard = ({
54870
55124
  };
54871
55125
  case "Neutral" /* Neutral */:
54872
55126
  return {
54873
- iconType: () => /* @__PURE__ */ jsx254(
55127
+ iconType: () => /* @__PURE__ */ jsx257(
54874
55128
  WfoCubeFill,
54875
55129
  {
54876
55130
  width: 32,
@@ -54882,7 +55136,7 @@ var WfoSummaryCard = ({
54882
55136
  };
54883
55137
  default:
54884
55138
  return headerBadge ?? {
54885
- iconType: () => /* @__PURE__ */ jsx254(
55139
+ iconType: () => /* @__PURE__ */ jsx257(
54886
55140
  WfoCubeFill,
54887
55141
  {
54888
55142
  width: 32,
@@ -54894,8 +55148,8 @@ var WfoSummaryCard = ({
54894
55148
  };
54895
55149
  }
54896
55150
  };
54897
- return /* @__PURE__ */ jsxs138(EuiFlexItem38, { css: cardContainerStyle, children: [
54898
- /* @__PURE__ */ jsx254(
55151
+ return /* @__PURE__ */ jsxs139(EuiFlexItem38, { css: cardContainerStyle, children: [
55152
+ /* @__PURE__ */ jsx257(
54899
55153
  WfoSummaryCardHeader,
54900
55154
  {
54901
55155
  text: headerTitle,
@@ -54904,8 +55158,8 @@ var WfoSummaryCard = ({
54904
55158
  ...getIconTypeAndColorForHeaderStatus(headerStatus)
54905
55159
  }
54906
55160
  ),
54907
- /* @__PURE__ */ jsx254(EuiSpacer29, { size: "m" }),
54908
- /* @__PURE__ */ jsx254(
55161
+ /* @__PURE__ */ jsx257(EuiSpacer29, { size: "m" }),
55162
+ /* @__PURE__ */ jsx257(
54909
55163
  WfoSummaryCardList,
54910
55164
  {
54911
55165
  title: listTitle,
@@ -55015,7 +55269,7 @@ var productsSummaryQueryVariables = {
55015
55269
  };
55016
55270
 
55017
55271
  // src/components/WfoSummary/WfoActiveWorkflowsSummaryCard.tsx
55018
- import { jsx as jsx255 } from "@emotion/react/jsx-runtime";
55272
+ import { jsx as jsx258 } from "@emotion/react/jsx-runtime";
55019
55273
  var WfoActiveWorkflowsSummaryCard = () => {
55020
55274
  const t = useTranslations85("startPage.activeWorkflows");
55021
55275
  const {
@@ -55023,7 +55277,7 @@ var WfoActiveWorkflowsSummaryCard = () => {
55023
55277
  isFetching,
55024
55278
  isLoading
55025
55279
  } = useGetProcessListSummaryQuery(activeWorkflowsListSummaryQueryVariables);
55026
- return /* @__PURE__ */ jsx255(
55280
+ return /* @__PURE__ */ jsx258(
55027
55281
  WfoSummaryCard,
55028
55282
  {
55029
55283
  headerTitle: t("headerTitle"),
@@ -55043,7 +55297,7 @@ var WfoActiveWorkflowsSummaryCard = () => {
55043
55297
 
55044
55298
  // src/components/WfoSummary/WfoFailedTasksSummaryCard.tsx
55045
55299
  import { useTranslations as useTranslations86 } from "next-intl";
55046
- import { jsx as jsx256 } from "@emotion/react/jsx-runtime";
55300
+ import { jsx as jsx259 } from "@emotion/react/jsx-runtime";
55047
55301
  var WfoFailedTasksSummaryCard = () => {
55048
55302
  const t = useTranslations86("startPage.failedTasks");
55049
55303
  const {
@@ -55051,7 +55305,7 @@ var WfoFailedTasksSummaryCard = () => {
55051
55305
  isFetching,
55052
55306
  isLoading
55053
55307
  } = useGetProcessListSummaryQuery(taskListSummaryQueryVariables);
55054
- return /* @__PURE__ */ jsx256(
55308
+ return /* @__PURE__ */ jsx259(
55055
55309
  WfoSummaryCard,
55056
55310
  {
55057
55311
  headerTitle: t("headerTitle"),
@@ -55071,7 +55325,7 @@ var WfoFailedTasksSummaryCard = () => {
55071
55325
 
55072
55326
  // src/components/WfoSummary/WfoLatestActiveSubscriptionsSummaryCard.tsx
55073
55327
  import { useTranslations as useTranslations87 } from "next-intl";
55074
- import { jsx as jsx257 } from "@emotion/react/jsx-runtime";
55328
+ import { jsx as jsx260 } from "@emotion/react/jsx-runtime";
55075
55329
  var WfoLatestActiveSubscriptionsSummaryCard = () => {
55076
55330
  const t = useTranslations87("startPage.activeSubscriptions");
55077
55331
  const {
@@ -55081,7 +55335,7 @@ var WfoLatestActiveSubscriptionsSummaryCard = () => {
55081
55335
  } = useGetSubscriptionSummaryListQuery(
55082
55336
  subscriptionsListSummaryQueryVariables
55083
55337
  );
55084
- return /* @__PURE__ */ jsx257(
55338
+ return /* @__PURE__ */ jsx260(
55085
55339
  WfoSummaryCard,
55086
55340
  {
55087
55341
  headerTitle: t("headerTitle"),
@@ -55101,7 +55355,7 @@ var WfoLatestActiveSubscriptionsSummaryCard = () => {
55101
55355
 
55102
55356
  // src/components/WfoSummary/WfoLatestOutOfSyncSubscriptionSummaryCard.tsx
55103
55357
  import { useTranslations as useTranslations88 } from "next-intl";
55104
- import { jsx as jsx258 } from "@emotion/react/jsx-runtime";
55358
+ import { jsx as jsx261 } from "@emotion/react/jsx-runtime";
55105
55359
  var WfoLatestOutOfSyncSubscriptionSummaryCard = () => {
55106
55360
  const t = useTranslations88("startPage.outOfSyncSubscriptions");
55107
55361
  const {
@@ -55116,7 +55370,7 @@ var WfoLatestOutOfSyncSubscriptionSummaryCard = () => {
55116
55370
  ["sortBy" /* SORT_BY */]: "field-startDate_order-ASC",
55117
55371
  ["queryString" /* QUERY_STRING */]: "status:(provisioning|active) insync:false"
55118
55372
  };
55119
- return /* @__PURE__ */ jsx258(
55373
+ return /* @__PURE__ */ jsx261(
55120
55374
  WfoSummaryCard,
55121
55375
  {
55122
55376
  headerTitle: t("headerTitle"),
@@ -55139,7 +55393,7 @@ var WfoLatestOutOfSyncSubscriptionSummaryCard = () => {
55139
55393
 
55140
55394
  // src/components/WfoSummary/WfoMyWorkflowsSummaryCard.tsx
55141
55395
  import { useTranslations as useTranslations89 } from "next-intl";
55142
- import { jsx as jsx259 } from "@emotion/react/jsx-runtime";
55396
+ import { jsx as jsx262 } from "@emotion/react/jsx-runtime";
55143
55397
  var WfoMyWorkflowsSummaryCard = ({
55144
55398
  username
55145
55399
  }) => {
@@ -55156,7 +55410,7 @@ var WfoMyWorkflowsSummaryCard = ({
55156
55410
  ["sortBy" /* SORT_BY */]: "field-lastModifiedAt_order-DESC",
55157
55411
  ["queryString" /* QUERY_STRING */]: `createdBy:"${username}"`
55158
55412
  };
55159
- return /* @__PURE__ */ jsx259(
55413
+ return /* @__PURE__ */ jsx262(
55160
55414
  WfoSummaryCard,
55161
55415
  {
55162
55416
  headerTitle: t("headerTitle"),
@@ -55179,7 +55433,7 @@ var WfoMyWorkflowsSummaryCard = ({
55179
55433
 
55180
55434
  // src/components/WfoSummary/WfoProductsSummaryCard.tsx
55181
55435
  import { useTranslations as useTranslations90 } from "next-intl";
55182
- import { jsx as jsx260, jsxs as jsxs139 } from "@emotion/react/jsx-runtime";
55436
+ import { jsx as jsx263, jsxs as jsxs140 } from "@emotion/react/jsx-runtime";
55183
55437
  var WfoProductsSummaryCard = () => {
55184
55438
  const t = useTranslations90("startPage.products");
55185
55439
  const {
@@ -55191,7 +55445,7 @@ var WfoProductsSummaryCard = () => {
55191
55445
  (left, right) => (right.subscriptions.pageInfo.totalItems ?? 0) - (left.subscriptions.pageInfo.totalItems ?? 0)
55192
55446
  ).map((product) => ({
55193
55447
  title: "",
55194
- value: /* @__PURE__ */ jsxs139(
55448
+ value: /* @__PURE__ */ jsxs140(
55195
55449
  "div",
55196
55450
  {
55197
55451
  css: {
@@ -55199,13 +55453,13 @@ var WfoProductsSummaryCard = () => {
55199
55453
  justifyContent: "space-between"
55200
55454
  },
55201
55455
  children: [
55202
- /* @__PURE__ */ jsx260("div", { children: product.name }),
55203
- /* @__PURE__ */ jsx260("div", { children: product.subscriptions.pageInfo.totalItems || 0 })
55456
+ /* @__PURE__ */ jsx263("div", { children: product.name }),
55457
+ /* @__PURE__ */ jsx263("div", { children: product.subscriptions.pageInfo.totalItems || 0 })
55204
55458
  ]
55205
55459
  }
55206
55460
  )
55207
55461
  })) ?? [];
55208
- return /* @__PURE__ */ jsx260(
55462
+ return /* @__PURE__ */ jsx263(
55209
55463
  WfoSummaryCard,
55210
55464
  {
55211
55465
  headerTitle: t("headerTitle"),
@@ -55221,34 +55475,34 @@ var WfoProductsSummaryCard = () => {
55221
55475
 
55222
55476
  // src/components/WfoTitleWithWebsocketBadge/WfoTitleWithWebsocketBadge.tsx
55223
55477
  import { EuiPageHeader as EuiPageHeader3 } from "@elastic/eui";
55224
- import { Fragment as Fragment62, jsx as jsx261, jsxs as jsxs140 } from "@emotion/react/jsx-runtime";
55478
+ import { Fragment as Fragment62, jsx as jsx264, jsxs as jsxs141 } from "@emotion/react/jsx-runtime";
55225
55479
  var WfoTitleWithWebsocketBadge = ({
55226
55480
  title
55227
55481
  }) => {
55228
55482
  const { useWebSockets } = useGetOrchestratorConfig();
55229
- const pageTitle = useWebSockets ? /* @__PURE__ */ jsxs140(Fragment62, { children: [
55483
+ const pageTitle = useWebSockets ? /* @__PURE__ */ jsxs141(Fragment62, { children: [
55230
55484
  title,
55231
55485
  " ",
55232
- /* @__PURE__ */ jsx261(WfoWebsocketStatusBadge, {})
55486
+ /* @__PURE__ */ jsx264(WfoWebsocketStatusBadge, {})
55233
55487
  ] }) : title;
55234
- return /* @__PURE__ */ jsx261(EuiPageHeader3, { pageTitle });
55488
+ return /* @__PURE__ */ jsx264(EuiPageHeader3, { pageTitle });
55235
55489
  };
55236
55490
 
55237
55491
  // src/components/WfoRadioDropdown/WfoRadioDropdown.tsx
55238
- import { useState as useState54 } from "react";
55492
+ import { useState as useState55 } from "react";
55239
55493
  import {
55240
55494
  EuiButtonEmpty as EuiButtonEmpty5,
55241
55495
  EuiFlexGroup as EuiFlexGroup32,
55242
55496
  EuiPopover as EuiPopover9,
55243
55497
  EuiRadioGroup as EuiRadioGroup2
55244
55498
  } from "@elastic/eui";
55245
- import { jsx as jsx262 } from "@emotion/react/jsx-runtime";
55499
+ import { jsx as jsx265 } from "@emotion/react/jsx-runtime";
55246
55500
  var WfoRadioDropdown = ({
55247
55501
  options,
55248
55502
  onUpdateOption,
55249
55503
  selectedOption
55250
55504
  }) => {
55251
- const [isOpen, setIsOpen] = useState54(false);
55505
+ const [isOpen, setIsOpen] = useState55(false);
55252
55506
  const handleClose = () => {
55253
55507
  if (isOpen) {
55254
55508
  setIsOpen(false);
@@ -55268,16 +55522,16 @@ var WfoRadioDropdown = ({
55268
55522
  id: option.id,
55269
55523
  label: option.label
55270
55524
  }));
55271
- return /* @__PURE__ */ jsx262(
55525
+ return /* @__PURE__ */ jsx265(
55272
55526
  EuiFlexGroup32,
55273
55527
  {
55274
55528
  gutterSize: "s",
55275
55529
  alignItems: "center",
55276
55530
  justifyContent: "flexEnd",
55277
- children: /* @__PURE__ */ jsx262(
55531
+ children: /* @__PURE__ */ jsx265(
55278
55532
  EuiPopover9,
55279
55533
  {
55280
- button: /* @__PURE__ */ jsx262(
55534
+ button: /* @__PURE__ */ jsx265(
55281
55535
  EuiButtonEmpty5,
55282
55536
  {
55283
55537
  size: "s",
@@ -55298,7 +55552,7 @@ var WfoRadioDropdown = ({
55298
55552
  isOpen,
55299
55553
  closePopover: handleClose,
55300
55554
  anchorPosition: "downLeft",
55301
- children: /* @__PURE__ */ jsx262(
55555
+ children: /* @__PURE__ */ jsx265(
55302
55556
  EuiRadioGroup2,
55303
55557
  {
55304
55558
  options: radioGroupOptions,
@@ -55372,7 +55626,7 @@ var {
55372
55626
  } = subscriptionListMutationApi;
55373
55627
 
55374
55628
  // src/components/WfoInlineNoteEdit/WfoSubscriptionNoteEdit.tsx
55375
- import { jsx as jsx263 } from "@emotion/react/jsx-runtime";
55629
+ import { jsx as jsx266 } from "@emotion/react/jsx-runtime";
55376
55630
  var WfoSubscriptionNoteEdit = ({
55377
55631
  onlyShowOnHover = false,
55378
55632
  queryVariables,
@@ -55398,7 +55652,7 @@ var WfoSubscriptionNoteEdit = ({
55398
55652
  note: note2
55399
55653
  });
55400
55654
  };
55401
- return /* @__PURE__ */ jsx263(
55655
+ return /* @__PURE__ */ jsx266(
55402
55656
  WfoInlineEdit,
55403
55657
  {
55404
55658
  value: note?.trim() ? note : INVISIBLE_CHARACTER,
@@ -55409,7 +55663,7 @@ var WfoSubscriptionNoteEdit = ({
55409
55663
  };
55410
55664
 
55411
55665
  // src/components/WfoInlineNoteEdit/WfoSubscriptionDetailNoteEdit.tsx
55412
- import { jsx as jsx264 } from "@emotion/react/jsx-runtime";
55666
+ import { jsx as jsx267 } from "@emotion/react/jsx-runtime";
55413
55667
  var WfoSubscriptionDetailNoteEdit = ({ subscriptionId, onlyShowOnHover = false }) => {
55414
55668
  const { data, endpointName } = useGetSubscriptionDetailQuery({
55415
55669
  subscriptionId
@@ -55432,7 +55686,7 @@ var WfoSubscriptionDetailNoteEdit = ({ subscriptionId, onlyShowOnHover = false }
55432
55686
  note
55433
55687
  });
55434
55688
  };
55435
- return /* @__PURE__ */ jsx264(
55689
+ return /* @__PURE__ */ jsx267(
55436
55690
  WfoInlineEdit,
55437
55691
  {
55438
55692
  value: selectedItem?.note?.trim() ? selectedItem.note : INVISIBLE_CHARACTER,
@@ -55446,9 +55700,9 @@ var WfoSubscriptionDetailNoteEdit = ({ subscriptionId, onlyShowOnHover = false }
55446
55700
  import { EuiFlexItem as EuiFlexItem39 } from "@elastic/eui";
55447
55701
 
55448
55702
  // src/components/WfoTableCodeBlock/styles.ts
55449
- import { css as css51 } from "@emotion/react";
55703
+ import { css as css52 } from "@emotion/react";
55450
55704
  var getStyles16 = ({ theme }) => {
55451
- const tableCodeBlockMarginStyle = css51({
55705
+ const tableCodeBlockMarginStyle = css52({
55452
55706
  margin: theme.size.base,
55453
55707
  marginTop: theme.size.l,
55454
55708
  marginRight: theme.size.l
@@ -55459,7 +55713,7 @@ var getStyles16 = ({ theme }) => {
55459
55713
  };
55460
55714
 
55461
55715
  // src/components/WfoTableCodeBlock/WfoTableCodeBlock.tsx
55462
- import { jsx as jsx265 } from "@emotion/react/jsx-runtime";
55716
+ import { jsx as jsx268 } from "@emotion/react/jsx-runtime";
55463
55717
  var WfoTableCodeBlock = ({
55464
55718
  stepState: data
55465
55719
  }) => {
@@ -55475,7 +55729,7 @@ var WfoTableCodeBlock = ({
55475
55729
  };
55476
55730
  }
55477
55731
  );
55478
- return /* @__PURE__ */ jsx265(EuiFlexItem39, { css: tableCodeBlockMarginStyle, children: /* @__PURE__ */ jsx265(
55732
+ return /* @__PURE__ */ jsx268(EuiFlexItem39, { css: tableCodeBlockMarginStyle, children: /* @__PURE__ */ jsx268(
55479
55733
  WfoKeyValueTable,
55480
55734
  {
55481
55735
  keyValues,
@@ -55646,7 +55900,8 @@ var en_GB_default = {
55646
55900
  invalidFiletype: "Invalid filetype!",
55647
55901
  errorUploading: "Error uploading file!",
55648
55902
  fileToBig: "File to large. Maximum file size: {fileSizeLimit}",
55649
- initialPromptText: "Select or drag and drop a file"
55903
+ initialPromptText: "Select or drag and drop a file",
55904
+ supportedFileTypes: "Supported file types: pdf"
55650
55905
  }
55651
55906
  }
55652
55907
  },
@@ -56110,7 +56365,8 @@ var nl_NL_default = {
56110
56365
  invalidFiletype: "Ongeldig bestandstype!",
56111
56366
  errorUploading: "Fout bij het upoaden van het bestand!",
56112
56367
  fileToBig: "Bestand te groot. Maximum bestand: {fileSizeLimit}",
56113
- initialPromptText: "Selecteer een bestand of sleep het hierheen"
56368
+ initialPromptText: "Selecteer een bestand of sleep het hierheen",
56369
+ supportedFileTypes: "Ondersteunde bestandstypen: pdf"
56114
56370
  }
56115
56371
  }
56116
56372
  },
@@ -56627,6 +56883,7 @@ export {
56627
56883
  WfoDataCell,
56628
56884
  WfoDateTime,
56629
56885
  WfoDivider,
56886
+ WfoDropdown,
56630
56887
  WfoDropdownButton,
56631
56888
  WfoEngineStatus,
56632
56889
  WfoEngineStatusBadge,
@@ -56671,6 +56928,7 @@ export {
56671
56928
  WfoMinusCircleFill,
56672
56929
  WfoMinusCircleOutline,
56673
56930
  WfoModifySettings,
56931
+ WfoMultiCheckboxField,
56674
56932
  WfoMultilineCell,
56675
56933
  WfoMyWorkflowsSummaryCard,
56676
56934
  WfoNoResults,
@@ -56705,6 +56963,7 @@ export {
56705
56963
  WfoQueryParams,
56706
56964
  WfoRadio,
56707
56965
  WfoRadioDropdown,
56966
+ WfoReactSelect,
56708
56967
  WfoRefresh,
56709
56968
  WfoRelatedSubscriptions,
56710
56969
  WfoRenderElementOrString,
@@ -56858,6 +57117,7 @@ export {
56858
57117
  getWfoArrayFieldStyles,
56859
57118
  getWfoGroupedTableStyles,
56860
57119
  getWfoObjectFieldStyles,
57120
+ getWfoReactSelectStyles,
56861
57121
  getWfoTableStyles,
56862
57122
  getWorkflowStepsStyles,
56863
57123
  getWorkflowTargetColor,
@@ -57010,6 +57270,7 @@ export {
57010
57270
  useUpdateProductMutation,
57011
57271
  useUpdateResourceTypeMutation,
57012
57272
  useUpdateWorkflowMutation,
57273
+ useUploadFileMutation,
57013
57274
  useVlansByServicePortQuery,
57014
57275
  useWfoErrorMonitoring,
57015
57276
  useWfoPydanticFormConfig,