@orchestrator-ui/orchestrator-ui-components 7.7.0 → 7.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 +6 -6
- package/.turbo/turbo-lint.log +1 -1
- package/.turbo/turbo-test.log +9 -9
- package/CHANGELOG.md +7 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +21 -20
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/WfoWorkflowSteps/WfoStep/WfoStep.tsx +39 -26
- 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@7.7.
|
|
2
|
+
> @orchestrator-ui/orchestrator-ui-components@7.7.1 build
|
|
3
3
|
> npm run generate-version && tsup src/index.ts
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> @orchestrator-ui/orchestrator-ui-components@7.7.
|
|
6
|
+
> @orchestrator-ui/orchestrator-ui-components@7.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 47ms
|
|
10
10
|
[34mCLI[39m Building entry: src/index.ts
|
|
11
11
|
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
12
12
|
[34mCLI[39m tsup v8.5.1
|
|
@@ -14,9 +14,9 @@ src/configuration/version.ts 48ms
|
|
|
14
14
|
[34mCLI[39m Target: es2022
|
|
15
15
|
[34mCLI[39m Cleaning output folder
|
|
16
16
|
[34mESM[39m Build start
|
|
17
|
-
[32mESM[39m [1mdist/index.js [22m[
|
|
17
|
+
[32mESM[39m [1mdist/index.js [22m[32m815.21 KB[39m
|
|
18
18
|
[32mESM[39m [1mdist/index.js.map [22m[32m1.39 MB[39m
|
|
19
|
-
[32mESM[39m ⚡️ Build success in
|
|
19
|
+
[32mESM[39m ⚡️ Build success in 333ms
|
|
20
20
|
[34mDTS[39m Build start
|
|
21
|
-
[32mDTS[39m ⚡️ Build success in
|
|
21
|
+
[32mDTS[39m ⚡️ Build success in 22701ms
|
|
22
22
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m1.50 MB[39m
|
package/.turbo/turbo-lint.log
CHANGED
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
|
|
2
|
-
> @orchestrator-ui/orchestrator-ui-components@7.7.
|
|
2
|
+
> @orchestrator-ui/orchestrator-ui-components@7.7.1 test
|
|
3
3
|
> jest
|
|
4
4
|
|
|
5
|
-
PASS Wfo-UI Tests src/components/WfoTree/treeUtils.spec.ts
|
|
6
|
-
PASS Wfo-UI Tests src/utils/date.spec.ts
|
|
7
|
-
PASS Wfo-UI Tests src/pages/processes/timelineUtils.spec.ts
|
|
8
|
-
PASS Wfo-UI Tests src/components/WfoTable/utils/tableUtils.spec.ts
|
|
9
5
|
PASS Wfo-UI Tests src/components/WfoSubscription/utils/utils.spec.ts
|
|
6
|
+
PASS Wfo-UI Tests src/utils/date.spec.ts
|
|
10
7
|
PASS Wfo-UI Tests src/utils/string.spec.ts
|
|
8
|
+
PASS Wfo-UI Tests src/components/WfoTree/treeUtils.spec.ts
|
|
11
9
|
PASS Wfo-UI Tests src/utils/getProductNamesFromProcess.spec.ts
|
|
10
|
+
PASS Wfo-UI Tests src/components/WfoTable/utils/tableUtils.spec.ts
|
|
12
11
|
PASS Wfo-UI Tests src/components/WfoTable/WfoTable/WfoGroupedTable/utils.spec.ts
|
|
13
12
|
PASS Wfo-UI Tests src/components/WfoTable/WfoTableWithFilter/updateQueryString.spec.ts
|
|
14
13
|
PASS Wfo-UI Tests src/utils/compareVersions.spec.ts
|
|
14
|
+
PASS Wfo-UI Tests src/pages/processes/timelineUtils.spec.ts
|
|
15
15
|
PASS Wfo-UI Tests src/components/WfoTable/utils/tableConfigPersistence.spec.ts
|
|
16
|
-
PASS Wfo-UI Tests src/utils/optionalArray.spec.ts
|
|
17
16
|
PASS Wfo-UI Tests src/rtk/utils.spec.ts
|
|
18
|
-
PASS Wfo-UI Tests src/utils/
|
|
17
|
+
PASS Wfo-UI Tests src/utils/optionalArray.spec.ts
|
|
19
18
|
PASS Wfo-UI Tests src/utils/resultFlattener.spec.ts
|
|
19
|
+
PASS Wfo-UI Tests src/utils/getQueryParams.spec.ts
|
|
20
20
|
PASS Wfo-UI Tests src/messages/getTranslationMessages.spec.ts
|
|
21
21
|
PASS Wfo-UI Tests src/utils/getEnvironmentVariables.spec.ts
|
|
22
22
|
PASS Wfo-UI Tests src/components/WfoPageTemplate/WfoSidebar/utils/menuItemIsAllowed.spec.ts
|
|
@@ -36,10 +36,10 @@ PASS Wfo-UI Tests src/utils/getQueryVariablesForExport.spec.ts
|
|
|
36
36
|
PASS Wfo-UI Tests src/components/WfoPageTemplate/WfoPageHeader/utils/toHexColorWithOpacity.spec.ts
|
|
37
37
|
PASS Wfo-UI Tests src/utils/getQueryUrl.spec.ts
|
|
38
38
|
PASS Wfo-UI Tests src/components/WfoPydanticForm/fields/wfoPydanticFormUtils.spec.ts
|
|
39
|
-
PASS Wfo-UI Tests src/components/WfoTable/WfoTable/utils.spec.ts (5.
|
|
39
|
+
PASS Wfo-UI Tests src/components/WfoTable/WfoTable/utils.spec.ts (5.588 s)
|
|
40
40
|
|
|
41
41
|
Test Suites: 35 passed, 35 total
|
|
42
42
|
Tests: 227 passed, 227 total
|
|
43
43
|
Snapshots: 0 total
|
|
44
|
-
Time: 7.
|
|
44
|
+
Time: 7.911 s
|
|
45
45
|
Ran all test suites.
|
package/CHANGELOG.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -27695,7 +27695,7 @@ declare const METADATA_WORKFLOWS_ENDPOINT = "workflows";
|
|
|
27695
27695
|
declare const METADATA_SCHEDULES_ENDPOINT = "schedules";
|
|
27696
27696
|
declare const SEARCH_QUERY_RESULTS_ENDPOINT = "search/queries";
|
|
27697
27697
|
|
|
27698
|
-
declare const ORCHESTRATOR_UI_LIBRARY_VERSION = "7.7.
|
|
27698
|
+
declare const ORCHESTRATOR_UI_LIBRARY_VERSION = "7.7.1";
|
|
27699
27699
|
|
|
27700
27700
|
declare const useGetTranslationMessages: (locale: string | undefined) => {
|
|
27701
27701
|
pydanticForms: {
|
package/dist/index.js
CHANGED
|
@@ -64,7 +64,7 @@ var PolicyResource = /* @__PURE__ */ ((PolicyResource2) => {
|
|
|
64
64
|
})(PolicyResource || {});
|
|
65
65
|
|
|
66
66
|
// src/configuration/version.ts
|
|
67
|
-
var ORCHESTRATOR_UI_LIBRARY_VERSION = "7.7.
|
|
67
|
+
var ORCHESTRATOR_UI_LIBRARY_VERSION = "7.7.1";
|
|
68
68
|
|
|
69
69
|
// src/types/types.ts
|
|
70
70
|
var EngineStatus = /* @__PURE__ */ ((EngineStatus2) => {
|
|
@@ -14171,7 +14171,7 @@ var WfoStep = React62.forwardRef(
|
|
|
14171
14171
|
/* @__PURE__ */ jsx203("div", { className: "emailMessage", dangerouslySetInnerHTML: { __html: value.message } })
|
|
14172
14172
|
] });
|
|
14173
14173
|
};
|
|
14174
|
-
const
|
|
14174
|
+
const handleCodeViewChange = useCallback11(
|
|
14175
14175
|
(newCodeView) => {
|
|
14176
14176
|
setCodeView(newCodeView);
|
|
14177
14177
|
},
|
|
@@ -14191,8 +14191,8 @@ var WfoStep = React62.forwardRef(
|
|
|
14191
14191
|
step.completed && `- ${formatDate(step.completed)}`
|
|
14192
14192
|
] })
|
|
14193
14193
|
] }),
|
|
14194
|
-
/* @__PURE__ */ jsx203(EuiFlexGroup23, { css: stepRowStyle, children: step.completed && /* @__PURE__ */ jsxs105(Fragment47, { children: [
|
|
14195
|
-
isExpanded && /* @__PURE__ */ jsx203(WfoCodeViewSelector, { codeView, handleCodeViewChange
|
|
14194
|
+
/* @__PURE__ */ jsx203(EuiFlexGroup23, { css: stepRowStyle, children: step.completed && !userInputForm && !hasHtmlMail && /* @__PURE__ */ jsxs105(Fragment47, { children: [
|
|
14195
|
+
isExpanded && /* @__PURE__ */ jsx203(WfoCodeViewSelector, { codeView, handleCodeViewChange }),
|
|
14196
14196
|
/* @__PURE__ */ jsxs105(EuiFlexItem19, { grow: 0, css: stepHeaderRightStyle, children: [
|
|
14197
14197
|
/* @__PURE__ */ jsx203(EuiText18, { css: stepDurationStyle, children: t("duration") }),
|
|
14198
14198
|
/* @__PURE__ */ jsx203(EuiText18, { size: "m", children: calculateTimeDifference(startedAt, completedAt) })
|
|
@@ -14203,22 +14203,23 @@ var WfoStep = React62.forwardRef(
|
|
|
14203
14203
|
/* @__PURE__ */ jsx203(EuiFlexItem19, { children: overrideStepDetail?.stepHeader && /* @__PURE__ */ jsx203(overrideStepDetail.stepHeader, { step }) })
|
|
14204
14204
|
] })
|
|
14205
14205
|
] }),
|
|
14206
|
-
shouldExpand && /* @__PURE__ */ jsxs105(EuiFlexGroup23, { direction: "column", gutterSize: "none", children: [
|
|
14207
|
-
/* @__PURE__ */ jsx203(EuiFlexItem19, {
|
|
14208
|
-
/* @__PURE__ */
|
|
14209
|
-
|
|
14210
|
-
|
|
14211
|
-
|
|
14212
|
-
|
|
14213
|
-
|
|
14214
|
-
|
|
14215
|
-
|
|
14216
|
-
|
|
14217
|
-
|
|
14218
|
-
|
|
14219
|
-
|
|
14220
|
-
|
|
14221
|
-
] })
|
|
14206
|
+
shouldExpand && !hasHtmlMail && /* @__PURE__ */ jsxs105(EuiFlexGroup23, { direction: "column", gutterSize: "none", children: [
|
|
14207
|
+
/* @__PURE__ */ jsx203(EuiFlexItem19, { children: codeView === "table" /* TABLE */ ? /* @__PURE__ */ jsx203(WfoTableCodeBlock, { stepState: stepContent }) : codeView === "raw" /* RAW */ ? /* @__PURE__ */ jsx203(WfoJsonCodeBlock, { data: stepContent }) : /* @__PURE__ */ jsx203(WfoMonacoCodeBlock, { data: stepContent }) }),
|
|
14208
|
+
/* @__PURE__ */ jsx203(EuiFlexItem19, { grow: 1, children: !(step.status === "suspend" /* SUSPEND */ && userInputForm) && overrideStepDetail?.stepBody && /* @__PURE__ */ jsx203(overrideStepDetail.stepBody, { step }) })
|
|
14209
|
+
] }),
|
|
14210
|
+
step.status === "suspend" /* SUSPEND */ && userInputForm && /* @__PURE__ */ jsxs105(EuiFlexGroup23, { direction: "column", gutterSize: "none", children: [
|
|
14211
|
+
/* @__PURE__ */ jsx203(EuiFlexItem19, { grow: 1, children: /* @__PURE__ */ jsx203(
|
|
14212
|
+
WfoStepForm,
|
|
14213
|
+
{
|
|
14214
|
+
userInputForm,
|
|
14215
|
+
isTask,
|
|
14216
|
+
processId: processId ?? "",
|
|
14217
|
+
userPermissions
|
|
14218
|
+
}
|
|
14219
|
+
) }),
|
|
14220
|
+
/* @__PURE__ */ jsx203(EuiFlexItem19, { grow: 1, children: overrideStepDetail?.stepBody && /* @__PURE__ */ jsx203(overrideStepDetail.stepBody, { step }) })
|
|
14221
|
+
] }),
|
|
14222
|
+
isExpanded && hasHtmlMail && /* @__PURE__ */ jsx203("div", { css: stepEmailContainerStyle, children: displayMailConfirmation(step.stateDelta.confirmation_mail) })
|
|
14222
14223
|
] }) });
|
|
14223
14224
|
}
|
|
14224
14225
|
);
|