@orchestrator-ui/orchestrator-ui-components 1.3.0 → 1.4.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 (76) hide show
  1. package/.turbo/turbo-build.log +5 -5
  2. package/.turbo/turbo-lint.log +1 -1
  3. package/.turbo/turbo-test.log +7 -7
  4. package/CHANGELOG.md +25 -0
  5. package/dist/index.d.ts +417 -288
  6. package/dist/index.js +3338 -5612
  7. package/package.json +1 -3
  8. package/src/components/WfoForms/UserInputForm.tsx +7 -1
  9. package/src/components/WfoForms/formFields/SubscriptionSummaryField.tsx +11 -15
  10. package/src/components/WfoPageTemplate/WfoSidebar/WfoSidebar.tsx +2 -2
  11. package/src/components/WfoProcessList/WfoProcessesList.tsx +16 -9
  12. package/src/components/WfoProcessList/processListObjectMappers.ts +6 -10
  13. package/src/components/WfoSettings/WfoModifySettings.tsx +29 -13
  14. package/src/components/WfoSettings/WfoResetTextSearchIndexButton.tsx +22 -0
  15. package/src/components/WfoSettings/index.ts +1 -0
  16. package/src/components/{WfoButtonComboBox/WfoButtonComboBox.tsx → WfoStartButton/WfoStartButtonComboBox.tsx} +11 -17
  17. package/src/components/WfoStartButton/WfoStartTaskComboBox.tsx +47 -0
  18. package/src/components/WfoStartButton/WfoStartWorkflowComboBox.tsx +49 -0
  19. package/src/components/WfoStartButton/index.ts +2 -0
  20. package/src/components/WfoSubscription/WfoRelatedSubscriptions.tsx +30 -36
  21. package/src/components/WfoSubscription/WfoSubscription.tsx +17 -20
  22. package/src/components/WfoSubscription/index.ts +6 -4
  23. package/src/components/WfoSubscriptionsList/WfoSubscriptionsList.tsx +12 -16
  24. package/src/components/WfoSubscriptionsList/subscriptionResultMappers.ts +10 -12
  25. package/src/components/index.ts +2 -1
  26. package/src/configuration/constants.ts +3 -0
  27. package/src/hooks/index.ts +0 -1
  28. package/src/hooks/surf/useGetSubscriptionDropdownOptions.ts +6 -13
  29. package/src/hooks/surf/useIsTaggedPort.ts +6 -9
  30. package/src/index.ts +0 -1
  31. package/src/messages/en-GB.json +3 -1
  32. package/src/messages/nl-NL.json +3 -1
  33. package/src/pages/metadata/WfoProductBlocksPage.tsx +27 -37
  34. package/src/pages/metadata/WfoProductsPage.tsx +11 -16
  35. package/src/pages/metadata/WfoResourceTypesPage.tsx +33 -35
  36. package/src/pages/metadata/WfoWorkflowsPage.tsx +42 -40
  37. package/src/pages/metadata/workflowListObjectMapper.ts +4 -7
  38. package/src/pages/processes/WfoStartProcessPage.tsx +9 -21
  39. package/src/pages/startPage/WfoStartPage.tsx +56 -68
  40. package/src/pages/subscriptions/WfoSubscriptionsListPage.tsx +6 -7
  41. package/src/rtk/api.ts +11 -3
  42. package/src/rtk/endpoints/index.ts +11 -1
  43. package/src/rtk/endpoints/metadata/index.ts +3 -0
  44. package/src/rtk/endpoints/metadata/productBlocks.ts +88 -0
  45. package/src/rtk/endpoints/metadata/resourceTypes.ts +78 -0
  46. package/src/rtk/endpoints/metadata/workflows.ts +73 -0
  47. package/src/rtk/endpoints/processList.ts +2 -1
  48. package/src/rtk/endpoints/processListSummary.ts +70 -0
  49. package/src/rtk/endpoints/processSteps.ts +50 -0
  50. package/src/rtk/endpoints/products.ts +76 -0
  51. package/src/rtk/endpoints/productsSummary.ts +62 -0
  52. package/src/rtk/endpoints/relatedSubscriptions.ts +99 -0
  53. package/src/rtk/endpoints/settings.ts +10 -0
  54. package/src/rtk/endpoints/startOptions.ts +99 -0
  55. package/src/{graphqlQueries/subscriptionDetailQuery.ts → rtk/endpoints/subscriptionDetail.ts} +45 -11
  56. package/src/rtk/endpoints/subscriptionList.ts +86 -0
  57. package/src/rtk/endpoints/subscriptionListSummary.ts +70 -0
  58. package/src/rtk/endpoints/subscriptionsDropdownOptions.ts +72 -0
  59. package/src/types/types.ts +20 -0
  60. package/src/utils/index.ts +1 -0
  61. package/src/components/WfoPageTemplate/WfoSidebar/WfoStartCreateWorkflowButtonComboBox.tsx +0 -61
  62. package/src/components/WfoStartTaskButtonComboBox/WfoStartTaskButtonComboBox.tsx +0 -54
  63. package/src/components/WfoStartTaskButtonComboBox/index.ts +0 -1
  64. package/src/graphqlQueries/index.ts +0 -8
  65. package/src/graphqlQueries/processListQuery.ts +0 -101
  66. package/src/graphqlQueries/processStepsQuery.ts +0 -22
  67. package/src/graphqlQueries/productBlocksQuery.ts +0 -59
  68. package/src/graphqlQueries/productsQuery.ts +0 -85
  69. package/src/graphqlQueries/relatedSubscriptionsQuery.ts +0 -65
  70. package/src/graphqlQueries/resourceTypesQuery.ts +0 -52
  71. package/src/graphqlQueries/subscriptionsDropdownOptionsQuery.ts +0 -48
  72. package/src/graphqlQueries/subscriptionsListQuery.ts +0 -101
  73. package/src/graphqlQueries/workflows/workflowsQuery.ts +0 -48
  74. package/src/graphqlQueries/workflows/workflowsQueryForDropdownList.ts +0 -38
  75. package/src/hooks/useQueryWithGraphql.ts +0 -72
  76. /package/src/components/{WfoButtonComboBox → WfoStartButton}/styles.ts +0 -0
