@orchestrator-ui/orchestrator-ui-components 2.15.0 → 3.0.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 +7 -7
- package/.turbo/turbo-lint.log +1 -1
- package/.turbo/turbo-test.log +13 -12
- package/CHANGELOG.md +31 -0
- package/dist/index.d.ts +13 -5
- package/dist/index.js +190 -117
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/WfoBadges/WfoProductBlockBadge/WfoProductBlockBadge.tsx +14 -3
- package/src/components/WfoInsyncIcon/WfoInsyncIcon.tsx +4 -4
- package/src/components/WfoProcessList/WfoProcessesList.tsx +14 -14
- package/src/components/WfoTable/WfoTable/WfoGroupedTable/WfoGroupedTable.tsx +21 -13
- package/src/configuration/version.ts +1 -1
- package/src/pages/metadata/WfoProductBlocksPage.tsx +27 -7
- package/src/pages/metadata/WfoProductsPage.tsx +19 -11
- package/src/pages/metadata/WfoResourceTypesPage.tsx +22 -7
- package/src/pages/metadata/WfoTasksPage.tsx +15 -3
- package/src/pages/metadata/WfoWorkflowsPage.tsx +15 -3
- package/src/types/types.ts +4 -0
- package/src/utils/csvDownload.ts +64 -35
- package/src/utils/getQueryUrl.spec.ts +9 -0
- package/src/utils/getQueryUrl.ts +8 -0
- package/src/utils/index.ts +1 -0
package/dist/index.js
CHANGED
|
@@ -26792,7 +26792,7 @@ var PolicyResource = /* @__PURE__ */ ((PolicyResource2) => {
|
|
|
26792
26792
|
})(PolicyResource || {});
|
|
26793
26793
|
|
|
26794
26794
|
// src/configuration/version.ts
|
|
26795
|
-
var ORCHESTRATOR_UI_LIBRARY_VERSION = "
|
|
26795
|
+
var ORCHESTRATOR_UI_LIBRARY_VERSION = "3.0.0";
|
|
26796
26796
|
|
|
26797
26797
|
// src/types/types.ts
|
|
26798
26798
|
var EngineStatus = /* @__PURE__ */ ((EngineStatus3) => {
|
|
@@ -34992,9 +34992,11 @@ var WfoSubscriptionSyncStatusBadge = ({ insync }) => {
|
|
|
34992
34992
|
};
|
|
34993
34993
|
|
|
34994
34994
|
// src/components/WfoBadges/WfoProductBlockBadge/WfoProductBlockBadge.tsx
|
|
34995
|
+
import Link from "next/link";
|
|
34995
34996
|
import { jsx as jsx11 } from "@emotion/react/jsx-runtime";
|
|
34996
34997
|
function WfoProductBlockBadge({
|
|
34997
34998
|
children,
|
|
34999
|
+
link,
|
|
34998
35000
|
badgeType
|
|
34999
35001
|
}) {
|
|
35000
35002
|
const { theme, toSecondaryColor } = useOrchestratorTheme();
|
|
@@ -35044,7 +35046,7 @@ function WfoProductBlockBadge({
|
|
|
35044
35046
|
}
|
|
35045
35047
|
};
|
|
35046
35048
|
const { badgeColor, textColor } = getBadgeColorFromType(badgeType);
|
|
35047
|
-
return /* @__PURE__ */ jsx11(WfoBadge, { textColor, color: badgeColor, children });
|
|
35049
|
+
return /* @__PURE__ */ jsx11(WfoBadge, { textColor, color: badgeColor, children: link ? /* @__PURE__ */ jsx11(Link, { css: { color: textColor }, href: link, children }) : children });
|
|
35048
35050
|
}
|
|
35049
35051
|
|
|
35050
35052
|
// src/components/WfoBadges/WfoProcessStatusBadge/WfoProcessStatusBadge.tsx
|
|
@@ -35106,7 +35108,7 @@ var WfoProcessStatusBadge = ({
|
|
|
35106
35108
|
|
|
35107
35109
|
// src/components/WfoBadges/WfoFailedTasksBadge/WfoFailedTasksBadge.tsx
|
|
35108
35110
|
import { useTranslations as useTranslations5 } from "next-intl";
|
|
35109
|
-
import
|
|
35111
|
+
import Link2 from "next/link";
|
|
35110
35112
|
import { EuiToolTip } from "@elastic/eui";
|
|
35111
35113
|
|
|
35112
35114
|
// src/icons/heroicons/WfoHeroIconsWrapper.tsx
|
|
@@ -36587,7 +36589,7 @@ var getTaskCountsSummary = (processStatusCounts) => {
|
|
|
36587
36589
|
};
|
|
36588
36590
|
};
|
|
36589
36591
|
var WfoTasksLink = ({ children }) => /* @__PURE__ */ jsx55(
|
|
36590
|
-
|
|
36592
|
+
Link2,
|
|
36591
36593
|
{
|
|
36592
36594
|
href: `${PATH_TASKS}`,
|
|
36593
36595
|
onClick: (e) => {
|
|
@@ -36996,8 +36998,14 @@ function startCsvDownload(csvFileContent, fileName) {
|
|
|
36996
36998
|
link.click();
|
|
36997
36999
|
URL.revokeObjectURL(url);
|
|
36998
37000
|
}
|
|
36999
|
-
function
|
|
37000
|
-
|
|
37001
|
+
function totalItemsExceedMaximumItemsForBulkFetching(totalItems) {
|
|
37002
|
+
return (totalItems ?? 0) > MAXIMUM_ITEMS_FOR_BULK_FETCHING;
|
|
37003
|
+
}
|
|
37004
|
+
function initiateCsvFileDownload(data, keyOrder, fileName) {
|
|
37005
|
+
const dataForExport = data.map(
|
|
37006
|
+
(dataRow) => toObjectWithSortedKeys(toObjectWithSerializedValues(dataRow), keyOrder)
|
|
37007
|
+
);
|
|
37008
|
+
const csvFileContent = toCsvFileContent(dataForExport);
|
|
37001
37009
|
startCsvDownload(csvFileContent, fileName);
|
|
37002
37010
|
}
|
|
37003
37011
|
var getCsvFileNameWithDate = (fileNameWithoutExtension) => {
|
|
@@ -37010,31 +37018,34 @@ var getCsvFileNameWithDate = (fileNameWithoutExtension) => {
|
|
|
37010
37018
|
const second = date.getSeconds();
|
|
37011
37019
|
return `${fileNameWithoutExtension}_${year}-${month}-${day}-${hour}${minute}${second}.csv`;
|
|
37012
37020
|
};
|
|
37013
|
-
var csvDownloadHandler = (dataFetchFunction, dataMapper, pageInfoMapper, keyOrder, filename, addToastFunction, translationFunction) => {
|
|
37014
|
-
|
|
37015
|
-
|
|
37016
|
-
|
|
37017
|
-
|
|
37018
|
-
|
|
37019
|
-
|
|
37020
|
-
|
|
37021
|
-
|
|
37022
|
-
|
|
37023
|
-
|
|
37024
|
-
|
|
37025
|
-
|
|
37026
|
-
|
|
37027
|
-
|
|
37028
|
-
|
|
37029
|
-
|
|
37030
|
-
|
|
37031
|
-
translationFunction("notAllResultsExportedTitle")
|
|
37032
|
-
);
|
|
37033
|
-
}
|
|
37034
|
-
initiateCsvFileDownload(dataForExport, filename);
|
|
37035
|
-
}
|
|
37036
|
-
};
|
|
37021
|
+
var csvDownloadHandler = (dataFetchFunction, dataMapper, pageInfoMapper, keyOrder, filename, addToastFunction, translationFunction) => async () => {
|
|
37022
|
+
const fetchResult = await dataFetchFunction();
|
|
37023
|
+
if (!fetchResult) {
|
|
37024
|
+
return;
|
|
37025
|
+
}
|
|
37026
|
+
const data = dataMapper(fetchResult);
|
|
37027
|
+
const pageInfo = pageInfoMapper(fetchResult);
|
|
37028
|
+
if (totalItemsExceedMaximumItemsForBulkFetching(pageInfo.totalItems)) {
|
|
37029
|
+
addToastFunction(
|
|
37030
|
+
"ERROR" /* ERROR */,
|
|
37031
|
+
translationFunction("notAllResultsExported", {
|
|
37032
|
+
totalResults: pageInfo.totalItems,
|
|
37033
|
+
maximumExportedResults: MAXIMUM_ITEMS_FOR_BULK_FETCHING
|
|
37034
|
+
}),
|
|
37035
|
+
translationFunction("notAllResultsExportedTitle")
|
|
37036
|
+
);
|
|
37037
|
+
}
|
|
37038
|
+
initiateCsvFileDownload(data, keyOrder, filename);
|
|
37037
37039
|
};
|
|
37040
|
+
var getPageInfoForSyncExport = (dataLength, sortFields, filterFields) => ({
|
|
37041
|
+
startCursor: 0,
|
|
37042
|
+
endCursor: Math.max(0, dataLength - 1),
|
|
37043
|
+
hasNextPage: false,
|
|
37044
|
+
totalItems: dataLength,
|
|
37045
|
+
hasPreviousPage: false,
|
|
37046
|
+
sortFields: sortFields ?? [],
|
|
37047
|
+
filterFields: filterFields ?? []
|
|
37048
|
+
});
|
|
37038
37049
|
|
|
37039
37050
|
// src/utils/date.ts
|
|
37040
37051
|
var getCurrentBrowserLocale = () => window.navigator.language;
|
|
@@ -37162,6 +37173,12 @@ function getEnvironmentVariables(envVars) {
|
|
|
37162
37173
|
// src/utils/getObjectKeys.ts
|
|
37163
37174
|
var getObjectKeys = (inputObject) => Object.keys(inputObject);
|
|
37164
37175
|
|
|
37176
|
+
// src/utils/getQueryUrl.ts
|
|
37177
|
+
var getQueryUrl = (pageUrl, queryString) => {
|
|
37178
|
+
const queryKey = "queryString";
|
|
37179
|
+
return `${pageUrl}?${queryKey}=${queryString}`;
|
|
37180
|
+
};
|
|
37181
|
+
|
|
37165
37182
|
// src/utils/getProductNamesFromProcess.ts
|
|
37166
37183
|
var getProductNamesFromProcess = (process3) => {
|
|
37167
37184
|
if (!process3) return "";
|
|
@@ -38107,7 +38124,7 @@ var WfoCopyright = () => {
|
|
|
38107
38124
|
|
|
38108
38125
|
// src/components/WfoPageTemplate/WfoSidebar/WfoMenuLink.tsx
|
|
38109
38126
|
import { useTranslations as useTranslations12 } from "next-intl";
|
|
38110
|
-
import
|
|
38127
|
+
import Link3 from "next/link";
|
|
38111
38128
|
import { jsx as jsx78 } from "@emotion/react/jsx-runtime";
|
|
38112
38129
|
var WfoMenuItemLink = ({
|
|
38113
38130
|
path,
|
|
@@ -38135,7 +38152,7 @@ var WfoMenuItemLink = ({
|
|
|
38135
38152
|
};
|
|
38136
38153
|
const t = useTranslations12("main");
|
|
38137
38154
|
const linkText = t(translationString) === `main.${translationString}` ? translationString : t(translationString);
|
|
38138
|
-
return /* @__PURE__ */ jsx78(
|
|
38155
|
+
return /* @__PURE__ */ jsx78(Link3, { css: getMenuItemStyle(), href: path, target, children: linkText });
|
|
38139
38156
|
};
|
|
38140
38157
|
|
|
38141
38158
|
// src/components/WfoPageTemplate/WfoSidebar/WfoSidebar.tsx
|
|
@@ -39025,7 +39042,7 @@ var SubscriptionKeyValueBlock = ({
|
|
|
39025
39042
|
// src/components/WfoSubscription/WfoInSyncField.tsx
|
|
39026
39043
|
import { useContext as useContext5 } from "react";
|
|
39027
39044
|
import { useTranslations as useTranslations20 } from "next-intl";
|
|
39028
|
-
import
|
|
39045
|
+
import Link4 from "next/link";
|
|
39029
39046
|
import { EuiButton as EuiButton6 } from "@elastic/eui";
|
|
39030
39047
|
|
|
39031
39048
|
// src/components/WfoAuth/WfoIsAllowedToRender.tsx
|
|
@@ -39050,11 +39067,11 @@ var WfoInsyncIcon = ({ inSync }) => {
|
|
|
39050
39067
|
color: theme.colors.primary
|
|
39051
39068
|
}
|
|
39052
39069
|
) : /* @__PURE__ */ jsx91(
|
|
39053
|
-
|
|
39070
|
+
WfoMinusCircleFill,
|
|
39054
39071
|
{
|
|
39055
39072
|
height: 20,
|
|
39056
39073
|
width: 20,
|
|
39057
|
-
color: theme.colors.
|
|
39074
|
+
color: theme.colors.danger
|
|
39058
39075
|
}
|
|
39059
39076
|
);
|
|
39060
39077
|
};
|
|
@@ -39105,7 +39122,7 @@ var WfoInSyncField = ({
|
|
|
39105
39122
|
};
|
|
39106
39123
|
return /* @__PURE__ */ jsxs51(Fragment11, { children: [
|
|
39107
39124
|
/* @__PURE__ */ jsxs51(
|
|
39108
|
-
|
|
39125
|
+
Link4,
|
|
39109
39126
|
{
|
|
39110
39127
|
href: processUrl,
|
|
39111
39128
|
css: {
|
|
@@ -39372,7 +39389,7 @@ var WfoProcessesTimeline = ({
|
|
|
39372
39389
|
// src/components/WfoSubscription/WfoRelatedSubscriptions.tsx
|
|
39373
39390
|
import { useState as useState16 } from "react";
|
|
39374
39391
|
import { useTranslations as useTranslations26 } from "next-intl";
|
|
39375
|
-
import
|
|
39392
|
+
import Link5 from "next/link";
|
|
39376
39393
|
import { EuiFlexGroup as EuiFlexGroup8, EuiFlexItem as EuiFlexItem5, EuiSpacer as EuiSpacer12, EuiSwitch } from "@elastic/eui";
|
|
39377
39394
|
|
|
39378
39395
|
// src/components/WfoSubscription/utils/relatedSubscriptionsListItemsObjectMappers.ts
|
|
@@ -40580,6 +40597,7 @@ var WfoGroupedTable = ({
|
|
|
40580
40597
|
columnConfig,
|
|
40581
40598
|
groupNameLabel,
|
|
40582
40599
|
isLoading,
|
|
40600
|
+
overrideHeaderSection,
|
|
40583
40601
|
className
|
|
40584
40602
|
}) => {
|
|
40585
40603
|
const { headerStyle, rowStyle, cellStyle } = useWithOrchestratorTheme(getWfoTableStyles);
|
|
@@ -40598,15 +40616,16 @@ var WfoGroupedTable = ({
|
|
|
40598
40616
|
groupNameLabel,
|
|
40599
40617
|
columnConfig
|
|
40600
40618
|
});
|
|
40619
|
+
const ExpandCollapseButton = () => /* @__PURE__ */ jsx106(
|
|
40620
|
+
EuiButtonEmpty3,
|
|
40621
|
+
{
|
|
40622
|
+
size: "xs",
|
|
40623
|
+
onClick: () => isAllGroupsAndSubgroupsExpanded ? collapseAllRows() : expandAllRows(),
|
|
40624
|
+
children: isAllGroupsAndSubgroupsExpanded ? t("collapse") : t("expand")
|
|
40625
|
+
}
|
|
40626
|
+
);
|
|
40601
40627
|
return /* @__PURE__ */ jsxs59(Fragment18, { children: [
|
|
40602
|
-
/* @__PURE__ */ jsx106(EuiFlexGroup7, { justifyContent: "flexEnd", children: /* @__PURE__ */ jsx106(
|
|
40603
|
-
EuiButtonEmpty3,
|
|
40604
|
-
{
|
|
40605
|
-
size: "xs",
|
|
40606
|
-
onClick: () => isAllGroupsAndSubgroupsExpanded ? collapseAllRows() : expandAllRows(),
|
|
40607
|
-
children: isAllGroupsAndSubgroupsExpanded ? t("collapse") : t("expand")
|
|
40608
|
-
}
|
|
40609
|
-
) }),
|
|
40628
|
+
/* @__PURE__ */ jsx106(EuiFlexGroup7, { justifyContent: "flexEnd", children: overrideHeaderSection ? overrideHeaderSection(/* @__PURE__ */ jsx106(ExpandCollapseButton, {})) : /* @__PURE__ */ jsx106(ExpandCollapseButton, {}) }),
|
|
40610
40629
|
/* @__PURE__ */ jsx106(EuiSpacer11, { size: "xs" }),
|
|
40611
40630
|
/* @__PURE__ */ jsx106(
|
|
40612
40631
|
WfoTable,
|
|
@@ -40740,7 +40759,7 @@ var WfoRelatedSubscriptions = ({
|
|
|
40740
40759
|
columnType: "data" /* DATA */,
|
|
40741
40760
|
label: t("description"),
|
|
40742
40761
|
renderData: (value, record) => /* @__PURE__ */ jsx111(
|
|
40743
|
-
|
|
40762
|
+
Link5,
|
|
40744
40763
|
{
|
|
40745
40764
|
target: "_blank",
|
|
40746
40765
|
href: `${subscriptionPath}/${record.subscriptionId}`,
|
|
@@ -40989,7 +41008,7 @@ var WfoSubscription = ({ subscriptionId }) => {
|
|
|
40989
41008
|
// src/components/WfoSubscription/WfoSubscriptionActions/WfoSubscriptionActions.tsx
|
|
40990
41009
|
import { useState as useState18 } from "react";
|
|
40991
41010
|
import { useTranslations as useTranslations29 } from "next-intl";
|
|
40992
|
-
import
|
|
41011
|
+
import Link7 from "next/link";
|
|
40993
41012
|
import { useRouter as useRouter5 } from "next/router";
|
|
40994
41013
|
import {
|
|
40995
41014
|
EuiButton as EuiButton7,
|
|
@@ -41004,7 +41023,7 @@ import {
|
|
|
41004
41023
|
// src/components/WfoSubscription/WfoSubscriptionActions/WfoSubscriptionActionExpandableMenuItem.tsx
|
|
41005
41024
|
import { useState as useState17 } from "react";
|
|
41006
41025
|
import { useTranslations as useTranslations28 } from "next-intl";
|
|
41007
|
-
import
|
|
41026
|
+
import Link6 from "next/link";
|
|
41008
41027
|
import { EuiButtonIcon as EuiButtonIcon6, EuiText as EuiText8 } from "@elastic/eui";
|
|
41009
41028
|
|
|
41010
41029
|
// src/components/WfoSubscription/WfoSubscriptionActions/styles.ts
|
|
@@ -41108,7 +41127,7 @@ var WfoSubscriptionActionExpandableMenuItem = ({ subscriptionAction, onClickLock
|
|
|
41108
41127
|
lockedRelations && isExpanded && /* @__PURE__ */ jsxs63("div", { css: expandedContentStyle, children: [
|
|
41109
41128
|
/* @__PURE__ */ jsx115(EuiText8, { size: "xs", children: t("lockedBySubscriptions") }),
|
|
41110
41129
|
lockedRelations.map((relation) => /* @__PURE__ */ jsx115(EuiText8, { size: "xs", children: /* @__PURE__ */ jsx115(
|
|
41111
|
-
|
|
41130
|
+
Link6,
|
|
41112
41131
|
{
|
|
41113
41132
|
css: linkStyle,
|
|
41114
41133
|
href: `${PATH_SUBSCRIPTIONS}/${relation}`,
|
|
@@ -41170,7 +41189,7 @@ var WfoSubscriptionActions = ({
|
|
|
41170
41189
|
router.push(url);
|
|
41171
41190
|
}
|
|
41172
41191
|
};
|
|
41173
|
-
return /* @__PURE__ */ jsx116(
|
|
41192
|
+
return /* @__PURE__ */ jsx116(Link7, { href: url, onClick: handleLinkClick, children: /* @__PURE__ */ jsx116("div", { css: linkMenuItemStyle, children: actionItem }) });
|
|
41174
41193
|
};
|
|
41175
41194
|
const tooltipIt = (actionItem) => {
|
|
41176
41195
|
if (!action.reason) return actionItem;
|
|
@@ -41290,7 +41309,7 @@ import {
|
|
|
41290
41309
|
|
|
41291
41310
|
// src/components/WfoSubscription/WfoInUseByRelations.tsx
|
|
41292
41311
|
import { useTranslations as useTranslations30 } from "next-intl";
|
|
41293
|
-
import
|
|
41312
|
+
import Link8 from "next/link";
|
|
41294
41313
|
import { Fragment as Fragment24, jsx as jsx117 } from "@emotion/react/jsx-runtime";
|
|
41295
41314
|
var WfoInUseByRelations = ({
|
|
41296
41315
|
inUseByRelations
|
|
@@ -41325,7 +41344,7 @@ var WfoInUseByRelations = ({
|
|
|
41325
41344
|
{
|
|
41326
41345
|
key: t("description"),
|
|
41327
41346
|
value: /* @__PURE__ */ jsx117(
|
|
41328
|
-
|
|
41347
|
+
Link8,
|
|
41329
41348
|
{
|
|
41330
41349
|
href: `${PATH_SUBSCRIPTIONS}/${inUseByRelationDetails.subscriptionId}`,
|
|
41331
41350
|
target: "_blank",
|
|
@@ -46962,7 +46981,7 @@ var WfoDropdownButton = ({
|
|
|
46962
46981
|
|
|
46963
46982
|
// src/components/WfoProcessList/WfoProcessesList.tsx
|
|
46964
46983
|
import { useTranslations as useTranslations69 } from "next-intl";
|
|
46965
|
-
import
|
|
46984
|
+
import Link11 from "next/link";
|
|
46966
46985
|
|
|
46967
46986
|
// src/pages/metadata/WfoProductBlocksPage.tsx
|
|
46968
46987
|
import { useEffect as useEffect21, useState as useState35 } from "react";
|
|
@@ -47056,7 +47075,7 @@ var WfoProductBlocksPage = () => {
|
|
|
47056
47075
|
productBlockId: {
|
|
47057
47076
|
columnType: "data" /* DATA */,
|
|
47058
47077
|
label: t("id"),
|
|
47059
|
-
width: "
|
|
47078
|
+
width: "90px",
|
|
47060
47079
|
renderData: (value) => /* @__PURE__ */ jsx185(WfoFirstPartUUID, { UUID: value }),
|
|
47061
47080
|
renderDetails: (value) => value,
|
|
47062
47081
|
renderTooltip: (value) => value
|
|
@@ -47064,11 +47083,13 @@ var WfoProductBlocksPage = () => {
|
|
|
47064
47083
|
name: {
|
|
47065
47084
|
columnType: "data" /* DATA */,
|
|
47066
47085
|
label: t("name"),
|
|
47086
|
+
width: "300px",
|
|
47067
47087
|
renderData: (name) => /* @__PURE__ */ jsx185(WfoProductBlockBadge, { badgeType: "product_block" /* PRODUCT_BLOCK */, children: name })
|
|
47068
47088
|
},
|
|
47069
47089
|
tag: {
|
|
47070
47090
|
columnType: "data" /* DATA */,
|
|
47071
|
-
label: t("tag")
|
|
47091
|
+
label: t("tag"),
|
|
47092
|
+
width: "120px"
|
|
47072
47093
|
},
|
|
47073
47094
|
description: {
|
|
47074
47095
|
columnType: "data" /* DATA */,
|
|
@@ -47084,11 +47105,15 @@ var WfoProductBlocksPage = () => {
|
|
|
47084
47105
|
dependsOn: {
|
|
47085
47106
|
columnType: "data" /* DATA */,
|
|
47086
47107
|
label: t("dependingProductBlocks"),
|
|
47087
|
-
renderData: (dependsOn) => /* @__PURE__ */ jsx185(Fragment38, { children: dependsOn.map((
|
|
47108
|
+
renderData: (dependsOn) => /* @__PURE__ */ jsx185(Fragment38, { children: dependsOn.map(({ name }, index) => /* @__PURE__ */ jsx185(
|
|
47088
47109
|
WfoProductBlockBadge,
|
|
47089
47110
|
{
|
|
47111
|
+
link: getQueryUrl(
|
|
47112
|
+
PATH_METADATA_PRODUCT_BLOCKS,
|
|
47113
|
+
`name:"${name}"`
|
|
47114
|
+
),
|
|
47090
47115
|
badgeType: "product_block" /* PRODUCT_BLOCK */,
|
|
47091
|
-
children:
|
|
47116
|
+
children: name
|
|
47092
47117
|
},
|
|
47093
47118
|
index
|
|
47094
47119
|
)) }),
|
|
@@ -47102,19 +47127,28 @@ var WfoProductBlocksPage = () => {
|
|
|
47102
47127
|
resourceTypes: {
|
|
47103
47128
|
columnType: "data" /* DATA */,
|
|
47104
47129
|
label: t("resourceTypes"),
|
|
47105
|
-
|
|
47130
|
+
width: "700px",
|
|
47131
|
+
renderData: (resourceTypes) => /* @__PURE__ */ jsx185(Fragment38, { children: resourceTypes.map(({ resourceType }, index) => /* @__PURE__ */ jsx185(
|
|
47106
47132
|
WfoProductBlockBadge,
|
|
47107
47133
|
{
|
|
47134
|
+
link: getQueryUrl(
|
|
47135
|
+
PATH_METADATA_RESOURCE_TYPES,
|
|
47136
|
+
`resourceType:"${resourceType}"`
|
|
47137
|
+
),
|
|
47108
47138
|
badgeType: "resource_type" /* RESOURCE_TYPE */,
|
|
47109
|
-
children: resourceType
|
|
47139
|
+
children: resourceType
|
|
47110
47140
|
},
|
|
47111
47141
|
index
|
|
47112
47142
|
)) }),
|
|
47113
|
-
renderDetails: (resourceTypes) => /* @__PURE__ */ jsx185(EuiBadgeGroup2, { gutterSize: "s", children: resourceTypes.map((resourceType, index) => /* @__PURE__ */ jsx185(
|
|
47143
|
+
renderDetails: (resourceTypes) => /* @__PURE__ */ jsx185(EuiBadgeGroup2, { gutterSize: "s", children: resourceTypes.map(({ resourceType }, index) => /* @__PURE__ */ jsx185(
|
|
47114
47144
|
WfoProductBlockBadge,
|
|
47115
47145
|
{
|
|
47146
|
+
link: getQueryUrl(
|
|
47147
|
+
PATH_METADATA_RESOURCE_TYPES,
|
|
47148
|
+
`resourceType:"${resourceType}"`
|
|
47149
|
+
),
|
|
47116
47150
|
badgeType: "resource_type" /* RESOURCE_TYPE */,
|
|
47117
|
-
children: resourceType
|
|
47151
|
+
children: resourceType
|
|
47118
47152
|
},
|
|
47119
47153
|
index
|
|
47120
47154
|
)) }),
|
|
@@ -47128,6 +47162,7 @@ var WfoProductBlocksPage = () => {
|
|
|
47128
47162
|
createdAt: {
|
|
47129
47163
|
columnType: "data" /* DATA */,
|
|
47130
47164
|
label: t("createdAt"),
|
|
47165
|
+
width: "120px",
|
|
47131
47166
|
renderData: (date) => /* @__PURE__ */ jsx185(WfoDateTime, { dateOrIsoString: date }),
|
|
47132
47167
|
renderDetails: parseIsoString(parseDateToLocaleDateTimeString),
|
|
47133
47168
|
clipboardText: parseIsoString(parseDateToLocaleDateTimeString),
|
|
@@ -47136,6 +47171,7 @@ var WfoProductBlocksPage = () => {
|
|
|
47136
47171
|
endDate: {
|
|
47137
47172
|
columnType: "data" /* DATA */,
|
|
47138
47173
|
label: t("endDate"),
|
|
47174
|
+
width: "120px",
|
|
47139
47175
|
renderData: (date) => /* @__PURE__ */ jsx185(WfoDateTime, { dateOrIsoString: date }),
|
|
47140
47176
|
renderDetails: parseIsoString(parseDateToLocaleDateTimeString),
|
|
47141
47177
|
clipboardText: parseIsoString(parseDateToLocaleDateTimeString),
|
|
@@ -47249,7 +47285,7 @@ var WfoResourceTypesPage = () => {
|
|
|
47249
47285
|
resourceTypeId: {
|
|
47250
47286
|
columnType: "data" /* DATA */,
|
|
47251
47287
|
label: t("resourceId"),
|
|
47252
|
-
width: "
|
|
47288
|
+
width: "90px",
|
|
47253
47289
|
renderData: (value) => /* @__PURE__ */ jsx186(WfoFirstPartUUID, { UUID: value }),
|
|
47254
47290
|
renderDetails: (value) => value,
|
|
47255
47291
|
renderTooltip: (value) => value
|
|
@@ -47257,29 +47293,39 @@ var WfoResourceTypesPage = () => {
|
|
|
47257
47293
|
resourceType: {
|
|
47258
47294
|
columnType: "data" /* DATA */,
|
|
47259
47295
|
label: t("type"),
|
|
47260
|
-
width: "
|
|
47296
|
+
width: "225px",
|
|
47261
47297
|
renderData: (value) => /* @__PURE__ */ jsx186(WfoProductBlockBadge, { badgeType: "resource_type" /* RESOURCE_TYPE */, children: value })
|
|
47262
47298
|
},
|
|
47263
47299
|
description: {
|
|
47264
47300
|
columnType: "data" /* DATA */,
|
|
47265
|
-
label: t("description")
|
|
47301
|
+
label: t("description"),
|
|
47302
|
+
width: "700px"
|
|
47266
47303
|
},
|
|
47267
47304
|
productBlocks: {
|
|
47268
47305
|
columnType: "data" /* DATA */,
|
|
47269
47306
|
label: t("usedInProductBlocks"),
|
|
47270
|
-
|
|
47307
|
+
width: "1000px",
|
|
47308
|
+
renderData: (productBlocks) => /* @__PURE__ */ jsx186(Fragment39, { children: productBlocks.map(({ name }, index) => /* @__PURE__ */ jsx186(
|
|
47271
47309
|
WfoProductBlockBadge,
|
|
47272
47310
|
{
|
|
47311
|
+
link: getQueryUrl(
|
|
47312
|
+
PATH_METADATA_PRODUCT_BLOCKS,
|
|
47313
|
+
`name:"${name}"`
|
|
47314
|
+
),
|
|
47273
47315
|
badgeType: "product_block" /* PRODUCT_BLOCK */,
|
|
47274
|
-
children:
|
|
47316
|
+
children: name
|
|
47275
47317
|
},
|
|
47276
47318
|
index
|
|
47277
47319
|
)) }),
|
|
47278
|
-
renderDetails: (productBlocks) => /* @__PURE__ */ jsx186(EuiBadgeGroup3, { gutterSize: "s", children: productBlocks.map((
|
|
47320
|
+
renderDetails: (productBlocks) => /* @__PURE__ */ jsx186(EuiBadgeGroup3, { gutterSize: "s", children: productBlocks.map(({ name }, index) => /* @__PURE__ */ jsx186(
|
|
47279
47321
|
WfoProductBlockBadge,
|
|
47280
47322
|
{
|
|
47323
|
+
link: getQueryUrl(
|
|
47324
|
+
PATH_METADATA_PRODUCT_BLOCKS,
|
|
47325
|
+
`name:"${name}"`
|
|
47326
|
+
),
|
|
47281
47327
|
badgeType: "product_block" /* PRODUCT_BLOCK */,
|
|
47282
|
-
children:
|
|
47328
|
+
children: name
|
|
47283
47329
|
},
|
|
47284
47330
|
index
|
|
47285
47331
|
)) }),
|
|
@@ -47398,7 +47444,7 @@ var WfoProductsPage = () => {
|
|
|
47398
47444
|
productId: {
|
|
47399
47445
|
columnType: "data" /* DATA */,
|
|
47400
47446
|
label: t("id"),
|
|
47401
|
-
width: "
|
|
47447
|
+
width: "90px",
|
|
47402
47448
|
renderData: (value) => /* @__PURE__ */ jsx187(WfoFirstPartUUID, { UUID: value }),
|
|
47403
47449
|
renderDetails: (value) => value,
|
|
47404
47450
|
renderTooltip: (value) => value
|
|
@@ -47406,34 +47452,36 @@ var WfoProductsPage = () => {
|
|
|
47406
47452
|
name: {
|
|
47407
47453
|
columnType: "data" /* DATA */,
|
|
47408
47454
|
label: t("name"),
|
|
47409
|
-
width: "
|
|
47455
|
+
width: "200px",
|
|
47410
47456
|
renderData: (name) => /* @__PURE__ */ jsx187(WfoProductBlockBadge, { badgeType: "product" /* PRODUCT */, children: name })
|
|
47411
47457
|
},
|
|
47412
47458
|
tag: {
|
|
47413
47459
|
columnType: "data" /* DATA */,
|
|
47414
47460
|
label: t("tag"),
|
|
47415
|
-
width: "
|
|
47461
|
+
width: "120px",
|
|
47416
47462
|
renderData: (value) => /* @__PURE__ */ jsx187(WfoProductBlockBadge, { badgeType: "product_tag" /* PRODUCT_TAG */, children: value })
|
|
47417
47463
|
},
|
|
47418
47464
|
description: {
|
|
47419
47465
|
columnType: "data" /* DATA */,
|
|
47420
47466
|
label: t("description"),
|
|
47421
|
-
width: "
|
|
47467
|
+
width: "400px",
|
|
47422
47468
|
renderTooltip: (value) => value
|
|
47423
47469
|
},
|
|
47424
47470
|
productType: {
|
|
47425
47471
|
columnType: "data" /* DATA */,
|
|
47426
|
-
label: t("productType")
|
|
47472
|
+
label: t("productType"),
|
|
47473
|
+
width: "250px"
|
|
47427
47474
|
},
|
|
47428
47475
|
status: {
|
|
47429
47476
|
columnType: "data" /* DATA */,
|
|
47430
47477
|
label: t("status"),
|
|
47431
|
-
width: "
|
|
47478
|
+
width: "90px",
|
|
47432
47479
|
renderData: (value) => /* @__PURE__ */ jsx187(WfoProductStatusBadge, { status: value })
|
|
47433
47480
|
},
|
|
47434
47481
|
fixedInputs: {
|
|
47435
47482
|
columnType: "data" /* DATA */,
|
|
47436
47483
|
label: t("fixedInputs"),
|
|
47484
|
+
width: "400px",
|
|
47437
47485
|
renderData: (fixedInputs) => /* @__PURE__ */ jsx187(Fragment40, { children: fixedInputs.map((fixedInput, index) => /* @__PURE__ */ jsx187(
|
|
47438
47486
|
WfoProductBlockBadge,
|
|
47439
47487
|
{
|
|
@@ -47452,20 +47500,23 @@ var WfoProductsPage = () => {
|
|
|
47452
47500
|
productBlocks: {
|
|
47453
47501
|
columnType: "data" /* DATA */,
|
|
47454
47502
|
label: t("productBlocks"),
|
|
47455
|
-
|
|
47503
|
+
width: "250px",
|
|
47504
|
+
renderData: (productBlocks) => /* @__PURE__ */ jsx187(Fragment40, { children: productBlocks.map(({ name }, index) => /* @__PURE__ */ jsx187(
|
|
47456
47505
|
WfoProductBlockBadge,
|
|
47457
47506
|
{
|
|
47507
|
+
link: getQueryUrl(
|
|
47508
|
+
PATH_METADATA_PRODUCT_BLOCKS,
|
|
47509
|
+
`name:"${name}"`
|
|
47510
|
+
),
|
|
47458
47511
|
badgeType: "product_block" /* PRODUCT_BLOCK */,
|
|
47459
|
-
children:
|
|
47512
|
+
children: name
|
|
47460
47513
|
},
|
|
47461
47514
|
index
|
|
47462
47515
|
)) }),
|
|
47463
|
-
renderTooltip: (productBlocks) => {
|
|
47464
|
-
|
|
47465
|
-
|
|
47466
|
-
|
|
47467
|
-
] }, productBlock.name));
|
|
47468
|
-
}
|
|
47516
|
+
renderTooltip: (productBlocks) => productBlocks.map((productBlock) => /* @__PURE__ */ jsxs96("p", { children: [
|
|
47517
|
+
"- ",
|
|
47518
|
+
productBlock.name
|
|
47519
|
+
] }, productBlock.name))
|
|
47469
47520
|
},
|
|
47470
47521
|
createdAt: {
|
|
47471
47522
|
columnType: "data" /* DATA */,
|
|
@@ -47631,25 +47682,31 @@ var WfoWorkflowsPage = () => {
|
|
|
47631
47682
|
name: {
|
|
47632
47683
|
columnType: "data" /* DATA */,
|
|
47633
47684
|
label: t("name"),
|
|
47634
|
-
renderData: (name) => /* @__PURE__ */ jsx188(WfoProductBlockBadge, { badgeType: "workflow" /* WORKFLOW */, children: name })
|
|
47685
|
+
renderData: (name) => /* @__PURE__ */ jsx188(WfoProductBlockBadge, { badgeType: "workflow" /* WORKFLOW */, children: name }),
|
|
47686
|
+
width: "350px"
|
|
47635
47687
|
},
|
|
47636
47688
|
description: {
|
|
47637
47689
|
columnType: "data" /* DATA */,
|
|
47638
47690
|
label: t("description"),
|
|
47639
|
-
width: "
|
|
47691
|
+
width: "450px"
|
|
47640
47692
|
},
|
|
47641
47693
|
target: {
|
|
47642
47694
|
columnType: "data" /* DATA */,
|
|
47643
47695
|
label: t("target"),
|
|
47644
|
-
renderData: (target) => /* @__PURE__ */ jsx188(WfoWorkflowTargetBadge, { target })
|
|
47696
|
+
renderData: (target) => /* @__PURE__ */ jsx188(WfoWorkflowTargetBadge, { target }),
|
|
47697
|
+
width: "100px"
|
|
47645
47698
|
},
|
|
47646
47699
|
productTags: {
|
|
47647
47700
|
columnType: "data" /* DATA */,
|
|
47648
47701
|
label: t("productTags"),
|
|
47649
|
-
width: "
|
|
47702
|
+
width: "300px",
|
|
47650
47703
|
renderData: (productTags) => /* @__PURE__ */ jsx188(Fragment41, { children: productTags?.filter(onlyUnique).map((productTag, index) => /* @__PURE__ */ jsx188(
|
|
47651
47704
|
WfoProductBlockBadge,
|
|
47652
47705
|
{
|
|
47706
|
+
link: getQueryUrl(
|
|
47707
|
+
PATH_METADATA_PRODUCTS,
|
|
47708
|
+
`tag:"${productTag}"`
|
|
47709
|
+
),
|
|
47653
47710
|
badgeType: "product_tag" /* PRODUCT_TAG */,
|
|
47654
47711
|
children: productTag
|
|
47655
47712
|
},
|
|
@@ -47658,6 +47715,10 @@ var WfoWorkflowsPage = () => {
|
|
|
47658
47715
|
renderDetails: (productTags) => /* @__PURE__ */ jsx188(EuiBadgeGroup4, { gutterSize: "s", children: productTags?.filter(onlyUnique).map((productTag, index) => /* @__PURE__ */ jsx188(
|
|
47659
47716
|
WfoProductBlockBadge,
|
|
47660
47717
|
{
|
|
47718
|
+
link: getQueryUrl(
|
|
47719
|
+
PATH_METADATA_PRODUCTS,
|
|
47720
|
+
`tag:"${productTag}"`
|
|
47721
|
+
),
|
|
47661
47722
|
badgeType: "product_tag" /* PRODUCT_TAG */,
|
|
47662
47723
|
children: productTag
|
|
47663
47724
|
},
|
|
@@ -47673,7 +47734,7 @@ var WfoWorkflowsPage = () => {
|
|
|
47673
47734
|
createdAt: {
|
|
47674
47735
|
columnType: "data" /* DATA */,
|
|
47675
47736
|
label: t("createdAt"),
|
|
47676
|
-
width: "
|
|
47737
|
+
width: "100px",
|
|
47677
47738
|
renderData: (date) => /* @__PURE__ */ jsx188(WfoDateTime, { dateOrIsoString: date }),
|
|
47678
47739
|
renderDetails: parseIsoString(parseDateToLocaleDateTimeString),
|
|
47679
47740
|
clipboardText: parseIsoString(parseDateToLocaleDateTimeString),
|
|
@@ -47821,25 +47882,31 @@ var WfoTasksPage = () => {
|
|
|
47821
47882
|
name: {
|
|
47822
47883
|
columnType: "data" /* DATA */,
|
|
47823
47884
|
label: t("name"),
|
|
47824
|
-
renderData: (name) => /* @__PURE__ */ jsx189(WfoProductBlockBadge, { badgeType: "task" /* TASK */, children: name })
|
|
47885
|
+
renderData: (name) => /* @__PURE__ */ jsx189(WfoProductBlockBadge, { badgeType: "task" /* TASK */, children: name }),
|
|
47886
|
+
width: "300px"
|
|
47825
47887
|
},
|
|
47826
47888
|
description: {
|
|
47827
47889
|
columnType: "data" /* DATA */,
|
|
47828
47890
|
label: t("description"),
|
|
47829
|
-
width: "
|
|
47891
|
+
width: "500px"
|
|
47830
47892
|
},
|
|
47831
47893
|
target: {
|
|
47832
47894
|
columnType: "data" /* DATA */,
|
|
47833
47895
|
label: t("target"),
|
|
47834
|
-
renderData: (target) => /* @__PURE__ */ jsx189(WfoWorkflowTargetBadge, { target })
|
|
47896
|
+
renderData: (target) => /* @__PURE__ */ jsx189(WfoWorkflowTargetBadge, { target }),
|
|
47897
|
+
width: "100px"
|
|
47835
47898
|
},
|
|
47836
47899
|
productTags: {
|
|
47837
47900
|
columnType: "data" /* DATA */,
|
|
47838
47901
|
label: t("productTags"),
|
|
47839
|
-
width: "
|
|
47902
|
+
width: "250px",
|
|
47840
47903
|
renderData: (productTags) => /* @__PURE__ */ jsx189(Fragment42, { children: productTags?.filter(onlyUnique).map((productTag, index) => /* @__PURE__ */ jsx189(
|
|
47841
47904
|
WfoProductBlockBadge,
|
|
47842
47905
|
{
|
|
47906
|
+
link: getQueryUrl(
|
|
47907
|
+
PATH_METADATA_PRODUCTS,
|
|
47908
|
+
`tag:"${productTag}"`
|
|
47909
|
+
),
|
|
47843
47910
|
badgeType: "product_tag" /* PRODUCT_TAG */,
|
|
47844
47911
|
children: productTag
|
|
47845
47912
|
},
|
|
@@ -47848,6 +47915,10 @@ var WfoTasksPage = () => {
|
|
|
47848
47915
|
renderDetails: (productTags) => /* @__PURE__ */ jsx189(EuiBadgeGroup5, { gutterSize: "s", children: productTags?.filter(onlyUnique).map((productTag, index) => /* @__PURE__ */ jsx189(
|
|
47849
47916
|
WfoProductBlockBadge,
|
|
47850
47917
|
{
|
|
47918
|
+
link: getQueryUrl(
|
|
47919
|
+
PATH_METADATA_PRODUCTS,
|
|
47920
|
+
`tag:"${productTag}"`
|
|
47921
|
+
),
|
|
47851
47922
|
badgeType: "product_tag" /* PRODUCT_TAG */,
|
|
47852
47923
|
children: productTag
|
|
47853
47924
|
},
|
|
@@ -47863,7 +47934,7 @@ var WfoTasksPage = () => {
|
|
|
47863
47934
|
createdAt: {
|
|
47864
47935
|
columnType: "data" /* DATA */,
|
|
47865
47936
|
label: t("createdAt"),
|
|
47866
|
-
width: "
|
|
47937
|
+
width: "150px",
|
|
47867
47938
|
renderData: (date) => /* @__PURE__ */ jsx189(WfoDateTime, { dateOrIsoString: date }),
|
|
47868
47939
|
renderDetails: parseIsoString(parseDateToLocaleDateTimeString),
|
|
47869
47940
|
clipboardText: parseIsoString(parseDateToLocaleDateTimeString),
|
|
@@ -47949,7 +48020,7 @@ var WfoTasksPage = () => {
|
|
|
47949
48020
|
};
|
|
47950
48021
|
|
|
47951
48022
|
// src/pages/processes/WfoProcessListSubscriptionsCell.tsx
|
|
47952
|
-
import
|
|
48023
|
+
import Link9 from "next/link";
|
|
47953
48024
|
import { EuiFlexGroup as EuiFlexGroup19 } from "@elastic/eui";
|
|
47954
48025
|
import { Fragment as Fragment43, jsx as jsx190, jsxs as jsxs99 } from "@emotion/react/jsx-runtime";
|
|
47955
48026
|
var RENDER_ALL = "RENDER_ALL";
|
|
@@ -47976,7 +48047,7 @@ var WfoProcessListSubscriptionsCell = ({
|
|
|
47976
48047
|
gutterSize: renderDirection === "HORIZONTAL" /* HORIZONTAL */ ? "m" : "xs",
|
|
47977
48048
|
children: [
|
|
47978
48049
|
visibleSubscriptions.map((subscription) => /* @__PURE__ */ jsx190(
|
|
47979
|
-
|
|
48050
|
+
Link9,
|
|
47980
48051
|
{
|
|
47981
48052
|
href: `/subscriptions/${subscription.subscriptionId}`,
|
|
47982
48053
|
css: {
|
|
@@ -49776,7 +49847,7 @@ var WfoSubscriptionsListPage = () => {
|
|
|
49776
49847
|
// src/pages/tasks/WfoTasksListPage.tsx
|
|
49777
49848
|
import { useContext as useContext10, useEffect as useEffect30, useState as useState47 } from "react";
|
|
49778
49849
|
import { useTranslations as useTranslations67 } from "next-intl";
|
|
49779
|
-
import
|
|
49850
|
+
import Link10 from "next/link";
|
|
49780
49851
|
import { useRouter as useRouter11 } from "next/router";
|
|
49781
49852
|
import { StringParam as StringParam4, useQueryParam as useQueryParam3, withDefault as withDefault4 } from "use-query-params";
|
|
49782
49853
|
import { EuiButton as EuiButton13, EuiSpacer as EuiSpacer21 } from "@elastic/eui";
|
|
@@ -49900,7 +49971,7 @@ var WfoTasksListPage = () => {
|
|
|
49900
49971
|
workflowName: {
|
|
49901
49972
|
columnType: "data" /* DATA */,
|
|
49902
49973
|
label: t("taskName"),
|
|
49903
|
-
renderData: (value, { processId }) => /* @__PURE__ */ jsx208(
|
|
49974
|
+
renderData: (value, { processId }) => /* @__PURE__ */ jsx208(Link10, { href: `${PATH_TASKS}/${processId}`, children: value })
|
|
49904
49975
|
},
|
|
49905
49976
|
...toSortedTableColumnConfig(defaultTableColumns, [
|
|
49906
49977
|
"lastStep",
|
|
@@ -50211,51 +50282,51 @@ var WfoProcessesList = ({
|
|
|
50211
50282
|
workflowName: {
|
|
50212
50283
|
columnType: "data" /* DATA */,
|
|
50213
50284
|
label: t("workflowName"),
|
|
50214
|
-
width: "
|
|
50215
|
-
renderData: (value, { processId }) => /* @__PURE__ */ jsx210(
|
|
50285
|
+
width: "225px",
|
|
50286
|
+
renderData: (value, { processId }) => /* @__PURE__ */ jsx210(Link11, { href: `${PATH_WORKFLOWS}/${processId}`, children: value }),
|
|
50216
50287
|
renderTooltip: (value) => value
|
|
50217
50288
|
},
|
|
50218
50289
|
lastStep: {
|
|
50219
50290
|
columnType: "data" /* DATA */,
|
|
50220
50291
|
label: t("step"),
|
|
50221
|
-
width: "
|
|
50292
|
+
width: "375px"
|
|
50222
50293
|
},
|
|
50223
50294
|
lastStatus: {
|
|
50224
50295
|
columnType: "data" /* DATA */,
|
|
50225
50296
|
label: t("status"),
|
|
50226
|
-
|
|
50227
|
-
|
|
50297
|
+
renderData: (cellValue) => /* @__PURE__ */ jsx210(WfoProcessStatusBadge, { processStatus: cellValue }),
|
|
50298
|
+
width: "150px"
|
|
50228
50299
|
},
|
|
50229
50300
|
workflowTarget: {
|
|
50230
50301
|
columnType: "data" /* DATA */,
|
|
50231
50302
|
label: t("workflowTarget"),
|
|
50232
|
-
|
|
50233
|
-
|
|
50303
|
+
renderData: (target) => /* @__PURE__ */ jsx210(WfoWorkflowTargetBadge, { target }),
|
|
50304
|
+
width: "100px"
|
|
50234
50305
|
},
|
|
50235
50306
|
tag: {
|
|
50236
50307
|
columnType: "data" /* DATA */,
|
|
50237
50308
|
label: t("productTag"),
|
|
50238
|
-
width: "
|
|
50309
|
+
width: "100px"
|
|
50239
50310
|
},
|
|
50240
50311
|
productName: {
|
|
50241
50312
|
columnType: "data" /* DATA */,
|
|
50242
50313
|
label: t("product"),
|
|
50243
|
-
width: "
|
|
50314
|
+
width: "275px"
|
|
50244
50315
|
},
|
|
50245
50316
|
customer: {
|
|
50246
50317
|
columnType: "data" /* DATA */,
|
|
50247
50318
|
label: t("customer"),
|
|
50248
|
-
width: "
|
|
50319
|
+
width: "250px"
|
|
50249
50320
|
},
|
|
50250
50321
|
customerAbbreviation: {
|
|
50251
50322
|
columnType: "data" /* DATA */,
|
|
50252
50323
|
label: t("customerAbbreviation"),
|
|
50253
|
-
width: "
|
|
50324
|
+
width: "125px"
|
|
50254
50325
|
},
|
|
50255
50326
|
subscriptions: {
|
|
50256
50327
|
columnType: "data" /* DATA */,
|
|
50257
50328
|
label: t("subscriptions"),
|
|
50258
|
-
width: "
|
|
50329
|
+
width: "425px",
|
|
50259
50330
|
renderData: ({ page: subscriptions }) => /* @__PURE__ */ jsx210(
|
|
50260
50331
|
WfoProcessListSubscriptionsCell,
|
|
50261
50332
|
{
|
|
@@ -50278,17 +50349,17 @@ var WfoProcessesList = ({
|
|
|
50278
50349
|
createdBy: {
|
|
50279
50350
|
columnType: "data" /* DATA */,
|
|
50280
50351
|
label: t("createdBy"),
|
|
50281
|
-
width: "
|
|
50352
|
+
width: "100px"
|
|
50282
50353
|
},
|
|
50283
50354
|
assignee: {
|
|
50284
50355
|
columnType: "data" /* DATA */,
|
|
50285
50356
|
label: t("assignee"),
|
|
50286
|
-
width: "
|
|
50357
|
+
width: "100px"
|
|
50287
50358
|
},
|
|
50288
50359
|
processId: {
|
|
50289
50360
|
columnType: "data" /* DATA */,
|
|
50290
50361
|
label: t("processId"),
|
|
50291
|
-
width: "
|
|
50362
|
+
width: "90px",
|
|
50292
50363
|
renderData: (value) => /* @__PURE__ */ jsx210(WfoFirstPartUUID, { UUID: value }),
|
|
50293
50364
|
renderDetails: (value) => value,
|
|
50294
50365
|
renderTooltip: (value) => value
|
|
@@ -50296,7 +50367,7 @@ var WfoProcessesList = ({
|
|
|
50296
50367
|
startedAt: {
|
|
50297
50368
|
columnType: "data" /* DATA */,
|
|
50298
50369
|
label: t("started"),
|
|
50299
|
-
width: "
|
|
50370
|
+
width: "100px",
|
|
50300
50371
|
renderData: (value) => /* @__PURE__ */ jsx210(WfoDateTime, { dateOrIsoString: value }),
|
|
50301
50372
|
renderDetails: parseDateToLocaleDateTimeString,
|
|
50302
50373
|
clipboardText: parseDateToLocaleDateTimeString,
|
|
@@ -50305,7 +50376,7 @@ var WfoProcessesList = ({
|
|
|
50305
50376
|
lastModifiedAt: {
|
|
50306
50377
|
columnType: "data" /* DATA */,
|
|
50307
50378
|
label: t("lastModified"),
|
|
50308
|
-
width: "
|
|
50379
|
+
width: "125px",
|
|
50309
50380
|
renderData: (value) => /* @__PURE__ */ jsx210(WfoDateTime, { dateOrIsoString: value }),
|
|
50310
50381
|
renderDetails: parseDateToLocaleDateTimeString,
|
|
50311
50382
|
clipboardText: parseDateToLocaleDateTimeString,
|
|
@@ -50840,7 +50911,7 @@ var subscriptionListTabs = [
|
|
|
50840
50911
|
|
|
50841
50912
|
// src/components/WfoSubscriptionsList/WfoSubscriptionsList.tsx
|
|
50842
50913
|
import { useTranslations as useTranslations77 } from "next-intl";
|
|
50843
|
-
import
|
|
50914
|
+
import Link12 from "next/link";
|
|
50844
50915
|
import { useRouter as useRouter14 } from "next/router";
|
|
50845
50916
|
import { jsx as jsx221 } from "@emotion/react/jsx-runtime";
|
|
50846
50917
|
var WfoSubscriptionsList = ({
|
|
@@ -50866,7 +50937,7 @@ var WfoSubscriptionsList = ({
|
|
|
50866
50937
|
columnType: "data" /* DATA */,
|
|
50867
50938
|
label: t("description"),
|
|
50868
50939
|
width: "500px",
|
|
50869
|
-
renderData: (value, record) => /* @__PURE__ */ jsx221(
|
|
50940
|
+
renderData: (value, record) => /* @__PURE__ */ jsx221(Link12, { href: `/subscriptions/${record.subscriptionId}`, children: value }),
|
|
50870
50941
|
renderTooltip: (value) => value
|
|
50871
50942
|
},
|
|
50872
50943
|
status: {
|
|
@@ -51108,7 +51179,7 @@ import {
|
|
|
51108
51179
|
import { EuiFlexGroup as EuiFlexGroup30, EuiFlexItem as EuiFlexItem32, EuiIcon as EuiIcon5, EuiTextColor } from "@elastic/eui";
|
|
51109
51180
|
|
|
51110
51181
|
// src/components/WfoOptionalLink/WfoOptionalLink.tsx
|
|
51111
|
-
import
|
|
51182
|
+
import Link13 from "next/link";
|
|
51112
51183
|
import { jsx as jsx223 } from "@emotion/react/jsx-runtime";
|
|
51113
51184
|
var WfoOptionalLink = ({
|
|
51114
51185
|
children,
|
|
@@ -51117,7 +51188,7 @@ var WfoOptionalLink = ({
|
|
|
51117
51188
|
if (!href) {
|
|
51118
51189
|
return /* @__PURE__ */ jsx223("span", { children });
|
|
51119
51190
|
}
|
|
51120
|
-
return /* @__PURE__ */ jsx223(
|
|
51191
|
+
return /* @__PURE__ */ jsx223(Link13, { href, children });
|
|
51121
51192
|
};
|
|
51122
51193
|
|
|
51123
51194
|
// src/components/WfoSummary/WfoSummaryCardList/styles.ts
|
|
@@ -53131,10 +53202,12 @@ export {
|
|
|
53131
53202
|
getOrchestratorConfigSlice,
|
|
53132
53203
|
getOrchestratorStore,
|
|
53133
53204
|
getPageIndexChangeHandler,
|
|
53205
|
+
getPageInfoForSyncExport,
|
|
53134
53206
|
getPageSizeChangeHandler,
|
|
53135
53207
|
getProductBlockTitle,
|
|
53136
53208
|
getProductNamesFromProcess,
|
|
53137
53209
|
getQueryStringHandler,
|
|
53210
|
+
getQueryUrl,
|
|
53138
53211
|
getQueryVariablesForExport,
|
|
53139
53212
|
getRowDetailData,
|
|
53140
53213
|
getSortDirectionFromString,
|