@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.
- package/.turbo/turbo-build.log +5 -5
- package/.turbo/turbo-lint.log +1 -1
- package/.turbo/turbo-test.log +11 -9
- package/CHANGELOG.md +19 -0
- package/dist/index.d.ts +332 -58
- package/dist/index.js +8487 -2415
- package/package.json +8 -9
- package/src/components/WfoBadges/WfoEngineStatusBadge/WfoEngineStatusBadge.tsx +8 -5
- package/src/components/WfoBadges/WfoEnvironmentBadge/WfoEnvironmentBadge.tsx +2 -1
- package/src/components/WfoForms/formFields/OrganisationField.tsx +11 -11
- package/src/components/WfoForms/formFields/SplitPrefix.tsx +11 -4
- package/src/components/WfoForms/formFields/SubscriptionField.tsx +1 -1
- package/src/components/WfoPageTemplate/WfoSidebar/WfoCopyright.tsx +22 -0
- package/src/components/WfoPageTemplate/WfoSidebar/WfoSidebar.tsx +10 -6
- package/src/components/WfoPageTemplate/WfoSidebar/styles.ts +17 -0
- package/src/components/WfoProcessList/WfoProcessesList.tsx +59 -25
- package/src/components/WfoProcessList/processListObjectMappers.ts +45 -1
- package/src/components/WfoSettings/WfoEngineStatusButton.tsx +11 -13
- package/src/components/WfoSettings/WfoFlushSettings.tsx +23 -35
- package/src/components/WfoSettings/WfoModifySettings.tsx +3 -16
- package/src/components/WfoSettings/WfoStatus.tsx +4 -9
- package/src/components/WfoSettings/index.ts +4 -1
- package/src/components/WfoSubscription/WfoSubscription.tsx +5 -2
- package/src/components/WfoSubscription/WfoSubscriptionDetailTree.tsx +1 -0
- package/src/components/WfoSubscription/WfoSubscriptionGeneral.tsx +1 -1
- package/src/components/WfoSubscription/subscriptionDetailTabs.tsx +36 -6
- package/src/components/WfoSubscriptionsList/WfoSubscriptionsList.tsx +42 -11
- package/src/components/WfoSubscriptionsList/index.ts +1 -1
- package/src/components/WfoSubscriptionsList/subscriptionListTabs.ts +1 -1
- package/src/components/WfoSubscriptionsList/{mapGraphQlSubscriptionsResultToSubscriptionListItems.ts → subscriptionResultMappers.ts} +6 -0
- package/src/components/WfoTable/WfoTableWithFilter/WfoTableWithFilter.tsx +12 -0
- package/src/components/WfoToastsList/WfoToastsList.tsx +11 -11
- package/src/components/WfoTree/WfoTreeNode.tsx +2 -0
- package/src/configuration/constants.ts +1 -0
- package/src/contexts/OrchestratorConfigContext.tsx +2 -4
- package/src/contexts/index.ts +0 -1
- package/src/graphqlQueries/index.ts +1 -1
- package/src/graphqlQueries/processListQuery.ts +29 -29
- package/src/graphqlQueries/subscriptionDetailQuery.ts +1 -1
- package/src/graphqlQueries/subscriptionsDropdownOptionsQuery.ts +1 -1
- package/src/hooks/index.ts +1 -2
- package/src/hooks/useCheckEngineStatus.ts +10 -9
- package/src/hooks/useOrchestratorConfig.ts +1 -16
- package/src/hooks/useQueryWithGraphql.ts +22 -0
- package/src/hooks/useShowToastMessage.ts +43 -0
- package/src/hooks/useStoredTableConfig.ts +5 -4
- package/src/icons/WfoCogFill.tsx +23 -25
- package/src/icons/WfoCubeSolid.tsx +33 -0
- package/src/icons/WfoPlayCircle.tsx +35 -0
- package/src/icons/WfoShare.tsx +35 -0
- package/src/icons/index.ts +3 -0
- package/src/index.ts +1 -0
- package/src/messages/en-GB.json +9 -5
- package/src/messages/nl-NL.json +8 -4
- package/src/pages/metadata/WfoProductBlocksPage.tsx +40 -6
- package/src/pages/metadata/WfoProductsPage.tsx +38 -9
- package/src/pages/metadata/WfoResourceTypesPage.tsx +36 -5
- package/src/pages/metadata/WfoWorkflowsPage.tsx +40 -9
- package/src/pages/settings/WfoSettingsPage.tsx +14 -23
- package/src/rtk/api.ts +40 -0
- package/src/rtk/endpoints/customers.ts +27 -0
- package/src/rtk/endpoints/index.ts +3 -0
- package/src/rtk/endpoints/processList.ts +89 -0
- package/src/rtk/endpoints/settings.ts +72 -0
- package/src/rtk/hooks.ts +7 -0
- package/src/rtk/index.ts +5 -0
- package/src/rtk/slices/index.ts +1 -0
- package/src/rtk/slices/orchestratorConfig.ts +16 -0
- package/src/rtk/slices/toastMessages.ts +56 -0
- package/src/rtk/store.ts +40 -0
- package/src/rtk/storeProvider.tsx +26 -0
- package/src/types/types.ts +33 -2
- package/src/utils/csvDownload.ts +83 -0
- package/src/utils/getDefaultTableConfig.ts +1 -3
- package/src/utils/getQueryVariablesForExport.spec.ts +19 -0
- package/src/utils/getQueryVariablesForExport.ts +11 -0
- package/src/utils/index.ts +1 -0
- package/src/utils/sortObjectKeys.spec.ts +34 -0
- package/src/utils/sortObjectKeys.ts +33 -0
- package/src/components/WfoSettings/WfoSettings.tsx +0 -40
- package/src/contexts/ToastContext.tsx +0 -136
- package/src/graphqlQueries/customersQuery.ts +0 -20
- package/src/hooks/useEngineStatusQuery.ts +0 -64
- package/src/hooks/useToastMessage.ts +0 -5
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @orchestrator-ui/orchestrator-ui-components@0.
|
|
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
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
[34mCLI[39m Target: es6
|
|
9
9
|
[34mESM[39m Build start
|
|
10
10
|
[34mDTS[39m Build start
|
|
11
|
-
[32mESM[39m [1mdist/index.js [22m[
|
|
12
|
-
[32mESM[39m ⚡️ Build success in
|
|
13
|
-
[32mDTS[39m ⚡️ Build success in
|
|
14
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[
|
|
11
|
+
[32mESM[39m [1mdist/index.js [22m[32m2.13 MB[39m
|
|
12
|
+
[32mESM[39m ⚡️ Build success in 766ms
|
|
13
|
+
[32mDTS[39m ⚡️ Build success in 12922ms
|
|
14
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m113.06 KB[39m
|
package/.turbo/turbo-lint.log
CHANGED
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @orchestrator-ui/orchestrator-ui-components@0.
|
|
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/
|
|
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/
|
|
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:
|
|
27
|
-
Tests:
|
|
28
|
+
Test Suites: 22 passed, 22 total
|
|
29
|
+
Tests: 131 passed, 131 total
|
|
28
30
|
Snapshots: 0 total
|
|
29
|
-
Time: 11.
|
|
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
|