@orchestrator-ui/orchestrator-ui-components 5.3.3 → 5.3.4
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 +8 -8
- package/.turbo/turbo-lint.log +1 -1
- package/.turbo/turbo-test.log +4 -4
- package/CHANGELOG.md +6 -0
- package/dist/index.d.ts +305 -2
- package/dist/index.js +253 -131
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/WfoPydanticForm/Footer.tsx +11 -15
- package/src/configuration/constants.ts +1 -0
- package/src/configuration/version.ts +1 -1
- package/src/messages/en-GB.json +7 -1
- package/src/messages/nl-NL.json +7 -1
- package/src/pages/settings/WfoSettingsPage.tsx +161 -10
- package/src/rtk/endpoints/settings.ts +15 -1
- package/src/types/types.ts +11 -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 =
|
|
4926
|
-
|
|
4927
|
-
|
|
4928
|
-
function
|
|
4925
|
+
module.exports = css52;
|
|
4926
|
+
css52.displayName = "css";
|
|
4927
|
+
css52.aliases = [];
|
|
4928
|
+
function css52(Prism) {
|
|
4929
4929
|
;
|
|
4930
4930
|
(function(Prism2) {
|
|
4931
4931
|
var string = /(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;
|
|
@@ -5192,7 +5192,7 @@ var require_core = __commonJS({
|
|
|
5192
5192
|
var decode = require_parse_entities();
|
|
5193
5193
|
var Prism = require_prism_core();
|
|
5194
5194
|
var markup = require_markup();
|
|
5195
|
-
var
|
|
5195
|
+
var css52 = require_css();
|
|
5196
5196
|
var clike = require_clike();
|
|
5197
5197
|
var js = require_javascript();
|
|
5198
5198
|
restore();
|
|
@@ -5208,7 +5208,7 @@ var require_core = __commonJS({
|
|
|
5208
5208
|
refract.registered = registered;
|
|
5209
5209
|
refract.listLanguages = listLanguages;
|
|
5210
5210
|
register(markup);
|
|
5211
|
-
register(
|
|
5211
|
+
register(css52);
|
|
5212
5212
|
register(clike);
|
|
5213
5213
|
register(js);
|
|
5214
5214
|
refract.util.encode = encode;
|
|
@@ -26761,6 +26761,7 @@ var SETTINGS_WORKER_STATUS_ENDPOINT = `${SETTINGS_ENDPOINT}/worker-status`;
|
|
|
26761
26761
|
var SETTINGS_CACHE_NAMES_ENDPOINT = `${SETTINGS_ENDPOINT}/cache-names`;
|
|
26762
26762
|
var SETTINGS_CACHE_ENDPOINT = `${SETTINGS_ENDPOINT}/cache`;
|
|
26763
26763
|
var SETTINGS_SEARCH_INDEX_RESET_ENDPOINT = `${SETTINGS_ENDPOINT}/search-index/reset`;
|
|
26764
|
+
var SETTINGS_OVERVIEW = `${SETTINGS_ENDPOINT}/overview`;
|
|
26764
26765
|
var IPAM_ENDPOINT = "surf/ipam";
|
|
26765
26766
|
var IPAM_PREFIX_FILTERS_ENDPOINT = `${IPAM_ENDPOINT}/prefix_filters`;
|
|
26766
26767
|
var IPAM_IP_BLOCKS_ENDPOINT = `${IPAM_ENDPOINT}/ip_blocks`;
|
|
@@ -26799,7 +26800,7 @@ var PolicyResource = /* @__PURE__ */ ((PolicyResource2) => {
|
|
|
26799
26800
|
})(PolicyResource || {});
|
|
26800
26801
|
|
|
26801
26802
|
// src/configuration/version.ts
|
|
26802
|
-
var ORCHESTRATOR_UI_LIBRARY_VERSION = "5.3.
|
|
26803
|
+
var ORCHESTRATOR_UI_LIBRARY_VERSION = "5.3.4";
|
|
26803
26804
|
|
|
26804
26805
|
// src/types/types.ts
|
|
26805
26806
|
var EngineStatus = /* @__PURE__ */ ((EngineStatus3) => {
|
|
@@ -34756,6 +34757,12 @@ var statusApi = orchestratorApi.injectEndpoints({
|
|
|
34756
34757
|
baseQueryType: "fetch" /* fetch */
|
|
34757
34758
|
},
|
|
34758
34759
|
invalidatesTags: getCacheTag("engineStatus" /* engineStatus */)
|
|
34760
|
+
}),
|
|
34761
|
+
getEnvironmentVariables: build.query({
|
|
34762
|
+
query: () => SETTINGS_OVERVIEW,
|
|
34763
|
+
extraOptions: {
|
|
34764
|
+
baseQueryType: "fetch" /* fetch */
|
|
34765
|
+
}
|
|
34759
34766
|
})
|
|
34760
34767
|
})
|
|
34761
34768
|
});
|
|
@@ -34765,7 +34772,8 @@ var {
|
|
|
34765
34772
|
useClearCacheMutation,
|
|
34766
34773
|
useResetTextSearchIndexMutation,
|
|
34767
34774
|
useSetEngineStatusMutation,
|
|
34768
|
-
useGetWorkerStatusQuery
|
|
34775
|
+
useGetWorkerStatusQuery,
|
|
34776
|
+
useGetEnvironmentVariablesQuery
|
|
34769
34777
|
} = statusApi;
|
|
34770
34778
|
|
|
34771
34779
|
// src/rtk/endpoints/startOptions.ts
|
|
@@ -39012,7 +39020,7 @@ var WfoHeaderBadge = ({
|
|
|
39012
39020
|
children,
|
|
39013
39021
|
...restProps
|
|
39014
39022
|
}) => {
|
|
39015
|
-
const
|
|
39023
|
+
const css52 = restProps.iconType ? {
|
|
39016
39024
|
height: 24,
|
|
39017
39025
|
display: "flex",
|
|
39018
39026
|
paddingLeft: 0
|
|
@@ -39020,7 +39028,7 @@ var WfoHeaderBadge = ({
|
|
|
39020
39028
|
height: 24,
|
|
39021
39029
|
display: "flex"
|
|
39022
39030
|
};
|
|
39023
|
-
return /* @__PURE__ */ jsx73(WfoBadge, { ...restProps, css:
|
|
39031
|
+
return /* @__PURE__ */ jsx73(WfoBadge, { ...restProps, css: css52, children });
|
|
39024
39032
|
};
|
|
39025
39033
|
|
|
39026
39034
|
// src/components/WfoBadges/WfoEnvironmentBadge/WfoEnvironmentBadge.tsx
|
|
@@ -50322,17 +50330,9 @@ import { usePydanticFormContext } from "pydantic-forms";
|
|
|
50322
50330
|
import { EuiButton as EuiButton11, EuiHorizontalRule as EuiHorizontalRule6 } from "@elastic/eui";
|
|
50323
50331
|
import { jsx as jsx203, jsxs as jsxs108 } from "@emotion/react/jsx-runtime";
|
|
50324
50332
|
var Footer = () => {
|
|
50325
|
-
const {
|
|
50326
|
-
rhf,
|
|
50327
|
-
onCancel,
|
|
50328
|
-
onPrevious,
|
|
50329
|
-
allowUntouchedSubmit,
|
|
50330
|
-
hasNext,
|
|
50331
|
-
formInputData
|
|
50332
|
-
} = usePydanticFormContext();
|
|
50333
|
+
const { onCancel, onPrevious, hasNext, formInputData } = usePydanticFormContext();
|
|
50333
50334
|
const { theme } = useOrchestratorTheme();
|
|
50334
50335
|
const t = useTranslations60("pydanticForms.userInputForm");
|
|
50335
|
-
const isDisabled = !rhf.formState.isValid || !allowUntouchedSubmit && !rhf.formState.isDirty && !rhf.formState.isSubmitting;
|
|
50336
50336
|
const handlePrevious = () => {
|
|
50337
50337
|
if (onCancel) {
|
|
50338
50338
|
onCancel();
|
|
@@ -50382,7 +50382,6 @@ var Footer = () => {
|
|
|
50382
50382
|
type: "submit",
|
|
50383
50383
|
iconSide: "right",
|
|
50384
50384
|
"aria-label": submitButtonLabel,
|
|
50385
|
-
disabled: isDisabled,
|
|
50386
50385
|
children: submitButtonLabel
|
|
50387
50386
|
}
|
|
50388
50387
|
);
|
|
@@ -52853,8 +52852,19 @@ var WfoProductInformationWithLink = ({
|
|
|
52853
52852
|
};
|
|
52854
52853
|
|
|
52855
52854
|
// src/pages/settings/WfoSettingsPage.tsx
|
|
52855
|
+
import { useMemo as useMemo6 } from "react";
|
|
52856
52856
|
import { useTranslations as useTranslations70 } from "next-intl";
|
|
52857
|
-
import {
|
|
52857
|
+
import { StringParam as StringParam3, useQueryParam as useQueryParam2, withDefault as withDefault3 } from "use-query-params";
|
|
52858
|
+
import {
|
|
52859
|
+
EuiCodeBlock as EuiCodeBlock2,
|
|
52860
|
+
EuiFlexItem as EuiFlexItem31,
|
|
52861
|
+
EuiPanel as EuiPanel7,
|
|
52862
|
+
EuiSpacer as EuiSpacer22,
|
|
52863
|
+
EuiTab as EuiTab3,
|
|
52864
|
+
EuiTabs as EuiTabs3,
|
|
52865
|
+
EuiText as EuiText45
|
|
52866
|
+
} from "@elastic/eui";
|
|
52867
|
+
import { css as css44 } from "@emotion/react";
|
|
52858
52868
|
|
|
52859
52869
|
// src/components/WfoSettings/WfoAoStackStatus.tsx
|
|
52860
52870
|
import { useTranslations as useTranslations69 } from "next-intl";
|
|
@@ -52888,31 +52898,125 @@ var WfoAoStackStatus = () => {
|
|
|
52888
52898
|
|
|
52889
52899
|
// src/pages/settings/WfoSettingsPage.tsx
|
|
52890
52900
|
import { Fragment as Fragment54, jsx as jsx229, jsxs as jsxs122 } from "@emotion/react/jsx-runtime";
|
|
52891
|
-
var
|
|
52901
|
+
var WfoSettingsTab = /* @__PURE__ */ ((WfoSettingsTab2) => {
|
|
52902
|
+
WfoSettingsTab2["ACTIONS"] = "ACTIONS";
|
|
52903
|
+
WfoSettingsTab2["ENV_SETTINGS"] = "ENV_SETTINGS";
|
|
52904
|
+
return WfoSettingsTab2;
|
|
52905
|
+
})(WfoSettingsTab || {});
|
|
52906
|
+
var WfoActionSettings = () => {
|
|
52892
52907
|
const { theme } = useOrchestratorTheme();
|
|
52893
|
-
const t = useTranslations70("main");
|
|
52894
52908
|
const { enableAoStackStatus } = useGetOrchestratorConfig();
|
|
52895
|
-
return /* @__PURE__ */
|
|
52896
|
-
/* @__PURE__ */ jsx229(
|
|
52897
|
-
|
|
52898
|
-
|
|
52899
|
-
|
|
52900
|
-
|
|
52901
|
-
|
|
52902
|
-
),
|
|
52903
|
-
/* @__PURE__ */ jsxs122("div", { css: { maxWidth: theme.base * 40 }, children: [
|
|
52904
|
-
/* @__PURE__ */ jsx229(WfoFlushSettings, {}),
|
|
52905
|
-
/* @__PURE__ */ jsx229(EuiSpacer22, {}),
|
|
52906
|
-
/* @__PURE__ */ jsx229(WfoModifySettings, {}),
|
|
52907
|
-
/* @__PURE__ */ jsx229(EuiSpacer22, {}),
|
|
52908
|
-
/* @__PURE__ */ jsx229(WfoEngineStatus, {}),
|
|
52909
|
-
enableAoStackStatus && /* @__PURE__ */ jsxs122(Fragment54, { children: [
|
|
52910
|
-
/* @__PURE__ */ jsx229(EuiSpacer22, {}),
|
|
52911
|
-
/* @__PURE__ */ jsx229(WfoAoStackStatus, {})
|
|
52912
|
-
] }),
|
|
52909
|
+
return /* @__PURE__ */ jsx229(Fragment54, { children: /* @__PURE__ */ jsxs122("div", { css: { maxWidth: theme.base * 40 }, children: [
|
|
52910
|
+
/* @__PURE__ */ jsx229(WfoFlushSettings, {}),
|
|
52911
|
+
/* @__PURE__ */ jsx229(EuiSpacer22, {}),
|
|
52912
|
+
/* @__PURE__ */ jsx229(WfoModifySettings, {}),
|
|
52913
|
+
/* @__PURE__ */ jsx229(EuiSpacer22, {}),
|
|
52914
|
+
/* @__PURE__ */ jsx229(WfoEngineStatus, {}),
|
|
52915
|
+
enableAoStackStatus && /* @__PURE__ */ jsxs122(Fragment54, { children: [
|
|
52913
52916
|
/* @__PURE__ */ jsx229(EuiSpacer22, {}),
|
|
52914
|
-
/* @__PURE__ */ jsx229(
|
|
52915
|
-
] })
|
|
52917
|
+
/* @__PURE__ */ jsx229(WfoAoStackStatus, {})
|
|
52918
|
+
] }),
|
|
52919
|
+
/* @__PURE__ */ jsx229(EuiSpacer22, {}),
|
|
52920
|
+
/* @__PURE__ */ jsx229(WfoWorkerStatus, {})
|
|
52921
|
+
] }) });
|
|
52922
|
+
};
|
|
52923
|
+
var WfoEnvSettings = () => {
|
|
52924
|
+
const t = useTranslations70("settings.page");
|
|
52925
|
+
const { theme } = useOrchestratorTheme();
|
|
52926
|
+
const { data } = useGetEnvironmentVariablesQuery();
|
|
52927
|
+
const mapToRepresentableVariables = (variables) => {
|
|
52928
|
+
return variables.map(({ env_name, env_value }) => `${env_name}=${env_value}`).join("\n");
|
|
52929
|
+
};
|
|
52930
|
+
const renderEnvSettings = () => {
|
|
52931
|
+
return data && data.map(({ name, variables }) => {
|
|
52932
|
+
const showVariables = mapToRepresentableVariables(variables);
|
|
52933
|
+
return /* @__PURE__ */ jsxs122(Fragment54, { children: [
|
|
52934
|
+
/* @__PURE__ */ jsx229(EuiFlexItem31, { children: /* @__PURE__ */ jsxs122(
|
|
52935
|
+
EuiPanel7,
|
|
52936
|
+
{
|
|
52937
|
+
hasShadow: false,
|
|
52938
|
+
color: "subdued",
|
|
52939
|
+
paddingSize: "l",
|
|
52940
|
+
children: [
|
|
52941
|
+
/* @__PURE__ */ jsx229(EuiText45, { size: "s", children: /* @__PURE__ */ jsx229("h2", { children: name.replace("_", " ").toUpperCase() }) }),
|
|
52942
|
+
/* @__PURE__ */ jsx229(EuiSpacer22, {}),
|
|
52943
|
+
/* @__PURE__ */ jsx229(
|
|
52944
|
+
EuiCodeBlock2,
|
|
52945
|
+
{
|
|
52946
|
+
fontSize: "m",
|
|
52947
|
+
paddingSize: "m",
|
|
52948
|
+
css: css44({
|
|
52949
|
+
background: theme.colors.lightShade
|
|
52950
|
+
}),
|
|
52951
|
+
children: showVariables
|
|
52952
|
+
}
|
|
52953
|
+
)
|
|
52954
|
+
]
|
|
52955
|
+
}
|
|
52956
|
+
) }),
|
|
52957
|
+
/* @__PURE__ */ jsx229(EuiSpacer22, {})
|
|
52958
|
+
] });
|
|
52959
|
+
});
|
|
52960
|
+
};
|
|
52961
|
+
const emptyEnvSettings = () => {
|
|
52962
|
+
return /* @__PURE__ */ jsx229(EuiFlexItem31, { children: /* @__PURE__ */ jsx229(EuiPanel7, { hasShadow: false, color: "subdued", paddingSize: "l", children: /* @__PURE__ */ jsx229(EuiText45, { size: "s", children: /* @__PURE__ */ jsxs122("h2", { children: [
|
|
52963
|
+
t("noSettingsExposed"),
|
|
52964
|
+
" ",
|
|
52965
|
+
/* @__PURE__ */ jsx229(
|
|
52966
|
+
"a",
|
|
52967
|
+
{
|
|
52968
|
+
href: "https://workfloworchestrator.org/orchestrator-core/reference-docs/app/settings_overview/",
|
|
52969
|
+
target: "_blank",
|
|
52970
|
+
children: t("settingsOverviewLink")
|
|
52971
|
+
}
|
|
52972
|
+
)
|
|
52973
|
+
] }) }) }) });
|
|
52974
|
+
};
|
|
52975
|
+
return /* @__PURE__ */ jsx229("div", { css: { maxWidth: theme.base * 45 }, children: data?.length ? renderEnvSettings() : emptyEnvSettings() });
|
|
52976
|
+
};
|
|
52977
|
+
var settingsTabs = [
|
|
52978
|
+
{
|
|
52979
|
+
id: "ACTIONS" /* ACTIONS */,
|
|
52980
|
+
translationKey: "actions",
|
|
52981
|
+
content: /* @__PURE__ */ jsx229(WfoActionSettings, {})
|
|
52982
|
+
},
|
|
52983
|
+
{
|
|
52984
|
+
id: "ENV_SETTINGS" /* ENV_SETTINGS */,
|
|
52985
|
+
translationKey: "envSettings",
|
|
52986
|
+
content: /* @__PURE__ */ jsx229(WfoEnvSettings, {})
|
|
52987
|
+
}
|
|
52988
|
+
];
|
|
52989
|
+
var WfoSettingsPage = () => {
|
|
52990
|
+
const t = useTranslations70("main");
|
|
52991
|
+
const tabTranslations = useTranslations70("settings.tabs");
|
|
52992
|
+
const { tabStyle } = useWithOrchestratorTheme(getStyles4);
|
|
52993
|
+
const [selectedTabId, setSelectedTabId] = useQueryParam2(
|
|
52994
|
+
"activeTab",
|
|
52995
|
+
withDefault3(StringParam3, "ACTIONS" /* ACTIONS */)
|
|
52996
|
+
);
|
|
52997
|
+
const selectedTabContent = useMemo6(() => {
|
|
52998
|
+
return settingsTabs.find((obj) => obj.id === selectedTabId)?.content;
|
|
52999
|
+
}, [selectedTabId]);
|
|
53000
|
+
const onSelectedTabChanged = (id) => {
|
|
53001
|
+
setSelectedTabId(id);
|
|
53002
|
+
};
|
|
53003
|
+
const renderTabs = () => {
|
|
53004
|
+
return settingsTabs.map((tab, index) => /* @__PURE__ */ jsx229(
|
|
53005
|
+
EuiTab3,
|
|
53006
|
+
{
|
|
53007
|
+
css: tabStyle,
|
|
53008
|
+
onClick: () => onSelectedTabChanged(tab.id),
|
|
53009
|
+
isSelected: tab.id === selectedTabId,
|
|
53010
|
+
children: tabTranslations(tab.translationKey)
|
|
53011
|
+
},
|
|
53012
|
+
index
|
|
53013
|
+
));
|
|
53014
|
+
};
|
|
53015
|
+
return /* @__PURE__ */ jsxs122(Fragment54, { children: [
|
|
53016
|
+
/* @__PURE__ */ jsx229(WfoContentHeader, { title: t("settings") }),
|
|
53017
|
+
/* @__PURE__ */ jsx229(EuiTabs3, { children: renderTabs() }),
|
|
53018
|
+
/* @__PURE__ */ jsx229(EuiSpacer22, { size: "xxl" }),
|
|
53019
|
+
selectedTabContent
|
|
52916
53020
|
] });
|
|
52917
53021
|
};
|
|
52918
53022
|
|
|
@@ -52988,7 +53092,7 @@ var WfoSubscriptionDetailPage = () => {
|
|
|
52988
53092
|
// src/pages/subscriptions/WfoSubscriptionsListPage.tsx
|
|
52989
53093
|
import { useEffect as useEffect33, useState as useState50 } from "react";
|
|
52990
53094
|
import { useTranslations as useTranslations72 } from "next-intl";
|
|
52991
|
-
import { StringParam as
|
|
53095
|
+
import { StringParam as StringParam4, useQueryParam as useQueryParam3, withDefault as withDefault4 } from "use-query-params";
|
|
52992
53096
|
import { EuiSpacer as EuiSpacer23 } from "@elastic/eui";
|
|
52993
53097
|
import { Fragment as Fragment57, jsx as jsx232, jsxs as jsxs124 } from "@emotion/react/jsx-runtime";
|
|
52994
53098
|
var WfoSubscriptionsListPage = () => {
|
|
@@ -53014,9 +53118,9 @@ var WfoSubscriptionsListPage = () => {
|
|
|
53014
53118
|
order: "DESC" /* DESC */
|
|
53015
53119
|
}
|
|
53016
53120
|
});
|
|
53017
|
-
const [activeTab, setActiveTab] =
|
|
53121
|
+
const [activeTab, setActiveTab] = useQueryParam3(
|
|
53018
53122
|
"activeTab",
|
|
53019
|
-
|
|
53123
|
+
withDefault4(StringParam4, "ACTIVE" /* ACTIVE */)
|
|
53020
53124
|
);
|
|
53021
53125
|
const selectedTab = (() => {
|
|
53022
53126
|
return subscriptionListTabs.find(({ id }) => id === activeTab)?.id || "ACTIVE" /* ACTIVE */;
|
|
@@ -53062,7 +53166,7 @@ import { useContext as useContext11, useEffect as useEffect34, useState as useSt
|
|
|
53062
53166
|
import { useTranslations as useTranslations73 } from "next-intl";
|
|
53063
53167
|
import Link11 from "next/link";
|
|
53064
53168
|
import { useRouter as useRouter12 } from "next/router";
|
|
53065
|
-
import { StringParam as
|
|
53169
|
+
import { StringParam as StringParam5, useQueryParam as useQueryParam4, withDefault as withDefault5 } from "use-query-params";
|
|
53066
53170
|
import { EuiButton as EuiButton15, EuiSpacer as EuiSpacer24 } from "@elastic/eui";
|
|
53067
53171
|
|
|
53068
53172
|
// src/pages/tasks/tabConfig.ts
|
|
@@ -53132,9 +53236,9 @@ import { Fragment as Fragment58, jsx as jsx233, jsxs as jsxs125 } from "@emotion
|
|
|
53132
53236
|
var WfoTasksListPage = () => {
|
|
53133
53237
|
const router = useRouter12();
|
|
53134
53238
|
const t = useTranslations73("tasks.page");
|
|
53135
|
-
const [activeTab, setActiveTab] =
|
|
53239
|
+
const [activeTab, setActiveTab] = useQueryParam4(
|
|
53136
53240
|
"activeTab",
|
|
53137
|
-
|
|
53241
|
+
withDefault5(StringParam5, "ACTIVE" /* ACTIVE */)
|
|
53138
53242
|
);
|
|
53139
53243
|
const [tableDefaults, setTableDefaults] = useState51();
|
|
53140
53244
|
const selectedTasksListTab = getTasksListTabTypeFromString(activeTab);
|
|
@@ -53248,7 +53352,7 @@ var WfoTasksListPage = () => {
|
|
|
53248
53352
|
import { useEffect as useEffect35, useState as useState52 } from "react";
|
|
53249
53353
|
import { useTranslations as useTranslations74 } from "next-intl";
|
|
53250
53354
|
import { useRouter as useRouter13 } from "next/router";
|
|
53251
|
-
import { StringParam as
|
|
53355
|
+
import { StringParam as StringParam6, useQueryParam as useQueryParam5, withDefault as withDefault6 } from "use-query-params";
|
|
53252
53356
|
import { EuiSpacer as EuiSpacer25 } from "@elastic/eui";
|
|
53253
53357
|
|
|
53254
53358
|
// src/pages/workflows/tabConfig.ts
|
|
@@ -53318,9 +53422,9 @@ import { Fragment as Fragment59, jsx as jsx234, jsxs as jsxs126 } from "@emotion
|
|
|
53318
53422
|
var WfoWorkflowsListPage = () => {
|
|
53319
53423
|
const router = useRouter13();
|
|
53320
53424
|
const t = useTranslations74("workflows.index");
|
|
53321
|
-
const [activeTab, setActiveTab] =
|
|
53425
|
+
const [activeTab, setActiveTab] = useQueryParam5(
|
|
53322
53426
|
"activeTab",
|
|
53323
|
-
|
|
53427
|
+
withDefault6(StringParam6, "ACTIVE" /* ACTIVE */)
|
|
53324
53428
|
);
|
|
53325
53429
|
const [tableDefaults, setTableDefaults] = useState52();
|
|
53326
53430
|
const selectedWorkflowsListTab = getWorkflowsListTabTypeFromString(activeTab);
|
|
@@ -53661,16 +53765,16 @@ var WfoProcessesList = ({
|
|
|
53661
53765
|
};
|
|
53662
53766
|
|
|
53663
53767
|
// src/components/WfoJsonCodeBlock/WfoJsonCodeBlock.tsx
|
|
53664
|
-
import { EuiCodeBlock as
|
|
53768
|
+
import { EuiCodeBlock as EuiCodeBlock3 } from "@elastic/eui";
|
|
53665
53769
|
|
|
53666
53770
|
// src/components/WfoJsonCodeBlock/styles.ts
|
|
53667
|
-
import { css as
|
|
53771
|
+
import { css as css45 } from "@emotion/react";
|
|
53668
53772
|
var getStyles14 = ({ theme }) => {
|
|
53669
|
-
const euiCodeBlockStyle =
|
|
53773
|
+
const euiCodeBlockStyle = css45({
|
|
53670
53774
|
marginTop: 10,
|
|
53671
53775
|
borderRadius: theme.border.radius.medium
|
|
53672
53776
|
});
|
|
53673
|
-
const euiBasicCodeBlockStyle =
|
|
53777
|
+
const euiBasicCodeBlockStyle = css45({
|
|
53674
53778
|
backgroundColor: "inherit",
|
|
53675
53779
|
".euiCodeBlock__pre": {
|
|
53676
53780
|
paddingTop: 0,
|
|
@@ -53696,7 +53800,7 @@ var WfoJsonCodeBlock = ({
|
|
|
53696
53800
|
const { euiCodeBlockStyle, euiBasicCodeBlockStyle } = useWithOrchestratorTheme(getStyles14);
|
|
53697
53801
|
const json = JSON.stringify(data, null, 4);
|
|
53698
53802
|
return /* @__PURE__ */ jsx236(
|
|
53699
|
-
|
|
53803
|
+
EuiCodeBlock3,
|
|
53700
53804
|
{
|
|
53701
53805
|
css: isBasicStyle ? euiBasicCodeBlockStyle : euiCodeBlockStyle,
|
|
53702
53806
|
isCopyable: true,
|
|
@@ -53713,16 +53817,16 @@ import { useTranslations as useTranslations76 } from "next-intl";
|
|
|
53713
53817
|
import {
|
|
53714
53818
|
EuiButton as EuiButton16,
|
|
53715
53819
|
EuiComboBox,
|
|
53716
|
-
EuiPanel as
|
|
53820
|
+
EuiPanel as EuiPanel8,
|
|
53717
53821
|
EuiSpacer as EuiSpacer26,
|
|
53718
|
-
EuiText as
|
|
53822
|
+
EuiText as EuiText46
|
|
53719
53823
|
} from "@elastic/eui";
|
|
53720
53824
|
|
|
53721
53825
|
// src/components/WfoSettings/styles.ts
|
|
53722
|
-
import { css as
|
|
53826
|
+
import { css as css46 } from "@emotion/react";
|
|
53723
53827
|
var getWfoFlushSettingsStyle = (wfoTheme) => {
|
|
53724
53828
|
const { theme } = wfoTheme;
|
|
53725
|
-
const comboboxStyle =
|
|
53829
|
+
const comboboxStyle = css46({
|
|
53726
53830
|
// .euiComboBox is needed to override eui styling (more specific)
|
|
53727
53831
|
"&.euiComboBox": {
|
|
53728
53832
|
".euiComboBox__inputWrap": {
|
|
@@ -53781,8 +53885,8 @@ var WfoFlushSettings = () => {
|
|
|
53781
53885
|
);
|
|
53782
53886
|
});
|
|
53783
53887
|
};
|
|
53784
|
-
return /* @__PURE__ */ jsx237(WfoIsAllowedToRender, { resource: "/orchestrator/settings/flush-cache" /* SETTINGS_FLUSH_CACHE */, children: /* @__PURE__ */ jsxs128(
|
|
53785
|
-
/* @__PURE__ */ jsx237(
|
|
53888
|
+
return /* @__PURE__ */ jsx237(WfoIsAllowedToRender, { resource: "/orchestrator/settings/flush-cache" /* SETTINGS_FLUSH_CACHE */, children: /* @__PURE__ */ jsxs128(EuiPanel8, { hasShadow: false, color: "subdued", paddingSize: "l", children: [
|
|
53889
|
+
/* @__PURE__ */ jsx237(EuiText46, { size: "s", children: /* @__PURE__ */ jsx237("h4", { children: t("flushCacheSettingsTitle") }) }),
|
|
53786
53890
|
/* @__PURE__ */ jsx237(EuiSpacer26, { size: "m" }),
|
|
53787
53891
|
/* @__PURE__ */ jsx237(
|
|
53788
53892
|
EuiComboBox,
|
|
@@ -53837,13 +53941,13 @@ var WfoEngineStatusButton = () => {
|
|
|
53837
53941
|
|
|
53838
53942
|
// src/components/WfoSettings/WfoModifySettings.tsx
|
|
53839
53943
|
import { useTranslations as useTranslations78 } from "next-intl";
|
|
53840
|
-
import { EuiFlexItem as
|
|
53944
|
+
import { EuiFlexItem as EuiFlexItem32, EuiPanel as EuiPanel9, EuiSpacer as EuiSpacer27, EuiText as EuiText47 } from "@elastic/eui";
|
|
53841
53945
|
import { jsx as jsx239, jsxs as jsxs129 } from "@emotion/react/jsx-runtime";
|
|
53842
53946
|
var WfoModifySettings = () => {
|
|
53843
53947
|
const t = useTranslations78("settings.page");
|
|
53844
|
-
return /* @__PURE__ */ jsxs129(
|
|
53845
|
-
/* @__PURE__ */ jsxs129(
|
|
53846
|
-
/* @__PURE__ */ jsx239(
|
|
53948
|
+
return /* @__PURE__ */ jsxs129(EuiFlexItem32, { children: [
|
|
53949
|
+
/* @__PURE__ */ jsxs129(EuiPanel9, { hasShadow: false, color: "subdued", paddingSize: "l", children: [
|
|
53950
|
+
/* @__PURE__ */ jsx239(EuiText47, { size: "s", children: /* @__PURE__ */ jsx239("h4", { children: t("resetTextSearchIndex") }) }),
|
|
53847
53951
|
/* @__PURE__ */ jsx239(EuiSpacer27, { size: "m" }),
|
|
53848
53952
|
/* @__PURE__ */ jsx239(WfoResetTextSearchIndexButton, {})
|
|
53849
53953
|
] }),
|
|
@@ -53853,8 +53957,8 @@ var WfoModifySettings = () => {
|
|
|
53853
53957
|
resource: "/orchestrator/settings/start-stop-engine" /* SETTINGS_START_STOP_ENGINE */,
|
|
53854
53958
|
children: [
|
|
53855
53959
|
/* @__PURE__ */ jsx239(EuiSpacer27, {}),
|
|
53856
|
-
/* @__PURE__ */ jsxs129(
|
|
53857
|
-
/* @__PURE__ */ jsx239(
|
|
53960
|
+
/* @__PURE__ */ jsxs129(EuiPanel9, { hasShadow: false, color: "subdued", paddingSize: "l", children: [
|
|
53961
|
+
/* @__PURE__ */ jsx239(EuiText47, { size: "s", children: /* @__PURE__ */ jsx239("h4", { children: t("modifyEngine") }) }),
|
|
53858
53962
|
/* @__PURE__ */ jsx239(EuiSpacer27, { size: "m" }),
|
|
53859
53963
|
/* @__PURE__ */ jsx239(WfoEngineStatusButton, {})
|
|
53860
53964
|
] })
|
|
@@ -53866,7 +53970,7 @@ var WfoModifySettings = () => {
|
|
|
53866
53970
|
|
|
53867
53971
|
// src/components/WfoSettings/WfoEngineStatus.tsx
|
|
53868
53972
|
import { useTranslations as useTranslations79 } from "next-intl";
|
|
53869
|
-
import { EuiFlexGroup as EuiFlexGroup27, EuiFlexItem as
|
|
53973
|
+
import { EuiFlexGroup as EuiFlexGroup27, EuiFlexItem as EuiFlexItem33, EuiPanel as EuiPanel10, EuiText as EuiText48 } from "@elastic/eui";
|
|
53870
53974
|
import { jsx as jsx240, jsxs as jsxs130 } from "@emotion/react/jsx-runtime";
|
|
53871
53975
|
var WfoEngineStatus = () => {
|
|
53872
53976
|
const { theme } = useOrchestratorTheme();
|
|
@@ -53874,28 +53978,28 @@ var WfoEngineStatus = () => {
|
|
|
53874
53978
|
const { engineStatus, runningProcesses } = data || {};
|
|
53875
53979
|
const isRunning = engineStatus === "RUNNING" /* RUNNING */;
|
|
53876
53980
|
const t = useTranslations79("settings.page");
|
|
53877
|
-
return /* @__PURE__ */ jsx240(
|
|
53878
|
-
/* @__PURE__ */ jsx240(
|
|
53879
|
-
/* @__PURE__ */ jsxs130(
|
|
53880
|
-
/* @__PURE__ */ jsx240(
|
|
53881
|
-
/* @__PURE__ */ jsx240(
|
|
53981
|
+
return /* @__PURE__ */ jsx240(EuiPanel10, { hasShadow: false, color: "subdued", paddingSize: "l", children: /* @__PURE__ */ jsxs130(EuiFlexGroup27, { direction: "column", gutterSize: "s", children: [
|
|
53982
|
+
/* @__PURE__ */ jsx240(EuiFlexItem33, { children: /* @__PURE__ */ jsx240(EuiText48, { size: "s", children: /* @__PURE__ */ jsx240("h4", { children: t("engineStatusTitle") }) }) }),
|
|
53983
|
+
/* @__PURE__ */ jsxs130(EuiFlexItem33, { css: { flexDirection: "row" }, children: [
|
|
53984
|
+
/* @__PURE__ */ jsx240(EuiText48, { size: "s", style: { minWidth: 200 }, children: t("runningProcesses") }),
|
|
53985
|
+
/* @__PURE__ */ jsx240(EuiText48, { size: "s", children: runningProcesses || "-" })
|
|
53882
53986
|
] }),
|
|
53883
|
-
/* @__PURE__ */ jsxs130(
|
|
53884
|
-
/* @__PURE__ */ jsx240(
|
|
53987
|
+
/* @__PURE__ */ jsxs130(EuiFlexItem33, { css: { flexDirection: "row" }, children: [
|
|
53988
|
+
/* @__PURE__ */ jsx240(EuiText48, { size: "s", style: { minWidth: 190 }, children: t("status") }),
|
|
53885
53989
|
/* @__PURE__ */ jsx240(
|
|
53886
53990
|
WfoStatusDotIcon,
|
|
53887
53991
|
{
|
|
53888
53992
|
color: isRunning ? theme.colors.success : theme.colors.warning
|
|
53889
53993
|
}
|
|
53890
53994
|
),
|
|
53891
|
-
/* @__PURE__ */ jsx240(
|
|
53995
|
+
/* @__PURE__ */ jsx240(EuiText48, { size: "xs", css: { paddingTop: theme.size.xs }, children: /* @__PURE__ */ jsx240("p", { children: engineStatus }) })
|
|
53892
53996
|
] })
|
|
53893
53997
|
] }) });
|
|
53894
53998
|
};
|
|
53895
53999
|
|
|
53896
54000
|
// src/components/WfoSettings/WfoWorkerStatus.tsx
|
|
53897
54001
|
import { useTranslations as useTranslations80 } from "next-intl";
|
|
53898
|
-
import { EuiFlexGroup as EuiFlexGroup28, EuiFlexItem as
|
|
54002
|
+
import { EuiFlexGroup as EuiFlexGroup28, EuiFlexItem as EuiFlexItem34, EuiPanel as EuiPanel11, EuiText as EuiText49 } from "@elastic/eui";
|
|
53899
54003
|
import { jsx as jsx241, jsxs as jsxs131 } from "@emotion/react/jsx-runtime";
|
|
53900
54004
|
var WfoWorkerStatus = () => {
|
|
53901
54005
|
const { data } = useGetWorkerStatusQuery();
|
|
@@ -53906,19 +54010,19 @@ var WfoWorkerStatus = () => {
|
|
|
53906
54010
|
numberOfWorkersOnline
|
|
53907
54011
|
} = data || {};
|
|
53908
54012
|
const t = useTranslations80("settings.page");
|
|
53909
|
-
return executorType?.toUpperCase() === "CELERY" /* CELERY */ && /* @__PURE__ */ jsx241(
|
|
53910
|
-
/* @__PURE__ */ jsx241(
|
|
53911
|
-
/* @__PURE__ */ jsxs131(
|
|
53912
|
-
/* @__PURE__ */ jsx241(
|
|
53913
|
-
/* @__PURE__ */ jsx241(
|
|
54013
|
+
return executorType?.toUpperCase() === "CELERY" /* CELERY */ && /* @__PURE__ */ jsx241(EuiPanel11, { hasShadow: false, color: "subdued", paddingSize: "l", children: /* @__PURE__ */ jsxs131(EuiFlexGroup28, { direction: "column", gutterSize: "s", children: [
|
|
54014
|
+
/* @__PURE__ */ jsx241(EuiFlexItem34, { children: /* @__PURE__ */ jsx241(EuiText49, { size: "s", children: /* @__PURE__ */ jsx241("h4", { children: t("workerStatusTitle") }) }) }),
|
|
54015
|
+
/* @__PURE__ */ jsxs131(EuiFlexItem34, { css: { flexDirection: "row" }, children: [
|
|
54016
|
+
/* @__PURE__ */ jsx241(EuiText49, { size: "s", style: { minWidth: 200 }, children: t("numberOfQueuedJobs") }),
|
|
54017
|
+
/* @__PURE__ */ jsx241(EuiText49, { size: "s", children: numberOfQueuedJobs || "-" })
|
|
53914
54018
|
] }),
|
|
53915
|
-
/* @__PURE__ */ jsxs131(
|
|
53916
|
-
/* @__PURE__ */ jsx241(
|
|
53917
|
-
/* @__PURE__ */ jsx241(
|
|
54019
|
+
/* @__PURE__ */ jsxs131(EuiFlexItem34, { css: { flexDirection: "row" }, children: [
|
|
54020
|
+
/* @__PURE__ */ jsx241(EuiText49, { size: "s", style: { minWidth: 200 }, children: t("numberOfRunningJobs") }),
|
|
54021
|
+
/* @__PURE__ */ jsx241(EuiText49, { size: "s", children: numberOfRunningJobs || "-" })
|
|
53918
54022
|
] }),
|
|
53919
|
-
/* @__PURE__ */ jsxs131(
|
|
53920
|
-
/* @__PURE__ */ jsx241(
|
|
53921
|
-
/* @__PURE__ */ jsx241(
|
|
54023
|
+
/* @__PURE__ */ jsxs131(EuiFlexItem34, { css: { flexDirection: "row" }, children: [
|
|
54024
|
+
/* @__PURE__ */ jsx241(EuiText49, { size: "s", style: { minWidth: 200 }, children: t("numberOfWorkersOnline") }),
|
|
54025
|
+
/* @__PURE__ */ jsx241(EuiText49, { size: "s", children: numberOfWorkersOnline || "-" })
|
|
53922
54026
|
] })
|
|
53923
54027
|
] }) }) || null;
|
|
53924
54028
|
};
|
|
@@ -53962,9 +54066,9 @@ var WfoInsyncIcon = ({ inSync }) => {
|
|
|
53962
54066
|
};
|
|
53963
54067
|
|
|
53964
54068
|
// src/components/WfoErrorBoundary/WfoErrorBoundary.tsx
|
|
53965
|
-
import
|
|
54069
|
+
import React79 from "react";
|
|
53966
54070
|
import { jsx as jsx244, jsxs as jsxs132 } from "@emotion/react/jsx-runtime";
|
|
53967
|
-
var WfoErrorBoundary = class extends
|
|
54071
|
+
var WfoErrorBoundary = class extends React79.Component {
|
|
53968
54072
|
constructor(props) {
|
|
53969
54073
|
super(props);
|
|
53970
54074
|
this.state = { hasError: false };
|
|
@@ -53994,9 +54098,9 @@ var WfoErrorBoundary = class extends React78.Component {
|
|
|
53994
54098
|
import { EuiFlexGroup as EuiFlexGroup29 } from "@elastic/eui";
|
|
53995
54099
|
|
|
53996
54100
|
// src/components/WfoNoResults/styles.ts
|
|
53997
|
-
import { css as
|
|
54101
|
+
import { css as css47 } from "@emotion/react";
|
|
53998
54102
|
var getStyles15 = ({ theme }) => {
|
|
53999
|
-
const panelStyle =
|
|
54103
|
+
const panelStyle = css47({
|
|
54000
54104
|
display: "flex",
|
|
54001
54105
|
padding: theme.base * 2,
|
|
54002
54106
|
flexDirection: "row",
|
|
@@ -54352,25 +54456,25 @@ var getNumberOfColumns = (currentBreakpoint) => {
|
|
|
54352
54456
|
import {
|
|
54353
54457
|
EuiAvatar as EuiAvatar2,
|
|
54354
54458
|
EuiFlexGroup as EuiFlexGroup30,
|
|
54355
|
-
EuiFlexItem as
|
|
54459
|
+
EuiFlexItem as EuiFlexItem35,
|
|
54356
54460
|
EuiLoadingSpinner,
|
|
54357
|
-
EuiPanel as
|
|
54358
|
-
EuiText as
|
|
54461
|
+
EuiPanel as EuiPanel12,
|
|
54462
|
+
EuiText as EuiText50
|
|
54359
54463
|
} from "@elastic/eui";
|
|
54360
54464
|
|
|
54361
54465
|
// src/components/WfoSummary/WfoSummaryCardHeader/styles.ts
|
|
54362
|
-
import { css as
|
|
54466
|
+
import { css as css48 } from "@emotion/react";
|
|
54363
54467
|
var getWfoSummaryCardHeaderStyles = ({ theme }) => {
|
|
54364
|
-
const avatarStyle =
|
|
54468
|
+
const avatarStyle = css48({
|
|
54365
54469
|
maxHeight: theme.base * 3,
|
|
54366
54470
|
maxWidth: theme.base * 3
|
|
54367
54471
|
});
|
|
54368
|
-
const totalSectionStyle =
|
|
54472
|
+
const totalSectionStyle = css48({
|
|
54369
54473
|
display: "flex",
|
|
54370
54474
|
flexDirection: "column",
|
|
54371
54475
|
justifyContent: "space-between"
|
|
54372
54476
|
});
|
|
54373
|
-
const valueStyle =
|
|
54477
|
+
const valueStyle = css48({
|
|
54374
54478
|
fontSize: theme.size.l,
|
|
54375
54479
|
fontWeight: theme.font.weight.semiBold
|
|
54376
54480
|
});
|
|
@@ -54392,7 +54496,7 @@ var WfoSummaryCardHeader = ({
|
|
|
54392
54496
|
}) => {
|
|
54393
54497
|
const { theme } = useOrchestratorTheme();
|
|
54394
54498
|
const { avatarStyle, totalSectionStyle, valueStyle } = useWithOrchestratorTheme(getWfoSummaryCardHeaderStyles);
|
|
54395
|
-
return /* @__PURE__ */ jsx248(
|
|
54499
|
+
return /* @__PURE__ */ jsx248(EuiFlexItem35, { grow: 0, children: /* @__PURE__ */ jsx248(EuiPanel12, { hasShadow: false, color: "subdued", paddingSize: "l", children: /* @__PURE__ */ jsxs134(EuiFlexGroup30, { alignItems: "center", children: [
|
|
54396
54500
|
/* @__PURE__ */ jsx248(
|
|
54397
54501
|
EuiAvatar2,
|
|
54398
54502
|
{
|
|
@@ -54407,9 +54511,9 @@ var WfoSummaryCardHeader = ({
|
|
|
54407
54511
|
}
|
|
54408
54512
|
),
|
|
54409
54513
|
/* @__PURE__ */ jsxs134("div", { css: totalSectionStyle, children: [
|
|
54410
|
-
/* @__PURE__ */ jsx248(
|
|
54514
|
+
/* @__PURE__ */ jsx248(EuiText50, { color: "subdued", children: text }),
|
|
54411
54515
|
/* @__PURE__ */ jsxs134(EuiFlexGroup30, { gutterSize: "s", alignItems: "center", children: [
|
|
54412
|
-
/* @__PURE__ */ jsx248(
|
|
54516
|
+
/* @__PURE__ */ jsx248(EuiText50, { css: valueStyle, children: value }),
|
|
54413
54517
|
isFetching && /* @__PURE__ */ jsx248(EuiLoadingSpinner, {})
|
|
54414
54518
|
] })
|
|
54415
54519
|
] })
|
|
@@ -54420,16 +54524,16 @@ var WfoSummaryCardHeader = ({
|
|
|
54420
54524
|
import { useRouter as useRouter17 } from "next/router";
|
|
54421
54525
|
import {
|
|
54422
54526
|
EuiButton as EuiButton19,
|
|
54423
|
-
EuiFlexItem as
|
|
54424
|
-
EuiHorizontalRule as
|
|
54425
|
-
EuiPanel as
|
|
54527
|
+
EuiFlexItem as EuiFlexItem37,
|
|
54528
|
+
EuiHorizontalRule as EuiHorizontalRule9,
|
|
54529
|
+
EuiPanel as EuiPanel13,
|
|
54426
54530
|
EuiSkeletonText,
|
|
54427
54531
|
EuiSpacer as EuiSpacer28,
|
|
54428
54532
|
useEuiScrollBar as useEuiScrollBar3
|
|
54429
54533
|
} from "@elastic/eui";
|
|
54430
54534
|
|
|
54431
54535
|
// src/components/WfoSummary/WfoSummaryCardList/WfoSummaryCardListItem.tsx
|
|
54432
|
-
import { EuiFlexGroup as EuiFlexGroup31, EuiFlexItem as
|
|
54536
|
+
import { EuiFlexGroup as EuiFlexGroup31, EuiFlexItem as EuiFlexItem36, EuiIcon as EuiIcon6, EuiTextColor } from "@elastic/eui";
|
|
54433
54537
|
|
|
54434
54538
|
// src/components/WfoOptionalLink/WfoOptionalLink.tsx
|
|
54435
54539
|
import Link14 from "next/link";
|
|
@@ -54445,23 +54549,23 @@ var WfoOptionalLink = ({
|
|
|
54445
54549
|
};
|
|
54446
54550
|
|
|
54447
54551
|
// src/components/WfoSummary/WfoSummaryCardList/styles.ts
|
|
54448
|
-
import { css as
|
|
54552
|
+
import { css as css49 } from "@emotion/react";
|
|
54449
54553
|
var getWfoSummaryCardListStyles = ({ theme }) => {
|
|
54450
|
-
const listContainerStyle =
|
|
54554
|
+
const listContainerStyle = css49({
|
|
54451
54555
|
display: "flex",
|
|
54452
54556
|
flexDirection: "column",
|
|
54453
54557
|
justifyContent: "space-between",
|
|
54454
54558
|
flexGrow: 1,
|
|
54455
54559
|
borderColor: theme.colors.lightShade
|
|
54456
54560
|
});
|
|
54457
|
-
const listHeaderStyle =
|
|
54561
|
+
const listHeaderStyle = css49({
|
|
54458
54562
|
fontWeight: theme.font.weight.semiBold
|
|
54459
54563
|
});
|
|
54460
|
-
const listStyle =
|
|
54564
|
+
const listStyle = css49({
|
|
54461
54565
|
height: theme.base * 20,
|
|
54462
54566
|
overflow: "auto"
|
|
54463
54567
|
});
|
|
54464
|
-
const listItemContainerStyle =
|
|
54568
|
+
const listItemContainerStyle = css49({
|
|
54465
54569
|
paddingBlock: theme.size.m,
|
|
54466
54570
|
".highlight-icon": {
|
|
54467
54571
|
visibility: "hidden"
|
|
@@ -54470,13 +54574,13 @@ var getWfoSummaryCardListStyles = ({ theme }) => {
|
|
|
54470
54574
|
visibility: "visible"
|
|
54471
54575
|
}
|
|
54472
54576
|
});
|
|
54473
|
-
const listItemTitleStyle =
|
|
54577
|
+
const listItemTitleStyle = css49({
|
|
54474
54578
|
fontWeight: theme.font.weight.medium
|
|
54475
54579
|
});
|
|
54476
|
-
const listItemSubtitleStyle =
|
|
54580
|
+
const listItemSubtitleStyle = css49({
|
|
54477
54581
|
fontWeight: theme.font.weight.regular
|
|
54478
54582
|
});
|
|
54479
|
-
const listItemHighlightIconStyle =
|
|
54583
|
+
const listItemHighlightIconStyle = css49({
|
|
54480
54584
|
visibility: "hidden"
|
|
54481
54585
|
});
|
|
54482
54586
|
return {
|
|
@@ -54505,7 +54609,7 @@ var WfoSummaryCardListItem = ({
|
|
|
54505
54609
|
listItemHighlightIconStyle
|
|
54506
54610
|
} = useWithOrchestratorTheme(getWfoSummaryCardListStyles);
|
|
54507
54611
|
return /* @__PURE__ */ jsx250(WfoOptionalLink, { href: url, children: /* @__PURE__ */ jsxs135(EuiFlexGroup31, { css: listItemContainerStyle, gutterSize: "none", children: [
|
|
54508
|
-
/* @__PURE__ */ jsxs135(
|
|
54612
|
+
/* @__PURE__ */ jsxs135(EuiFlexItem36, { children: [
|
|
54509
54613
|
/* @__PURE__ */ jsx250(
|
|
54510
54614
|
EuiTextColor,
|
|
54511
54615
|
{
|
|
@@ -54517,7 +54621,7 @@ var WfoSummaryCardListItem = ({
|
|
|
54517
54621
|
/* @__PURE__ */ jsx250(EuiTextColor, { css: listItemSubtitleStyle, children: value })
|
|
54518
54622
|
] }),
|
|
54519
54623
|
/* @__PURE__ */ jsx250(
|
|
54520
|
-
|
|
54624
|
+
EuiFlexItem36,
|
|
54521
54625
|
{
|
|
54522
54626
|
className: url ? "highlight-icon" : void 0,
|
|
54523
54627
|
grow: false,
|
|
@@ -54539,8 +54643,8 @@ var WfoSummaryCardList = ({
|
|
|
54539
54643
|
const router = useRouter17();
|
|
54540
54644
|
const euiScrollBarStyle = useEuiScrollBar3();
|
|
54541
54645
|
const { listContainerStyle, listHeaderStyle, listStyle } = useWithOrchestratorTheme(getWfoSummaryCardListStyles);
|
|
54542
|
-
return /* @__PURE__ */ jsx251(
|
|
54543
|
-
|
|
54646
|
+
return /* @__PURE__ */ jsx251(EuiFlexItem37, { children: /* @__PURE__ */ jsxs136(
|
|
54647
|
+
EuiPanel13,
|
|
54544
54648
|
{
|
|
54545
54649
|
css: listContainerStyle,
|
|
54546
54650
|
hasShadow: false,
|
|
@@ -54559,7 +54663,7 @@ var WfoSummaryCardList = ({
|
|
|
54559
54663
|
url: item.url
|
|
54560
54664
|
}
|
|
54561
54665
|
),
|
|
54562
|
-
index === items.length - 1 ? null : /* @__PURE__ */ jsx251(
|
|
54666
|
+
index === items.length - 1 ? null : /* @__PURE__ */ jsx251(EuiHorizontalRule9, { margin: "none" })
|
|
54563
54667
|
] }, index)) }) })
|
|
54564
54668
|
] }),
|
|
54565
54669
|
/* @__PURE__ */ jsx251(EuiSpacer28, { size: "m" }),
|
|
@@ -54593,12 +54697,12 @@ var WfoSummaryCards = ({ children }) => {
|
|
|
54593
54697
|
};
|
|
54594
54698
|
|
|
54595
54699
|
// src/components/WfoSummary/WfoSummaryCard.tsx
|
|
54596
|
-
import { EuiFlexItem as
|
|
54700
|
+
import { EuiFlexItem as EuiFlexItem38, EuiSpacer as EuiSpacer29 } from "@elastic/eui";
|
|
54597
54701
|
|
|
54598
54702
|
// src/components/WfoSummary/styles.ts
|
|
54599
|
-
import { css as
|
|
54703
|
+
import { css as css50 } from "@emotion/react";
|
|
54600
54704
|
var getWfoSummaryCardsStyles = ({ theme }) => {
|
|
54601
|
-
const cardContainerStyle =
|
|
54705
|
+
const cardContainerStyle = css50({
|
|
54602
54706
|
height: theme.base * 36,
|
|
54603
54707
|
minWidth: theme.base * 25
|
|
54604
54708
|
});
|
|
@@ -54682,7 +54786,7 @@ var WfoSummaryCard = ({
|
|
|
54682
54786
|
};
|
|
54683
54787
|
}
|
|
54684
54788
|
};
|
|
54685
|
-
return /* @__PURE__ */ jsxs137(
|
|
54789
|
+
return /* @__PURE__ */ jsxs137(EuiFlexItem38, { css: cardContainerStyle, children: [
|
|
54686
54790
|
/* @__PURE__ */ jsx253(
|
|
54687
54791
|
WfoSummaryCardHeader,
|
|
54688
54792
|
{
|
|
@@ -55231,12 +55335,12 @@ var WfoSubscriptionDetailNoteEdit = ({ subscriptionId, onlyShowOnHover = false }
|
|
|
55231
55335
|
};
|
|
55232
55336
|
|
|
55233
55337
|
// src/components/WfoTableCodeBlock/WfoTableCodeBlock.tsx
|
|
55234
|
-
import { EuiFlexItem as
|
|
55338
|
+
import { EuiFlexItem as EuiFlexItem39 } from "@elastic/eui";
|
|
55235
55339
|
|
|
55236
55340
|
// src/components/WfoTableCodeBlock/styles.ts
|
|
55237
|
-
import { css as
|
|
55341
|
+
import { css as css51 } from "@emotion/react";
|
|
55238
55342
|
var getStyles16 = ({ theme }) => {
|
|
55239
|
-
const tableCodeBlockMarginStyle =
|
|
55343
|
+
const tableCodeBlockMarginStyle = css51({
|
|
55240
55344
|
margin: theme.size.base,
|
|
55241
55345
|
marginTop: theme.size.l,
|
|
55242
55346
|
marginRight: theme.size.l
|
|
@@ -55263,7 +55367,7 @@ var WfoTableCodeBlock = ({
|
|
|
55263
55367
|
};
|
|
55264
55368
|
}
|
|
55265
55369
|
);
|
|
55266
|
-
return /* @__PURE__ */ jsx264(
|
|
55370
|
+
return /* @__PURE__ */ jsx264(EuiFlexItem39, { css: tableCodeBlockMarginStyle, children: /* @__PURE__ */ jsx264(
|
|
55267
55371
|
WfoKeyValueTable,
|
|
55268
55372
|
{
|
|
55269
55373
|
keyValues,
|
|
@@ -55707,7 +55811,13 @@ var en_GB_default = {
|
|
|
55707
55811
|
numberOfRunningJobs: "Number of running jobs",
|
|
55708
55812
|
numberOfWorkersOnline: "Number of workers online",
|
|
55709
55813
|
viewStatusPage: "View AO status page",
|
|
55710
|
-
aoStackStatus: "AO stack status"
|
|
55814
|
+
aoStackStatus: "AO stack status",
|
|
55815
|
+
noSettingsExposed: "No settings exposed by the backend, to enable this, please refer to the",
|
|
55816
|
+
settingsOverviewLink: "Settings Overview page in the documentation"
|
|
55817
|
+
},
|
|
55818
|
+
tabs: {
|
|
55819
|
+
actions: "Actions",
|
|
55820
|
+
envSettings: "Environment Settings"
|
|
55711
55821
|
}
|
|
55712
55822
|
},
|
|
55713
55823
|
startPage: {
|
|
@@ -56160,7 +56270,13 @@ var nl_NL_default = {
|
|
|
56160
56270
|
status: "Status",
|
|
56161
56271
|
numberOfQueuedJobs: "Aantal queued jobs",
|
|
56162
56272
|
numberOfRunningJobs: "Aantal running jobs",
|
|
56163
|
-
numberOfWorkersOnline: "Aantal workers online"
|
|
56273
|
+
numberOfWorkersOnline: "Aantal workers online",
|
|
56274
|
+
noSettingsExposed: "Er zijn geen instellingen beschikbaar vanuit de backend. Om dit in te schakelen, raadpleeg de ",
|
|
56275
|
+
settingsOverviewLink: "pagina Instellingenoverzicht in de documentatie"
|
|
56276
|
+
},
|
|
56277
|
+
tabs: {
|
|
56278
|
+
actions: "Acties",
|
|
56279
|
+
envSettings: "Environment Settings"
|
|
56164
56280
|
}
|
|
56165
56281
|
},
|
|
56166
56282
|
startPage: {
|
|
@@ -56341,6 +56457,7 @@ export {
|
|
|
56341
56457
|
SETTINGS_CACHE_NAMES_ENDPOINT,
|
|
56342
56458
|
SETTINGS_ENDPOINT,
|
|
56343
56459
|
SETTINGS_ENGINE_STATUS_ENDPOINT,
|
|
56460
|
+
SETTINGS_OVERVIEW,
|
|
56344
56461
|
SETTINGS_SEARCH_INDEX_RESET_ENDPOINT,
|
|
56345
56462
|
SETTINGS_WORKER_STATUS_ENDPOINT,
|
|
56346
56463
|
STEP_STATE_HIDDEN_KEYS,
|
|
@@ -56375,6 +56492,7 @@ export {
|
|
|
56375
56492
|
VALUE_CELL_CLASS_NAME,
|
|
56376
56493
|
VlanField,
|
|
56377
56494
|
WFO_STATUS_COLOR_FIELD,
|
|
56495
|
+
WfoActionSettings,
|
|
56378
56496
|
WfoActiveWorkflowsSummaryCard,
|
|
56379
56497
|
WfoActualWork,
|
|
56380
56498
|
WfoAdvancedTable,
|
|
@@ -56408,6 +56526,7 @@ export {
|
|
|
56408
56526
|
WfoEngineStatus,
|
|
56409
56527
|
WfoEngineStatusBadge,
|
|
56410
56528
|
WfoEngineStatusButton,
|
|
56529
|
+
WfoEnvSettings,
|
|
56411
56530
|
WfoEnvironmentBadge,
|
|
56412
56531
|
WfoError,
|
|
56413
56532
|
WfoErrorBoundary,
|
|
@@ -56488,6 +56607,7 @@ export {
|
|
|
56488
56607
|
WfoSearchStrikethrough,
|
|
56489
56608
|
WfoSettingsModal,
|
|
56490
56609
|
WfoSettingsPage,
|
|
56610
|
+
WfoSettingsTab,
|
|
56491
56611
|
WfoShare,
|
|
56492
56612
|
WfoSideMenu,
|
|
56493
56613
|
WfoSidebar,
|
|
@@ -56682,6 +56802,7 @@ export {
|
|
|
56682
56802
|
resourceTypesQuery,
|
|
56683
56803
|
selectOrchestratorConfig,
|
|
56684
56804
|
setTableConfigToLocalStorage,
|
|
56805
|
+
settingsTabs,
|
|
56685
56806
|
snakeToHuman,
|
|
56686
56807
|
snakeToKebab,
|
|
56687
56808
|
sortProcessesByDate,
|
|
@@ -56721,6 +56842,7 @@ export {
|
|
|
56721
56842
|
useGetCustomersWithSubscriptionCountQuery,
|
|
56722
56843
|
useGetDescriptionForWorkflowNameQuery,
|
|
56723
56844
|
useGetEngineStatusQuery,
|
|
56845
|
+
useGetEnvironmentVariablesQuery,
|
|
56724
56846
|
useGetInUseByRelationDetailsQuery,
|
|
56725
56847
|
useGetNodeSubscriptionOptionsQuery,
|
|
56726
56848
|
useGetOrchestratorConfig,
|