@orchestrator-ui/orchestrator-ui-components 4.0.1 → 4.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -26798,7 +26798,7 @@ var PolicyResource = /* @__PURE__ */ ((PolicyResource2) => {
26798
26798
  })(PolicyResource || {});
26799
26799
 
26800
26800
  // src/configuration/version.ts
26801
- var ORCHESTRATOR_UI_LIBRARY_VERSION = "4.0.1";
26801
+ var ORCHESTRATOR_UI_LIBRARY_VERSION = "4.1.0";
26802
26802
 
26803
26803
  // src/types/types.ts
26804
26804
  var EngineStatus = /* @__PURE__ */ ((EngineStatus3) => {
@@ -33445,22 +33445,32 @@ var getOrchestratorConfigSlice = (config) => {
33445
33445
  };
33446
33446
  var selectOrchestratorConfig = (state) => state.orchestratorConfig;
33447
33447
 
33448
+ // src/rtk/slices/pydanticForm.ts
33449
+ var getPydanticFormSlice = (pydanticForm) => createSlice({
33450
+ name: "pydanticForm",
33451
+ initialState: pydanticForm,
33452
+ reducers: {}
33453
+ });
33454
+
33448
33455
  // src/rtk/store.ts
33449
33456
  var getOrchestratorStore = ({
33450
33457
  orchestratorConfig,
33451
33458
  orchestratorComponentOverride = {},
33459
+ pydanticForm = {},
33452
33460
  customApis
33453
33461
  }) => {
33454
33462
  const configSlice = getOrchestratorConfigSlice(orchestratorConfig);
33455
33463
  const orchestratorComponentOverrideSlice = getOrchestratorComponentOverrideSlice(orchestratorComponentOverride);
33456
33464
  const customApisSlice = getCustomApiSlice(customApis);
33465
+ const componentMatcherSlice = getPydanticFormSlice(pydanticForm);
33457
33466
  const orchestratorStore = configureStore({
33458
33467
  reducer: {
33459
33468
  [orchestratorApi.reducerPath]: orchestratorApi.reducer,
33460
33469
  toastMessages: toastMessagesReducer,
33461
33470
  orchestratorConfig: configSlice.reducer,
33462
33471
  orchestratorComponentOverride: orchestratorComponentOverrideSlice.reducer,
33463
- customApis: customApisSlice?.reducer
33472
+ customApis: customApisSlice?.reducer,
33473
+ pydanticForm: componentMatcherSlice?.reducer
33464
33474
  },
33465
33475
  middleware: (getDefaultMiddleware) => getDefaultMiddleware({
33466
33476
  serializableCheck: false
@@ -33781,12 +33791,16 @@ import { jsx as jsx8 } from "@emotion/react/jsx-runtime";
33781
33791
  var StoreProvider = ({
33782
33792
  initialOrchestratorConfig,
33783
33793
  orchestratorComponentOverride,
33794
+ componentMatcher,
33784
33795
  customApis = [],
33785
33796
  children
33786
33797
  }) => {
33787
33798
  const store = getOrchestratorStore({
33788
33799
  orchestratorConfig: initialOrchestratorConfig ?? emptyOrchestratorConfig,
33789
33800
  orchestratorComponentOverride,
33801
+ pydanticForm: {
33802
+ componentMatcher: componentMatcher || void 0
33803
+ },
33790
33804
  customApis
33791
33805
  });
33792
33806
  const [orchestratorStore] = useState6(store);
@@ -48394,7 +48408,7 @@ var WfoDropdownButton = ({
48394
48408
  };
48395
48409
 
48396
48410
  // src/components/WfoProcessList/WfoProcessesList.tsx
48397
- import { useTranslations as useTranslations73 } from "next-intl";
48411
+ import { useTranslations as useTranslations74 } from "next-intl";
48398
48412
  import Link12 from "next/link";
48399
48413
  import { useRouter as useRouter14 } from "next/router";
48400
48414
 
@@ -50047,7 +50061,7 @@ var WfoProcessDetailPage = ({
50047
50061
 
50048
50062
  // src/pages/processes/WfoStartProcessPage.tsx
50049
50063
  import { useCallback as useCallback7, useEffect as useEffect29, useMemo as useMemo5, useState as useState47 } from "react";
50050
- import { useTranslations as useTranslations66 } from "next-intl";
50064
+ import { useTranslations as useTranslations67 } from "next-intl";
50051
50065
  import { useRouter as useRouter10 } from "next/router";
50052
50066
  import {
50053
50067
  EuiFlexGroup as EuiFlexGroup24,
@@ -50058,10 +50072,10 @@ import {
50058
50072
  } from "@elastic/eui";
50059
50073
 
50060
50074
  // src/components/WfoPydanticForm/WfoPydanticForm.tsx
50061
- import { useMessages } from "next-intl";
50075
+ import { useMessages, useTranslations as useTranslations61 } from "next-intl";
50062
50076
  import { useRouter as useRouter9 } from "next/router";
50063
50077
  import {
50064
- PydanticForm,
50078
+ PydanticForm as PydanticForm2,
50065
50079
  PydanticFormFieldFormat,
50066
50080
  PydanticFormFieldType
50067
50081
  } from "pydantic-forms";
@@ -50073,7 +50087,7 @@ import { EuiButton as EuiButton11, EuiHorizontalRule as EuiHorizontalRule6 } fro
50073
50087
  import { jsx as jsx200, jsxs as jsxs106 } from "@emotion/react/jsx-runtime";
50074
50088
  var Footer = () => {
50075
50089
  const { theme } = useOrchestratorTheme();
50076
- const t = useTranslations60("pydanticForms.userInputForm");
50090
+ const t = useTranslations60();
50077
50091
  const { rhf, onCancel, allowUntouchedSubmit, isLoading } = usePydanticFormContext();
50078
50092
  const isDisabled = !rhf.formState.isValid || !allowUntouchedSubmit && !rhf.formState.isDirty && !rhf.formState.isSubmitting;
50079
50093
  return /* @__PURE__ */ jsxs106("div", { children: [
@@ -50174,6 +50188,10 @@ var WfoPydanticForm = ({
50174
50188
  }) => {
50175
50189
  const [startProcess] = useStartProcessMutation();
50176
50190
  const router = useRouter9();
50191
+ const t = useTranslations61("pydanticForms.userInputForm");
50192
+ const componentMatcher = useAppSelector(
50193
+ (state) => state.pydanticForm?.componentMatcher
50194
+ );
50177
50195
  const translationMessages = useMessages();
50178
50196
  const formTranslations = translationMessages?.pydanticForms && typeof translationMessages?.pydanticForms !== "string" ? translationMessages.pydanticForms.backendTranslations : {};
50179
50197
  const onSuccess = (_fieldValues, req) => {
@@ -50221,8 +50239,18 @@ var WfoPydanticForm = ({
50221
50239
  };
50222
50240
  return pydanticFormProvider;
50223
50241
  };
50224
- const componentMatcher = (currentMatchers) => {
50225
- return [
50242
+ const pydanticLabelProvider = async () => {
50243
+ return new Promise((resolve) => {
50244
+ resolve({
50245
+ labels: {
50246
+ ...formTranslations
50247
+ },
50248
+ data: {}
50249
+ });
50250
+ });
50251
+ };
50252
+ const wfoComponentMatcher = (currentMatchers) => {
50253
+ const wfoMatchers = [
50226
50254
  {
50227
50255
  id: "textarea",
50228
50256
  ElementMatch: {
@@ -50235,19 +50263,10 @@ var WfoPydanticForm = ({
50235
50263
  },
50236
50264
  ...currentMatchers
50237
50265
  ];
50238
- };
50239
- const pydanticLabelProvider = async () => {
50240
- return new Promise((resolve) => {
50241
- resolve({
50242
- labels: {
50243
- ...formTranslations
50244
- },
50245
- data: {}
50246
- });
50247
- });
50266
+ return componentMatcher ? componentMatcher(wfoMatchers) : wfoMatchers;
50248
50267
  };
50249
50268
  return /* @__PURE__ */ jsx203(
50250
- PydanticForm,
50269
+ PydanticForm2,
50251
50270
  {
50252
50271
  title: "",
50253
50272
  id: processName,
@@ -50258,9 +50277,13 @@ var WfoPydanticForm = ({
50258
50277
  allowUntouchedSubmit: true,
50259
50278
  footerRenderer: Footer,
50260
50279
  skipSuccessNotice: true,
50261
- componentMatcher,
50280
+ componentMatcher: wfoComponentMatcher,
50262
50281
  labelProvider: pydanticLabelProvider,
50263
- rowRenderer: Row
50282
+ rowRenderer: Row,
50283
+ customTranslations: {
50284
+ cancel: t("cancel"),
50285
+ startWorkflow: t("startWorkflow")
50286
+ }
50264
50287
  }
50265
50288
  }
50266
50289
  );
@@ -50268,7 +50291,7 @@ var WfoPydanticForm = ({
50268
50291
 
50269
50292
  // src/components/WfoWorkflowSteps/WfoStep/WfoStep.tsx
50270
50293
  import React65, { useState as useState43 } from "react";
50271
- import { useTranslations as useTranslations61 } from "next-intl";
50294
+ import { useTranslations as useTranslations62 } from "next-intl";
50272
50295
  import {
50273
50296
  EuiButton as EuiButton12,
50274
50297
  EuiFlexGroup as EuiFlexGroup21,
@@ -50575,7 +50598,7 @@ var WfoStep = React65.forwardRef(
50575
50598
  stepRowStyle,
50576
50599
  getStepToggleExpandStyle
50577
50600
  } = useWithOrchestratorTheme(getWorkflowStepsStyles);
50578
- const t = useTranslations61("processes.steps");
50601
+ const t = useTranslations62("processes.steps");
50579
50602
  const hasHtmlMail = Object.prototype.hasOwnProperty.call(
50580
50603
  step?.stateDelta || {},
50581
50604
  "confirmation_mail"
@@ -50797,14 +50820,14 @@ WfoStepList.displayName = "WfoStepList";
50797
50820
 
50798
50821
  // src/components/WfoWorkflowSteps/WfoWorkflowStepList/WfoWorkflowStepList.tsx
50799
50822
  import React68, { useEffect as useEffect28, useState as useState45 } from "react";
50800
- import { useTranslations as useTranslations64 } from "next-intl";
50823
+ import { useTranslations as useTranslations65 } from "next-intl";
50801
50824
 
50802
50825
  // src/components/WfoDiff/WfoDiff.tsx
50803
50826
  var refractor = __toESM(require_refractor(), 1);
50804
50827
  import { useCallback as useCallback6, useEffect as useEffect27, useMemo as useMemo4, useState as useState44 } from "react";
50805
50828
  import { Diff, Hunk, parseDiff, tokenize } from "react-diff-view";
50806
50829
  import "react-diff-view/style/index.css";
50807
- import { useTranslations as useTranslations62 } from "next-intl";
50830
+ import { useTranslations as useTranslations63 } from "next-intl";
50808
50831
  import "prism-themes/themes/prism-ghcolors.min.css";
50809
50832
  import { diffLines, formatLines } from "unidiff";
50810
50833
  import {
@@ -50857,7 +50880,7 @@ var EMPTY_HUNKS = [];
50857
50880
  var SMALL_CONTEXT = 3;
50858
50881
  var FULL_CONTEXT = 1e6;
50859
50882
  var WfoDiff = ({ oldText, newText, syntax }) => {
50860
- const t = useTranslations62("processes.delta");
50883
+ const t = useTranslations63("processes.delta");
50861
50884
  const [showSplit, setShowSplit] = useState44(true);
50862
50885
  const [showFull, setShowFull] = useState44(false);
50863
50886
  const { diffStyle } = useWithOrchestratorTheme(getWfoDiffStyles);
@@ -50933,7 +50956,7 @@ var WfoDiff = ({ oldText, newText, syntax }) => {
50933
50956
  var WfoDiff_default = WfoDiff;
50934
50957
 
50935
50958
  // src/components/WfoWorkflowSteps/WfoTraceback/WfoTraceback.tsx
50936
- import { useTranslations as useTranslations63 } from "next-intl";
50959
+ import { useTranslations as useTranslations64 } from "next-intl";
50937
50960
  import { EuiCodeBlock, EuiText as EuiText37 } from "@elastic/eui";
50938
50961
 
50939
50962
  // src/components/WfoWorkflowSteps/WfoTraceback/styles.ts
@@ -50953,7 +50976,7 @@ var getStyles13 = ({ theme }) => {
50953
50976
  import { Fragment as Fragment50, jsx as jsx209, jsxs as jsxs111 } from "@emotion/react/jsx-runtime";
50954
50977
  var WfoTraceback = ({ children }) => {
50955
50978
  const { codeBlockStyle } = useWithOrchestratorTheme(getStyles13);
50956
- const t = useTranslations63("processes.steps");
50979
+ const t = useTranslations64("processes.steps");
50957
50980
  return /* @__PURE__ */ jsxs111(Fragment50, { children: [
50958
50981
  /* @__PURE__ */ jsx209(EuiText37, { children: /* @__PURE__ */ jsx209("h3", { children: t("traceback") }) }),
50959
50982
  /* @__PURE__ */ jsx209(EuiCodeBlock, { css: codeBlockStyle, children })
@@ -50998,7 +51021,7 @@ var WfoWorkflowStepList = React68.forwardRef(
50998
51021
  const [showRaw, setShowRaw] = useState45(false);
50999
51022
  const [showDelta, setShowDelta] = useState45(false);
51000
51023
  const [showTraceback, setShowTraceback] = useState45(false);
51001
- const t = useTranslations64("processes.steps");
51024
+ const t = useTranslations65("processes.steps");
51002
51025
  const initialStepListItems = steps.map((step) => ({
51003
51026
  step,
51004
51027
  isExpanded: false
@@ -51100,7 +51123,7 @@ WfoWorkflowStepList.displayName = "WfoWorkflowStepList";
51100
51123
 
51101
51124
  // src/components/WfoWorkflowSteps/WfoWorkflowStepList/WfoStepListHeader.tsx
51102
51125
  import { useState as useState46 } from "react";
51103
- import { useTranslations as useTranslations65 } from "next-intl";
51126
+ import { useTranslations as useTranslations66 } from "next-intl";
51104
51127
  import {
51105
51128
  EuiButton as EuiButton13,
51106
51129
  EuiFlexGroup as EuiFlexGroup23,
@@ -51154,7 +51177,7 @@ var WfoStepListHeader = ({
51154
51177
  onShowTraceback,
51155
51178
  onToggleAllDetailsIsOpen
51156
51179
  }) => {
51157
- const t = useTranslations65("processes.steps");
51180
+ const t = useTranslations66("processes.steps");
51158
51181
  const { theme } = useOrchestratorTheme();
51159
51182
  const {
51160
51183
  stepListHeaderStyle,
@@ -51280,7 +51303,7 @@ var WfoStartProcessPage = ({
51280
51303
  processName,
51281
51304
  isTask = false
51282
51305
  }) => {
51283
- const t = useTranslations66("processes.steps");
51306
+ const t = useTranslations67("processes.steps");
51284
51307
  const router = useRouter10();
51285
51308
  const [hasError, setHasError] = useState47(false);
51286
51309
  const { theme } = useOrchestratorTheme();
@@ -51440,7 +51463,7 @@ var WfoStartProcessPage = ({
51440
51463
  };
51441
51464
 
51442
51465
  // src/pages/processes/WfoProductInformationWithLink.tsx
51443
- import { useTranslations as useTranslations67 } from "next-intl";
51466
+ import { useTranslations as useTranslations68 } from "next-intl";
51444
51467
  import { EuiButtonIcon as EuiButtonIcon12, EuiFlexGroup as EuiFlexGroup25, EuiText as EuiText41, EuiToolTip as EuiToolTip8 } from "@elastic/eui";
51445
51468
  import { jsx as jsx214, jsxs as jsxs115 } from "@emotion/react/jsx-runtime";
51446
51469
  var WfoProductInformationWithLink = ({
@@ -51448,7 +51471,7 @@ var WfoProductInformationWithLink = ({
51448
51471
  productNames
51449
51472
  }) => {
51450
51473
  const { workflowInformationLinkUrl, showWorkflowInformationLink } = useGetOrchestratorConfig();
51451
- const t = useTranslations67("processes.detail");
51474
+ const t = useTranslations68("processes.detail");
51452
51475
  const docsUrl = workflowInformationLinkUrl + workflowName;
51453
51476
  return /* @__PURE__ */ jsxs115(EuiFlexGroup25, { gutterSize: "s", alignItems: "center", children: [
51454
51477
  showWorkflowInformationLink && /* @__PURE__ */ jsx214(EuiToolTip8, { content: t("openWorkflowTaskInfo"), children: /* @__PURE__ */ jsx214("a", { href: docsUrl, target: "_blank", children: /* @__PURE__ */ jsx214(
@@ -51464,12 +51487,12 @@ var WfoProductInformationWithLink = ({
51464
51487
  };
51465
51488
 
51466
51489
  // src/pages/settings/WfoSettingsPage.tsx
51467
- import { useTranslations as useTranslations68 } from "next-intl";
51490
+ import { useTranslations as useTranslations69 } from "next-intl";
51468
51491
  import { EuiHorizontalRule as EuiHorizontalRule8, EuiSpacer as EuiSpacer20 } from "@elastic/eui";
51469
51492
  import { Fragment as Fragment52, jsx as jsx215, jsxs as jsxs116 } from "@emotion/react/jsx-runtime";
51470
51493
  var WfoSettingsPage = () => {
51471
51494
  const { theme } = useOrchestratorTheme();
51472
- const t = useTranslations68("main");
51495
+ const t = useTranslations69("main");
51473
51496
  return /* @__PURE__ */ jsxs116(Fragment52, { children: [
51474
51497
  /* @__PURE__ */ jsx215(
51475
51498
  WfoContentHeader,
@@ -51491,7 +51514,7 @@ var WfoSettingsPage = () => {
51491
51514
  };
51492
51515
 
51493
51516
  // src/pages/startPage/WfoStartPage.tsx
51494
- import { useTranslations as useTranslations69 } from "next-intl";
51517
+ import { useTranslations as useTranslations70 } from "next-intl";
51495
51518
  import { EuiPageHeader as EuiPageHeader2 } from "@elastic/eui";
51496
51519
 
51497
51520
  // src/pages/startPage/useStartPageSummaryCardConfigurationOverride.ts
@@ -51507,7 +51530,7 @@ var useStartPageSummaryCardConfigurationOverride = () => {
51507
51530
  // src/pages/startPage/WfoStartPage.tsx
51508
51531
  import { Fragment as Fragment53, jsx as jsx216, jsxs as jsxs117 } from "@emotion/react/jsx-runtime";
51509
51532
  var WfoStartPage = () => {
51510
- const t = useTranslations69("main");
51533
+ const t = useTranslations70("main");
51511
51534
  const { overrideSummaryCards } = useStartPageSummaryCardConfigurationOverride();
51512
51535
  const { isAllowed } = usePolicy();
51513
51536
  const { session } = useWfoSession();
@@ -51561,12 +51584,12 @@ var WfoSubscriptionDetailPage = () => {
51561
51584
 
51562
51585
  // src/pages/subscriptions/WfoSubscriptionsListPage.tsx
51563
51586
  import { useEffect as useEffect30, useState as useState48 } from "react";
51564
- import { useTranslations as useTranslations70 } from "next-intl";
51587
+ import { useTranslations as useTranslations71 } from "next-intl";
51565
51588
  import { StringParam as StringParam3, useQueryParam as useQueryParam2, withDefault as withDefault3 } from "use-query-params";
51566
51589
  import { EuiSpacer as EuiSpacer21 } from "@elastic/eui";
51567
51590
  import { Fragment as Fragment55, jsx as jsx218, jsxs as jsxs118 } from "@emotion/react/jsx-runtime";
51568
51591
  var WfoSubscriptionsListPage = () => {
51569
- const t = useTranslations70("subscriptions.detail");
51592
+ const t = useTranslations71("subscriptions.detail");
51570
51593
  const [tableDefaults, setTableDefaults] = useState48();
51571
51594
  const getStoredTableConfig = useStoredTableConfig(
51572
51595
  SUBSCRIPTIONS_TABLE_LOCAL_STORAGE_KEY
@@ -51633,7 +51656,7 @@ var WfoSubscriptionsListPage = () => {
51633
51656
 
51634
51657
  // src/pages/tasks/WfoTasksListPage.tsx
51635
51658
  import { useContext as useContext11, useEffect as useEffect31, useState as useState49 } from "react";
51636
- import { useTranslations as useTranslations71 } from "next-intl";
51659
+ import { useTranslations as useTranslations72 } from "next-intl";
51637
51660
  import Link11 from "next/link";
51638
51661
  import { useRouter as useRouter12 } from "next/router";
51639
51662
  import { StringParam as StringParam4, useQueryParam as useQueryParam3, withDefault as withDefault4 } from "use-query-params";
@@ -51705,7 +51728,7 @@ var getTasksListTabTypeFromString = (tabId) => {
51705
51728
  import { Fragment as Fragment56, jsx as jsx219, jsxs as jsxs119 } from "@emotion/react/jsx-runtime";
51706
51729
  var WfoTasksListPage = () => {
51707
51730
  const router = useRouter12();
51708
- const t = useTranslations71("tasks.page");
51731
+ const t = useTranslations72("tasks.page");
51709
51732
  const [activeTab, setActiveTab] = useQueryParam3(
51710
51733
  "activeTab",
51711
51734
  withDefault4(StringParam4, "ACTIVE" /* ACTIVE */)
@@ -51820,7 +51843,7 @@ var WfoTasksListPage = () => {
51820
51843
 
51821
51844
  // src/pages/workflows/WfoWorkflowsListPage.tsx
51822
51845
  import { useEffect as useEffect32, useState as useState50 } from "react";
51823
- import { useTranslations as useTranslations72 } from "next-intl";
51846
+ import { useTranslations as useTranslations73 } from "next-intl";
51824
51847
  import { useRouter as useRouter13 } from "next/router";
51825
51848
  import { StringParam as StringParam5, useQueryParam as useQueryParam4, withDefault as withDefault5 } from "use-query-params";
51826
51849
  import { EuiSpacer as EuiSpacer23 } from "@elastic/eui";
@@ -51891,7 +51914,7 @@ var getWorkflowsListTabTypeFromString = (tabId) => {
51891
51914
  import { Fragment as Fragment57, jsx as jsx220, jsxs as jsxs120 } from "@emotion/react/jsx-runtime";
51892
51915
  var WfoWorkflowsListPage = () => {
51893
51916
  const router = useRouter13();
51894
- const t = useTranslations72("workflows.index");
51917
+ const t = useTranslations73("workflows.index");
51895
51918
  const [activeTab, setActiveTab] = useQueryParam4(
51896
51919
  "activeTab",
51897
51920
  withDefault5(StringParam5, "ACTIVE" /* ACTIVE */)
@@ -52062,8 +52085,8 @@ var WfoProcessesList = ({
52062
52085
  overrideDefaultTableColumns,
52063
52086
  setDataDisplayParam
52064
52087
  }) => {
52065
- const t = useTranslations73("processes.index");
52066
- const tError = useTranslations73("errors");
52088
+ const t = useTranslations74("processes.index");
52089
+ const tError = useTranslations74("errors");
52067
52090
  const { showToastMessage } = useShowToastMessage();
52068
52091
  const router = useRouter14();
52069
52092
  const defaultTableColumns = {
@@ -52283,7 +52306,7 @@ var WfoJsonCodeBlock = ({
52283
52306
 
52284
52307
  // src/components/WfoSettings/WfoFlushSettings.tsx
52285
52308
  import { useState as useState51 } from "react";
52286
- import { useTranslations as useTranslations74 } from "next-intl";
52309
+ import { useTranslations as useTranslations75 } from "next-intl";
52287
52310
  import {
52288
52311
  EuiButton as EuiButton15,
52289
52312
  EuiComboBox,
@@ -52323,7 +52346,7 @@ var WfoFlushSettings = () => {
52323
52346
  getWfoFlushSettingsStyle
52324
52347
  );
52325
52348
  const [clearCache] = useClearCacheMutation();
52326
- const t = useTranslations74("settings.page");
52349
+ const t = useTranslations75("settings.page");
52327
52350
  const [selectedOptions, setSelected] = useState51(
52328
52351
  []
52329
52352
  );
@@ -52377,14 +52400,14 @@ var WfoFlushSettings = () => {
52377
52400
  };
52378
52401
 
52379
52402
  // src/components/WfoSettings/WfoEngineStatusButton.tsx
52380
- import { useTranslations as useTranslations75 } from "next-intl";
52403
+ import { useTranslations as useTranslations76 } from "next-intl";
52381
52404
  import { EuiButton as EuiButton16 } from "@elastic/eui";
52382
52405
  import { jsx as jsx224 } from "@emotion/react/jsx-runtime";
52383
52406
  var WfoEngineStatusButton = () => {
52384
52407
  const { data, isLoading } = useGetEngineStatusQuery();
52385
52408
  const { engineStatus } = data || {};
52386
52409
  const [setEngineStatus, { isLoading: isSettingEngineStatus }] = useSetEngineStatusMutation();
52387
- const t = useTranslations75("settings.page");
52410
+ const t = useTranslations76("settings.page");
52388
52411
  if (isLoading || isSettingEngineStatus) {
52389
52412
  return /* @__PURE__ */ jsx224(EuiButton16, { isLoading: true, fill: true, children: "Loading..." });
52390
52413
  }
@@ -52410,11 +52433,11 @@ var WfoEngineStatusButton = () => {
52410
52433
  };
52411
52434
 
52412
52435
  // src/components/WfoSettings/WfoModifySettings.tsx
52413
- import { useTranslations as useTranslations76 } from "next-intl";
52436
+ import { useTranslations as useTranslations77 } from "next-intl";
52414
52437
  import { EuiFlexItem as EuiFlexItem29, EuiPanel as EuiPanel7, EuiSpacer as EuiSpacer25, EuiText as EuiText43 } from "@elastic/eui";
52415
52438
  import { jsx as jsx225, jsxs as jsxs123 } from "@emotion/react/jsx-runtime";
52416
52439
  var WfoModifySettings = () => {
52417
- const t = useTranslations76("settings.page");
52440
+ const t = useTranslations77("settings.page");
52418
52441
  return /* @__PURE__ */ jsxs123(EuiFlexItem29, { children: [
52419
52442
  /* @__PURE__ */ jsxs123(EuiPanel7, { hasShadow: false, color: "subdued", paddingSize: "l", children: [
52420
52443
  /* @__PURE__ */ jsx225(EuiText43, { size: "s", children: /* @__PURE__ */ jsx225("h4", { children: t("resetTextSearchIndex") }) }),
@@ -52439,7 +52462,7 @@ var WfoModifySettings = () => {
52439
52462
  };
52440
52463
 
52441
52464
  // src/components/WfoSettings/WfoEngineStatus.tsx
52442
- import { useTranslations as useTranslations77 } from "next-intl";
52465
+ import { useTranslations as useTranslations78 } from "next-intl";
52443
52466
  import { EuiFlexGroup as EuiFlexGroup26, EuiFlexItem as EuiFlexItem30, EuiPanel as EuiPanel8, EuiText as EuiText44 } from "@elastic/eui";
52444
52467
  import { jsx as jsx226, jsxs as jsxs124 } from "@emotion/react/jsx-runtime";
52445
52468
  var WfoEngineStatus = () => {
@@ -52447,7 +52470,7 @@ var WfoEngineStatus = () => {
52447
52470
  const { data } = useGetEngineStatusQuery();
52448
52471
  const { engineStatus, runningProcesses } = data || {};
52449
52472
  const isRunning = engineStatus === "RUNNING" /* RUNNING */;
52450
- const t = useTranslations77("settings.page");
52473
+ const t = useTranslations78("settings.page");
52451
52474
  return /* @__PURE__ */ jsx226(EuiPanel8, { hasShadow: false, color: "subdued", paddingSize: "l", children: /* @__PURE__ */ jsxs124(EuiFlexGroup26, { direction: "column", gutterSize: "s", children: [
52452
52475
  /* @__PURE__ */ jsx226(EuiFlexItem30, { children: /* @__PURE__ */ jsx226(EuiText44, { size: "s", children: /* @__PURE__ */ jsx226("h4", { children: t("engineStatusTitle") }) }) }),
52453
52476
  /* @__PURE__ */ jsxs124(EuiFlexItem30, { css: { flexDirection: "row" }, children: [
@@ -52468,7 +52491,7 @@ var WfoEngineStatus = () => {
52468
52491
  };
52469
52492
 
52470
52493
  // src/components/WfoSettings/WfoWorkerStatus.tsx
52471
- import { useTranslations as useTranslations78 } from "next-intl";
52494
+ import { useTranslations as useTranslations79 } from "next-intl";
52472
52495
  import { EuiFlexGroup as EuiFlexGroup27, EuiFlexItem as EuiFlexItem31, EuiPanel as EuiPanel9, EuiText as EuiText45 } from "@elastic/eui";
52473
52496
  import { jsx as jsx227, jsxs as jsxs125 } from "@emotion/react/jsx-runtime";
52474
52497
  var WfoWorkerStatus = () => {
@@ -52479,7 +52502,7 @@ var WfoWorkerStatus = () => {
52479
52502
  numberOfRunningJobs,
52480
52503
  numberOfWorkersOnline
52481
52504
  } = data || {};
52482
- const t = useTranslations78("settings.page");
52505
+ const t = useTranslations79("settings.page");
52483
52506
  return executorType?.toUpperCase() === "CELERY" /* CELERY */ && /* @__PURE__ */ jsx227(EuiPanel9, { hasShadow: false, color: "subdued", paddingSize: "l", children: /* @__PURE__ */ jsxs125(EuiFlexGroup27, { direction: "column", gutterSize: "s", children: [
52484
52507
  /* @__PURE__ */ jsx227(EuiFlexItem31, { children: /* @__PURE__ */ jsx227(EuiText45, { size: "s", children: /* @__PURE__ */ jsx227("h4", { children: t("workerStatusTitle") }) }) }),
52485
52508
  /* @__PURE__ */ jsxs125(EuiFlexItem31, { css: { flexDirection: "row" }, children: [
@@ -52498,12 +52521,12 @@ var WfoWorkerStatus = () => {
52498
52521
  };
52499
52522
 
52500
52523
  // src/components/WfoSettings/WfoResetTextSearchIndexButton.tsx
52501
- import { useTranslations as useTranslations79 } from "next-intl";
52524
+ import { useTranslations as useTranslations80 } from "next-intl";
52502
52525
  import { EuiButton as EuiButton17 } from "@elastic/eui";
52503
52526
  import { jsx as jsx228 } from "@emotion/react/jsx-runtime";
52504
52527
  var WfoResetTextSearchIndexButton = () => {
52505
52528
  const [resetTextSearchIndex] = useResetTextSearchIndexMutation();
52506
- const t = useTranslations79("settings.page");
52529
+ const t = useTranslations80("settings.page");
52507
52530
  return /* @__PURE__ */ jsx228(
52508
52531
  EuiButton17,
52509
52532
  {
@@ -52591,12 +52614,12 @@ var WfoRenderElementOrString = ({
52591
52614
  };
52592
52615
 
52593
52616
  // src/components/WfoStartButton/WfoStartTaskComboBox.tsx
52594
- import { useTranslations as useTranslations80 } from "next-intl";
52617
+ import { useTranslations as useTranslations81 } from "next-intl";
52595
52618
  import { useRouter as useRouter15 } from "next/router";
52596
52619
  import { jsx as jsx231 } from "@emotion/react/jsx-runtime";
52597
52620
  var WfoStartTaskButtonComboBox = () => {
52598
52621
  const router = useRouter15();
52599
- const t = useTranslations80("common");
52622
+ const t = useTranslations81("common");
52600
52623
  const { isEngineRunningNow } = useCheckEngineStatus();
52601
52624
  const { data } = useGetTaskOptionsQuery();
52602
52625
  const taskOptions = data?.startOptions || [];
@@ -52705,7 +52728,7 @@ var subscriptionListTabs = [
52705
52728
  ];
52706
52729
 
52707
52730
  // src/components/WfoSubscriptionsList/WfoSubscriptionsList.tsx
52708
- import { useTranslations as useTranslations81 } from "next-intl";
52731
+ import { useTranslations as useTranslations82 } from "next-intl";
52709
52732
  import Link13 from "next/link";
52710
52733
  import { useRouter as useRouter16 } from "next/router";
52711
52734
 
@@ -52821,8 +52844,8 @@ var WfoSubscriptionsList = ({
52821
52844
  hiddenColumns
52822
52845
  }) => {
52823
52846
  const router = useRouter16();
52824
- const t = useTranslations81("subscriptions.index");
52825
- const tError = useTranslations81("errors");
52847
+ const t = useTranslations82("subscriptions.index");
52848
+ const tError = useTranslations82("errors");
52826
52849
  const { showToastMessage } = useShowToastMessage();
52827
52850
  const tableColumnConfig = {
52828
52851
  subscriptionId: {
@@ -53361,7 +53384,7 @@ var WfoSummaryCard = ({
53361
53384
  };
53362
53385
 
53363
53386
  // src/components/WfoSummary/WfoActiveWorkflowsSummaryCard.tsx
53364
- import { useTranslations as useTranslations82 } from "next-intl";
53387
+ import { useTranslations as useTranslations83 } from "next-intl";
53365
53388
 
53366
53389
  // src/pages/startPage/queryVariables.ts
53367
53390
  var baseQueryVariables = {
@@ -53460,7 +53483,7 @@ var productsSummaryQueryVariables = {
53460
53483
  // src/components/WfoSummary/WfoActiveWorkflowsSummaryCard.tsx
53461
53484
  import { jsx as jsx240 } from "@emotion/react/jsx-runtime";
53462
53485
  var WfoActiveWorkflowsSummaryCard = () => {
53463
- const t = useTranslations82("startPage.activeWorkflows");
53486
+ const t = useTranslations83("startPage.activeWorkflows");
53464
53487
  const {
53465
53488
  data: activeWorkflowsSummaryResponse,
53466
53489
  isFetching,
@@ -53485,10 +53508,10 @@ var WfoActiveWorkflowsSummaryCard = () => {
53485
53508
  };
53486
53509
 
53487
53510
  // src/components/WfoSummary/WfoFailedTasksSummaryCard.tsx
53488
- import { useTranslations as useTranslations83 } from "next-intl";
53511
+ import { useTranslations as useTranslations84 } from "next-intl";
53489
53512
  import { jsx as jsx241 } from "@emotion/react/jsx-runtime";
53490
53513
  var WfoFailedTasksSummaryCard = () => {
53491
- const t = useTranslations83("startPage.failedTasks");
53514
+ const t = useTranslations84("startPage.failedTasks");
53492
53515
  const {
53493
53516
  data: failedTasksSummaryResponse,
53494
53517
  isFetching,
@@ -53513,10 +53536,10 @@ var WfoFailedTasksSummaryCard = () => {
53513
53536
  };
53514
53537
 
53515
53538
  // src/components/WfoSummary/WfoLatestActiveSubscriptionsSummaryCard.tsx
53516
- import { useTranslations as useTranslations84 } from "next-intl";
53539
+ import { useTranslations as useTranslations85 } from "next-intl";
53517
53540
  import { jsx as jsx242 } from "@emotion/react/jsx-runtime";
53518
53541
  var WfoLatestActiveSubscriptionsSummaryCard = () => {
53519
- const t = useTranslations84("startPage.activeSubscriptions");
53542
+ const t = useTranslations85("startPage.activeSubscriptions");
53520
53543
  const {
53521
53544
  data: subscriptionsSummaryResult,
53522
53545
  isFetching,
@@ -53543,10 +53566,10 @@ var WfoLatestActiveSubscriptionsSummaryCard = () => {
53543
53566
  };
53544
53567
 
53545
53568
  // src/components/WfoSummary/WfoLatestOutOfSyncSubscriptionSummaryCard.tsx
53546
- import { useTranslations as useTranslations85 } from "next-intl";
53569
+ import { useTranslations as useTranslations86 } from "next-intl";
53547
53570
  import { jsx as jsx243 } from "@emotion/react/jsx-runtime";
53548
53571
  var WfoLatestOutOfSyncSubscriptionSummaryCard = () => {
53549
- const t = useTranslations85("startPage.outOfSyncSubscriptions");
53572
+ const t = useTranslations86("startPage.outOfSyncSubscriptions");
53550
53573
  const {
53551
53574
  data: outOfSyncSubscriptionsSummaryResult,
53552
53575
  isFetching,
@@ -53581,12 +53604,12 @@ var WfoLatestOutOfSyncSubscriptionSummaryCard = () => {
53581
53604
  };
53582
53605
 
53583
53606
  // src/components/WfoSummary/WfoMyWorkflowsSummaryCard.tsx
53584
- import { useTranslations as useTranslations86 } from "next-intl";
53607
+ import { useTranslations as useTranslations87 } from "next-intl";
53585
53608
  import { jsx as jsx244 } from "@emotion/react/jsx-runtime";
53586
53609
  var WfoMyWorkflowsSummaryCard = ({
53587
53610
  username
53588
53611
  }) => {
53589
- const t = useTranslations86("startPage.myWorkflows");
53612
+ const t = useTranslations87("startPage.myWorkflows");
53590
53613
  const {
53591
53614
  data: myWorkflowsSummaryResponse,
53592
53615
  isFetching,
@@ -53621,10 +53644,10 @@ var WfoMyWorkflowsSummaryCard = ({
53621
53644
  };
53622
53645
 
53623
53646
  // src/components/WfoSummary/WfoProductsSummaryCard.tsx
53624
- import { useTranslations as useTranslations87 } from "next-intl";
53647
+ import { useTranslations as useTranslations88 } from "next-intl";
53625
53648
  import { jsx as jsx245, jsxs as jsxs132 } from "@emotion/react/jsx-runtime";
53626
53649
  var WfoProductsSummaryCard = () => {
53627
- const t = useTranslations87("startPage.products");
53650
+ const t = useTranslations88("startPage.products");
53628
53651
  const {
53629
53652
  data: productsSummaryResult,
53630
53653
  isFetching,
@@ -54990,6 +55013,7 @@ export {
54990
55013
  WfoPlusCircleFill,
54991
55014
  WfoPolicyRenderPageFallback,
54992
55015
  WfoPort,
55016
+ WfoProcessDetail,
54993
55017
  WfoProcessDetailPage,
54994
55018
  WfoProcessListSubscriptionsCell,
54995
55019
  WfoProcessRawData,
@@ -55004,6 +55028,7 @@ export {
55004
55028
  WfoProductStatusBadge,
55005
55029
  WfoProductsPage,
55006
55030
  WfoProductsSummaryCard,
55031
+ WfoPydanticForm,
55007
55032
  WfoQueryParams,
55008
55033
  WfoRadioDropdown,
55009
55034
  WfoRefresh,
@@ -55151,6 +55176,7 @@ export {
55151
55176
  getWebSocket,
55152
55177
  getWfoGroupedTableStyles,
55153
55178
  getWfoTableStyles,
55179
+ getWorkflowStepsStyles,
55154
55180
  getWorkflowTargetColor,
55155
55181
  getWorkflowTargetIconContent,
55156
55182
  getWorkflowsListTabTypeFromString,