@orchestrator-ui/orchestrator-ui-components 6.7.8 → 6.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.
@@ -1,12 +1,12 @@
1
1
 
2
- > @orchestrator-ui/orchestrator-ui-components@6.7.8 build
2
+ > @orchestrator-ui/orchestrator-ui-components@6.8.0 build
3
3
  > npm run generate-version && tsup src/index.ts
4
4
 
5
5
 
6
- > @orchestrator-ui/orchestrator-ui-components@6.7.8 generate-version
6
+ > @orchestrator-ui/orchestrator-ui-components@6.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 144ms
9
+ src/configuration/version.ts 147ms
10
10
  CLI Building entry: src/index.ts
11
11
  CLI Using tsconfig: tsconfig.json
12
12
  CLI tsup v8.5.0
@@ -14,9 +14,9 @@ src/configuration/version.ts 144ms
14
14
  CLI Target: es2022
15
15
  CLI Cleaning output folder
16
16
  ESM Build start
17
- ESM dist/index.js 928.38 KB
18
- ESM dist/index.js.map 1.78 MB
19
- ESM ⚡️ Build success in 320ms
17
+ ESM dist/index.js 931.08 KB
18
+ ESM dist/index.js.map 1.79 MB
19
+ ESM ⚡️ Build success in 342ms
20
20
  DTS Build start
21
- DTS ⚡️ Build success in 22107ms
21
+ DTS ⚡️ Build success in 24784ms
22
22
  DTS dist/index.d.ts 1.26 MB
@@ -1,5 +1,5 @@
1
1
 
2
- > @orchestrator-ui/orchestrator-ui-components@6.7.8 lint
2
+ > @orchestrator-ui/orchestrator-ui-components@6.8.0 lint
3
3
  > eslint
4
4
 
5
5
 
@@ -1,5 +1,5 @@
1
1
 
2
- > @orchestrator-ui/orchestrator-ui-components@6.7.8 test
2
+ > @orchestrator-ui/orchestrator-ui-components@6.8.0 test
3
3
  > jest
4
4
 
5
5
  PASS Wfo-UI Tests src/components/WfoSubscription/utils/utils.spec.ts
@@ -21,12 +21,12 @@ 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/WfoTable/WfoTable/utils.spec.ts (5.329 s)
25
- PASS Wfo-UI Tests src/components/WfoForms/formFields/utils.spec.ts (6.585 s)
26
- PASS Wfo-UI Tests src/components/WfoTable/utils/columns.spec.ts
24
+ PASS Wfo-UI Tests src/components/WfoTable/WfoTable/utils.spec.ts (5.805 s)
25
+ PASS Wfo-UI Tests src/components/WfoForms/formFields/utils.spec.ts (7.039 s)
26
+ PASS Wfo-UI Tests src/components/WfoPydanticForm/fields/wfoPydanticFormUtils.spec.ts
27
27
  PASS Wfo-UI Tests src/utils/toSortedObjectKeys.spec.ts
28
+ PASS Wfo-UI Tests src/components/WfoTable/utils/columns.spec.ts
28
29
  PASS Wfo-UI Tests src/utils/filterData.spec.ts
29
- PASS Wfo-UI Tests src/components/WfoPydanticForm/fields/wfoPydanticFormUtils.spec.ts
30
30
  PASS Wfo-UI Tests src/utils/toObjectWithSerializedValues.spec.ts
31
31
  PASS Wfo-UI Tests src/components/WfoWorkflowSteps/stepListUtils.spec.ts
32
32
  PASS Wfo-UI Tests src/utils/getTokenName.spec.ts
@@ -34,13 +34,13 @@ PASS Wfo-UI Tests src/utils/uuid.spec.ts
34
34
  PASS Wfo-UI Tests src/utils/environmentVariables.spec.ts
35
35
  PASS Wfo-UI Tests src/utils/onlyUnique.spec.ts
36
36
  PASS Wfo-UI Tests src/utils/getTypedFieldFromObject.spec.ts
37
+ PASS Wfo-UI Tests src/utils/cacheTag.spec.ts
37
38
  PASS Wfo-UI Tests src/utils/getQueryVariablesForExport.spec.ts
38
39
  PASS Wfo-UI Tests src/components/WfoPageTemplate/WfoPageHeader/utils/toHexColorWithOpacity.spec.ts
