@orchestrator-ui/orchestrator-ui-components 0.2.7 → 0.3.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 (120) hide show
  1. package/.turbo/turbo-build.log +6 -6
  2. package/.turbo/turbo-lint.log +0 -6
  3. package/.turbo/turbo-test.log +10 -9
  4. package/CHANGELOG.md +6 -0
  5. package/dist/index.d.ts +1005 -123
  6. package/dist/index.js +33849 -6199
  7. package/package.json +14 -12
  8. package/src/api/index.ts +55 -0
  9. package/src/components/WfoDiff/WfoDiff.tsx +119 -0
  10. package/src/components/WfoDiff/index.ts +1 -0
  11. package/src/components/WfoDiff/unidiff.d.ts +1 -0
  12. package/src/components/WfoForms/AutoFieldLoader.tsx +5 -1
  13. package/src/components/WfoForms/CreateForm.tsx +1 -0
  14. package/src/components/WfoForms/UserInputForm.tsx +75 -44
  15. package/src/components/WfoForms/UserInputFormWizard.tsx +11 -4
  16. package/src/components/WfoForms/formFields/AcceptField.tsx +8 -5
  17. package/src/components/WfoForms/formFields/BoolField.tsx +1 -1
  18. package/src/components/WfoForms/formFields/ImsNodeIdField.tsx +2 -2
  19. package/src/components/WfoForms/formFields/ImsPortIdField.tsx +238 -0
  20. package/src/components/WfoForms/formFields/ImsPortIdFieldStyling.ts +17 -0
  21. package/src/components/WfoForms/formFields/ListAddField.tsx +1 -1
  22. package/src/components/WfoForms/formFields/ListDelField.tsx +1 -1
  23. package/src/components/WfoForms/formFields/OptGroupField.tsx +1 -1
  24. package/src/components/WfoForms/formFields/SubscriptionField.tsx +2 -1
  25. package/src/components/WfoForms/formFields/SummaryField.tsx +103 -0
  26. package/src/components/WfoForms/formFields/SummaryFieldStyling.ts +46 -0
  27. package/src/components/WfoForms/formFields/VlanField.tsx +10 -10
  28. package/src/components/WfoForms/formFields/index.ts +2 -0
  29. package/src/components/WfoForms/formFields/surf/types.ts +26 -0
  30. package/src/components/WfoForms/formFields/utils.spec.ts +1 -0
  31. package/src/components/WfoJsonCodeBlock/index.ts +1 -0
  32. package/src/components/WfoPageTemplate/WfoPageHeader/WfoPageHeader.tsx +4 -3
  33. package/src/components/WfoPageTemplate/WfoSidebar/WfoSidebar.tsx +14 -14
  34. package/src/components/WfoPageTemplate/WfoSidebar/WfoStartCreateWorkflowButtonComboBox.tsx +15 -9
  35. package/src/components/WfoPageTemplate/paths.ts +3 -2
  36. package/src/components/{WfoProcessesList → WfoProcessList}/WfoProcessList.tsx +18 -14
  37. package/src/components/WfoProcessList/index.ts +1 -0
  38. package/src/components/{WfoProcessesList → WfoProcessList}/processListObjectMappers.ts +4 -2
  39. package/src/components/WfoSearchBar/WfoSearchField.tsx +27 -37
  40. package/src/components/{WfoSettingsPage → WfoSettings}/WfoEngineStatusButton.tsx +7 -4
  41. package/src/components/{WfoSettingsPage → WfoSettings}/WfoFlushSettings.tsx +13 -12
  42. package/src/components/WfoSettings/WfoModifySettings.tsx +38 -0
  43. package/src/components/WfoSettings/WfoSettings.tsx +40 -0
  44. package/src/components/{WfoSettingsPage → WfoSettings}/WfoStatus.tsx +21 -14
  45. package/src/components/WfoStartPage/WfoListStartPage.tsx +3 -3
  46. package/src/components/WfoStartTaskButtonComboBox/WfoStartTaskButtonComboBox.tsx +14 -8
  47. package/src/components/WfoSubscription/WfoProcessesTimeline.tsx +11 -18
  48. package/src/components/WfoSubscription/WfoSubscription.tsx +1 -1
  49. package/src/components/WfoSubscription/WfoSubscriptionActions.tsx +41 -33
  50. package/src/components/WfoSubscription/WfoSubscriptionDetailTree.tsx +32 -22
  51. package/src/components/WfoSubscription/WfoSubscriptionProductBlock.tsx +94 -90
  52. package/src/components/WfoSubscription/WfoTargetTypeIcon.tsx +26 -0
  53. package/src/components/WfoSubscription/utils/utils.spec.ts +24 -0
  54. package/src/components/WfoSubscription/utils/utils.ts +16 -0
  55. package/src/components/WfoSubscriptionsList/WfoSubscriptionsList.tsx +17 -37
  56. package/src/components/WfoTable/WfoTableWithFilter/WfoTableWithFilter.tsx +20 -19
  57. package/src/components/WfoTable/WfoTableWithFilter/updateQueryString.spec.ts +95 -0
  58. package/src/components/WfoTable/WfoTableWithFilter/updateQueryString.ts +60 -0
  59. package/src/components/WfoTable/utils/tableUtils.ts +3 -3
  60. package/src/components/WfoTextAnchor/WfoTextAnchor.stories.tsx +18 -0
  61. package/src/components/WfoTextAnchor/WfoTextAnchor.tsx +22 -0
  62. package/src/components/WfoTextAnchor/index.ts +1 -0
  63. package/src/components/WfoTextAnchor/styles.ts +17 -0
  64. package/src/components/WfoTimeline/styles.ts +10 -4
  65. package/src/components/WfoWorkflowSteps/WfoStep/WfoStep.tsx +39 -24
  66. package/src/components/WfoWorkflowSteps/WfoStep/WfoStepForm.tsx +48 -0
  67. package/src/components/WfoWorkflowSteps/WfoStepList/WfoStepList.tsx +10 -10
  68. package/src/components/WfoWorkflowSteps/WfoWorkflowStepList/WfoStepListHeader.tsx +22 -23
  69. package/src/components/WfoWorkflowSteps/WfoWorkflowStepList/WfoWorkflowStepList.tsx +97 -17
  70. package/src/components/WfoWorkflowSteps/stepListUtils.ts +1 -28
  71. package/src/components/confirmationDialog/WfoConfirmationDialog.tsx +3 -3
  72. package/src/components/index.ts +6 -1
  73. package/src/contexts/ConfirmationDialogProvider.tsx +2 -2
  74. package/src/contexts/TreeContext.tsx +5 -0
  75. package/src/graphqlQueries/index.ts +1 -0
  76. package/src/graphqlQueries/processDetailQuery.ts +8 -0
  77. package/src/graphqlQueries/processListQuery.ts +7 -6
  78. package/src/graphqlQueries/processStepsQuery.ts +22 -0
  79. package/src/graphqlQueries/productBlocksQuery.ts +9 -5
  80. package/src/graphqlQueries/productsQuery.ts +7 -3
  81. package/src/graphqlQueries/relatedSubscriptionsQuery.ts +2 -2
  82. package/src/graphqlQueries/resourceTypesQuery.ts +8 -4
  83. package/src/graphqlQueries/subscriptionDetailQuery.ts +1 -0
  84. package/src/graphqlQueries/subscriptionsListQuery.ts +5 -3
  85. package/src/graphqlQueries/workflows/workflowsQuery.ts +8 -4
  86. package/src/graphqlQueries/workflows/workflowsQueryForDropdownList.ts +2 -2
  87. package/src/hooks/DataFetchHooks.ts +9 -4
  88. package/src/hooks/index.ts +3 -0
  89. package/src/hooks/useCheckEngineStatus.ts +30 -0
  90. package/src/hooks/useDataDisplayParams.ts +3 -3
  91. package/src/hooks/useEngineStatusQuery.ts +9 -7
  92. package/src/hooks/useMutateProcess.ts +96 -0
  93. package/src/messages/{en-US.json → en-GB.json} +85 -37
  94. package/src/messages/getTranslationMessages.spec.ts +25 -40
  95. package/src/messages/index.ts +1 -1
  96. package/src/messages/nl-NL.json +95 -48
  97. package/src/messages/useGetTranslationMessages.ts +51 -0
  98. package/src/pages/metadata/WfoProductBlocksPage.tsx +12 -10
  99. package/src/pages/metadata/WfoProductsPage.tsx +24 -25
  100. package/src/pages/metadata/WfoResourceTypesPage.tsx +12 -10
  101. package/src/pages/metadata/WfoWorkflowsPage.tsx +12 -10
  102. package/src/pages/processes/WfoProcessDetail.tsx +96 -79
  103. package/src/pages/processes/WfoProcessDetailPage.tsx +5 -3
  104. package/src/pages/{workflow/WfoStartWorkflowPage.tsx → processes/WfoStartProcessPage.tsx} +100 -50
  105. package/src/pages/processes/index.ts +1 -3
  106. package/src/pages/settings/WfoSettingsPage.tsx +30 -0
  107. package/src/pages/settings/index.ts +1 -0
  108. package/src/pages/tasks/WfoTaskListPage.tsx +35 -9
  109. package/src/pages/{processes/WfoProcessListPage.tsx → workflow/WfoWorkflowListPage.tsx} +22 -23
  110. package/src/pages/workflow/getWorkflowListTabTypeFromString.ts +19 -0
  111. package/src/pages/workflow/index.ts +1 -1
  112. package/src/pages/{processes → workflow}/tabConfig.ts +6 -6
  113. package/src/types/types.ts +33 -3
  114. package/src/utils/getDefaultTableConfig.ts +1 -1
  115. package/src/components/WfoSettingsPage/WfoModifySettings.tsx +0 -33
  116. package/src/components/WfoSettingsPage/WfoSettings.tsx +0 -40
  117. package/src/hooks/ProcessesHooks/useDeleteProcess.ts +0 -37
  118. package/src/messages/getTranslationMessages.ts +0 -26
  119. package/src/pages/processes/getProcessListTabTypeFromString.ts +0 -19
  120. /package/src/components/{WfoSettingsPage → WfoSettings}/index.ts +0 -0