@@ -1,5 +1,5 @@
1
1
 
2
- > @orchestrator-ui/orchestrator-ui-components@1.3.0 build
2
+ > @orchestrator-ui/orchestrator-ui-components@1.4.0 build
3
3
  > tsup src/index.ts --format esm --dts --tsconfig tsconfig.build.json
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -8,7 +8,7 @@
8
8
  CLI Target: es6
9
9
  ESM Build start
10
10
  DTS Build start
11
- ESM dist/index.js 2.16 MB
12
- ESM ⚡️ Build success in 780ms
13
- DTS ⚡️ Build success in 11684ms
14
- DTS dist/index.d.ts 123.94 KB
11
+ ESM dist/index.js 2.09 MB
12
+ ESM ⚡️ Build success in 798ms
13
+ DTS ⚡️ Build success in 13046ms
14
+ DTS dist/index.d.ts 146.15 KB
@@ -1,4 +1,4 @@
1
1
 
2
- > @orchestrator-ui/orchestrator-ui-components@1.3.0 lint
2
+ > @orchestrator-ui/orchestrator-ui-components@1.4.0 lint
3
3
  > eslint "src/**/*.ts*"
4
4
 
@@ -1,13 +1,13 @@
1
1
 
2
- > @orchestrator-ui/orchestrator-ui-components@1.3.0 test
2
+ > @orchestrator-ui/orchestrator-ui-components@1.4.0 test
3
3
  > jest
4
4
 
5
- PASS Orchestrator UI Components Tests src/components/WfoSubscription/utils/utils.spec.ts
6
5
  PASS Orchestrator UI Components Tests src/components/WfoForms/formFields/utils.spec.ts
6
+ PASS Orchestrator UI Components Tests src/components/WfoSubscription/utils/utils.spec.ts
7
7
  PASS Orchestrator UI Components Tests src/utils/date.spec.ts
8
+ PASS Orchestrator UI Components Tests src/pages/processes/timelineUtils.spec.ts
8
9
  PASS Orchestrator UI Components Tests src/utils/getProductNamesFromProcess.spec.ts