39
- PASS Wfo-UI Tests src/utils/cacheTag.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: 239 passed, 239 total
44
44
  Snapshots: 0 total
45
- Time: 8.914 s
45
+ Time: 9.486 s
46
46
  Ran all test suites.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @orchestrator-ui/orchestrator-ui-components
2
2
 
3
+ ## 6.8.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 1b94ebc: 2160 Add filter for create worklows combobox and override filters
8
+
3
9
  ## 6.7.8
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -13490,7 +13490,7 @@ declare const useGetWorkflowOptionsQuery: <R extends Record<string, any> = _redu
13490
13490
  isError: false;
13491
13491
  }, "isUninitialized"> & {
13492
13492
  isUninitialized: true;
13493
- }) | (Omit<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
13493
+ }) | (Omit<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<string, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
13494
13494
  baseQueryType?: BaseQueryTypes;
13495
13495
  apiName?: string;
13496
13496
  paramsSerializer?: (params: Record<string, unknown>) => string;
@@ -13517,7 +13517,7 @@ declare const useGetWorkflowOptionsQuery: <R extends Record<string, any> = _redu
13517
13517
  isLoading: true;
13518
13518
  isFetching: boolean;
13519
13519
  data: undefined;
13520
- }) | (Omit<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
13520
+ }) | (Omit<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<string, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
13521
13521
  baseQueryType?: BaseQueryTypes;
13522
13522
  apiName?: string;
13523
13523
  paramsSerializer?: (params: Record<string, unknown>) => string;
@@ -13546,7 +13546,7 @@ declare const useGetWorkflowOptionsQuery: <R extends Record<string, any> = _redu
13546
13546
  error: undefined;
13547
13547
  } & {
13548
13548
  data: StartOptionsResponse<WorkflowOption>;
13549
- } & Required<Pick<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
13549
+ } & Required<Pick<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<string, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
13550
13550
  baseQueryType?: BaseQueryTypes;
13551
13551
  apiName?: string;
13552
13552
  paramsSerializer?: (params: Record<string, unknown>) => string;
@@ -13569,7 +13569,7 @@ declare const useGetWorkflowOptionsQuery: <R extends Record<string, any> = _redu
13569
13569
  isFetching: false;
13570
13570
  isSuccess: false;
13571
13571
  isError: false;
13572
- }, "fulfilledTimeStamp">>) | (Omit<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
13572
+ }, "fulfilledTimeStamp">>) | (Omit<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<string, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
13573
13573
  baseQueryType?: BaseQueryTypes;
13574
13574
  apiName?: string;
13575
13575
  paramsSerializer?: (params: Record<string, unknown>) => string;
@@ -13599,7 +13599,7 @@ declare const useGetWorkflowOptionsQuery: <R extends Record<string, any> = _redu
13599
13599
  } & {
13600
13600
  data: StartOptionsResponse<WorkflowOption>;
13601
13601
  currentData: StartOptionsResponse<WorkflowOption>;
13602
- } & Required<Pick<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
13602
+ } & Required<Pick<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<string, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
13603
13603
  baseQueryType?: BaseQueryTypes;
13604
13604
  apiName?: string;
13605
13605
  paramsSerializer?: (params: Record<string, unknown>) => string;
@@ -13622,7 +13622,7 @@ declare const useGetWorkflowOptionsQuery: <R extends Record<string, any> = _redu
13622
13622
  isFetching: false;
13623
13623
  isSuccess: false;
13624
13624
  isError: false;
13625
- }, "fulfilledTimeStamp">>) | (Omit<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
13625
+ }, "fulfilledTimeStamp">>) | (Omit<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<string, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
13626
13626
  baseQueryType?: BaseQueryTypes;
13627
13627
  apiName?: string;
13628
13628
  paramsSerializer?: (params: Record<string, unknown>) => string;
@@ -13647,7 +13647,7 @@ declare const useGetWorkflowOptionsQuery: <R extends Record<string, any> = _redu
13647
13647
  isError: false;
13648
13648
  }, "error" | "isError"> & {
13649
13649
  isError: true;
13650
- } & Required<Pick<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
13650
+ } & Required<Pick<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<string, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
13651
13651
  baseQueryType?: BaseQueryTypes;
