@orchestrator-ui/orchestrator-ui-components 6.7.0 → 6.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +5 -5
- package/.turbo/turbo-lint.log +1 -1
- package/.turbo/turbo-test.log +8 -8
- package/CHANGELOG.md +6 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +16 -30
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/WfoSubscription/WfoSubscriptionActions/WfoSubscriptionActions.tsx +4 -24
- package/src/configuration/version.ts +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
> @orchestrator-ui/orchestrator-ui-components@6.7.
|
|
2
|
+
> @orchestrator-ui/orchestrator-ui-components@6.7.1 build
|
|
3
3
|
> npm run generate-version && tsup src/index.ts
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> @orchestrator-ui/orchestrator-ui-components@6.7.
|
|
6
|
+
> @orchestrator-ui/orchestrator-ui-components@6.7.1 generate-version
|
|
7
7
|
> node -p "'export const ORCHESTRATOR_UI_LIBRARY_VERSION = ' + JSON.stringify(require('./package.json').version) + ';'" > src/configuration/version.ts && prettier --write src/configuration/version.ts
|
|
8
8
|
|
|
9
|
-
src/configuration/version.ts
|
|
9
|
+
src/configuration/version.ts 45ms
|
|
10
10
|
[34mCLI[39m Building entry: src/index.ts
|
|
11
11
|
[34mCLI[39m Using tsconfig: tsconfig.build.json
|
|
12
12
|
[34mCLI[39m tsup v8.5.0
|
|
@@ -16,6 +16,6 @@ src/configuration/version.ts 36ms
|
|
|
16
16
|
[34mDTS[39m Build start
|
|
17
17
|
[32mESM[39m [1mdist/index.js [22m[32m2.19 MB[39m
|
|
18
18
|
[32mESM[39m [1mdist/index.js.map [22m[32m4.18 MB[39m
|
|
19
|
-
[32mESM[39m ⚡️ Build success in
|
|
20
|
-
[32mDTS[39m ⚡️ Build success in
|
|
19
|
+
[32mESM[39m ⚡️ Build success in 647ms
|
|
20
|
+
[32mDTS[39m ⚡️ Build success in 19960ms
|
|
21
21
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m920.94 KB[39m
|
package/.turbo/turbo-lint.log
CHANGED
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
|
|
2
|
-
> @orchestrator-ui/orchestrator-ui-components@6.7.
|
|
2
|
+
> @orchestrator-ui/orchestrator-ui-components@6.7.1 test
|
|
3
3
|
> jest
|
|
4
4
|
|
|
5
5
|
PASS Wfo-UI Tests src/components/WfoTree/treeUtils.spec.ts
|
|
6
6
|
PASS Wfo-UI Tests src/components/WfoSubscription/utils/utils.spec.ts
|
|
7
|
-
PASS Wfo-UI Tests src/utils/date.spec.ts
|
|
8
7
|
PASS Wfo-UI Tests src/pages/processes/timelineUtils.spec.ts
|
|
9
|
-
PASS Wfo-UI Tests src/utils/
|
|
8
|
+
PASS Wfo-UI Tests src/utils/date.spec.ts
|
|
10
9
|
PASS Wfo-UI Tests src/utils/getProductNamesFromProcess.spec.ts
|
|
11
|
-
PASS Wfo-UI Tests src/
|
|
10
|
+
PASS Wfo-UI Tests src/utils/string.spec.ts
|
|
12
11
|
PASS Wfo-UI Tests src/components/WfoTable/utils/tableUtils.spec.ts
|
|
12
|
+
PASS Wfo-UI Tests src/components/WfoTable/WfoTable/WfoGroupedTable/utils.spec.ts
|
|
13
13
|
PASS Wfo-UI Tests src/utils/compareVersions.spec.ts
|
|
14
14
|
PASS Wfo-UI Tests src/components/WfoTable/WfoTableWithFilter/updateQueryString.spec.ts
|
|
15
15
|
PASS Wfo-UI Tests src/utils/optionalArray.spec.ts
|
|
@@ -21,26 +21,26 @@ PASS Wfo-UI Tests src/components/WfoPageTemplate/WfoSidebar/utils/menuItemIsAllo
|
|
|
21
21
|
PASS Wfo-UI Tests src/utils/getEnvironmentVariables.spec.ts
|
|
22
22
|
PASS Wfo-UI Tests src/messages/getTranslationMessages.spec.ts
|
|
23
23
|
PASS Wfo-UI Tests src/utils/getToastMessage.spec.ts
|
|
24
|
-
PASS Wfo-UI Tests src/components/WfoForms/formFields/utils.spec.ts (5.454 s)
|
|
25
24
|
PASS Wfo-UI Tests src/components/WfoTable/WfoTable/utils.spec.ts
|
|
25
|
+
PASS Wfo-UI Tests src/components/WfoForms/formFields/utils.spec.ts (5.875 s)
|
|
26
26
|
PASS Wfo-UI Tests src/utils/toSortedObjectKeys.spec.ts
|
|
27
27
|
PASS Wfo-UI Tests src/components/WfoTable/utils/columns.spec.ts
|
|
28
28
|
PASS Wfo-UI Tests src/utils/filterData.spec.ts
|
|
29
29
|
PASS Wfo-UI Tests src/utils/toObjectWithSerializedValues.spec.ts
|
|
30
|
-
PASS Wfo-UI Tests src/components/WfoWorkflowSteps/stepListUtils.spec.ts
|
|
31
30
|
PASS Wfo-UI Tests src/utils/getTokenName.spec.ts
|
|
31
|
+
PASS Wfo-UI Tests src/components/WfoWorkflowSteps/stepListUtils.spec.ts
|
|
32
32
|
PASS Wfo-UI Tests src/utils/uuid.spec.ts
|
|
33
33
|
PASS Wfo-UI Tests src/utils/environmentVariables.spec.ts
|
|
34
34
|
PASS Wfo-UI Tests src/utils/onlyUnique.spec.ts
|
|
35
35
|
PASS Wfo-UI Tests src/utils/getTypedFieldFromObject.spec.ts
|
|
36
36
|
PASS Wfo-UI Tests src/utils/cacheTag.spec.ts
|
|
37
37
|
PASS Wfo-UI Tests src/utils/getQueryVariablesForExport.spec.ts
|
|
38
|
-
PASS Wfo-UI Tests src/components/WfoPageTemplate/WfoPageHeader/utils/toHexColorWithOpacity.spec.ts
|
|
39
38
|
PASS Wfo-UI Tests src/utils/getQueryUrl.spec.ts
|
|
39
|
+
PASS Wfo-UI Tests src/components/WfoPageTemplate/WfoPageHeader/utils/toHexColorWithOpacity.spec.ts
|
|
40
40
|
PASS Wfo-UI Tests src/components/WfoPydanticForm/fields/wfoPydanticFormUtils.spec.ts
|
|
41
41
|
|
|
42
42
|
Test Suites: 36 passed, 36 total
|
|
43
43
|
Tests: 239 passed, 239 total
|
|
44
44
|
Snapshots: 0 total
|
|
45
|
-
Time:
|
|
45
|
+
Time: 9.52 s
|
|
46
46
|
Ran all test suites.
|
package/CHANGELOG.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -20461,7 +20461,7 @@ declare const METADATA_PRODUCT_BLOCK_ENDPOINT = "product_blocks";
|
|
|
20461
20461
|
declare const METADATA_RESOURCE_TYPE_ENDPOINT = "resource_types";
|
|
20462
20462
|
declare const METADATA_WORKFLOWS_ENDPOINT = "workflows";
|
|
20463
20463
|
|
|
20464
|
-
declare const ORCHESTRATOR_UI_LIBRARY_VERSION = "6.7.
|
|
20464
|
+
declare const ORCHESTRATOR_UI_LIBRARY_VERSION = "6.7.1";
|
|
20465
20465
|
|
|
20466
20466
|
declare const useGetTranslationMessages: (locale: string | undefined) => {
|
|
20467
20467
|
pydanticForms: {
|
package/dist/index.js
CHANGED
|
@@ -26801,7 +26801,7 @@ var PolicyResource = /* @__PURE__ */ ((PolicyResource2) => {
|
|
|
26801
26801
|
})(PolicyResource || {});
|
|
26802
26802
|
|
|
26803
26803
|
// src/configuration/version.ts
|
|
26804
|
-
var ORCHESTRATOR_UI_LIBRARY_VERSION = "6.7.
|
|
26804
|
+
var ORCHESTRATOR_UI_LIBRARY_VERSION = "6.7.1";
|
|
26805
26805
|
|
|
26806
26806
|
// src/types/types.ts
|
|
26807
26807
|
var EngineStatus = /* @__PURE__ */ ((EngineStatus3) => {
|
|
@@ -43097,7 +43097,6 @@ var WfoSubscription = ({ subscriptionId }) => {
|
|
|
43097
43097
|
// src/components/WfoSubscription/WfoSubscriptionActions/WfoSubscriptionActions.tsx
|
|
43098
43098
|
import { useState as useState19 } from "react";
|
|
43099
43099
|
import { useTranslations as useTranslations32 } from "next-intl";
|
|
43100
|
-
import Link9 from "next/link";
|
|
43101
43100
|
import { useRouter as useRouter5 } from "next/router";
|
|
43102
43101
|
import {
|
|
43103
43102
|
EuiButton as EuiButton8,
|
|
@@ -43293,7 +43292,6 @@ var WfoSubscriptionActions = ({
|
|
|
43293
43292
|
{ subscriptionId },
|
|
43294
43293
|
{ skip: disableQuery }
|
|
43295
43294
|
);
|
|
43296
|
-
const { showToastMessage } = useShowToastMessage();
|
|
43297
43295
|
const [startProcess] = useStartProcessMutation();
|
|
43298
43296
|
const { data: subscriptionDetail } = useGetSubscriptionDetailQuery(
|
|
43299
43297
|
{
|
|
@@ -43339,7 +43337,7 @@ var WfoSubscriptionActions = ({
|
|
|
43339
43337
|
};
|
|
43340
43338
|
router.push(url);
|
|
43341
43339
|
};
|
|
43342
|
-
const silentlyStartAction = (actionName
|
|
43340
|
+
const silentlyStartAction = (actionName) => {
|
|
43343
43341
|
startProcess({
|
|
43344
43342
|
workflowName: actionName,
|
|
43345
43343
|
userInputs: [
|
|
@@ -43347,19 +43345,7 @@ var WfoSubscriptionActions = ({
|
|
|
43347
43345
|
subscription_id: subscriptionId
|
|
43348
43346
|
}
|
|
43349
43347
|
]
|
|
43350
|
-
}).unwrap().
|
|
43351
|
-
const processUrl = `${isTask ? PATH_TASKS : PATH_WORKFLOWS}/${result.id}`;
|
|
43352
|
-
showToastMessage(
|
|
43353
|
-
"SUCCESS" /* SUCCESS */,
|
|
43354
|
-
/* @__PURE__ */ jsx130(Link9, { href: processUrl, children: processUrl }),
|
|
43355
|
-
t("actionStarted")
|
|
43356
|
-
);
|
|
43357
|
-
}).catch((error) => {
|
|
43358
|
-
showToastMessage(
|
|
43359
|
-
"ERROR" /* ERROR */,
|
|
43360
|
-
t("actionStartFailed"),
|
|
43361
|
-
t("actionStartFailed")
|
|
43362
|
-
);
|
|
43348
|
+
}).unwrap().catch((error) => {
|
|
43363
43349
|
console.error(`Failed to start action:`, error);
|
|
43364
43350
|
}).finally(() => {
|
|
43365
43351
|
closePopover();
|
|
@@ -43367,7 +43353,7 @@ var WfoSubscriptionActions = ({
|
|
|
43367
43353
|
};
|
|
43368
43354
|
const handleActionClick = (actionName, compactMode2, isTask = false) => {
|
|
43369
43355
|
if (compactMode2) {
|
|
43370
|
-
silentlyStartAction(actionName
|
|
43356
|
+
silentlyStartAction(actionName);
|
|
43371
43357
|
} else {
|
|
43372
43358
|
redirectToUrl(actionName, isTask);
|
|
43373
43359
|
}
|
|
@@ -43488,7 +43474,7 @@ import {
|
|
|
43488
43474
|
|
|
43489
43475
|
// src/components/WfoSubscription/WfoInUseByRelations.tsx
|
|
43490
43476
|
import { useTranslations as useTranslations33 } from "next-intl";
|
|
43491
|
-
import
|
|
43477
|
+
import Link9 from "next/link";
|
|
43492
43478
|
import { Fragment as Fragment27, jsx as jsx131 } from "@emotion/react/jsx-runtime";
|
|
43493
43479
|
var WfoInUseByRelations = ({
|
|
43494
43480
|
inUseByRelations
|
|
@@ -43523,7 +43509,7 @@ var WfoInUseByRelations = ({
|
|
|
43523
43509
|
{
|
|
43524
43510
|
key: t("description"),
|
|
43525
43511
|
value: /* @__PURE__ */ jsx131(
|
|
43526
|
-
|
|
43512
|
+
Link9,
|
|
43527
43513
|
{
|
|
43528
43514
|
href: `${PATH_SUBSCRIPTIONS}/${inUseByRelationDetails.subscriptionId}`,
|
|
43529
43515
|
target: "_blank",
|
|
@@ -49462,7 +49448,7 @@ var WfoDropdownButton = ({
|
|
|
49462
49448
|
|
|
49463
49449
|
// src/components/WfoProcessList/WfoProcessesList.tsx
|
|
49464
49450
|
import { useTranslations as useTranslations80 } from "next-intl";
|
|
49465
|
-
import
|
|
49451
|
+
import Link12 from "next/link";
|
|
49466
49452
|
import { useRouter as useRouter14 } from "next/router";
|
|
49467
49453
|
|
|
49468
49454
|
// src/pages/metadata/WfoProductBlocksPage.tsx
|
|
@@ -50604,7 +50590,7 @@ var WfoTasksPage = () => {
|
|
|
50604
50590
|
|
|
50605
50591
|
// src/pages/processes/WfoProcessListSubscriptionsCell.tsx
|
|
50606
50592
|
import { useTranslations as useTranslations60 } from "next-intl";
|
|
50607
|
-
import
|
|
50593
|
+
import Link10 from "next/link";
|
|
50608
50594
|
import { EuiFlexGroup as EuiFlexGroup19 } from "@elastic/eui";
|
|
50609
50595
|
import { Fragment as Fragment49, jsx as jsx207, jsxs as jsxs109 } from "@emotion/react/jsx-runtime";
|
|
50610
50596
|
var RENDER_ALL = "RENDER_ALL";
|
|
@@ -50635,7 +50621,7 @@ var WfoProcessListSubscriptionsCell = ({
|
|
|
50635
50621
|
gutterSize: renderDirection === "HORIZONTAL" /* HORIZONTAL */ ? "s" : "xs",
|
|
50636
50622
|
children: [
|
|
50637
50623
|
visibleSubscriptions.map((subscription) => /* @__PURE__ */ jsx207(
|
|
50638
|
-
|
|
50624
|
+
Link10,
|
|
50639
50625
|
{
|
|
50640
50626
|
href: `/subscriptions/${subscription.subscriptionId}`,
|
|
50641
50627
|
css: {
|
|
@@ -54552,7 +54538,7 @@ var WfoSubscriptionsListPage = () => {
|
|
|
54552
54538
|
// src/pages/tasks/WfoTasksListPage.tsx
|
|
54553
54539
|
import { useContext as useContext12, useEffect as useEffect38, useState as useState53 } from "react";
|
|
54554
54540
|
import { useTranslations as useTranslations78 } from "next-intl";
|
|
54555
|
-
import
|
|
54541
|
+
import Link11 from "next/link";
|
|
54556
54542
|
import { useRouter as useRouter12 } from "next/router";
|
|
54557
54543
|
import { StringParam as StringParam5, useQueryParam as useQueryParam4, withDefault as withDefault5 } from "use-query-params";
|
|
54558
54544
|
import { EuiButton as EuiButton16, EuiSpacer as EuiSpacer25 } from "@elastic/eui";
|
|
@@ -54676,7 +54662,7 @@ var WfoTasksListPage = () => {
|
|
|
54676
54662
|
workflowName: {
|
|
54677
54663
|
columnType: "data" /* DATA */,
|
|
54678
54664
|
label: t("taskName"),
|
|
54679
|
-
renderData: (value, { processId }) => /* @__PURE__ */ jsx247(
|
|
54665
|
+
renderData: (value, { processId }) => /* @__PURE__ */ jsx247(Link11, { href: `${PATH_TASKS}/${processId}`, children: value })
|
|
54680
54666
|
},
|
|
54681
54667
|
...toSortedTableColumnConfig(defaultTableColumns, [
|
|
54682
54668
|
"lastStep",
|
|
@@ -54989,7 +54975,7 @@ var WfoProcessesList = ({
|
|
|
54989
54975
|
columnType: "data" /* DATA */,
|
|
54990
54976
|
label: t("workflowName"),
|
|
54991
54977
|
width: "225px",
|
|
54992
|
-
renderData: (value, { processId }) => /* @__PURE__ */ jsx249(
|
|
54978
|
+
renderData: (value, { processId }) => /* @__PURE__ */ jsx249(Link12, { href: `${PATH_WORKFLOWS}/${processId}`, children: value }),
|
|
54993
54979
|
renderTooltip: (value) => value
|
|
54994
54980
|
},
|
|
54995
54981
|
lastStep: {
|
|
@@ -55649,7 +55635,7 @@ var subscriptionListTabs = [
|
|
|
55649
55635
|
|
|
55650
55636
|
// src/components/WfoSubscriptionsList/WfoSubscriptionsList.tsx
|
|
55651
55637
|
import { useTranslations as useTranslations88 } from "next-intl";
|
|
55652
|
-
import
|
|
55638
|
+
import Link13 from "next/link";
|
|
55653
55639
|
import { useRouter as useRouter16 } from "next/router";
|
|
55654
55640
|
import { jsx as jsx261 } from "@emotion/react/jsx-runtime";
|
|
55655
55641
|
var WfoSubscriptionsList = ({
|
|
@@ -55685,7 +55671,7 @@ var WfoSubscriptionsList = ({
|
|
|
55685
55671
|
columnType: "data" /* DATA */,
|
|
55686
55672
|
label: t("description"),
|
|
55687
55673
|
width: "500px",
|
|
55688
|
-
renderData: (value, record) => /* @__PURE__ */ jsx261(
|
|
55674
|
+
renderData: (value, record) => /* @__PURE__ */ jsx261(Link13, { href: `/subscriptions/${record.subscriptionId}`, children: value }),
|
|
55689
55675
|
renderTooltip: (value) => value
|
|
55690
55676
|
},
|
|
55691
55677
|
status: {
|
|
@@ -55938,7 +55924,7 @@ import {
|
|
|
55938
55924
|
import { EuiFlexGroup as EuiFlexGroup32, EuiFlexItem as EuiFlexItem37, EuiIcon as EuiIcon6, EuiTextColor } from "@elastic/eui";
|
|
55939
55925
|
|
|
55940
55926
|
// src/components/WfoOptionalLink/WfoOptionalLink.tsx
|
|
55941
|
-
import
|
|
55927
|
+
import Link14 from "next/link";
|
|
55942
55928
|
import { jsx as jsx263 } from "@emotion/react/jsx-runtime";
|
|
55943
55929
|
var WfoOptionalLink = ({
|
|
55944
55930
|
children,
|
|
@@ -55947,7 +55933,7 @@ var WfoOptionalLink = ({
|
|
|
55947
55933
|
if (!href) {
|
|
55948
55934
|
return /* @__PURE__ */ jsx263("span", { children });
|
|
55949
55935
|
}
|
|
55950
|
-
return /* @__PURE__ */ jsx263(
|
|
55936
|
+
return /* @__PURE__ */ jsx263(Link14, { href, children });
|
|
55951
55937
|
};
|
|
55952
55938
|
|
|
55953
55939
|
// src/components/WfoSummary/WfoSummaryCardList/styles.ts
|