@orchestrator-ui/orchestrator-ui-components 3.8.1 → 3.9.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/.turbo/turbo-build.log +6 -6
- package/.turbo/turbo-lint.log +1 -1
- package/.turbo/turbo-test.log +6 -6
- package/CHANGELOG.md +12 -0
- package/dist/index.d.ts +7 -4
- package/dist/index.js +101 -76
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/WfoForms/formFields/utils.ts +8 -2
- package/src/components/WfoProcessList/WfoProcessesList.tsx +6 -1
- package/src/components/WfoTable/WfoTable/WfoToolTip.tsx +1 -0
- package/src/configuration/version.ts +1 -1
- package/src/messages/en-GB.json +2 -1
- package/src/messages/nl-NL.json +2 -1
- package/src/pages/processes/WfoProcessListSubscriptionsCell.tsx +22 -3
- package/src/rtk/endpoints/subscriptionsDropdownOptions.ts +0 -1
- package/src/types/types.ts +6 -1
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 = "3.
|
|
26801
|
+
var ORCHESTRATOR_UI_LIBRARY_VERSION = "3.9.0";
|
|
26802
26802
|
|
|
26803
26803
|
// src/types/types.ts
|
|
26804
26804
|
var EngineStatus = /* @__PURE__ */ ((EngineStatus3) => {
|
|
@@ -34653,7 +34653,6 @@ var subscriptionsDropdownOptionsQuery = `
|
|
|
34653
34653
|
parent
|
|
34654
34654
|
productBlockInstanceValues
|
|
34655
34655
|
subscriptionInstanceId
|
|
34656
|
-
inUseByRelations
|
|
34657
34656
|
}
|
|
34658
34657
|
fixedInputs
|
|
34659
34658
|
}
|
|
@@ -41179,6 +41178,7 @@ var WfoToolTip = ({
|
|
|
41179
41178
|
content: tooltipContent,
|
|
41180
41179
|
css: { maxWidth: "fit-content" },
|
|
41181
41180
|
repositionOnScroll: true,
|
|
41181
|
+
display: "block",
|
|
41182
41182
|
children: /* @__PURE__ */ jsx115("div", { css: { width: "100%" }, children })
|
|
41183
41183
|
}
|
|
41184
41184
|
);
|
|
@@ -47844,8 +47844,9 @@ var WfoDropdownButton = ({
|
|
|
47844
47844
|
};
|
|
47845
47845
|
|
|
47846
47846
|
// src/components/WfoProcessList/WfoProcessesList.tsx
|
|
47847
|
-
import { useTranslations as
|
|
47847
|
+
import { useTranslations as useTranslations73 } from "next-intl";
|
|
47848
47848
|
import Link11 from "next/link";
|
|
47849
|
+
import { useRouter as useRouter14 } from "next/router";
|
|
47849
47850
|
|
|
47850
47851
|
// src/pages/metadata/WfoProductBlocksPage.tsx
|
|
47851
47852
|
import { useEffect as useEffect22, useState as useState37 } from "react";
|
|
@@ -48997,6 +48998,7 @@ var WfoTasksPage = () => {
|
|
|
48997
48998
|
};
|
|
48998
48999
|
|
|
48999
49000
|
// src/pages/processes/WfoProcessListSubscriptionsCell.tsx
|
|
49001
|
+
import { useTranslations as useTranslations58 } from "next-intl";
|
|
49000
49002
|
import Link9 from "next/link";
|
|
49001
49003
|
import { EuiFlexGroup as EuiFlexGroup19 } from "@elastic/eui";
|
|
49002
49004
|
import { Fragment as Fragment46, jsx as jsx197, jsxs as jsxs104 } from "@emotion/react/jsx-runtime";
|
|
@@ -49009,8 +49011,12 @@ var RenderDirection = /* @__PURE__ */ ((RenderDirection2) => {
|
|
|
49009
49011
|
var WfoProcessListSubscriptionsCell = ({
|
|
49010
49012
|
subscriptions,
|
|
49011
49013
|
numberOfSubscriptionsToRender = RENDER_ALL,
|
|
49012
|
-
renderDirection = "HORIZONTAL" /* HORIZONTAL
|
|
49014
|
+
renderDirection = "HORIZONTAL" /* HORIZONTAL */,
|
|
49015
|
+
onMoreSubscriptionsClick = () => {
|
|
49016
|
+
}
|
|
49013
49017
|
}) => {
|
|
49018
|
+
const { theme, toSecondaryColor } = useOrchestratorTheme();
|
|
49019
|
+
const t = useTranslations58("processes.index");
|
|
49014
49020
|
const { length } = subscriptions;
|
|
49015
49021
|
if (length === 0) {
|
|
49016
49022
|
return null;
|
|
@@ -49021,7 +49027,8 @@ var WfoProcessListSubscriptionsCell = ({
|
|
|
49021
49027
|
EuiFlexGroup19,
|
|
49022
49028
|
{
|
|
49023
49029
|
direction: renderDirection === "HORIZONTAL" /* HORIZONTAL */ ? "row" : "column",
|
|
49024
|
-
|
|
49030
|
+
alignItems: "center",
|
|
49031
|
+
gutterSize: renderDirection === "HORIZONTAL" /* HORIZONTAL */ ? "s" : "xs",
|
|
49025
49032
|
children: [
|
|
49026
49033
|
visibleSubscriptions.map((subscription) => /* @__PURE__ */ jsx197(
|
|
49027
49034
|
Link9,
|
|
@@ -49035,7 +49042,21 @@ var WfoProcessListSubscriptionsCell = ({
|
|
|
49035
49042
|
},
|
|
49036
49043
|
subscription.subscriptionId
|
|
49037
49044
|
)),
|
|
49038
|
-
numberOfNotVisibleSubscriptions > 0 && /* @__PURE__ */
|
|
49045
|
+
numberOfNotVisibleSubscriptions > 0 && /* @__PURE__ */ jsxs104(
|
|
49046
|
+
WfoBadge,
|
|
49047
|
+
{
|
|
49048
|
+
textColor: theme.colors.primaryText,
|
|
49049
|
+
color: toSecondaryColor(theme.colors.primary),
|
|
49050
|
+
onClick: () => onMoreSubscriptionsClick(),
|
|
49051
|
+
iconOnClick: () => onMoreSubscriptionsClick(),
|
|
49052
|
+
onClickAriaLabel: t("showAllRelatedSubscriptions"),
|
|
49053
|
+
iconOnClickAriaLabel: t("showAllRelatedSubscriptions"),
|
|
49054
|
+
children: [
|
|
49055
|
+
"+ ",
|
|
49056
|
+
numberOfNotVisibleSubscriptions
|
|
49057
|
+
]
|
|
49058
|
+
}
|
|
49059
|
+
)
|
|
49039
49060
|
]
|
|
49040
49061
|
}
|
|
49041
49062
|
) });
|
|
@@ -49046,7 +49067,7 @@ import { useRef as useRef10 } from "react";
|
|
|
49046
49067
|
|
|
49047
49068
|
// src/pages/processes/WfoProcessDetail.tsx
|
|
49048
49069
|
import { useContext as useContext10 } from "react";
|
|
49049
|
-
import { useTranslations as
|
|
49070
|
+
import { useTranslations as useTranslations59 } from "next-intl";
|
|
49050
49071
|
import { useRouter as useRouter8 } from "next/router";
|
|
49051
49072
|
import {
|
|
49052
49073
|
EuiButton as EuiButton10,
|
|
@@ -49135,7 +49156,7 @@ var ProcessHeaderValue = ({
|
|
|
49135
49156
|
translationKey,
|
|
49136
49157
|
value = ""
|
|
49137
49158
|
}) => {
|
|
49138
|
-
const t =
|
|
49159
|
+
const t = useTranslations59("processes.detail");
|
|
49139
49160
|
const { theme } = useOrchestratorTheme();
|
|
49140
49161
|
return /* @__PURE__ */ jsxs105(
|
|
49141
49162
|
EuiFlexGroup20,
|
|
@@ -49176,7 +49197,7 @@ var WfoProcessDetail = ({
|
|
|
49176
49197
|
isLoading = false,
|
|
49177
49198
|
hasError = false
|
|
49178
49199
|
}) => {
|
|
49179
|
-
const t =
|
|
49200
|
+
const t = useTranslations59("processes.detail");
|
|
49180
49201
|
const { theme } = useOrchestratorTheme();
|
|
49181
49202
|
const { showConfirmDialog } = useContext10(ConfirmationDialogContext);
|
|
49182
49203
|
const [retryProcess] = useRetryProcessMutation();
|
|
@@ -49476,7 +49497,7 @@ var WfoProcessDetailPage = ({
|
|
|
49476
49497
|
|
|
49477
49498
|
// src/pages/processes/WfoStartProcessPage.tsx
|
|
49478
49499
|
import { useCallback as useCallback7, useEffect as useEffect29, useMemo as useMemo5, useState as useState47 } from "react";
|
|
49479
|
-
import { useTranslations as
|
|
49500
|
+
import { useTranslations as useTranslations66 } from "next-intl";
|
|
49480
49501
|
import { useRouter as useRouter10 } from "next/router";
|
|
49481
49502
|
import {
|
|
49482
49503
|
EuiFlexGroup as EuiFlexGroup24,
|
|
@@ -49496,13 +49517,13 @@ import {
|
|
|
49496
49517
|
} from "pydantic-forms";
|
|
49497
49518
|
|
|
49498
49519
|
// src/components/WfoPydanticForm/Footer.tsx
|
|
49499
|
-
import { useTranslations as
|
|
49520
|
+
import { useTranslations as useTranslations60 } from "next-intl";
|
|
49500
49521
|
import { usePydanticFormContext } from "pydantic-forms";
|
|
49501
49522
|
import { EuiButton as EuiButton11, EuiHorizontalRule as EuiHorizontalRule6 } from "@elastic/eui";
|
|
49502
49523
|
import { jsx as jsx200, jsxs as jsxs106 } from "@emotion/react/jsx-runtime";
|
|
49503
49524
|
var Footer = () => {
|
|
49504
49525
|
const { theme } = useOrchestratorTheme();
|
|
49505
|
-
const t =
|
|
49526
|
+
const t = useTranslations60("pydanticForms.userInputForm");
|
|
49506
49527
|
const { rhf, onCancel, allowUntouchedSubmit, isLoading } = usePydanticFormContext();
|
|
49507
49528
|
const isDisabled = !rhf.formState.isValid || !allowUntouchedSubmit && !rhf.formState.isDirty && !rhf.formState.isSubmitting;
|
|
49508
49529
|
return /* @__PURE__ */ jsxs106("div", { children: [
|
|
@@ -49697,7 +49718,7 @@ var WfoPydanticForm = ({
|
|
|
49697
49718
|
|
|
49698
49719
|
// src/components/WfoWorkflowSteps/WfoStep/WfoStep.tsx
|
|
49699
49720
|
import React65, { useState as useState43 } from "react";
|
|
49700
|
-
import { useTranslations as
|
|
49721
|
+
import { useTranslations as useTranslations61 } from "next-intl";
|
|
49701
49722
|
import {
|
|
49702
49723
|
EuiButton as EuiButton12,
|
|
49703
49724
|
EuiFlexGroup as EuiFlexGroup21,
|
|
@@ -50004,7 +50025,7 @@ var WfoStep = React65.forwardRef(
|
|
|
50004
50025
|
stepRowStyle,
|
|
50005
50026
|
getStepToggleExpandStyle
|
|
50006
50027
|
} = useWithOrchestratorTheme(getWorkflowStepsStyles);
|
|
50007
|
-
const t =
|
|
50028
|
+
const t = useTranslations61("processes.steps");
|
|
50008
50029
|
const hasHtmlMail = step.stateDelta?.hasOwnProperty("confirmation_mail");
|
|
50009
50030
|
const stepContent = step.stateDelta ? getStepContent(step.stateDelta, showHiddenKeys) : {};
|
|
50010
50031
|
const hasStepContent = hasHtmlMail || Object.keys(stepContent).length > 0;
|
|
@@ -50223,14 +50244,14 @@ WfoStepList.displayName = "WfoStepList";
|
|
|
50223
50244
|
|
|
50224
50245
|
// src/components/WfoWorkflowSteps/WfoWorkflowStepList/WfoWorkflowStepList.tsx
|
|
50225
50246
|
import React68, { useEffect as useEffect28, useState as useState45 } from "react";
|
|
50226
|
-
import { useTranslations as
|
|
50247
|
+
import { useTranslations as useTranslations64 } from "next-intl";
|
|
50227
50248
|
|
|
50228
50249
|
// src/components/WfoDiff/WfoDiff.tsx
|
|
50229
50250
|
var refractor = __toESM(require_refractor(), 1);
|
|
50230
50251
|
import { useCallback as useCallback6, useEffect as useEffect27, useMemo as useMemo4, useState as useState44 } from "react";
|
|
50231
50252
|
import { Diff, Hunk, parseDiff, tokenize } from "react-diff-view";
|
|
50232
50253
|
import "react-diff-view/style/index.css";
|
|
50233
|
-
import { useTranslations as
|
|
50254
|
+
import { useTranslations as useTranslations62 } from "next-intl";
|
|
50234
50255
|
import "prism-themes/themes/prism-ghcolors.min.css";
|
|
50235
50256
|
import { diffLines, formatLines } from "unidiff";
|
|
50236
50257
|
import {
|
|
@@ -50283,7 +50304,7 @@ var EMPTY_HUNKS = [];
|
|
|
50283
50304
|
var SMALL_CONTEXT = 3;
|
|
50284
50305
|
var FULL_CONTEXT = 1e6;
|
|
50285
50306
|
var WfoDiff = ({ oldText, newText, syntax }) => {
|
|
50286
|
-
const t =
|
|
50307
|
+
const t = useTranslations62("processes.delta");
|
|
50287
50308
|
const [showSplit, setShowSplit] = useState44(true);
|
|
50288
50309
|
const [showFull, setShowFull] = useState44(false);
|
|
50289
50310
|
const { diffStyle } = useWithOrchestratorTheme(getWfoDiffStyles);
|
|
@@ -50359,7 +50380,7 @@ var WfoDiff = ({ oldText, newText, syntax }) => {
|
|
|
50359
50380
|
var WfoDiff_default = WfoDiff;
|
|
50360
50381
|
|
|
50361
50382
|
// src/components/WfoWorkflowSteps/WfoTraceback/WfoTraceback.tsx
|
|
50362
|
-
import { useTranslations as
|
|
50383
|
+
import { useTranslations as useTranslations63 } from "next-intl";
|
|
50363
50384
|
import { EuiCodeBlock, EuiText as EuiText37 } from "@elastic/eui";
|
|
50364
50385
|
|
|
50365
50386
|
// src/components/WfoWorkflowSteps/WfoTraceback/styles.ts
|
|
@@ -50379,7 +50400,7 @@ var getStyles13 = ({ theme }) => {
|
|
|
50379
50400
|
import { Fragment as Fragment50, jsx as jsx209, jsxs as jsxs111 } from "@emotion/react/jsx-runtime";
|
|
50380
50401
|
var WfoTraceback = ({ children }) => {
|
|
50381
50402
|
const { codeBlockStyle } = useWithOrchestratorTheme(getStyles13);
|
|
50382
|
-
const t =
|
|
50403
|
+
const t = useTranslations63("processes.steps");
|
|
50383
50404
|
return /* @__PURE__ */ jsxs111(Fragment50, { children: [
|
|
50384
50405
|
/* @__PURE__ */ jsx209(EuiText37, { children: /* @__PURE__ */ jsx209("h3", { children: t("traceback") }) }),
|
|
50385
50406
|
/* @__PURE__ */ jsx209(EuiCodeBlock, { css: codeBlockStyle, children })
|
|
@@ -50422,7 +50443,7 @@ var WfoWorkflowStepList = React68.forwardRef(
|
|
|
50422
50443
|
const [showRaw, setShowRaw] = useState45(false);
|
|
50423
50444
|
const [showDelta, setShowDelta] = useState45(false);
|
|
50424
50445
|
const [showTraceback, setShowTraceback] = useState45(false);
|
|
50425
|
-
const t =
|
|
50446
|
+
const t = useTranslations64("processes.steps");
|
|
50426
50447
|
const initialStepListItems = steps.map((step) => ({
|
|
50427
50448
|
step,
|
|
50428
50449
|
isExpanded: false
|
|
@@ -50524,7 +50545,7 @@ WfoWorkflowStepList.displayName = "WfoWorkflowStepList";
|
|
|
50524
50545
|
|
|
50525
50546
|
// src/components/WfoWorkflowSteps/WfoWorkflowStepList/WfoStepListHeader.tsx
|
|
50526
50547
|
import { useState as useState46 } from "react";
|
|
50527
|
-
import { useTranslations as
|
|
50548
|
+
import { useTranslations as useTranslations65 } from "next-intl";
|
|
50528
50549
|
import {
|
|
50529
50550
|
EuiButton as EuiButton13,
|
|
50530
50551
|
EuiFlexGroup as EuiFlexGroup23,
|
|
@@ -50578,7 +50599,7 @@ var WfoStepListHeader = ({
|
|
|
50578
50599
|
onShowTraceback,
|
|
50579
50600
|
onToggleAllDetailsIsOpen
|
|
50580
50601
|
}) => {
|
|
50581
|
-
const t =
|
|
50602
|
+
const t = useTranslations65("processes.steps");
|
|
50582
50603
|
const { theme } = useOrchestratorTheme();
|
|
50583
50604
|
const {
|
|
50584
50605
|
stepListHeaderStyle,
|
|
@@ -50704,7 +50725,7 @@ var WfoStartProcessPage = ({
|
|
|
50704
50725
|
processName,
|
|
50705
50726
|
isTask = false
|
|
50706
50727
|
}) => {
|
|
50707
|
-
const t =
|
|
50728
|
+
const t = useTranslations66("processes.steps");
|
|
50708
50729
|
const router = useRouter10();
|
|
50709
50730
|
const [hasError, setHasError] = useState47(false);
|
|
50710
50731
|
const { theme } = useOrchestratorTheme();
|
|
@@ -50864,7 +50885,7 @@ var WfoStartProcessPage = ({
|
|
|
50864
50885
|
};
|
|
50865
50886
|
|
|
50866
50887
|
// src/pages/processes/WfoProductInformationWithLink.tsx
|
|
50867
|
-
import { useTranslations as
|
|
50888
|
+
import { useTranslations as useTranslations67 } from "next-intl";
|
|
50868
50889
|
import { EuiButtonIcon as EuiButtonIcon12, EuiFlexGroup as EuiFlexGroup25, EuiText as EuiText41, EuiToolTip as EuiToolTip8 } from "@elastic/eui";
|
|
50869
50890
|
import { jsx as jsx214, jsxs as jsxs115 } from "@emotion/react/jsx-runtime";
|
|
50870
50891
|
var WfoProductInformationWithLink = ({
|
|
@@ -50872,7 +50893,7 @@ var WfoProductInformationWithLink = ({
|
|
|
50872
50893
|
productNames
|
|
50873
50894
|
}) => {
|
|
50874
50895
|
const { workflowInformationLinkUrl, showWorkflowInformationLink } = useGetOrchestratorConfig();
|
|
50875
|
-
const t =
|
|
50896
|
+
const t = useTranslations67("processes.detail");
|
|
50876
50897
|
const docsUrl = workflowInformationLinkUrl + workflowName;
|
|
50877
50898
|
return /* @__PURE__ */ jsxs115(EuiFlexGroup25, { gutterSize: "s", alignItems: "center", children: [
|
|
50878
50899
|
showWorkflowInformationLink && /* @__PURE__ */ jsx214(EuiToolTip8, { content: t("openWorkflowTaskInfo"), children: /* @__PURE__ */ jsx214("a", { href: docsUrl, target: "_blank", children: /* @__PURE__ */ jsx214(
|
|
@@ -50888,12 +50909,12 @@ var WfoProductInformationWithLink = ({
|
|
|
50888
50909
|
};
|
|
50889
50910
|
|
|
50890
50911
|
// src/pages/settings/WfoSettingsPage.tsx
|
|
50891
|
-
import { useTranslations as
|
|
50912
|
+
import { useTranslations as useTranslations68 } from "next-intl";
|
|
50892
50913
|
import { EuiHorizontalRule as EuiHorizontalRule8, EuiSpacer as EuiSpacer20 } from "@elastic/eui";
|
|
50893
50914
|
import { Fragment as Fragment52, jsx as jsx215, jsxs as jsxs116 } from "@emotion/react/jsx-runtime";
|
|
50894
50915
|
var WfoSettingsPage = () => {
|
|
50895
50916
|
const { theme } = useOrchestratorTheme();
|
|
50896
|
-
const t =
|
|
50917
|
+
const t = useTranslations68("main");
|
|
50897
50918
|
return /* @__PURE__ */ jsxs116(Fragment52, { children: [
|
|
50898
50919
|
/* @__PURE__ */ jsx215(
|
|
50899
50920
|
WfoContentHeader,
|
|
@@ -50915,7 +50936,7 @@ var WfoSettingsPage = () => {
|
|
|
50915
50936
|
};
|
|
50916
50937
|
|
|
50917
50938
|
// src/pages/startPage/WfoStartPage.tsx
|
|
50918
|
-
import { useTranslations as
|
|
50939
|
+
import { useTranslations as useTranslations69 } from "next-intl";
|
|
50919
50940
|
import { EuiPageHeader as EuiPageHeader2 } from "@elastic/eui";
|
|
50920
50941
|
|
|
50921
50942
|
// src/pages/startPage/useStartPageSummaryCardConfigurationOverride.ts
|
|
@@ -50931,7 +50952,7 @@ var useStartPageSummaryCardConfigurationOverride = () => {
|
|
|
50931
50952
|
// src/pages/startPage/WfoStartPage.tsx
|
|
50932
50953
|
import { Fragment as Fragment53, jsx as jsx216, jsxs as jsxs117 } from "@emotion/react/jsx-runtime";
|
|
50933
50954
|
var WfoStartPage = () => {
|
|
50934
|
-
const t =
|
|
50955
|
+
const t = useTranslations69("main");
|
|
50935
50956
|
const { overrideSummaryCards } = useStartPageSummaryCardConfigurationOverride();
|
|
50936
50957
|
const { isAllowed } = usePolicy();
|
|
50937
50958
|
const { session } = useWfoSession();
|
|
@@ -50985,12 +51006,12 @@ var WfoSubscriptionDetailPage = () => {
|
|
|
50985
51006
|
|
|
50986
51007
|
// src/pages/subscriptions/WfoSubscriptionsListPage.tsx
|
|
50987
51008
|
import { useEffect as useEffect30, useState as useState48 } from "react";
|
|
50988
|
-
import { useTranslations as
|
|
51009
|
+
import { useTranslations as useTranslations70 } from "next-intl";
|
|
50989
51010
|
import { StringParam as StringParam3, useQueryParam as useQueryParam2, withDefault as withDefault3 } from "use-query-params";
|
|
50990
51011
|
import { EuiSpacer as EuiSpacer21 } from "@elastic/eui";
|
|
50991
51012
|
import { Fragment as Fragment55, jsx as jsx218, jsxs as jsxs118 } from "@emotion/react/jsx-runtime";
|
|
50992
51013
|
var WfoSubscriptionsListPage = () => {
|
|
50993
|
-
const t =
|
|
51014
|
+
const t = useTranslations70("subscriptions.detail");
|
|
50994
51015
|
const [tableDefaults, setTableDefaults] = useState48();
|
|
50995
51016
|
const getStoredTableConfig = useStoredTableConfig(
|
|
50996
51017
|
SUBSCRIPTIONS_TABLE_LOCAL_STORAGE_KEY
|
|
@@ -51057,7 +51078,7 @@ var WfoSubscriptionsListPage = () => {
|
|
|
51057
51078
|
|
|
51058
51079
|
// src/pages/tasks/WfoTasksListPage.tsx
|
|
51059
51080
|
import { useContext as useContext11, useEffect as useEffect31, useState as useState49 } from "react";
|
|
51060
|
-
import { useTranslations as
|
|
51081
|
+
import { useTranslations as useTranslations71 } from "next-intl";
|
|
51061
51082
|
import Link10 from "next/link";
|
|
51062
51083
|
import { useRouter as useRouter12 } from "next/router";
|
|
51063
51084
|
import { StringParam as StringParam4, useQueryParam as useQueryParam3, withDefault as withDefault4 } from "use-query-params";
|
|
@@ -51129,7 +51150,7 @@ var getTasksListTabTypeFromString = (tabId) => {
|
|
|
51129
51150
|
import { Fragment as Fragment56, jsx as jsx219, jsxs as jsxs119 } from "@emotion/react/jsx-runtime";
|
|
51130
51151
|
var WfoTasksListPage = () => {
|
|
51131
51152
|
const router = useRouter12();
|
|
51132
|
-
const t =
|
|
51153
|
+
const t = useTranslations71("tasks.page");
|
|
51133
51154
|
const [activeTab, setActiveTab] = useQueryParam3(
|
|
51134
51155
|
"activeTab",
|
|
51135
51156
|
withDefault4(StringParam4, "ACTIVE" /* ACTIVE */)
|
|
@@ -51244,7 +51265,7 @@ var WfoTasksListPage = () => {
|
|
|
51244
51265
|
|
|
51245
51266
|
// src/pages/workflows/WfoWorkflowsListPage.tsx
|
|
51246
51267
|
import { useEffect as useEffect32, useState as useState50 } from "react";
|
|
51247
|
-
import { useTranslations as
|
|
51268
|
+
import { useTranslations as useTranslations72 } from "next-intl";
|
|
51248
51269
|
import { useRouter as useRouter13 } from "next/router";
|
|
51249
51270
|
import { StringParam as StringParam5, useQueryParam as useQueryParam4, withDefault as withDefault5 } from "use-query-params";
|
|
51250
51271
|
import { EuiSpacer as EuiSpacer23 } from "@elastic/eui";
|
|
@@ -51315,7 +51336,7 @@ var getWorkflowsListTabTypeFromString = (tabId) => {
|
|
|
51315
51336
|
import { Fragment as Fragment57, jsx as jsx220, jsxs as jsxs120 } from "@emotion/react/jsx-runtime";
|
|
51316
51337
|
var WfoWorkflowsListPage = () => {
|
|
51317
51338
|
const router = useRouter13();
|
|
51318
|
-
const t =
|
|
51339
|
+
const t = useTranslations72("workflows.index");
|
|
51319
51340
|
const [activeTab, setActiveTab] = useQueryParam4(
|
|
51320
51341
|
"activeTab",
|
|
51321
51342
|
withDefault5(StringParam5, "ACTIVE" /* ACTIVE */)
|
|
@@ -51486,9 +51507,10 @@ var WfoProcessesList = ({
|
|
|
51486
51507
|
overrideDefaultTableColumns,
|
|
51487
51508
|
setDataDisplayParam
|
|
51488
51509
|
}) => {
|
|
51489
|
-
const t =
|
|
51490
|
-
const tError =
|
|
51510
|
+
const t = useTranslations73("processes.index");
|
|
51511
|
+
const tError = useTranslations73("errors");
|
|
51491
51512
|
const { showToastMessage } = useShowToastMessage();
|
|
51513
|
+
const router = useRouter14();
|
|
51492
51514
|
const defaultTableColumns = {
|
|
51493
51515
|
workflowName: {
|
|
51494
51516
|
columnType: "data" /* DATA */,
|
|
@@ -51538,11 +51560,12 @@ var WfoProcessesList = ({
|
|
|
51538
51560
|
columnType: "data" /* DATA */,
|
|
51539
51561
|
label: t("subscriptions"),
|
|
51540
51562
|
width: "425px",
|
|
51541
|
-
renderData: ({ page: subscriptions }) => /* @__PURE__ */ jsx221(
|
|
51563
|
+
renderData: ({ page: subscriptions }, { processId }) => /* @__PURE__ */ jsx221(
|
|
51542
51564
|
WfoProcessListSubscriptionsCell,
|
|
51543
51565
|
{
|
|
51544
51566
|
subscriptions,
|
|
51545
|
-
numberOfSubscriptionsToRender: 1
|
|
51567
|
+
numberOfSubscriptionsToRender: 1,
|
|
51568
|
+
onMoreSubscriptionsClick: () => router.push(`${PATH_WORKFLOWS}/${processId}`)
|
|
51546
51569
|
}
|
|
51547
51570
|
),
|
|
51548
51571
|
renderDetails: ({ page: subscriptions }) => /* @__PURE__ */ jsx221(
|
|
@@ -51705,7 +51728,7 @@ var WfoJsonCodeBlock = ({
|
|
|
51705
51728
|
|
|
51706
51729
|
// src/components/WfoSettings/WfoFlushSettings.tsx
|
|
51707
51730
|
import { useState as useState51 } from "react";
|
|
51708
|
-
import { useTranslations as
|
|
51731
|
+
import { useTranslations as useTranslations74 } from "next-intl";
|
|
51709
51732
|
import {
|
|
51710
51733
|
EuiButton as EuiButton15,
|
|
51711
51734
|
EuiComboBox,
|
|
@@ -51745,7 +51768,7 @@ var WfoFlushSettings = () => {
|
|
|
51745
51768
|
getWfoFlushSettingsStyle
|
|
51746
51769
|
);
|
|
51747
51770
|
const [clearCache] = useClearCacheMutation();
|
|
51748
|
-
const t =
|
|
51771
|
+
const t = useTranslations74("settings.page");
|
|
51749
51772
|
const [selectedOptions, setSelected] = useState51(
|
|
51750
51773
|
[]
|
|
51751
51774
|
);
|
|
@@ -51799,14 +51822,14 @@ var WfoFlushSettings = () => {
|
|
|
51799
51822
|
};
|
|
51800
51823
|
|
|
51801
51824
|
// src/components/WfoSettings/WfoEngineStatusButton.tsx
|
|
51802
|
-
import { useTranslations as
|
|
51825
|
+
import { useTranslations as useTranslations75 } from "next-intl";
|
|
51803
51826
|
import { EuiButton as EuiButton16 } from "@elastic/eui";
|
|
51804
51827
|
import { jsx as jsx224 } from "@emotion/react/jsx-runtime";
|
|
51805
51828
|
var WfoEngineStatusButton = () => {
|
|
51806
51829
|
const { data, isLoading } = useGetEngineStatusQuery();
|
|
51807
51830
|
const { engineStatus } = data || {};
|
|
51808
51831
|
const [setEngineStatus, { isLoading: isSettingEngineStatus }] = useSetEngineStatusMutation();
|
|
51809
|
-
const t =
|
|
51832
|
+
const t = useTranslations75("settings.page");
|
|
51810
51833
|
if (isLoading || isSettingEngineStatus) {
|
|
51811
51834
|
return /* @__PURE__ */ jsx224(EuiButton16, { isLoading: true, fill: true, children: "Loading..." });
|
|
51812
51835
|
}
|
|
@@ -51832,11 +51855,11 @@ var WfoEngineStatusButton = () => {
|
|
|
51832
51855
|
};
|
|
51833
51856
|
|
|
51834
51857
|
// src/components/WfoSettings/WfoModifySettings.tsx
|
|
51835
|
-
import { useTranslations as
|
|
51858
|
+
import { useTranslations as useTranslations76 } from "next-intl";
|
|
51836
51859
|
import { EuiFlexItem as EuiFlexItem28, EuiPanel as EuiPanel7, EuiSpacer as EuiSpacer25, EuiText as EuiText43 } from "@elastic/eui";
|
|
51837
51860
|
import { jsx as jsx225, jsxs as jsxs123 } from "@emotion/react/jsx-runtime";
|
|
51838
51861
|
var WfoModifySettings = () => {
|
|
51839
|
-
const t =
|
|
51862
|
+
const t = useTranslations76("settings.page");
|
|
51840
51863
|
return /* @__PURE__ */ jsxs123(EuiFlexItem28, { children: [
|
|
51841
51864
|
/* @__PURE__ */ jsxs123(EuiPanel7, { hasShadow: false, color: "subdued", paddingSize: "l", children: [
|
|
51842
51865
|
/* @__PURE__ */ jsx225(EuiText43, { size: "s", children: /* @__PURE__ */ jsx225("h4", { children: t("resetTextSearchIndex") }) }),
|
|
@@ -51861,7 +51884,7 @@ var WfoModifySettings = () => {
|
|
|
51861
51884
|
};
|
|
51862
51885
|
|
|
51863
51886
|
// src/components/WfoSettings/WfoEngineStatus.tsx
|
|
51864
|
-
import { useTranslations as
|
|
51887
|
+
import { useTranslations as useTranslations77 } from "next-intl";
|
|
51865
51888
|
import { EuiFlexGroup as EuiFlexGroup26, EuiFlexItem as EuiFlexItem29, EuiPanel as EuiPanel8, EuiText as EuiText44 } from "@elastic/eui";
|
|
51866
51889
|
import { jsx as jsx226, jsxs as jsxs124 } from "@emotion/react/jsx-runtime";
|
|
51867
51890
|
var WfoEngineStatus = () => {
|
|
@@ -51869,7 +51892,7 @@ var WfoEngineStatus = () => {
|
|
|
51869
51892
|
const { data } = useGetEngineStatusQuery();
|
|
51870
51893
|
const { engineStatus, runningProcesses } = data || {};
|
|
51871
51894
|
const isRunning = engineStatus === "RUNNING" /* RUNNING */;
|
|
51872
|
-
const t =
|
|
51895
|
+
const t = useTranslations77("settings.page");
|
|
51873
51896
|
return /* @__PURE__ */ jsx226(EuiPanel8, { hasShadow: false, color: "subdued", paddingSize: "l", children: /* @__PURE__ */ jsxs124(EuiFlexGroup26, { direction: "column", gutterSize: "s", children: [
|
|
51874
51897
|
/* @__PURE__ */ jsx226(EuiFlexItem29, { children: /* @__PURE__ */ jsx226(EuiText44, { size: "s", children: /* @__PURE__ */ jsx226("h4", { children: t("engineStatusTitle") }) }) }),
|
|
51875
51898
|
/* @__PURE__ */ jsxs124(EuiFlexItem29, { css: { flexDirection: "row" }, children: [
|
|
@@ -51890,7 +51913,7 @@ var WfoEngineStatus = () => {
|
|
|
51890
51913
|
};
|
|
51891
51914
|
|
|
51892
51915
|
// src/components/WfoSettings/WfoWorkerStatus.tsx
|
|
51893
|
-
import { useTranslations as
|
|
51916
|
+
import { useTranslations as useTranslations78 } from "next-intl";
|
|
51894
51917
|
import { EuiFlexGroup as EuiFlexGroup27, EuiFlexItem as EuiFlexItem30, EuiPanel as EuiPanel9, EuiText as EuiText45 } from "@elastic/eui";
|
|
51895
51918
|
import { jsx as jsx227, jsxs as jsxs125 } from "@emotion/react/jsx-runtime";
|
|
51896
51919
|
var WfoWorkerStatus = () => {
|
|
@@ -51901,7 +51924,7 @@ var WfoWorkerStatus = () => {
|
|
|
51901
51924
|
numberOfRunningJobs,
|
|
51902
51925
|
numberOfWorkersOnline
|
|
51903
51926
|
} = data || {};
|
|
51904
|
-
const t =
|
|
51927
|
+
const t = useTranslations78("settings.page");
|
|
51905
51928
|
return executorType?.toUpperCase() === "CELERY" /* CELERY */ && /* @__PURE__ */ jsx227(EuiPanel9, { hasShadow: false, color: "subdued", paddingSize: "l", children: /* @__PURE__ */ jsxs125(EuiFlexGroup27, { direction: "column", gutterSize: "s", children: [
|
|
51906
51929
|
/* @__PURE__ */ jsx227(EuiFlexItem30, { children: /* @__PURE__ */ jsx227(EuiText45, { size: "s", children: /* @__PURE__ */ jsx227("h4", { children: t("workerStatusTitle") }) }) }),
|
|
51907
51930
|
/* @__PURE__ */ jsxs125(EuiFlexItem30, { css: { flexDirection: "row" }, children: [
|
|
@@ -51920,12 +51943,12 @@ var WfoWorkerStatus = () => {
|
|
|
51920
51943
|
};
|
|
51921
51944
|
|
|
51922
51945
|
// src/components/WfoSettings/WfoResetTextSearchIndexButton.tsx
|
|
51923
|
-
import { useTranslations as
|
|
51946
|
+
import { useTranslations as useTranslations79 } from "next-intl";
|
|
51924
51947
|
import { EuiButton as EuiButton17 } from "@elastic/eui";
|
|
51925
51948
|
import { jsx as jsx228 } from "@emotion/react/jsx-runtime";
|
|
51926
51949
|
var WfoResetTextSearchIndexButton = () => {
|
|
51927
51950
|
const [resetTextSearchIndex] = useResetTextSearchIndexMutation();
|
|
51928
|
-
const t =
|
|
51951
|
+
const t = useTranslations79("settings.page");
|
|
51929
51952
|
return /* @__PURE__ */ jsx228(
|
|
51930
51953
|
EuiButton17,
|
|
51931
51954
|
{
|
|
@@ -52013,12 +52036,12 @@ var WfoRenderElementOrString = ({
|
|
|
52013
52036
|
};
|
|
52014
52037
|
|
|
52015
52038
|
// src/components/WfoStartButton/WfoStartTaskComboBox.tsx
|
|
52016
|
-
import { useTranslations as
|
|
52017
|
-
import { useRouter as
|
|
52039
|
+
import { useTranslations as useTranslations80 } from "next-intl";
|
|
52040
|
+
import { useRouter as useRouter15 } from "next/router";
|
|
52018
52041
|
import { jsx as jsx231 } from "@emotion/react/jsx-runtime";
|
|
52019
52042
|
var WfoStartTaskButtonComboBox = () => {
|
|
52020
|
-
const router =
|
|
52021
|
-
const t =
|
|
52043
|
+
const router = useRouter15();
|
|
52044
|
+
const t = useTranslations80("common");
|
|
52022
52045
|
const { isEngineRunningNow } = useCheckEngineStatus();
|
|
52023
52046
|
const { data } = useGetTaskOptionsQuery();
|
|
52024
52047
|
const taskOptions = data?.startOptions || [];
|
|
@@ -52127,9 +52150,9 @@ var subscriptionListTabs = [
|
|
|
52127
52150
|
];
|
|
52128
52151
|
|
|
52129
52152
|
// src/components/WfoSubscriptionsList/WfoSubscriptionsList.tsx
|
|
52130
|
-
import { useTranslations as
|
|
52153
|
+
import { useTranslations as useTranslations81 } from "next-intl";
|
|
52131
52154
|
import Link12 from "next/link";
|
|
52132
|
-
import { useRouter as
|
|
52155
|
+
import { useRouter as useRouter16 } from "next/router";
|
|
52133
52156
|
|
|
52134
52157
|
// src/rtk/endpoints/subscriptionListMutation.ts
|
|
52135
52158
|
var subscriptionListMutationApi = orchestratorApi.injectEndpoints({
|
|
@@ -52242,9 +52265,9 @@ var WfoSubscriptionsList = ({
|
|
|
52242
52265
|
setDataDisplayParam,
|
|
52243
52266
|
hiddenColumns
|
|
52244
52267
|
}) => {
|
|
52245
|
-
const router =
|
|
52246
|
-
const t =
|
|
52247
|
-
const tError =
|
|
52268
|
+
const router = useRouter16();
|
|
52269
|
+
const t = useTranslations81("subscriptions.index");
|
|
52270
|
+
const tError = useTranslations81("errors");
|
|
52248
52271
|
const { showToastMessage } = useShowToastMessage();
|
|
52249
52272
|
const tableColumnConfig = {
|
|
52250
52273
|
subscriptionId: {
|
|
@@ -52494,7 +52517,7 @@ var WfoSummaryCardHeader = ({
|
|
|
52494
52517
|
};
|
|
52495
52518
|
|
|
52496
52519
|
// src/components/WfoSummary/WfoSummaryCardList/WfoSummaryCardList.tsx
|
|
52497
|
-
import { useRouter as
|
|
52520
|
+
import { useRouter as useRouter17 } from "next/router";
|
|
52498
52521
|
import {
|
|
52499
52522
|
EuiButton as EuiButton18,
|
|
52500
52523
|
EuiFlexItem as EuiFlexItem33,
|
|
@@ -52613,7 +52636,7 @@ var WfoSummaryCardList = ({
|
|
|
52613
52636
|
button,
|
|
52614
52637
|
isLoading = false
|
|
52615
52638
|
}) => {
|
|
52616
|
-
const router =
|
|
52639
|
+
const router = useRouter17();
|
|
52617
52640
|
const euiScrollBarStyle = useEuiScrollBar3();
|
|
52618
52641
|
const { listContainerStyle, listHeaderStyle, listStyle } = useWithOrchestratorTheme(getWfoSummaryCardListStyles);
|
|
52619
52642
|
return /* @__PURE__ */ jsx237(EuiFlexItem33, { children: /* @__PURE__ */ jsxs130(
|
|
@@ -52783,7 +52806,7 @@ var WfoSummaryCard = ({
|
|
|
52783
52806
|
};
|
|
52784
52807
|
|
|
52785
52808
|
// src/components/WfoSummary/WfoActiveWorkflowsSummaryCard.tsx
|
|
52786
|
-
import { useTranslations as
|
|
52809
|
+
import { useTranslations as useTranslations82 } from "next-intl";
|
|
52787
52810
|
|
|
52788
52811
|
// src/pages/startPage/queryVariables.ts
|
|
52789
52812
|
var baseQueryVariables = {
|
|
@@ -52882,7 +52905,7 @@ var productsSummaryQueryVariables = {
|
|
|
52882
52905
|
// src/components/WfoSummary/WfoActiveWorkflowsSummaryCard.tsx
|
|
52883
52906
|
import { jsx as jsx240 } from "@emotion/react/jsx-runtime";
|
|
52884
52907
|
var WfoActiveWorkflowsSummaryCard = () => {
|
|
52885
|
-
const t =
|
|
52908
|
+
const t = useTranslations82("startPage.activeWorkflows");
|
|
52886
52909
|
const {
|
|
52887
52910
|
data: activeWorkflowsSummaryResponse,
|
|
52888
52911
|
isFetching,
|
|
@@ -52907,10 +52930,10 @@ var WfoActiveWorkflowsSummaryCard = () => {
|
|
|
52907
52930
|
};
|
|
52908
52931
|
|
|
52909
52932
|
// src/components/WfoSummary/WfoFailedTasksSummaryCard.tsx
|
|
52910
|
-
import { useTranslations as
|
|
52933
|
+
import { useTranslations as useTranslations83 } from "next-intl";
|
|
52911
52934
|
import { jsx as jsx241 } from "@emotion/react/jsx-runtime";
|
|
52912
52935
|
var WfoFailedTasksSummaryCard = () => {
|
|
52913
|
-
const t =
|
|
52936
|
+
const t = useTranslations83("startPage.failedTasks");
|
|
52914
52937
|
const {
|
|
52915
52938
|
data: failedTasksSummaryResponse,
|
|
52916
52939
|
isFetching,
|
|
@@ -52935,10 +52958,10 @@ var WfoFailedTasksSummaryCard = () => {
|
|
|
52935
52958
|
};
|
|
52936
52959
|
|
|
52937
52960
|
// src/components/WfoSummary/WfoLatestActiveSubscriptionsSummaryCard.tsx
|
|
52938
|
-
import { useTranslations as
|
|
52961
|
+
import { useTranslations as useTranslations84 } from "next-intl";
|
|
52939
52962
|
import { jsx as jsx242 } from "@emotion/react/jsx-runtime";
|
|
52940
52963
|
var WfoLatestActiveSubscriptionsSummaryCard = () => {
|
|
52941
|
-
const t =
|
|
52964
|
+
const t = useTranslations84("startPage.activeSubscriptions");
|
|
52942
52965
|
const {
|
|
52943
52966
|
data: subscriptionsSummaryResult,
|
|
52944
52967
|
isFetching,
|
|
@@ -52965,10 +52988,10 @@ var WfoLatestActiveSubscriptionsSummaryCard = () => {
|
|
|
52965
52988
|
};
|
|
52966
52989
|
|
|
52967
52990
|
// src/components/WfoSummary/WfoLatestOutOfSyncSubscriptionSummaryCard.tsx
|
|
52968
|
-
import { useTranslations as
|
|
52991
|
+
import { useTranslations as useTranslations85 } from "next-intl";
|
|
52969
52992
|
import { jsx as jsx243 } from "@emotion/react/jsx-runtime";
|
|
52970
52993
|
var WfoLatestOutOfSyncSubscriptionSummaryCard = () => {
|
|
52971
|
-
const t =
|
|
52994
|
+
const t = useTranslations85("startPage.outOfSyncSubscriptions");
|
|
52972
52995
|
const {
|
|
52973
52996
|
data: outOfSyncSubscriptionsSummaryResult,
|
|
52974
52997
|
isFetching,
|
|
@@ -52998,12 +53021,12 @@ var WfoLatestOutOfSyncSubscriptionSummaryCard = () => {
|
|
|
52998
53021
|
};
|
|
52999
53022
|
|
|
53000
53023
|
// src/components/WfoSummary/WfoMyWorkflowsSummaryCard.tsx
|
|
53001
|
-
import { useTranslations as
|
|
53024
|
+
import { useTranslations as useTranslations86 } from "next-intl";
|
|
53002
53025
|
import { jsx as jsx244 } from "@emotion/react/jsx-runtime";
|
|
53003
53026
|
var WfoMyWorkflowsSummaryCard = ({
|
|
53004
53027
|
username
|
|
53005
53028
|
}) => {
|
|
53006
|
-
const t =
|
|
53029
|
+
const t = useTranslations86("startPage.myWorkflows");
|
|
53007
53030
|
const {
|
|
53008
53031
|
data: myWorkflowsSummaryResponse,
|
|
53009
53032
|
isFetching,
|
|
@@ -53033,10 +53056,10 @@ var WfoMyWorkflowsSummaryCard = ({
|
|
|
53033
53056
|
};
|
|
53034
53057
|
|
|
53035
53058
|
// src/components/WfoSummary/WfoProductsSummaryCard.tsx
|
|
53036
|
-
import { useTranslations as
|
|
53059
|
+
import { useTranslations as useTranslations87 } from "next-intl";
|
|
53037
53060
|
import { jsx as jsx245, jsxs as jsxs132 } from "@emotion/react/jsx-runtime";
|
|
53038
53061
|
var WfoProductsSummaryCard = () => {
|
|
53039
|
-
const t =
|
|
53062
|
+
const t = useTranslations87("startPage.products");
|
|
53040
53063
|
const {
|
|
53041
53064
|
data: productsSummaryResult,
|
|
53042
53065
|
isFetching,
|
|
@@ -53478,7 +53501,8 @@ var en_GB_default = {
|
|
|
53478
53501
|
started: "Started",
|
|
53479
53502
|
lastModified: "Last modified",
|
|
53480
53503
|
workflowTarget: "Target",
|
|
53481
|
-
productTag: "Product tag"
|
|
53504
|
+
productTag: "Product tag",
|
|
53505
|
+
showAllRelatedSubscriptions: "Show all related subscriptions"
|
|
53482
53506
|
},
|
|
53483
53507
|
detail: {
|
|
53484
53508
|
retry: "Retry",
|
|
@@ -53926,7 +53950,8 @@ var nl_NL_default = {
|
|
|
53926
53950
|
started: "Starttijd",
|
|
53927
53951
|
lastModified: "Aangepast op",
|
|
53928
53952
|
workflowTarget: "Target",
|
|
53929
|
-
productTag: "Product tag"
|
|
53953
|
+
productTag: "Product tag",
|
|
53954
|
+
showAllRelatedSubscriptions: "Toon alle gerelateerde subscriptions"
|
|
53930
53955
|
},
|
|
53931
53956
|
detail: {
|
|
53932
53957
|
retry: "Probeer opnieuw",
|