13652
13652
  apiName?: string;
13653
13653
  paramsSerializer?: (params: Record<string, unknown>) => string;
@@ -13672,7 +13672,7 @@ declare const useGetWorkflowOptionsQuery: <R extends Record<string, any> = _redu
13672
13672
  isError: false;
13673
13673
  }, "error">>)> & {
13674
13674
  status: _reduxjs_toolkit_query.QueryStatus;
13675
- }>(arg: void | typeof _reduxjs_toolkit_query.skipToken, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
13675
+ }>(arg: string | typeof _reduxjs_toolkit_query.skipToken, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
13676
13676
  skip?: boolean;
13677
13677
  refetchOnMountOrArgChange?: boolean | number;
13678
13678
  } & {
@@ -13695,7 +13695,7 @@ declare const useGetWorkflowOptionsQuery: <R extends Record<string, any> = _redu
13695
13695
  isError: false;
13696
13696
  }, "isUninitialized"> & {
13697
13697
  isUninitialized: true;
13698
- }) | (Omit<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
13698
+ }) | (Omit<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<string, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
13699
13699
  baseQueryType?: BaseQueryTypes;
13700
13700
  apiName?: string;
13701
13701
  paramsSerializer?: (params: Record<string, unknown>) => string;
@@ -13722,7 +13722,7 @@ declare const useGetWorkflowOptionsQuery: <R extends Record<string, any> = _redu
13722
13722
  isLoading: true;
13723
13723
  isFetching: boolean;
13724
13724
  data: undefined;
13725
- }) | (Omit<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
13725
+ }) | (Omit<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<string, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
13726
13726
  baseQueryType?: BaseQueryTypes;
13727
13727
  apiName?: string;
13728
13728
  paramsSerializer?: (params: Record<string, unknown>) => string;
@@ -13751,7 +13751,7 @@ declare const useGetWorkflowOptionsQuery: <R extends Record<string, any> = _redu
13751
13751
  error: undefined;
13752
13752
  } & {
13753
13753
  data: StartOptionsResponse<WorkflowOption>;
13754
- } & Required<Pick<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
13754
+ } & Required<Pick<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<string, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
13755
13755
  baseQueryType?: BaseQueryTypes;
13756
13756
  apiName?: string;
13757
13757
  paramsSerializer?: (params: Record<string, unknown>) => string;
@@ -13774,7 +13774,7 @@ declare const useGetWorkflowOptionsQuery: <R extends Record<string, any> = _redu
13774
13774
  isFetching: false;
13775
13775
  isSuccess: false;
13776
13776
  isError: false;
13777
- }, "fulfilledTimeStamp">>) | (Omit<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
13777
+ }, "fulfilledTimeStamp">>) | (Omit<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<string, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
13778
13778
  baseQueryType?: BaseQueryTypes;
13779
13779
  apiName?: string;
13780
13780
  paramsSerializer?: (params: Record<string, unknown>) => string;
@@ -13804,7 +13804,7 @@ declare const useGetWorkflowOptionsQuery: <R extends Record<string, any> = _redu
13804
13804
  } & {
13805
13805
  data: StartOptionsResponse<WorkflowOption>;
13806
13806
  currentData: StartOptionsResponse<WorkflowOption>;
13807
- } & Required<Pick<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
13807
+ } & Required<Pick<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<string, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
13808
13808
  baseQueryType?: BaseQueryTypes;
13809
13809
  apiName?: string;
13810
13810
  paramsSerializer?: (params: Record<string, unknown>) => string;
@@ -13827,7 +13827,7 @@ declare const useGetWorkflowOptionsQuery: <R extends Record<string, any> = _redu
13827
13827
  isFetching: false;
13828
13828
  isSuccess: false;
13829
13829
  isError: false;
13830
- }, "fulfilledTimeStamp">>) | (Omit<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
13830
+ }, "fulfilledTimeStamp">>) | (Omit<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<string, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
13831
13831
  baseQueryType?: BaseQueryTypes;
13832
13832
  apiName?: string;
13833
13833
  paramsSerializer?: (params: Record<string, unknown>) => string;
@@ -13852,7 +13852,7 @@ declare const useGetWorkflowOptionsQuery: <R extends Record<string, any> = _redu
13852
13852
  isError: false;
13853
13853
  }, "error" | "isError"> & {
13854
13854
  isError: true;
13855
- } & Required<Pick<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
13855
+ } & Required<Pick<_reduxjs_toolkit_query.QuerySubState<_reduxjs_toolkit_query.QueryDefinition<string, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
13856
13856
  baseQueryType?: BaseQueryTypes;
