@orchestrator-ui/orchestrator-ui-components 0.3.1 → 0.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 (84) hide show
  1. package/.turbo/turbo-build.log +5 -5
  2. package/.turbo/turbo-lint.log +1 -1
  3. package/.turbo/turbo-test.log +11 -9
  4. package/CHANGELOG.md +19 -0
  5. package/dist/index.d.ts +332 -58
  6. package/dist/index.js +8487 -2415
  7. package/package.json +8 -9
  8. package/src/components/WfoBadges/WfoEngineStatusBadge/WfoEngineStatusBadge.tsx +8 -5
  9. package/src/components/WfoBadges/WfoEnvironmentBadge/WfoEnvironmentBadge.tsx +2 -1
  10. package/src/components/WfoForms/formFields/OrganisationField.tsx +11 -11
  11. package/src/components/WfoForms/formFields/SplitPrefix.tsx +11 -4
  12. package/src/components/WfoForms/formFields/SubscriptionField.tsx +1 -1
  13. package/src/components/WfoPageTemplate/WfoSidebar/WfoCopyright.tsx +22 -0
  14. package/src/components/WfoPageTemplate/WfoSidebar/WfoSidebar.tsx +10 -6
  15. package/src/components/WfoPageTemplate/WfoSidebar/styles.ts +17 -0
  16. package/src/components/WfoProcessList/WfoProcessesList.tsx +59 -25
  17. package/src/components/WfoProcessList/processListObjectMappers.ts +45 -1
  18. package/src/components/WfoSettings/WfoEngineStatusButton.tsx +11 -13
  19. package/src/components/WfoSettings/WfoFlushSettings.tsx +23 -35
  20. package/src/components/WfoSettings/WfoModifySettings.tsx +3 -16
  21. package/src/components/WfoSettings/WfoStatus.tsx +4 -9
  22. package/src/components/WfoSettings/index.ts +4 -1
  23. package/src/components/WfoSubscription/WfoSubscription.tsx +5 -2
  24. package/src/components/WfoSubscription/WfoSubscriptionDetailTree.tsx +1 -0
  25. package/src/components/WfoSubscription/WfoSubscriptionGeneral.tsx +1 -1
  26. package/src/components/WfoSubscription/subscriptionDetailTabs.tsx +36 -6
  27. package/src/components/WfoSubscriptionsList/WfoSubscriptionsList.tsx +42 -11
  28. package/src/components/WfoSubscriptionsList/index.ts +1 -1
  29. package/src/components/WfoSubscriptionsList/subscriptionListTabs.ts +1 -1
  30. package/src/components/WfoSubscriptionsList/{mapGraphQlSubscriptionsResultToSubscriptionListItems.ts → subscriptionResultMappers.ts} +6 -0
  31. package/src/components/WfoTable/WfoTableWithFilter/WfoTableWithFilter.tsx +12 -0
  32. package/src/components/WfoToastsList/WfoToastsList.tsx +11 -11
  33. package/src/components/WfoTree/WfoTreeNode.tsx +2 -0
  34. package/src/configuration/constants.ts +1 -0
  35. package/src/contexts/OrchestratorConfigContext.tsx +2 -4
  36. package/src/contexts/index.ts +0 -1
  37. package/src/graphqlQueries/index.ts +1 -1
  38. package/src/graphqlQueries/processListQuery.ts +29 -29
  39. package/src/graphqlQueries/subscriptionDetailQuery.ts +1 -1
  40. package/src/graphqlQueries/subscriptionsDropdownOptionsQuery.ts +1 -1
  41. package/src/hooks/index.ts +1 -2
  42. package/src/hooks/useCheckEngineStatus.ts +10 -9
  43. package/src/hooks/useOrchestratorConfig.ts +1 -16
  44. package/src/hooks/useQueryWithGraphql.ts +22 -0
  45. package/src/hooks/useShowToastMessage.ts +43 -0
  46. package/src/hooks/useStoredTableConfig.ts +5 -4
  47. package/src/icons/WfoCogFill.tsx +23 -25
  48. package/src/icons/WfoCubeSolid.tsx +33 -0
  49. package/src/icons/WfoPlayCircle.tsx +35 -0
  50. package/src/icons/WfoShare.tsx +35 -0
  51. package/src/icons/index.ts +3 -0
  52. package/src/index.ts +1 -0
  53. package/src/messages/en-GB.json +9 -5
  54. package/src/messages/nl-NL.json +8 -4
  55. package/src/pages/metadata/WfoProductBlocksPage.tsx +40 -6
  56. package/src/pages/metadata/WfoProductsPage.tsx +38 -9
  57. package/src/pages/metadata/WfoResourceTypesPage.tsx +36 -5
  58. package/src/pages/metadata/WfoWorkflowsPage.tsx +40 -9
  59. package/src/pages/settings/WfoSettingsPage.tsx +14 -23
  60. package/src/rtk/api.ts +40 -0
  61. package/src/rtk/endpoints/customers.ts +27 -0
  62. package/src/rtk/endpoints/index.ts +3 -0
  63. package/src/rtk/endpoints/processList.ts +89 -0
  64. package/src/rtk/endpoints/settings.ts +72 -0
  65. package/src/rtk/hooks.ts +7 -0
  66. package/src/rtk/index.ts +5 -0
  67. package/src/rtk/slices/index.ts +1 -0
  68. package/src/rtk/slices/orchestratorConfig.ts +16 -0
  69. package/src/rtk/slices/toastMessages.ts +56 -0
  70. package/src/rtk/store.ts +40 -0
  71. package/src/rtk/storeProvider.tsx +26 -0
  72. package/src/types/types.ts +33 -2
  73. package/src/utils/csvDownload.ts +83 -0
  74. package/src/utils/getDefaultTableConfig.ts +1 -3
  75. package/src/utils/getQueryVariablesForExport.spec.ts +19 -0
  76. package/src/utils/getQueryVariablesForExport.ts +11 -0
  77. package/src/utils/index.ts +1 -0
  78. package/src/utils/sortObjectKeys.spec.ts +34 -0
  79. package/src/utils/sortObjectKeys.ts +33 -0
  80. package/src/components/WfoSettings/WfoSettings.tsx +0 -40
  81. package/src/contexts/ToastContext.tsx +0 -136
  82. package/src/graphqlQueries/customersQuery.ts +0 -20
  83. package/src/hooks/useEngineStatusQuery.ts +0 -64
  84. package/src/hooks/useToastMessage.ts +0 -5
