@orchestrator-ui/orchestrator-ui-components 0.2.6 → 0.2.7
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 +4 -4
- package/.turbo/turbo-test.log +4 -4
- package/CHANGELOG.md +6 -0
- package/dist/index.js +6 -8
- package/package.json +1 -1
- package/src/api/index.ts +0 -3
- package/src/components/WfoForms/CreateForm.tsx +0 -1
- package/src/components/WfoForms/UserInputForm.tsx +1 -0
- package/src/components/WfoForms/formFields/IpPrefixTableField.tsx +1 -1
- package/src/components/WfoWorkflowSteps/WfoStepList/WfoStepList.tsx +4 -1
- package/src/pages/workflow/WfoStartWorkflowPage.tsx +2 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -5,9 +5,9 @@ $ tsup src/index.ts --format esm --dts --tsconfig tsconfig.build.json
|
|
|
5
5
|
[34mCLI[39m tsup v7.2.0
|
|
6
6
|
[34mCLI[39m Target: node16
|
|
7
7
|
[34mESM[39m Build start
|
|
8
|
-
[32mESM[39m [1mdist/index.js [22m[32m808.
|
|
9
|
-
[32mESM[39m ⚡️ Build success in
|
|
8
|
+
[32mESM[39m [1mdist/index.js [22m[32m808.65 KB[39m
|
|
9
|
+
[32mESM[39m ⚡️ Build success in 515ms
|
|
10
10
|
[34mDTS[39m Build start
|
|
11
|
-
[32mDTS[39m ⚡️ Build success in
|
|
11
|
+
[32mDTS[39m ⚡️ Build success in 9948ms
|
|
12
12
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m60.30 KB[39m
|
|
13
|
-
Done in 10.
|
|
13
|
+
Done in 10.82s.
|
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
$ jest
|
|
2
2
|
PASS Orchestrator UI Components Tests src/pages/processes/timelineUtils.spec.ts
|
|
3
|
-
PASS Orchestrator UI Components Tests src/components/WfoSubscription/utils/utils.spec.ts
|
|
4
3
|
PASS Orchestrator UI Components Tests src/components/WfoForms/formFields/utils.spec.ts
|
|
5
4
|
PASS Orchestrator UI Components Tests src/utils/date.spec.ts
|
|
6
5
|
PASS Orchestrator UI Components Tests src/utils/getProductNamesFromProcess.spec.ts
|
|
6
|
+
PASS Orchestrator UI Components Tests src/components/WfoSubscription/utils/utils.spec.ts
|
|
7
7
|
PASS Orchestrator UI Components Tests src/components/WfoTable/WfoDataGridTable/WfodataGridColumns.spec.ts
|
|
8
|
-
PASS Orchestrator UI Components Tests src/components/WfoTree/treeUtils.spec.ts
|
|
9
8
|
PASS Orchestrator UI Components Tests src/components/WfoTable/utils/tableConfigPersistence.spec.ts
|
|
9
|
+
PASS Orchestrator UI Components Tests src/components/WfoTree/treeUtils.spec.ts
|
|
10
10
|
PASS Orchestrator UI Components Tests src/utils/string.spec.ts
|
|
11
|
-
PASS Orchestrator UI Components Tests src/components/WfoTable/utils/tableUtils.spec.ts
|
|
12
11
|
PASS Orchestrator UI Components Tests src/messages/getTranslationMessages.spec.ts
|
|
12
|
+
PASS Orchestrator UI Components Tests src/components/WfoTable/utils/tableUtils.spec.ts
|
|
13
13
|
PASS Orchestrator UI Components Tests src/components/WfoTable/utils/mapSortableAndFilterableValuesToTableColumnConfig.spec.ts
|
|
14
14
|
PASS Orchestrator UI Components Tests src/components/WfoTable/utils/columns.spec.ts
|
|
15
15
|
PASS Orchestrator UI Components Tests src/components/WfoWorkflowSteps/stepListUtils.spec.ts
|
|
@@ -21,5 +21,5 @@ PASS Orchestrator UI Components Tests src/utils/getTypedFieldFromObject.spec.ts
|
|
|
21
21
|
Test Suites: 18 passed, 18 total
|
|
22
22
|
Tests: 114 passed, 114 total
|
|
23
23
|
Snapshots: 0 total
|
|
24
|
-
Time: 9.
|
|
24
|
+
Time: 9.588 s
|
|
25
25
|
Ran all test suites.
|
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -7819,11 +7819,7 @@ var BaseApiClient = class {
|
|
|
7819
7819
|
}
|
|
7820
7820
|
axiosFetch = (path, options = {}, headers = {}, showErrorDialog = true, result = true) => {
|
|
7821
7821
|
return this._axiosInstance({ url: path, method: "GET", ...options }).then((res) => res.data).catch((err) => {
|
|
7822
|
-
var _a;
|
|
7823
7822
|
if (showErrorDialog) {
|
|
7824
|
-
console.debug(
|
|
7825
|
-
`Show error dialog for GET ${path} returning ${(_a = err == null ? void 0 : err.response) == null ? void 0 : _a.status}`
|
|
7826
|
-
);
|
|
7827
7823
|
setTimeout(() => {
|
|
7828
7824
|
throw err;
|
|
7829
7825
|
}, 250);
|
|
@@ -18852,7 +18848,7 @@ var IpPrefixTableField = class extends React32.PureComponent {
|
|
|
18852
18848
|
try {
|
|
18853
18849
|
return typeof aVal === "string" && typeof bVal === "string" ? aVal.toLowerCase().localeCompare(bVal.toLowerCase()) : aVal - bVal;
|
|
18854
18850
|
} catch (e) {
|
|
18855
|
-
console.
|
|
18851
|
+
console.error(e);
|
|
18856
18852
|
}
|
|
18857
18853
|
return 0;
|
|
18858
18854
|
};
|
|
@@ -19985,7 +19981,6 @@ function CreateForm(props) {
|
|
|
19985
19981
|
const submit = useCallback2(
|
|
19986
19982
|
(userInputs) => {
|
|
19987
19983
|
return apiClient.cimStartForm(formKey, userInputs).then((form2) => {
|
|
19988
|
-
console.log("Submit {formkey} =", formKey);
|
|
19989
19984
|
handleSubmit(form2);
|
|
19990
19985
|
});
|
|
19991
19986
|
},
|
|
@@ -22422,7 +22417,10 @@ var WfoStepList = React46.forwardRef(
|
|
|
22422
22417
|
behavior: "smooth"
|
|
22423
22418
|
});
|
|
22424
22419
|
} catch {
|
|
22425
|
-
console.
|
|
22420
|
+
console.error(
|
|
22421
|
+
"Error scrolling to step with stepId ",
|
|
22422
|
+
stepId
|
|
22423
|
+
);
|
|
22426
22424
|
}
|
|
22427
22425
|
}
|
|
22428
22426
|
}));
|
|
@@ -23537,7 +23535,7 @@ var WfoStartWorkflowPage = ({
|
|
|
23537
23535
|
startWorkflowPromise,
|
|
23538
23536
|
503,
|
|
23539
23537
|
(json) => {
|
|
23540
|
-
console.
|
|
23538
|
+
console.error("engine down!!!", json);
|
|
23541
23539
|
router.push(PATH_PROCESSES);
|
|
23542
23540
|
}
|
|
23543
23541
|
);
|
package/package.json
CHANGED
package/src/api/index.ts
CHANGED
|
@@ -448,6 +448,7 @@ function UserInputForm({
|
|
|
448
448
|
question: string | undefined,
|
|
449
449
|
confirm: ConfirmDialogActions['closeConfirmDialog'],
|
|
450
450
|
) => {
|
|
451
|
+
// eslint-disable-next-line no-console
|
|
451
452
|
console.log(e, question, confirm);
|
|
452
453
|
alert('TODO: Implement on buttonClick cancel with confirm modal');
|
|
453
454
|
// https://github.com/workfloworchestrator/orchestrator-ui/issues/325
|
|
@@ -123,7 +123,7 @@ export default class IpPrefixTableField extends React.PureComponent<IProps> {
|
|
|
123
123
|
? aVal.toLowerCase().localeCompare(bVal.toLowerCase())
|
|
124
124
|
: (aVal as number) - (bVal as number);
|
|
125
125
|
} catch (e) {
|
|
126
|
-
console.
|
|
126
|
+
console.error(e);
|
|
127
127
|
}
|
|
128
128
|
return 0;
|
|
129
129
|
};
|
|
@@ -72,6 +72,7 @@ export const WfoStartWorkflowPage = ({
|
|
|
72
72
|
const process = result as { id: string };
|
|
73
73
|
// TODO: Use toast hook to display success message
|
|
74
74
|
if (process.id) {
|
|
75
|
+
// eslint-disable-next-line no-console
|
|
75
76
|
console.log(
|
|
76
77
|
'resolver successfullly!: ',
|
|
77
78
|
process.id,
|
|
@@ -92,7 +93,7 @@ export const WfoStartWorkflowPage = ({
|
|
|
92
93
|
503,
|
|
93
94
|
(json) => {
|
|
94
95
|
// TODO: Use the toastMessage hook to display an engine down error message
|
|
95
|
-
console.
|
|
96
|
+
console.error('engine down!!!', json);
|
|
96
97
|
router.push(PATH_PROCESSES);
|
|
97
98
|
},
|
|
98
99
|
);
|