9
10
  PASS Orchestrator UI Components Tests src/utils/string.spec.ts
10
- PASS Orchestrator UI Components Tests src/pages/processes/timelineUtils.spec.ts
11
11
  PASS Orchestrator UI Components Tests src/components/WfoTable/WfoDataGridTable/WfodataGridColumns.spec.ts
12
12
  PASS Orchestrator UI Components Tests src/components/WfoTree/treeUtils.spec.ts
13
13
  PASS Orchestrator UI Components Tests src/components/WfoTable/WfoTableWithFilter/updateQueryString.spec.ts
@@ -15,20 +15,20 @@ PASS Orchestrator UI Components Tests src/components/WfoTable/utils/tableConfigP
15
15
  PASS Orchestrator UI Components Tests src/components/WfoTable/utils/tableUtils.spec.ts
16
16
  PASS Orchestrator UI Components Tests src/components/WfoTable/utils/mapSortableAndFilterableValuesToTableColumnConfig.spec.ts
17
17
  PASS Orchestrator UI Components Tests src/messages/getTranslationMessages.spec.ts
18
- PASS Orchestrator UI Components Tests src/components/WfoTable/utils/columns.spec.ts
19
18
  PASS Orchestrator UI Components Tests src/utils/getToastMessage.spec.ts
19
+ PASS Orchestrator UI Components Tests src/components/WfoTable/utils/columns.spec.ts
20
20
  PASS Orchestrator UI Components Tests src/utils/sortObjectKeys.spec.ts
21
- PASS Orchestrator UI Components Tests src/utils/getTokenName.spec.ts
22
21
  PASS Orchestrator UI Components Tests src/components/WfoWorkflowSteps/stepListUtils.spec.ts
22
+ PASS Orchestrator UI Components Tests src/utils/getTokenName.spec.ts
23
23
  PASS Orchestrator UI Components Tests src/utils/environmentVariables.spec.ts
24
24
  PASS Orchestrator UI Components Tests src/utils/onlyUnique.spec.ts
25
25
  PASS Orchestrator UI Components Tests src/utils/uuid.spec.ts
26
- PASS Orchestrator UI Components Tests src/utils/getQueryVariablesForExport.spec.ts
27
26
  PASS Orchestrator UI Components Tests src/utils/getTypedFieldFromObject.spec.ts
27
+ PASS Orchestrator UI Components Tests src/utils/getQueryVariablesForExport.spec.ts
28
28
  PASS Orchestrator UI Components Tests src/components/WfoPageTemplate/WfoPageHeader/utils/toHexColorWithOpacity.spec.ts
29
29
 
30
30
  Test Suites: 24 passed, 24 total
31
31
  Tests: 152 passed, 152 total
32
32
  Snapshots: 0 total
33
- Time: 4.532 s
33
+ Time: 4.602 s
34
34
  Ran all test suites.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,30 @@
1
1
  # @orchestrator-ui/orchestrator-ui-components
2
2
 
3
+ ## 1.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 62b356f: 702 - Moves product blocks graphql query to RTK Client
8
+ - 0e5c8f3: 702 Moves subscriptionList query to RTK client
9
+ - 92ce67b: 702 Moves subscriptionDetail to RTK
10
+ - 3f68b52: 702 Moves subscriptions dropdown options to RTK
11
+ - d7b1ce2: 702 Moves products and productsSummary to RTK
12
+
13
+ ### Patch Changes
14
+
15
+ - 0b4da83: Moves resourceTypes metadata query to RTK client
16
+ - 6ee952f: Uses relatedSubscriptions RTK Query
17
+ - af1c86b: Moves processList summary queries to RTK client
18
+ - 70efdf5: Moves getting startOptions to RTK
19
+ - 0d10af8: Uses RTK client to get metadata workflows
20
+
21
+ ## 1.3.1
22
+
23
+ ### Patch Changes
24
+
25
+ - 043b943: Moves processStepst query to RTK
26
+ - b511e4a: Fixes bug that occurs in some create workflows
27
+
3
28
  ## 1.3.0
4
29
 
5
30
  ### Minor Changes