@orchestrator-ui/orchestrator-ui-components 3.4.2 → 3.5.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.
Files changed (31) hide show
  1. package/.turbo/turbo-build.log +8 -8
  2. package/.turbo/turbo-lint.log +1 -1
  3. package/.turbo/turbo-test.log +7 -7
  4. package/CHANGELOG.md +11 -0
  5. package/dist/index.d.ts +15 -2
  6. package/dist/index.js +672 -433
  7. package/dist/index.js.map +1 -1
  8. package/package.json +3 -2
  9. package/src/components/WfoForms/formFields/commonStyles.ts +4 -0
  10. package/src/components/WfoPageTemplate/WfoPageHeader/WfoHamburgerMenu.tsx +1 -2
  11. package/src/components/WfoPydanticForm/Footer.tsx +67 -0
  12. package/src/components/WfoPydanticForm/Row.tsx +30 -0
  13. package/src/components/WfoPydanticForm/WfoPydanticForm.tsx +158 -0
  14. package/src/components/WfoPydanticForm/fields/TextArea.tsx +22 -0
  15. package/src/components/WfoPydanticForm/fields/index.ts +1 -0
  16. package/src/components/WfoPydanticForm/index.ts +1 -0
  17. package/src/components/WfoSubscription/WfoSubscriptionActions/WfoSubscriptionActionExpandableMenuItem.tsx +1 -0
  18. package/src/components/WfoSummary/WfoActiveWorkflowsSummaryCard.tsx +5 -3
  19. package/src/components/WfoSummary/WfoFailedTasksSummaryCard.tsx +5 -3
  20. package/src/components/WfoSummary/WfoLatestActiveSubscriptionsSummaryCard.tsx +5 -3
  21. package/src/components/WfoSummary/WfoLatestOutOfSyncSubscriptionSummaryCard.tsx +5 -3
  22. package/src/components/WfoSummary/WfoMyWorkflowsSummaryCard.tsx +5 -3
  23. package/src/components/WfoSummary/WfoProductsSummaryCard.tsx +5 -3
  24. package/src/components/WfoSummary/WfoSummaryCard.tsx +4 -1
  25. package/src/components/WfoSummary/WfoSummaryCardHeader/WfoSummaryCardHeader.tsx +8 -2
  26. package/src/components/WfoTable/WfoTable/styles.ts +1 -1
  27. package/src/configuration/version.ts +1 -1
  28. package/src/icons/WfoActualWork.tsx +1 -1
  29. package/src/icons/WfoMalfunction.tsx +1 -1
  30. package/src/icons/WfoPlannedWork.tsx +1 -1
  31. package/src/pages/processes/WfoStartProcessPage.tsx +10 -2
@@ -14,6 +14,7 @@ import {
14
14
 
15
15
  import { PATH_TASKS, PATH_WORKFLOWS, WfoError, WfoLoading } from '@/components';
16
16
  import { UserInputFormWizard } from '@/components/WfoForms/UserInputFormWizard';
17
+ import { WfoPydanticForm } from '@/components/WfoPydanticForm';
17
18
  import { WfoStepStatusIcon } from '@/components/WfoWorkflowSteps';
18
19
  import { getWorkflowStepsStyles } from '@/components/WfoWorkflowSteps/styles';
19
20
  import { useOrchestratorTheme, useWithOrchestratorTheme } from '@/hooks';
@@ -48,7 +49,7 @@ type StartModifyWorkflowPayload = {
48
49
  subscription_id: string;
49
50
  };
50
51
 
51
- type StartWorkflowPayload =
52
+ export type StartWorkflowPayload =
52
53
  | StartCreateWorkflowPayload
53
54
  | StartModifyWorkflowPayload;
54
55
 
@@ -193,7 +194,7 @@ export const WfoStartProcessPage = ({
193
194
  );
194
195
 
195
196
  useEffect(() => {
196
- if (processName) {
197
+ if (processName && processName !== 'modify_note') {
197
198
  const clientResultCallback = (json: FormNotCompleteResponse) => {
198
199
  setForm({
199
200
  stepUserInput: json.form,
@@ -263,6 +264,13 @@ export const WfoStartProcessPage = ({
263
264
  </EuiFlexGroup>
264
265
  <EuiHorizontalRule />
265
266
  {(hasError && <WfoError />) ||
267
+ (processName === 'modify_note' && (
268
+ <WfoPydanticForm
269
+ processName={processName}
270
+ startProcessPayload={startProcessPayload}
271
+ isTask={isTask}
272
+ />
273
+ )) ||
266
274
  (stepUserInput && (
267
275
  <UserInputFormWizard
268
276
  stepUserInput={stepUserInput}