@@ -2,12 +2,12 @@ yarn run v1.22.21
2
2
  $ tsup src/index.ts --format esm --dts --tsconfig tsconfig.build.json
3
3
  CLI Building entry: src/index.ts
4
4
  CLI Using tsconfig: tsconfig.build.json
5
- CLI tsup v7.2.0
5
+ CLI tsup v8.0.1
6
6
  CLI Target: node16
7
7
  ESM Build start
8
- ESM dist/index.js 808.65 KB
9
- ESM ⚡️ Build success in 515ms
10
8
  DTS Build start
11
- DTS ⚡️ Build success in 9948ms
12
- DTS dist/index.d.ts 60.30 KB
13
- Done in 10.82s.
9
+ ESM dist/index.js 1.88 MB
10
+ ESM ⚡️ Build success in 697ms
11
+ DTS ⚡️ Build success in 9754ms
12
+ DTS dist/index.d.ts 87.74 KB
13
+ Done in 10.95s.
@@ -1,7 +1 @@
1
1
  $ eslint "src/**/*.ts*"
2
-
3
- /home/runner/work/orchestrator-ui/orchestrator-ui/packages/orchestrator-ui-components/src/components/WfoForms/formFields/SubscriptionField.tsx
4
- 253:21 warning Do not use "@ts-ignore" because it alters compilation errors @typescript-eslint/ban-ts-comment
5
-
6
- ✖ 1 problem (0 errors, 1 warning)
7
-
@@ -1,25 +1,26 @@
1
1
  $ jest