@@ -1,5 +1,5 @@
1
1
 
2
- > @orchestrator-ui/orchestrator-ui-components@0.3.1 build
2
+ > @orchestrator-ui/orchestrator-ui-components@0.5.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 1.92 MB
12
- ESM ⚡️ Build success in 723ms
13
- DTS ⚡️ Build success in 10252ms
14
- DTS dist/index.d.ts 98.49 KB
11
+ ESM dist/index.js 2.13 MB
12
+ ESM ⚡️ Build success in 766ms
13
+ DTS ⚡️ Build success in 12922ms
14
+ DTS dist/index.d.ts 113.06 KB
@@ -1,4 +1,4 @@
1
1
 
2
- > @orchestrator-ui/orchestrator-ui-components@0.3.1 lint
2
+ > @orchestrator-ui/orchestrator-ui-components@0.5.0 lint
3
3
  > eslint "src/**/*.ts*"
4
4
 
@@ -1,5 +1,5 @@
1
1
 
2
- > @orchestrator-ui/orchestrator-ui-components@0.3.1 test
2
+ > @orchestrator-ui/orchestrator-ui-components@0.5.0 test
3
3
  > jest
4
4
 
5
5
  PASS Orchestrator UI Components Tests src/utils/date.spec.ts
@@ -7,24 +7,26 @@ PASS Orchestrator UI Components Tests src/pages/processes/timelineUtils.spec.ts
7
7
  PASS Orchestrator UI Components Tests src/components/WfoForms/formFields/utils.spec.ts
