@orchestrator-ui/orchestrator-ui-components 5.7.1 → 5.8.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 +7 -7
- package/.turbo/turbo-lint.log +1 -1
- package/.turbo/turbo-test.log +9 -9
- package/CHANGELOG.md +6 -0
- package/dist/index.d.ts +13 -4
- package/dist/index.js +336 -285
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/WfoBadges/WfoWorkflowTargetBadge/WfoWorkflowTargetBadge.tsx +7 -0
- package/src/components/WfoSubscription/WfoSubscriptionActions/WfoSubscriptionActions.tsx +109 -110
- package/src/components/WfoSubscription/utils/utils.ts +4 -0
- package/src/components/WfoSubscriptionsList/WfoSubscriptionsList.tsx +12 -0
- package/src/configuration/policy-resources.ts +1 -0
- package/src/configuration/version.ts +1 -1
- package/src/messages/en-GB.json +5 -0
- package/src/messages/nl-NL.json +5 -0
- package/src/rtk/endpoints/metadata/workflows.ts +1 -1
- package/src/types/types.ts +2 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
> @orchestrator-ui/orchestrator-ui-components@5.
|
|
2
|
+
> @orchestrator-ui/orchestrator-ui-components@5.8.0 build
|
|
3
3
|
> npm run generate-version && tsup src/index.ts
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> @orchestrator-ui/orchestrator-ui-components@5.
|
|
6
|
+
> @orchestrator-ui/orchestrator-ui-components@5.8.0 generate-version
|
|
7
7
|
> node -p "'export const ORCHESTRATOR_UI_LIBRARY_VERSION = ' + JSON.stringify(require('./package.json').version) + ';'" > src/configuration/version.ts && prettier --write src/configuration/version.ts
|
|
8
8
|
|
|
9
|
-
src/configuration/version.ts
|
|
9
|
+
src/configuration/version.ts 39ms
|
|
10
10
|
[34mCLI[39m Building entry: src/index.ts
|
|
11
11
|
[34mCLI[39m Using tsconfig: tsconfig.build.json
|
|
12
12
|
[34mCLI[39m tsup v8.4.0
|
|
@@ -14,8 +14,8 @@ src/configuration/version.ts 45ms
|
|
|
14
14
|
[34mCLI[39m Target: es2020
|
|
15
15
|
[34mESM[39m Build start
|
|
16
16
|
[34mDTS[39m Build start
|
|
17
|
-
[32mESM[39m [1mdist/index.js [22m[32m2.
|
|
17
|
+
[32mESM[39m [1mdist/index.js [22m[32m2.05 MB[39m
|
|
18
18
|
[32mESM[39m [1mdist/index.js.map [22m[32m3.90 MB[39m
|
|
19
|
-
[32mESM[39m ⚡️ Build success in
|
|
20
|
-
[32mDTS[39m ⚡️ Build success in
|
|
21
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[
|
|
19
|
+
[32mESM[39m ⚡️ Build success in 787ms
|
|
20
|
+
[32mDTS[39m ⚡️ Build success in 20659ms
|
|
21
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m840.31 KB[39m
|
package/.turbo/turbo-lint.log
CHANGED
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
> @orchestrator-ui/orchestrator-ui-components@5.
|
|
2
|
+
> @orchestrator-ui/orchestrator-ui-components@5.8.0 test
|
|
3
3
|
> jest
|
|
4
4
|
|
|
5
5
|
PASS Wfo-UI Tests src/components/WfoTree/treeUtils.spec.ts
|
|
6
6
|
PASS Wfo-UI Tests src/components/WfoSubscription/utils/utils.spec.ts
|
|
7
|
-
PASS Wfo-UI Tests src/pages/processes/timelineUtils.spec.ts
|
|
8
7
|
PASS Wfo-UI Tests src/utils/date.spec.ts
|
|
8
|
+
PASS Wfo-UI Tests src/pages/processes/timelineUtils.spec.ts
|
|
9
9
|
PASS Wfo-UI Tests src/utils/string.spec.ts
|
|
10
10
|
PASS Wfo-UI Tests src/utils/getProductNamesFromProcess.spec.ts
|
|
11
11
|
PASS Wfo-UI Tests src/components/WfoTable/WfoTable/WfoGroupedTable/utils.spec.ts
|
|
@@ -21,26 +21,26 @@ PASS Wfo-UI Tests src/components/WfoPageTemplate/WfoSidebar/utils/menuItemIsAllo
|
|
|
21
21
|
PASS Wfo-UI Tests src/utils/getEnvironmentVariables.spec.ts
|
|
22
22
|
PASS Wfo-UI Tests src/messages/getTranslationMessages.spec.ts
|
|
23
23
|
PASS Wfo-UI Tests src/utils/getToastMessage.spec.ts
|
|
24
|
-
PASS Wfo-UI Tests src/components/WfoForms/formFields/utils.spec.ts (6.
|
|
25
|
-
PASS Wfo-UI Tests src/components/WfoTable/WfoTable/utils.spec.ts (5.
|
|
26
|
-
PASS Wfo-UI Tests src/components/WfoTable/utils/columns.spec.ts
|
|
24
|
+
PASS Wfo-UI Tests src/components/WfoForms/formFields/utils.spec.ts (6.7 s)
|
|
25
|
+
PASS Wfo-UI Tests src/components/WfoTable/WfoTable/utils.spec.ts (5.286 s)
|
|
27
26
|
PASS Wfo-UI Tests src/utils/toSortedObjectKeys.spec.ts
|
|
28
|
-
PASS Wfo-UI Tests src/utils/
|
|
27
|
+
PASS Wfo-UI Tests src/components/WfoTable/utils/columns.spec.ts
|
|
29
28
|
PASS Wfo-UI Tests src/utils/toObjectWithSerializedValues.spec.ts
|
|
29
|
+
PASS Wfo-UI Tests src/utils/filterData.spec.ts
|
|
30
30
|
PASS Wfo-UI Tests src/components/WfoWorkflowSteps/stepListUtils.spec.ts
|
|
31
31
|
PASS Wfo-UI Tests src/utils/getTokenName.spec.ts
|
|
32
32
|
PASS Wfo-UI Tests src/components/WfoPydanticForm/fields/wfoPydanticFormUtils.spec.ts
|
|
33
33
|
PASS Wfo-UI Tests src/utils/uuid.spec.ts
|
|
34
|
-
PASS Wfo-UI Tests src/utils/onlyUnique.spec.ts
|
|
35
34
|
PASS Wfo-UI Tests src/utils/environmentVariables.spec.ts
|
|
36
35
|
PASS Wfo-UI Tests src/utils/getTypedFieldFromObject.spec.ts
|
|
36
|
+
PASS Wfo-UI Tests src/utils/onlyUnique.spec.ts
|
|
37
37
|
PASS Wfo-UI Tests src/utils/cacheTag.spec.ts
|
|
38
|
-
PASS Wfo-UI Tests src/utils/getQueryVariablesForExport.spec.ts
|
|
39
38
|
PASS Wfo-UI Tests src/components/WfoPageTemplate/WfoPageHeader/utils/toHexColorWithOpacity.spec.ts
|
|
39
|
+
PASS Wfo-UI Tests src/utils/getQueryVariablesForExport.spec.ts
|
|
40
40
|
PASS Wfo-UI Tests src/utils/getQueryUrl.spec.ts
|
|
41
41
|
|
|
42
42
|
Test Suites: 36 passed, 36 total
|
|
43
43
|
Tests: 233 passed, 233 total
|
|
44
44
|
Snapshots: 0 total
|
|
45
|
-
Time: 9.
|
|
45
|
+
Time: 9.355 s
|
|
46
46
|
Ran all test suites.
|
package/CHANGELOG.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -2607,7 +2607,7 @@ declare const useUpdateResourceTypeMutation: <R extends Record<string, any> = ({
|
|
|
2607
2607
|
}];
|
|
2608
2608
|
|
|
2609
2609
|
declare const workflowsDescription = "\nquery MetadataWorkflowsDescription(\n $workflowName: String!\n) {\n workflows(\n filterBy: [{ field: \"name\", value: $workflowName }]\n ) {\n page {\n name\n description\n }\n }\n}\n";
|
|
2610
|
-
declare const workflowsQuery = "\nquery MetadataWorkflows(\n $first: Int!\n $after: Int!\n $sortBy: [GraphqlSort!]\n $query: String\n) {\n workflows(\n first: $first\n after: $after\n sortBy: $sortBy\n query: $query\n filterBy: { field: \"target\", value: \"CREATE|MODIFY|TERMINATE\" }\n ) {\n page {\n workflowId\n name\n description\n target\n isTask\n products {\n tag\n }\n createdAt\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n totalItems\n sortFields\n filterFields\n }\n }\n}\n";
|
|
2610
|
+
declare const workflowsQuery = "\nquery MetadataWorkflows(\n $first: Int!\n $after: Int!\n $sortBy: [GraphqlSort!]\n $query: String\n) {\n workflows(\n first: $first\n after: $after\n sortBy: $sortBy\n query: $query\n filterBy: { field: \"target\", value: \"CREATE|MODIFY|TERMINATE|RECONCILE\" }\n ) {\n page {\n workflowId\n name\n description\n target\n isTask\n products {\n tag\n }\n createdAt\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n totalItems\n sortFields\n filterFields\n }\n }\n}\n";
|
|
2611
2611
|
type WorkflowsDescriptionQueryVariables = {
|
|
2612
2612
|
workflowName: string;
|
|
2613
2613
|
};
|
|
@@ -16759,7 +16759,8 @@ declare enum WorkflowTarget {
|
|
|
16759
16759
|
MODIFY = "modify",
|
|
16760
16760
|
TERMINATE = "terminate",
|
|
16761
16761
|
SYSTEM = "system",
|
|
16762
|
-
VALIDATE = "validate"
|
|
16762
|
+
VALIDATE = "validate",
|
|
16763
|
+
RECONCILE = "reconcile"
|
|
16763
16764
|
}
|
|
16764
16765
|
type Process = {
|
|
16765
16766
|
workflowName: string;
|
|
@@ -17135,6 +17136,7 @@ type SubscriptionActions = {
|
|
|
17135
17136
|
terminate: SubscriptionAction[];
|
|
17136
17137
|
system: SubscriptionAction[];
|
|
17137
17138
|
validate: SubscriptionAction[];
|
|
17139
|
+
reconcile: SubscriptionAction[];
|
|
17138
17140
|
};
|
|
17139
17141
|
declare enum CacheTagType {
|
|
17140
17142
|
workerStatus = "workerStatus",
|
|
@@ -17331,6 +17333,7 @@ declare enum PolicyResource {
|
|
|
17331
17333
|
SUBSCRIPTION_CREATE = "/orchestrator/processes/create/process/menu",
|
|
17332
17334
|
SUBSCRIPTION_MODIFY = "/orchestrator/subscriptions/modify/",
|
|
17333
17335
|
SUBSCRIPTION_TERMINATE = "/orchestrator/subscriptions/terminate/",
|
|
17336
|
+
SUBSCRIPTION_RECONCILE = "/orchestrator/subscriptions/reconcile/",
|
|
17334
17337
|
SUBSCRIPTION_VALIDATE = "/orchestrator/subscriptions/validate/",
|
|
17335
17338
|
TASKS_CREATE = "/orchestrator/processes/create/task",
|
|
17336
17339
|
TASKS_RETRY_ALL = "/orchestrator/processes/all-tasks/retry",
|
|
@@ -17416,7 +17419,7 @@ declare const getFieldFromProductBlockInstanceValues: (instanceValues: FieldValu
|
|
|
17416
17419
|
declare const getProductBlockTitle: (instanceValues: FieldValue[]) => string | number | boolean;
|
|
17417
17420
|
declare const flattenArrayProps: (action: SubscriptionAction) => TranslationValues;
|
|
17418
17421
|
declare const getWorkflowTargetColor: (workflowTarget: WorkflowTarget, theme: EuiThemeComputed) => string;
|
|
17419
|
-
declare const getWorkflowTargetIconContent: (workflowTarget: WorkflowTarget) => "C" | "T" | "X" | "M";
|
|
17422
|
+
declare const getWorkflowTargetIconContent: (workflowTarget: WorkflowTarget) => "C" | "T" | "X" | "R" | "M";
|
|
17420
17423
|
declare const getLastUncompletedProcess: (processes?: SubscriptionDetailProcess[]) => SubscriptionDetailProcess | undefined;
|
|
17421
17424
|
declare const getLatestTaskDate: (processes?: SubscriptionDetailProcess[]) => string;
|
|
17422
17425
|
declare const sortProcessesByDate: (processList: SubscriptionDetailProcess[], sortOrder: SortOrder) => SubscriptionDetailProcess[];
|
|
@@ -17481,6 +17484,7 @@ declare const WfoSubscription: ({ subscriptionId }: WfoSubscriptionProps) => _em
|
|
|
17481
17484
|
type WfoSubscriptionActionsProps = {
|
|
17482
17485
|
subscriptionId: string;
|
|
17483
17486
|
isLoading?: boolean;
|
|
17487
|
+
compactMode?: boolean;
|
|
17484
17488
|
};
|
|
17485
17489
|
declare const WfoSubscriptionActions: FC<WfoSubscriptionActionsProps>;
|
|
17486
17490
|
|
|
@@ -18487,7 +18491,7 @@ declare const METADATA_PRODUCT_BLOCK_ENDPOINT = "product_blocks";
|
|
|
18487
18491
|
declare const METADATA_RESOURCE_TYPE_ENDPOINT = "resource_types";
|
|
18488
18492
|
declare const METADATA_WORKFLOWS_ENDPOINT = "workflows";
|
|
18489
18493
|
|
|
18490
|
-
declare const ORCHESTRATOR_UI_LIBRARY_VERSION = "5.
|
|
18494
|
+
declare const ORCHESTRATOR_UI_LIBRARY_VERSION = "5.8.0";
|
|
18491
18495
|
|
|
18492
18496
|
declare const useGetTranslationMessages: (locale: string | undefined) => {
|
|
18493
18497
|
pydanticForms: {
|
|
@@ -18796,6 +18800,11 @@ declare const useGetTranslationMessages: (locale: string | undefined) => {
|
|
|
18796
18800
|
modify: string;
|
|
18797
18801
|
tasks: string;
|
|
18798
18802
|
terminate: string;
|
|
18803
|
+
reconcile: string;
|
|
18804
|
+
notAvailable: string;
|
|
18805
|
+
notAvailableForWorkflow: string;
|
|
18806
|
+
reconcileSubscription: string;
|
|
18807
|
+
validateSubscription: string;
|
|
18799
18808
|
actions: string;
|
|
18800
18809
|
lockedBySubscriptions: string;
|
|
18801
18810
|
subscription: {
|