13857
13857
  apiName?: string;
13858
13858
  paramsSerializer?: (params: Record<string, unknown>) => string;
@@ -13879,7 +13879,7 @@ declare const useGetWorkflowOptionsQuery: <R extends Record<string, any> = _redu
13879
13879
  status: _reduxjs_toolkit_query.QueryStatus;
13880
13880
  }) => R) | undefined;
13881
13881
  }) | undefined) => [R][R extends any ? 0 : never] & {
13882
- refetch: () => _reduxjs_toolkit_query.QueryActionCreatorResult<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
13882
+ refetch: () => _reduxjs_toolkit_query.QueryActionCreatorResult<_reduxjs_toolkit_query.QueryDefinition<string, (args: any, api: _reduxjs_toolkit_query.BaseQueryApi, extraOptions: {
13883
13883
  baseQueryType?: BaseQueryTypes;
13884
13884
  apiName?: string;
13885
13885
  paramsSerializer?: (params: Record<string, unknown>) => string;
@@ -26503,6 +26503,7 @@ declare const ContentContextProvider: FC<ContentContextProviderProps>;
26503
26503
  interface WfoPageTemplateProps {
26504
26504
  getAppLogo: (navigationHeight: number) => ReactElement;
26505
26505
  overrideMenuItems?: (defaultMenuItems: EuiSideNavItemType<object>[]) => EuiSideNavItemType<object>[];
26506
+ overrideStartWorkflowFilters?: (ProductLifecycleStatus | string)[];
26506
26507
  onThemeSwitch: (theme: EuiThemeColorMode) => void;
26507
26508
  children: ReactNode;
26508
26509
  }
@@ -26536,6 +26537,7 @@ declare const urlPolicyMap: Map<string, PolicyResource>;
26536
26537
  declare const createSideNavDivider: () => EuiSideNavItemType$1<object>;
26537
26538
  type WfoSidebarProps = {
26538
26539
  overrideMenuItems?: (defaultMenuItems: EuiSideNavItemType$1<object>[]) => EuiSideNavItemType$1<object>[];
26540
+ overrideStartWorkflowFilters?: (ProductLifecycleStatus | string)[];
26539
26541
  };
26540
26542
  declare const WfoSidebar: FC<WfoSidebarProps>;
26541
26543
 
@@ -27401,7 +27403,10 @@ declare const WfoRenderElementOrString: FC<WfoRenderElementOrStringProps>;
27401
27403
 
27402
27404
  declare const WfoStartTaskButtonComboBox: () => _emotion_react_jsx_runtime.JSX.Element;
27403
27405
 
27404
- declare const WfoStartWorkflowButtonComboBox: () => _emotion_react_jsx_runtime.JSX.Element;
27406
+ interface WfoStartWorkflowButtonComboBoxProps {
27407
+ startWorkflowFilters?: (ProductLifecycleStatus | string)[];
27408
+ }
27409
+ declare const WfoStartWorkflowButtonComboBox: ({ startWorkflowFilters, }: WfoStartWorkflowButtonComboBoxProps) => _emotion_react_jsx_runtime.JSX.Element;
27405
27410
 
27406
27411
  declare const getNumberOfColumns: (currentBreakpoint: string | undefined) => 2 | 1 | 3;
27407
27412
 
@@ -27975,7 +27980,7 @@ declare const METADATA_PRODUCT_BLOCK_ENDPOINT = "product_blocks";
27975
27980
  declare const METADATA_RESOURCE_TYPE_ENDPOINT = "resource_types";
27976
27981
  declare const METADATA_WORKFLOWS_ENDPOINT = "workflows";
27977
27982
 
27978
- declare const ORCHESTRATOR_UI_LIBRARY_VERSION = "6.7.8";
27983
+ declare const ORCHESTRATOR_UI_LIBRARY_VERSION = "6.8.0";
27979
27984
 
27980
27985
  declare const useGetTranslationMessages: (locale: string | undefined) => {
27981
27986
  pydanticForms: {