2
- PASS Orchestrator UI Components Tests src/pages/processes/timelineUtils.spec.ts
3
2
  PASS Orchestrator UI Components Tests src/components/WfoForms/formFields/utils.spec.ts
3
+ PASS Orchestrator UI Components Tests src/pages/processes/timelineUtils.spec.ts
4
4
  PASS Orchestrator UI Components Tests src/utils/date.spec.ts
5
- PASS Orchestrator UI Components Tests src/utils/getProductNamesFromProcess.spec.ts
6
5
  PASS Orchestrator UI Components Tests src/components/WfoSubscription/utils/utils.spec.ts
6
+ PASS Orchestrator UI Components Tests src/utils/getProductNamesFromProcess.spec.ts
7
7
  PASS Orchestrator UI Components Tests src/components/WfoTable/WfoDataGridTable/WfodataGridColumns.spec.ts
8
- PASS Orchestrator UI Components Tests src/components/WfoTable/utils/tableConfigPersistence.spec.ts
9
8
  PASS Orchestrator UI Components Tests src/components/WfoTree/treeUtils.spec.ts
10
- PASS Orchestrator UI Components Tests src/utils/string.spec.ts
11
- PASS Orchestrator UI Components Tests src/messages/getTranslationMessages.spec.ts
9
+ PASS Orchestrator UI Components Tests src/components/WfoTable/WfoTableWithFilter/updateQueryString.spec.ts
10
+ PASS Orchestrator UI Components Tests src/components/WfoTable/utils/tableConfigPersistence.spec.ts
12
11
  PASS Orchestrator UI Components Tests src/components/WfoTable/utils/tableUtils.spec.ts
12
+ PASS Orchestrator UI Components Tests src/utils/string.spec.ts
13
13
  PASS Orchestrator UI Components Tests src/components/WfoTable/utils/mapSortableAndFilterableValuesToTableColumnConfig.spec.ts
14
+ PASS Orchestrator UI Components Tests src/messages/getTranslationMessages.spec.ts
14
15
  PASS Orchestrator UI Components Tests src/components/WfoTable/utils/columns.spec.ts
15
16
  PASS Orchestrator UI Components Tests src/components/WfoWorkflowSteps/stepListUtils.spec.ts
16
17
  PASS Orchestrator UI Components Tests src/utils/getTokenName.spec.ts
17
18
  PASS Orchestrator UI Components Tests src/utils/environmentVariables.spec.ts
18
- PASS Orchestrator UI Components Tests src/utils/uuid.spec.ts
19
19
  PASS Orchestrator UI Components Tests src/utils/getTypedFieldFromObject.spec.ts
20
+ PASS Orchestrator UI Components Tests src/utils/uuid.spec.ts
20
21
 
21
- Test Suites: 18 passed, 18 total
22
- Tests: 114 passed, 114 total
22
+ Test Suites: 19 passed, 19 total
23
+ Tests: 122 passed, 122 total
23
24
  Snapshots: 0 total
24
- Time: 9.588 s
25
+ Time: 8.692 s
25
26
  Ran all test suites.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @orchestrator-ui/orchestrator-ui-components
2
2
 
3
+ ## 0.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - ef5eace: Updates all major dependencies including Typescript to version 5 and NextJS to version 14
8
+
3
9
  ## 0.2.7
4
10
 
5
11
  ### Patch Changes