8
8
  PASS Orchestrator UI Components Tests src/components/WfoSubscription/utils/utils.spec.ts
9
9
  PASS Orchestrator UI Components Tests src/utils/getProductNamesFromProcess.spec.ts
10
+ PASS Orchestrator UI Components Tests src/components/WfoTree/treeUtils.spec.ts
10
11
  PASS Orchestrator UI Components Tests src/components/WfoTable/WfoDataGridTable/WfodataGridColumns.spec.ts
11
12
  PASS Orchestrator UI Components Tests src/components/WfoTable/WfoTableWithFilter/updateQueryString.spec.ts
12
- PASS Orchestrator UI Components Tests src/components/WfoTree/treeUtils.spec.ts
13
+ PASS Orchestrator UI Components Tests src/utils/string.spec.ts
13
14
  PASS Orchestrator UI Components Tests src/components/WfoTable/utils/tableConfigPersistence.spec.ts
14
15
  PASS Orchestrator UI Components Tests src/components/WfoTable/utils/tableUtils.spec.ts
15
- PASS Orchestrator UI Components Tests src/utils/string.spec.ts
16
- PASS Orchestrator UI Components Tests src/components/WfoTable/utils/mapSortableAndFilterableValuesToTableColumnConfig.spec.ts
17
16
  PASS Orchestrator UI Components Tests src/messages/getTranslationMessages.spec.ts
18
- PASS Orchestrator UI Components Tests src/components/WfoWorkflowSteps/stepListUtils.spec.ts
17
+ PASS Orchestrator UI Components Tests src/components/WfoTable/utils/mapSortableAndFilterableValuesToTableColumnConfig.spec.ts
19
18
  PASS Orchestrator UI Components Tests src/components/WfoTable/utils/columns.spec.ts
19
+ PASS Orchestrator UI Components Tests src/utils/sortObjectKeys.spec.ts
20
20
  PASS Orchestrator UI Components Tests src/utils/getTokenName.spec.ts
21
+ PASS Orchestrator UI Components Tests src/components/WfoWorkflowSteps/stepListUtils.spec.ts
21
22
  PASS Orchestrator UI Components Tests src/utils/environmentVariables.spec.ts
22
23
  PASS Orchestrator UI Components Tests src/utils/uuid.spec.ts
23
- PASS Orchestrator UI Components Tests src/components/WfoPageTemplate/WfoPageHeader/utils/toHexColorWithOpacity.spec.ts
24
24
  PASS Orchestrator UI Components Tests src/utils/getTypedFieldFromObject.spec.ts
25
+ PASS Orchestrator UI Components Tests src/utils/getQueryVariablesForExport.spec.ts
26
+ PASS Orchestrator UI Components Tests src/components/WfoPageTemplate/WfoPageHeader/utils/toHexColorWithOpacity.spec.ts
25
27
 
26
- Test Suites: 20 passed, 20 total
27
- Tests: 128 passed, 128 total
28
+ Test Suites: 22 passed, 22 total
29
+ Tests: 131 passed, 131 total
28
30
  Snapshots: 0 total
29
- Time: 11.523 s
31
+ Time: 11.575 s
30
32
  Ran all test suites.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @orchestrator-ui/orchestrator-ui-components
2
2
 
3
+ ## 0.5.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 267a753: Adding RTK and RTK Query for some endpoints and store data
8
+
9
+ ## 0.4.0
10
+
11
+ ### Minor Changes
12
+
13
+ - cdc668f: 544 - Export functionality for the tables
14
+
15
+ ### Patch Changes
16
+
17
+ - e8af27c: Process table - each column width in absolute or %
18
+ - e9af205: change order tabs sub-detail-page
19
+ - 996fc9f: added border radius to wfo tree and empty PB card placeholder
20
+ - 41e0cc9: added copyright to sidebar
21
+
3
22
  ## 0.3.1
4
23
 
5
24
  ### Patch Changes