@orchestrator-ui/orchestrator-ui-components 1.35.0 → 1.36.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,5 +1,5 @@
1
1
 
2
- > @orchestrator-ui/orchestrator-ui-components@1.35.0 build
2
+ > @orchestrator-ui/orchestrator-ui-components@1.36.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
@@ -9,6 +9,6 @@
9
9
  ESM Build start
10
10
  DTS Build start
11
11
  ESM dist/index.js 1.87 MB
12
- ESM ⚡️ Build success in 740ms
13
- DTS ⚡️ Build success in 14063ms
14
- DTS dist/index.d.ts 177.12 KB
12
+ ESM ⚡️ Build success in 696ms
13
+ DTS ⚡️ Build success in 14372ms
14
+ DTS dist/index.d.ts 177.40 KB
@@ -1,4 +1,10 @@
1
1
 
2
- > @orchestrator-ui/orchestrator-ui-components@1.35.0 lint
2
+ > @orchestrator-ui/orchestrator-ui-components@1.36.0 lint
3
3
  > eslint "src/**/*.ts*"
4
4
 
5
+
6
+ /home/runner/work/orchestrator-ui-library/orchestrator-ui-library/packages/orchestrator-ui-components/src/components/WfoForms/formFields/deprecated/VlanField.tsx
7
+ 168:8 warning React Hook useEffect has missing dependencies: 'disabled' and 'value'. Either include them or remove the dependency array react-hooks/exhaustive-deps
8
+
9
+ ✖ 1 problem (0 errors, 1 warning)
10
+
@@ -1,31 +1,31 @@
1
1
 
2
- > @orchestrator-ui/orchestrator-ui-components@1.35.0 test
2
+ > @orchestrator-ui/orchestrator-ui-components@1.36.0 test
3
3
  > jest
4
4
 
5
5
  PASS Wfo-UI Tests src/components/WfoForms/formFields/utils.spec.ts
6
- PASS Wfo-UI Tests src/components/WfoSubscription/utils/utils.spec.ts
7
6
  PASS Wfo-UI Tests src/components/WfoTree/treeUtils.spec.ts
8
- PASS Wfo-UI Tests src/utils/date.spec.ts
7
+ PASS Wfo-UI Tests src/components/WfoSubscription/utils/utils.spec.ts
9
8
  PASS Wfo-UI Tests src/pages/processes/timelineUtils.spec.ts
9
+ PASS Wfo-UI Tests src/utils/date.spec.ts
10
10
  PASS Wfo-UI Tests src/utils/string.spec.ts
11
11
  PASS Wfo-UI Tests src/utils/getProductNamesFromProcess.spec.ts
12
- PASS Wfo-UI Tests src/components/WfoTable/WfoDataGridTable/WfodataGridColumns.spec.ts
13
12
  PASS Wfo-UI Tests src/components/WfoTable/WfoTableWithFilter/updateQueryString.spec.ts
14
- PASS Wfo-UI Tests src/components/WfoTable/utils/tableUtils.spec.ts
13
+ PASS Wfo-UI Tests src/components/WfoTable/WfoDataGridTable/WfodataGridColumns.spec.ts
15
14
  PASS Wfo-UI Tests src/components/WfoTable/utils/tableConfigPersistence.spec.ts
15
+ PASS Wfo-UI Tests src/components/WfoTable/utils/tableUtils.spec.ts
16
16
  PASS Wfo-UI Tests src/components/WfoTable/utils/mapSortableAndFilterableValuesToTableColumnConfig.spec.ts
17
17
  PASS Wfo-UI Tests src/rtk/utils.spec.ts
18
18
  PASS Wfo-UI Tests src/utils/resultFlattener.spec.ts
19
19
  PASS Wfo-UI Tests src/components/WfoPageTemplate/WfoSidebar/utils/menuItemIsAllowed.spec.ts
20
20
  PASS Wfo-UI Tests src/utils/getEnvironmentVariables.spec.ts
21
21
  PASS Wfo-UI Tests src/messages/getTranslationMessages.spec.ts
22
- PASS Wfo-UI Tests src/utils/getToastMessage.spec.ts
23
22
  PASS Wfo-UI Tests src/utils/toSortedObjectKeys.spec.ts
24
- PASS Wfo-UI Tests src/utils/optionalArray.spec.ts
23
+ PASS Wfo-UI Tests src/utils/getToastMessage.spec.ts
25
24
  PASS Wfo-UI Tests src/components/WfoTable/utils/columns.spec.ts
25
+ PASS Wfo-UI Tests src/utils/optionalArray.spec.ts
26
26
  PASS Wfo-UI Tests src/utils/filterData.spec.ts
27
- PASS Wfo-UI Tests src/components/WfoWorkflowSteps/stepListUtils.spec.ts
28
27
  PASS Wfo-UI Tests src/utils/getTokenName.spec.ts
28
+ PASS Wfo-UI Tests src/components/WfoWorkflowSteps/stepListUtils.spec.ts
29
29
  PASS Wfo-UI Tests src/utils/environmentVariables.spec.ts
30
30
  PASS Wfo-UI Tests src/utils/onlyUnique.spec.ts
31
31
  PASS Wfo-UI Tests src/utils/uuid.spec.ts
@@ -37,5 +37,5 @@ PASS Wfo-UI Tests src/components/WfoPageTemplate/WfoPageHeader/utils/toHexColorW
37
37
  Test Suites: 31 passed, 31 total
38
38
  Tests: 192 passed, 192 total
39
39
  Snapshots: 0 total
40
- Time: 4 s
40
+ Time: 4.053 s
41
41
  Ran all test suites.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @orchestrator-ui/orchestrator-ui-components
2
2
 
3
+ ## 1.36.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 5663e2c: Fixes list item delete button
8
+
9
+ ### Patch Changes
10
+
11
+ - ef5910a: Removes unavailable untagged port subscriptions from dropdown list
12
+ - eed3424: Fix console errors that show when both data and errors are present in wfoGraphqlRequestBaseQuery. Fix name of the function.
13
+ - c880f61: 1295 - Partial rollback of changes introduced in PR 1242. These changes broke the functionality to remove a list item
14
+ - d23fa2b: 1294 Rollback style-change in list fields
15
+ - b1fc20a: Fix no no product/subscription_id prefill when clicking on a workflow breadcrumb by adding query param to link
16
+
3
17
  ## 1.35.0
4
18
 
5
19
  ### Minor Changes
package/dist/index.d.ts CHANGED
@@ -1103,7 +1103,7 @@ declare const useGetSubscriptionSummaryListQuery: _reduxjs_toolkit_dist_query_re
1103
1103
  meta?: {} | undefined;
1104
1104
  } | PromiseLike<_reduxjs_toolkit_dist_query_baseQueryTypes.QueryReturnValue<unknown, _rtk_query_graphql_request_base_query_dist_GraphqlBaseQueryTypes.ErrorResponse, {}>>, CacheTagType, SubscriptionListSummaryResponse, "orchestratorApi">>;
1105
1105
 
1106
- declare const subscriptionsDropdownOptionsQuery = "\n query SubscriptionDropdownOptions(\n $filterBy: [GraphqlFilter!]\n $first: Int!\n ) {\n subscriptions(filterBy: $filterBy, first: $first, after: 0) {\n page {\n description\n subscriptionId\n product {\n tag\n productId\n }\n customer {\n fullname\n customerId\n }\n productBlockInstances {\n id\n ownerSubscriptionId\n parent\n productBlockInstanceValues\n subscriptionInstanceId\n inUseByRelations\n }\n fixedInputs\n }\n }\n }\n";
1106
+ declare const subscriptionsDropdownOptionsQuery = "\n query SubscriptionDropdownOptions(\n $filterBy: [GraphqlFilter!]\n $first: Int!\n ) {\n subscriptions(filterBy: $filterBy, first: $first, after: 0) {\n page {\n description\n subscriptionId\n product {\n tag\n productId\n }\n customer {\n fullname\n customerId\n }\n productBlockInstances {\n id\n ownerSubscriptionId\n parent\n productBlockInstanceValues\n subscriptionInstanceId\n inUseByRelations\n }\n fixedInputs, \n inUseBySubscriptions {\n pageInfo {\n totalItems\n }\n }\n }\n }\n }\n";
1107
1107
  declare type SubscriptionDropdownOptionsResponse = {
1108
1108
  subscriptionDropdownOptions: SubscriptionDropdownOption[];
1109
1109
  };
@@ -1184,7 +1184,7 @@ declare type StoreProviderProps = {
1184
1184
  };
1185
1185
  declare const StoreProvider: ({ initialOrchestratorConfig, orchestratorComponentOverride, customApis, children, }: StoreProviderProps) => _emotion_react_jsx_runtime.JSX.Element;
1186
1186
 
1187
- declare const utils: <T, E = ErrorResponse>(options: GraphqlRequestBaseQueryArgs<E>, authActive: boolean) => BaseQueryFn<{
1187
+ declare const wfoGraphqlRequestBaseQuery: <T, E = ErrorResponse>(options: GraphqlRequestBaseQueryArgs<E>, authActive: boolean) => BaseQueryFn<{
1188
1188
  document: string;
1189
1189
  variables?: GraphqlQueryVariables<T> | undefined;
1190
1190
  }, unknown, E, Partial<Pick<ClientError, "request" | "response">>, {}>;
@@ -1598,6 +1598,9 @@ declare type SubscriptionDropdownOption = {
1598
1598
  fixedInputs: FieldValue[];
1599
1599
  tag: string;
1600
1600
  status: SubscriptionStatus;
1601
+ inUseBySubscriptions: {
1602
+ pageInfo: Pick<GraphQLPageInfo, 'totalItems'>;
1603
+ };
1601
1604
  };
1602
1605
  declare type CustomerDescriptions = {
1603
1606
  subscriptionId: string;
@@ -3896,4 +3899,4 @@ declare const filterDataByCriteria: <Type>(data: Type[], filterCriteria: Graphql
3896
3899
 
3897
3900
  declare const toObjectWithSortedKeys: <T extends object>(inputObject: T, keyOrder: string[]) => T;
3898
3901
 
3899
- export { ACTIVE_PROCESSES_LIST_TABLE_LOCAL_STORAGE_KEY, ACTIVE_TASKS_LIST_TABLE_LOCAL_STORAGE_KEY, AcceptField, type AcceptFieldProps, type AppDispatch, type AutoFieldsProps, BadgeType, type BaseGraphQlResult, BaseQueryTypes, BoolField, type BoolFieldProps, CACHETAG_TYPE_LIST, COMPLETED_PROCESSES_LIST_TABLE_LOCAL_STORAGE_KEY, COMPLETED_TASKS_LIST_TABLE_LOCAL_STORAGE_KEY, type CacheNames, type CacheOption, type CacheTag, CacheTagType, ColorModes, type ColumnConfig, type ConfirmDialogHandler, ConfirmationDialogContext, ConfirmationDialogContextWrapper, ConfirmationDialogProvider, ConnectedSelectField, ContactPersonAutocomplete, ContactPersonNameField, type ContactPersonNameFieldProps, CreateForm, type CustomApiConfig, type Customer, type CustomerDescriptions, CustomerField, type CustomerFieldProps, type CustomerWithSubscriptionCount, type CustomersResult, type CustomersWithSubscriptionCountResult, DEFAULT_PAGE_SIZE, DEFAULT_PAGE_SIZES, type DataDisplayParams, type DataDisplayReturnValues, DateField, type DateFieldProps, DividerField, type DividerFieldProps, type EmailAddress, type EmailState, EngineStatus, Environment, ErrorField, type ErrorFieldProps, ErrorsField, type ErrorsFieldProps, type ExternalService, type FetchFilter, type FieldProps$1 as FieldProps, type FieldValue, type FilterQuery, type FixedInputDefinition, type Form, type FormNotCompleteResponse, type FormValidationError, type GraphQLPageInfo, type GraphQLSort, type GraphQlResultPage, type GraphQlSinglePage, type GraphqlFilter, type GraphqlQueryVariables, type GroupedStep, HIDDEN_KEYS, type HeaderBadgeProps, HttpStatus, IPAM_ENDPOINT, IPAM_FREE_SUBNETS_ENDPOINT, IPAM_IP_BLOCKS_ENDPOINT, IPAM_PREFIX_FILTERS_ENDPOINT, type IPvAnyNetworkFieldProps, type ImsNode, ImsNodeIdField, type ImsNodeIdFieldProps, type ImsPort, type ImsPortFieldProps, ImsPortIdField, type InUseByRelation, type InUseByRelationDetail, type InUseByRelationsDetailResponse, type InUseByRelationsDetailResult, type InitialOrchestratorStoreConfig, type InputForm, type IpBlock, IpNetworkField, type IpPrefix, LabelField, type LabelFieldProps, ListAddField, type ListAddFieldProps, ListDelField, type ListDelFieldProps, ListField, type ListFieldProps, ListSelectField, type ListSelectFieldProps, Locale, LocationCodeField, type LocationCodeFieldProps, LongTextField, type LongTextFieldProps, MAXIMUM_ITEMS_FOR_BULK_FETCHING, METADATA_PRODUCT_BLOCKS_TABLE_LOCAL_STORAGE_KEY, METADATA_PRODUCT_TABLE_LOCAL_STORAGE_KEY, METADATA_RESOURCE_TYPES_TABLE_LOCAL_STORAGE_KEY, METADATA_TASKS_TABLE_LOCAL_STORAGE_KEY, METADATA_WORKFLOWS_TABLE_LOCAL_STORAGE_KEY, type MetaDataTab, NUMBER_OF_ITEMS_REPRESENTING_ALL_ITEMS, NestField, type NestFieldProps, type NodeSubscriptionOption, type NodeSubscriptionOptionsResult, type Nullable, NumField, type NumFieldProps, OptGroupField, type OptGroupFieldProps, type OrchestratorComponentOverride, type OrchestratorConfig, OrchestratorConfigContext, OrchestratorConfigProvider, type OrchestratorConfigProviderProps, PAGE_SIZES_INCLUDING_SHOW_ALL, PATH_METADATA, PATH_METADATA_PRODUCTS, PATH_METADATA_PRODUCT_BLOCKS, PATH_METADATA_RESOURCE_TYPES, PATH_METADATA_TASKS, PATH_METADATA_WORKFLOWS, PATH_SETTINGS, PATH_START, PATH_START_NEW_TASK, PATH_START_NEW_WORKFLOW, PATH_SUBSCRIPTIONS, PATH_TASKS, PATH_WORKFLOWS, PROCESSES_ENDPOINT, PROCESSES_RESUME_ALL_ENDPOINT, PROCESS_ABORT_ENDPOINT, PROCESS_RESUME_ENDPOINT, PROCESS_STATUS_COUNTS_ENDPOINT, type Pagination, type Policy, PolicyContext, PolicyContextProvider, type PolicyProviderProps, PolicyResource, PortMode, type Process, type ProcessDetail, type ProcessDetailResultRaw, ProcessDoneStatuses, type ProcessListExportItem, type ProcessListItem, type ProcessListResponse, type ProcessListResult, type ProcessListSummaryResponse, ProcessStatus, type ProcessStepsResult, type ProcessSummary, type ProcessesDetailResult, type ProductBlockDefinition, type ProductBlockDefinitionsResult, type ProductBlockInstance, type ProductBlocksResponse, type ProductDefinition, type ProductDefinitionsResult, ProductLifecycleStatus, ProductTag, type ProductsResponse, type ProductsSummary, type ProductsSummaryResponse, RENDER_ALL, RESOURCE_TYPE_FIELD_DESCRIPTION, RESOURCE_TYPE_FIELD_ID, RESOURCE_TYPE_FIELD_PRODUCT_BLOCKS, RESOURCE_TYPE_FIELD_TYPE, RadioField, type RadioFieldProps, type RelatedSubscription, RelatedSubscriptionsQuery, type RelatedSubscriptionsResponse, type RelatedSubscriptionsResult, RenderDirection, type ResourceTypeDefinition, type ResourceTypeDefinitionsResult, type ResourceTypesResponse, type RootState, SETTINGS_CACHE_ENDPOINT, SETTINGS_CACHE_NAMES_ENDPOINT, SETTINGS_ENDPOINT, SETTINGS_ENGINE_STATUS_ENDPOINT, SETTINGS_SEARCH_INDEX_RESET_ENDPOINT, SETTINGS_WORKER_STATUS_ENDPOINT, STEP_STATE_HIDDEN_KEYS, SUBSCRIPTIONS_TABLE_LOCAL_STORAGE_KEY, SUBSCRIPTION_ACTIONS_ENDPOINT, type SelectFieldProps, type ServicePort, type SortOption, SortOrder, type StartComboBoxOption, type StartOptionsResponse, type StartOptionsResult, type StartProcessStep, type Step, type StepListItem, type StepState, StepStatus, StoreProvider, type StoreProviderProps, type StoredTableConfig, SubmitField, type SubmitFieldProps, type Subscription, type SubscriptionAction, type SubscriptionActions, type SubscriptionDetail, type SubscriptionDetailProcess, type SubscriptionDetailResponse, type SubscriptionDetailResult, SubscriptionDetailTab, type SubscriptionDropdownOption, type SubscriptionDropdownOptionsResponse, type SubscriptionDropdownOptionsResult, SubscriptionField, type SubscriptionFieldProps, SubscriptionKeyValueBlock, type SubscriptionListItem, type SubscriptionListResponse, type SubscriptionListSummaryResponse, SubscriptionStatus, type SubscriptionSummary, SubscriptionSummaryField, type SubscriptionSummaryFieldProps, type SubscriptionsResult, type SummaryCardButtonConfig, type SummaryCardListItem, SummaryCardStatus, SummaryField, type SummaryFieldProps, type TableColumnKeys, type TableConfig, TableSettingsModal, type TableSettingsModalProps, type TaskDefinition, type TaskDefinitionsResult, type TaskListItem, type TasksResponse, TextField, type TextFieldProps, type TimelineItem, TimelinePosition, TimestampField, type TimestampFieldProps, type ToastState, ToastTypes, type TreeBlock, TreeContext, type TreeContextType, TreeProvider, type TreeProviderProps, UnconnectedSelectField, type UserInputForm, UserInputFormWizard, type ValidationError, type ValidationErrorContext, type ValueOverrideConfiguration, type ValueOverrideFunction, VlanField, type VlanFieldProps, type VlanRange, WFO_STATUS_COLOR_FIELD, type WfValueOnlyTableProps, WfoActiveWorkflowsSummaryCard, WfoArrowNarrowDown, WfoArrowNarrowUp, WfoArrowsExpand, WfoAuth, WfoBadge, type WfoBadgeProps, WfoBasicTable, type WfoBasicTableColumns, type WfoBasicTableColumnsWithControlColumns, type WfoBasicTableProps, WfoBell, WfoBoltFill, WfoBoltSlashFill, WfoBreadcrumbs, WfoCheckmarkCircleFill, WfoChevronDown, WfoChevronUp, WfoCode, WfoCogFill, WfoContactEnvelopeFill, type WfoControlColumn, WfoCubeSolid, WfoDataGridTable, type WfoDataGridTableColumns, type WfoDataGridTableProps, type WfoDataSearch, type WfoDataSorting, WfoDateTime, type WfoDateTimeProps, WfoDropdownButton, WfoEngineStatus, WfoEngineStatusBadge, WfoEngineStatusButton, WfoEnvironmentBadge, WfoError, WfoErrorBoundary, type WfoEuiBasicTableColumn, WfoExpandableField, type WfoExpandableFieldProps, WfoExternalLink, WfoEyeFill, WfoFailedTasksBadge, WfoFailedTasksSummaryCard, type WfoFilterTab, WfoFilterTabs, type WfoFilterTabsProps, WfoFirstPartUUID, type WfoFirstUUIDPartProps, WfoFlushSettings, WfoHeaderBadge, type WfoIconProps, WfoInSyncField, WfoInformationModal, type WfoInformationModalProps, WfoInlineJson, type WfoInlineJsonProps, WfoInsyncIcon, WfoIsAllowedToRender, type WfoIsAllowedToRenderProps, WfoJsonCodeBlock, type WfoJsonCodeBlockProps, WfoKeyCell, type WfoKeyCellProps, WfoKeyValueTable, type WfoKeyValueTableDataType, type WfoKeyValueTableProps, WfoLatestActiveSubscriptionsSummaryCard, WfoLatestOutOfSyncSubscriptionSummaryCard, WfoLoading, WfoLogoutIcon, WfoMenuItemLink, WfoMetadataPageLayout, WfoMinusCircleFill, WfoMinusCircleOutline, WfoModifySettings, WfoMyWorkflowsSummaryCard, type WfoMyWorkflowsSummaryCardProps, WfoNoResults, WfoPageHeader, type WfoPageHeaderProps, WfoPageTemplate, type WfoPageTemplateProps, WfoPageUnauthorized, WfoPencil, WfoPencilAlt, WfoPlayCircle, WfoPlayFill, WfoPlusCircleFill, type WfoPolicyRenderFallbackProps, WfoPolicyRenderPageFallback, WfoProcessDetailPage, WfoProcessListSubscriptionsCell, WfoProcessRawData, WfoProcessStatusBadge, type WfoProcessStatusBadgeProps, WfoProcessSubscriptionDelta, WfoProcessesList, type WfoProcessesListProps, type WfoProcessesListSubscriptionsCellProps, WfoProcessesTimeline, WfoProductBlockBadge, type WfoProductBlockBadgeProps, WfoProductBlockKeyValueRow, type WfoProductBlockKeyValueRowProps, WfoProductBlocksPage, WfoProductInformationWithLink, WfoProductStatusBadge, type WfoProductStatusBadgeProps, WfoProductsPage, WfoProductsSummaryCard, WfoRefresh, WfoRelatedSubscriptions, WfoResetTextSearchIndexButton, WfoResourceTypesPage, WfoSearchField, type WfoSearchFieldProps, WfoSearchStrikethrough, type WfoSession, WfoSettingsModal, type WfoSettingsModalProps, WfoSettingsPage, WfoShare, WfoSideMenu, WfoSidebar, type WfoSidebarProps, WfoSortAsc, WfoSortButton, type WfoSortButtonProps, WfoSortButtons, type WfoSortButtonsProps, WfoSortDesc, WfoSortDirectionIcon, type WfoSortDirectionIconProps, WfoStartPage, WfoStartProcessPage, WfoStartTaskButtonComboBox, WfoStartWorkflowButtonComboBox, WfoStatistic, WfoStatusColorField, type WfoStatusColorFieldProps, WfoStatusDotIcon, WfoStep, WfoStepList, WfoStepListHeader, type WfoStepListHeaderProps, type WfoStepListProps, type WfoStepListRef, type WfoStepProps, WfoStepStatusIcon, type WfoStepStatusIconProps, WfoSubmitModal, type WfoSubmitModalProps, WfoSubscription, WfoSubscriptionActions, type WfoSubscriptionActionsProps, type WfoSubscriptionDetailGeneralConfiguration, WfoSubscriptionDetailPage, WfoSubscriptionDetailTree, WfoSubscriptionGeneral, WfoSubscriptionListTab, WfoSubscriptionProductBlock, WfoSubscriptionStatusBadge, type WfoSubscriptionStatusBadgeProps, WfoSubscriptionSyncStatusBadge, type WfoSubscriptionSyncStatusBadgeProps, WfoSubscriptionsList, WfoSubscriptionsListPage, type WfoSubscriptionsListProps, WfoSummaryCard, WfoSummaryCardHeader, type WfoSummaryCardHeaderProps, WfoSummaryCardList, WfoSummaryCardListItem, type WfoSummaryCardListItemProps, type WfoSummaryCardListProps, type WfoSummaryCardProps, WfoSummaryCards, type WfoSummaryCardsProps, type WfoTableColumns, type WfoTableColumnsWithExtraNonDataFields, type WfoTableControlColumnConfig, type WfoTableDataColumnConfig, WfoTableHeaderCell, type WfoTableHeaderCellProps, WfoTableWithFilter, type WfoTableWithFilterProps, WfoTasksListPage, WfoTasksListTabType, WfoTasksPage, WfoTextAnchor, type WfoTheme, WfoTimeline, type WfoTimelineProps, WfoTitleWithWebsocketBadge, WfoToastsList, WfoTrash, type WfoTreeNodeMap, WfoUserInputForm, type WfoUserProfile, WfoValueCell, type WfoValueCellProps, WfoValueOnlyTable, type WfoValueOnlyTableDataType, WfoViewList, WfoWarningTriangle, WfoWebsocketStatusBadge, WfoWorkerStatus, WfoWorkflowStepList, type WfoWorkflowStepListProps, WfoWorkflowTargetBadge, type WfoWorkflowTargetBadgeProps, WfoWorkflowsListPage, WfoWorkflowsListTabType, WfoWorkflowsPage, WfoXCircleFill, WorkerTypes, type WorkflowDefinition, type WorkflowDefinitionsResult, type WorkflowListItem, WorkflowTarget, type WorkflowsResponse, addToastMessage, calculateTimeDifference, camelToHuman, catchErrorResponse, clearTableConfigFromLocalStorage, csvDownloadHandler, defaultOrchestratorTheme, defaultTasksListTabs, defaultWorkflowsListTabs, determineNewSortOrder, determinePageIndex, emptyOrchestratorConfig, filterDataByCriteria, flattenArrayProps, formatDate, formatDateCetWithUtc, getConcatenatedPagedResult, getConcatenatedResult, getCsvFileNameWithDate, getCurrentBrowserLocale, getCustomApiSlice, getDataSortHandler, getDate, getEnvironmentVariables, getFieldFromProductBlockInstanceValues, getFirstUuidPart, getFormFieldsBaseStyle, getInitialColumnOrder, getLastUncompletedProcess, getLatestTaskDate, getNumberOfColumns, getNumberValueFromEnvironmentVariable, getOrchestratorComponentOverrideSlice, getOrchestratorConfigSlice, getOrchestratorStore, getPageChangeHandler, getProductBlockTitle, getProductNamesFromProcess, getQueryStringHandler, getQueryVariablesForExport, getSortDirectionFromString, getStatusBadgeColor, getStepContent, getStyles, getTableConfigFromLocalStorage, getTasksListTabTypeFromString, getTypedFieldFromObject, getWfoBasicTableStyles, getWorkflowTargetColor, getWorkflowTargetIconContent, getWorkflowsListTabTypeFromString, graphQlWorkflowListMapper, handlePromiseErrorWithCallback, imsPortIdFieldStyling, initiateCsvFileDownload, ipPrefixTableFieldStyling, ipamStates, isAllUpperCase, isToday, isUuid4, isValidLocalStorageTableConfig, localMomentToUtcTimestamp, mapColumnSortToEuiDataGridSorting, mapGraphQlSubscriptionsResultToPageInfo, mapGraphQlSubscriptionsResultToSubscriptionListItems, mapProcessSummaryToSummaryCardListItem, mapSortableAndFilterableValuesToTableColumnConfig, mapSubscriptionSummaryToSummaryCardListItem, mapWorkflowDefinitionToWorkflowListItem, menuItemIsAllowed, metaDataTabs, onlyUnique, optionalArrayMapper, orchestratorApi, parseDate, parseDateOrTimeRelativeToToday, parseDateRelativeToToday, parseDateToLocaleDateString, parseDateToLocaleDateTimeString, parseDateToLocaleTimeString, parseIsoString, prepareHeaders, processListQuery, processListSummaryQuery, processStepsQuery, productBlocksQuery, products, productsSummary, removeSuffix, removeToastMessage, resourceTypesQuery, selectOrchestratorConfig, setTableConfigToLocalStorage, snakeToHuman, snakeToKebab, splitPrefixStyling, stop, subscriptionDetailQuery, subscriptionInUseByRelationQuery, subscriptionListQuery, subscriptionListSummaryQuery, subscriptionListTabs, subscriptionsDropdownOptionsQuery, tasksQuery, toObjectWithSortedKeys, toOptionalArrayEntry, toastMessagesReducer, toastMessagesSlice, upperCaseFirstChar, urlPolicyMap, useCheckEngineStatus, useClearCacheMutation, useDataDisplayParams, useGetCacheNamesQuery, useGetCustomerQuery, useGetCustomersQuery, useGetCustomersWithSubscriptionCountQuery, useGetEngineStatusQuery, useGetInUseByRelationDetailsQuery, useGetOrchestratorConfig, useGetProcessListQuery, useGetProcessListSummaryQuery, useGetProductBlocksQuery, useGetProductsQuery, useGetProductsSummaryQuery, useGetRelatedSubscriptionsQuery, useGetResourceTypesQuery, useGetSubscriptionDetailQuery, useGetSubscriptionListQuery, useGetSubscriptionSummaryListQuery, useGetSubscriptionsDropdownOptionsQuery, useGetTaskOptionsQuery, useGetTasksQuery, useGetTimeLineItemsQuery, useGetTranslationMessages, useGetWorkerStatusQuery, useGetWorkflowOptionsQuery, useGetWorkflowsQuery, useLazyGetProcessListQuery, useLazyGetProductBlocksQuery, useLazyGetProductsQuery, useLazyGetResourceTypesQuery, useLazyGetSubscriptionListQuery, useLazyGetTasksQuery, useLazyGetWorkflowsQuery, useOrchestratorConfig, useOrchestratorTheme, usePolicy, useResetTextSearchIndexMutation, useSetEngineStatusMutation, useSetSubscriptionInSyncMutation, useShowToastMessage, useStoredTableConfig, useStreamMessagesQuery, useSubscriptionDetailValueOverride, useWfoSession, useWithOrchestratorTheme, utcTimestampToLocalMoment, utils, workflowFieldMapper, workflowsQuery };
3902
+ export { ACTIVE_PROCESSES_LIST_TABLE_LOCAL_STORAGE_KEY, ACTIVE_TASKS_LIST_TABLE_LOCAL_STORAGE_KEY, AcceptField, type AcceptFieldProps, type AppDispatch, type AutoFieldsProps, BadgeType, type BaseGraphQlResult, BaseQueryTypes, BoolField, type BoolFieldProps, CACHETAG_TYPE_LIST, COMPLETED_PROCESSES_LIST_TABLE_LOCAL_STORAGE_KEY, COMPLETED_TASKS_LIST_TABLE_LOCAL_STORAGE_KEY, type CacheNames, type CacheOption, type CacheTag, CacheTagType, ColorModes, type ColumnConfig, type ConfirmDialogHandler, ConfirmationDialogContext, ConfirmationDialogContextWrapper, ConfirmationDialogProvider, ConnectedSelectField, ContactPersonAutocomplete, ContactPersonNameField, type ContactPersonNameFieldProps, CreateForm, type CustomApiConfig, type Customer, type CustomerDescriptions, CustomerField, type CustomerFieldProps, type CustomerWithSubscriptionCount, type CustomersResult, type CustomersWithSubscriptionCountResult, DEFAULT_PAGE_SIZE, DEFAULT_PAGE_SIZES, type DataDisplayParams, type DataDisplayReturnValues, DateField, type DateFieldProps, DividerField, type DividerFieldProps, type EmailAddress, type EmailState, EngineStatus, Environment, ErrorField, type ErrorFieldProps, ErrorsField, type ErrorsFieldProps, type ExternalService, type FetchFilter, type FieldProps$1 as FieldProps, type FieldValue, type FilterQuery, type FixedInputDefinition, type Form, type FormNotCompleteResponse, type FormValidationError, type GraphQLPageInfo, type GraphQLSort, type GraphQlResultPage, type GraphQlSinglePage, type GraphqlFilter, type GraphqlQueryVariables, type GroupedStep, HIDDEN_KEYS, type HeaderBadgeProps, HttpStatus, IPAM_ENDPOINT, IPAM_FREE_SUBNETS_ENDPOINT, IPAM_IP_BLOCKS_ENDPOINT, IPAM_PREFIX_FILTERS_ENDPOINT, type IPvAnyNetworkFieldProps, type ImsNode, ImsNodeIdField, type ImsNodeIdFieldProps, type ImsPort, type ImsPortFieldProps, ImsPortIdField, type InUseByRelation, type InUseByRelationDetail, type InUseByRelationsDetailResponse, type InUseByRelationsDetailResult, type InitialOrchestratorStoreConfig, type InputForm, type IpBlock, IpNetworkField, type IpPrefix, LabelField, type LabelFieldProps, ListAddField, type ListAddFieldProps, ListDelField, type ListDelFieldProps, ListField, type ListFieldProps, ListSelectField, type ListSelectFieldProps, Locale, LocationCodeField, type LocationCodeFieldProps, LongTextField, type LongTextFieldProps, MAXIMUM_ITEMS_FOR_BULK_FETCHING, METADATA_PRODUCT_BLOCKS_TABLE_LOCAL_STORAGE_KEY, METADATA_PRODUCT_TABLE_LOCAL_STORAGE_KEY, METADATA_RESOURCE_TYPES_TABLE_LOCAL_STORAGE_KEY, METADATA_TASKS_TABLE_LOCAL_STORAGE_KEY, METADATA_WORKFLOWS_TABLE_LOCAL_STORAGE_KEY, type MetaDataTab, NUMBER_OF_ITEMS_REPRESENTING_ALL_ITEMS, NestField, type NestFieldProps, type NodeSubscriptionOption, type NodeSubscriptionOptionsResult, type Nullable, NumField, type NumFieldProps, OptGroupField, type OptGroupFieldProps, type OrchestratorComponentOverride, type OrchestratorConfig, OrchestratorConfigContext, OrchestratorConfigProvider, type OrchestratorConfigProviderProps, PAGE_SIZES_INCLUDING_SHOW_ALL, PATH_METADATA, PATH_METADATA_PRODUCTS, PATH_METADATA_PRODUCT_BLOCKS, PATH_METADATA_RESOURCE_TYPES, PATH_METADATA_TASKS, PATH_METADATA_WORKFLOWS, PATH_SETTINGS, PATH_START, PATH_START_NEW_TASK, PATH_START_NEW_WORKFLOW, PATH_SUBSCRIPTIONS, PATH_TASKS, PATH_WORKFLOWS, PROCESSES_ENDPOINT, PROCESSES_RESUME_ALL_ENDPOINT, PROCESS_ABORT_ENDPOINT, PROCESS_RESUME_ENDPOINT, PROCESS_STATUS_COUNTS_ENDPOINT, type Pagination, type Policy, PolicyContext, PolicyContextProvider, type PolicyProviderProps, PolicyResource, PortMode, type Process, type ProcessDetail, type ProcessDetailResultRaw, ProcessDoneStatuses, type ProcessListExportItem, type ProcessListItem, type ProcessListResponse, type ProcessListResult, type ProcessListSummaryResponse, ProcessStatus, type ProcessStepsResult, type ProcessSummary, type ProcessesDetailResult, type ProductBlockDefinition, type ProductBlockDefinitionsResult, type ProductBlockInstance, type ProductBlocksResponse, type ProductDefinition, type ProductDefinitionsResult, ProductLifecycleStatus, ProductTag, type ProductsResponse, type ProductsSummary, type ProductsSummaryResponse, RENDER_ALL, RESOURCE_TYPE_FIELD_DESCRIPTION, RESOURCE_TYPE_FIELD_ID, RESOURCE_TYPE_FIELD_PRODUCT_BLOCKS, RESOURCE_TYPE_FIELD_TYPE, RadioField, type RadioFieldProps, type RelatedSubscription, RelatedSubscriptionsQuery, type RelatedSubscriptionsResponse, type RelatedSubscriptionsResult, RenderDirection, type ResourceTypeDefinition, type ResourceTypeDefinitionsResult, type ResourceTypesResponse, type RootState, SETTINGS_CACHE_ENDPOINT, SETTINGS_CACHE_NAMES_ENDPOINT, SETTINGS_ENDPOINT, SETTINGS_ENGINE_STATUS_ENDPOINT, SETTINGS_SEARCH_INDEX_RESET_ENDPOINT, SETTINGS_WORKER_STATUS_ENDPOINT, STEP_STATE_HIDDEN_KEYS, SUBSCRIPTIONS_TABLE_LOCAL_STORAGE_KEY, SUBSCRIPTION_ACTIONS_ENDPOINT, type SelectFieldProps, type ServicePort, type SortOption, SortOrder, type StartComboBoxOption, type StartOptionsResponse, type StartOptionsResult, type StartProcessStep, type Step, type StepListItem, type StepState, StepStatus, StoreProvider, type StoreProviderProps, type StoredTableConfig, SubmitField, type SubmitFieldProps, type Subscription, type SubscriptionAction, type SubscriptionActions, type SubscriptionDetail, type SubscriptionDetailProcess, type SubscriptionDetailResponse, type SubscriptionDetailResult, SubscriptionDetailTab, type SubscriptionDropdownOption, type SubscriptionDropdownOptionsResponse, type SubscriptionDropdownOptionsResult, SubscriptionField, type SubscriptionFieldProps, SubscriptionKeyValueBlock, type SubscriptionListItem, type SubscriptionListResponse, type SubscriptionListSummaryResponse, SubscriptionStatus, type SubscriptionSummary, SubscriptionSummaryField, type SubscriptionSummaryFieldProps, type SubscriptionsResult, type SummaryCardButtonConfig, type SummaryCardListItem, SummaryCardStatus, SummaryField, type SummaryFieldProps, type TableColumnKeys, type TableConfig, TableSettingsModal, type TableSettingsModalProps, type TaskDefinition, type TaskDefinitionsResult, type TaskListItem, type TasksResponse, TextField, type TextFieldProps, type TimelineItem, TimelinePosition, TimestampField, type TimestampFieldProps, type ToastState, ToastTypes, type TreeBlock, TreeContext, type TreeContextType, TreeProvider, type TreeProviderProps, UnconnectedSelectField, type UserInputForm, UserInputFormWizard, type ValidationError, type ValidationErrorContext, type ValueOverrideConfiguration, type ValueOverrideFunction, VlanField, type VlanFieldProps, type VlanRange, WFO_STATUS_COLOR_FIELD, type WfValueOnlyTableProps, WfoActiveWorkflowsSummaryCard, WfoArrowNarrowDown, WfoArrowNarrowUp, WfoArrowsExpand, WfoAuth, WfoBadge, type WfoBadgeProps, WfoBasicTable, type WfoBasicTableColumns, type WfoBasicTableColumnsWithControlColumns, type WfoBasicTableProps, WfoBell, WfoBoltFill, WfoBoltSlashFill, WfoBreadcrumbs, WfoCheckmarkCircleFill, WfoChevronDown, WfoChevronUp, WfoCode, WfoCogFill, WfoContactEnvelopeFill, type WfoControlColumn, WfoCubeSolid, WfoDataGridTable, type WfoDataGridTableColumns, type WfoDataGridTableProps, type WfoDataSearch, type WfoDataSorting, WfoDateTime, type WfoDateTimeProps, WfoDropdownButton, WfoEngineStatus, WfoEngineStatusBadge, WfoEngineStatusButton, WfoEnvironmentBadge, WfoError, WfoErrorBoundary, type WfoEuiBasicTableColumn, WfoExpandableField, type WfoExpandableFieldProps, WfoExternalLink, WfoEyeFill, WfoFailedTasksBadge, WfoFailedTasksSummaryCard, type WfoFilterTab, WfoFilterTabs, type WfoFilterTabsProps, WfoFirstPartUUID, type WfoFirstUUIDPartProps, WfoFlushSettings, WfoHeaderBadge, type WfoIconProps, WfoInSyncField, WfoInformationModal, type WfoInformationModalProps, WfoInlineJson, type WfoInlineJsonProps, WfoInsyncIcon, WfoIsAllowedToRender, type WfoIsAllowedToRenderProps, WfoJsonCodeBlock, type WfoJsonCodeBlockProps, WfoKeyCell, type WfoKeyCellProps, WfoKeyValueTable, type WfoKeyValueTableDataType, type WfoKeyValueTableProps, WfoLatestActiveSubscriptionsSummaryCard, WfoLatestOutOfSyncSubscriptionSummaryCard, WfoLoading, WfoLogoutIcon, WfoMenuItemLink, WfoMetadataPageLayout, WfoMinusCircleFill, WfoMinusCircleOutline, WfoModifySettings, WfoMyWorkflowsSummaryCard, type WfoMyWorkflowsSummaryCardProps, WfoNoResults, WfoPageHeader, type WfoPageHeaderProps, WfoPageTemplate, type WfoPageTemplateProps, WfoPageUnauthorized, WfoPencil, WfoPencilAlt, WfoPlayCircle, WfoPlayFill, WfoPlusCircleFill, type WfoPolicyRenderFallbackProps, WfoPolicyRenderPageFallback, WfoProcessDetailPage, WfoProcessListSubscriptionsCell, WfoProcessRawData, WfoProcessStatusBadge, type WfoProcessStatusBadgeProps, WfoProcessSubscriptionDelta, WfoProcessesList, type WfoProcessesListProps, type WfoProcessesListSubscriptionsCellProps, WfoProcessesTimeline, WfoProductBlockBadge, type WfoProductBlockBadgeProps, WfoProductBlockKeyValueRow, type WfoProductBlockKeyValueRowProps, WfoProductBlocksPage, WfoProductInformationWithLink, WfoProductStatusBadge, type WfoProductStatusBadgeProps, WfoProductsPage, WfoProductsSummaryCard, WfoRefresh, WfoRelatedSubscriptions, WfoResetTextSearchIndexButton, WfoResourceTypesPage, WfoSearchField, type WfoSearchFieldProps, WfoSearchStrikethrough, type WfoSession, WfoSettingsModal, type WfoSettingsModalProps, WfoSettingsPage, WfoShare, WfoSideMenu, WfoSidebar, type WfoSidebarProps, WfoSortAsc, WfoSortButton, type WfoSortButtonProps, WfoSortButtons, type WfoSortButtonsProps, WfoSortDesc, WfoSortDirectionIcon, type WfoSortDirectionIconProps, WfoStartPage, WfoStartProcessPage, WfoStartTaskButtonComboBox, WfoStartWorkflowButtonComboBox, WfoStatistic, WfoStatusColorField, type WfoStatusColorFieldProps, WfoStatusDotIcon, WfoStep, WfoStepList, WfoStepListHeader, type WfoStepListHeaderProps, type WfoStepListProps, type WfoStepListRef, type WfoStepProps, WfoStepStatusIcon, type WfoStepStatusIconProps, WfoSubmitModal, type WfoSubmitModalProps, WfoSubscription, WfoSubscriptionActions, type WfoSubscriptionActionsProps, type WfoSubscriptionDetailGeneralConfiguration, WfoSubscriptionDetailPage, WfoSubscriptionDetailTree, WfoSubscriptionGeneral, WfoSubscriptionListTab, WfoSubscriptionProductBlock, WfoSubscriptionStatusBadge, type WfoSubscriptionStatusBadgeProps, WfoSubscriptionSyncStatusBadge, type WfoSubscriptionSyncStatusBadgeProps, WfoSubscriptionsList, WfoSubscriptionsListPage, type WfoSubscriptionsListProps, WfoSummaryCard, WfoSummaryCardHeader, type WfoSummaryCardHeaderProps, WfoSummaryCardList, WfoSummaryCardListItem, type WfoSummaryCardListItemProps, type WfoSummaryCardListProps, type WfoSummaryCardProps, WfoSummaryCards, type WfoSummaryCardsProps, type WfoTableColumns, type WfoTableColumnsWithExtraNonDataFields, type WfoTableControlColumnConfig, type WfoTableDataColumnConfig, WfoTableHeaderCell, type WfoTableHeaderCellProps, WfoTableWithFilter, type WfoTableWithFilterProps, WfoTasksListPage, WfoTasksListTabType, WfoTasksPage, WfoTextAnchor, type WfoTheme, WfoTimeline, type WfoTimelineProps, WfoTitleWithWebsocketBadge, WfoToastsList, WfoTrash, type WfoTreeNodeMap, WfoUserInputForm, type WfoUserProfile, WfoValueCell, type WfoValueCellProps, WfoValueOnlyTable, type WfoValueOnlyTableDataType, WfoViewList, WfoWarningTriangle, WfoWebsocketStatusBadge, WfoWorkerStatus, WfoWorkflowStepList, type WfoWorkflowStepListProps, WfoWorkflowTargetBadge, type WfoWorkflowTargetBadgeProps, WfoWorkflowsListPage, WfoWorkflowsListTabType, WfoWorkflowsPage, WfoXCircleFill, WorkerTypes, type WorkflowDefinition, type WorkflowDefinitionsResult, type WorkflowListItem, WorkflowTarget, type WorkflowsResponse, addToastMessage, calculateTimeDifference, camelToHuman, catchErrorResponse, clearTableConfigFromLocalStorage, csvDownloadHandler, defaultOrchestratorTheme, defaultTasksListTabs, defaultWorkflowsListTabs, determineNewSortOrder, determinePageIndex, emptyOrchestratorConfig, filterDataByCriteria, flattenArrayProps, formatDate, formatDateCetWithUtc, getConcatenatedPagedResult, getConcatenatedResult, getCsvFileNameWithDate, getCurrentBrowserLocale, getCustomApiSlice, getDataSortHandler, getDate, getEnvironmentVariables, getFieldFromProductBlockInstanceValues, getFirstUuidPart, getFormFieldsBaseStyle, getInitialColumnOrder, getLastUncompletedProcess, getLatestTaskDate, getNumberOfColumns, getNumberValueFromEnvironmentVariable, getOrchestratorComponentOverrideSlice, getOrchestratorConfigSlice, getOrchestratorStore, getPageChangeHandler, getProductBlockTitle, getProductNamesFromProcess, getQueryStringHandler, getQueryVariablesForExport, getSortDirectionFromString, getStatusBadgeColor, getStepContent, getStyles, getTableConfigFromLocalStorage, getTasksListTabTypeFromString, getTypedFieldFromObject, getWfoBasicTableStyles, getWorkflowTargetColor, getWorkflowTargetIconContent, getWorkflowsListTabTypeFromString, graphQlWorkflowListMapper, handlePromiseErrorWithCallback, imsPortIdFieldStyling, initiateCsvFileDownload, ipPrefixTableFieldStyling, ipamStates, isAllUpperCase, isToday, isUuid4, isValidLocalStorageTableConfig, localMomentToUtcTimestamp, mapColumnSortToEuiDataGridSorting, mapGraphQlSubscriptionsResultToPageInfo, mapGraphQlSubscriptionsResultToSubscriptionListItems, mapProcessSummaryToSummaryCardListItem, mapSortableAndFilterableValuesToTableColumnConfig, mapSubscriptionSummaryToSummaryCardListItem, mapWorkflowDefinitionToWorkflowListItem, menuItemIsAllowed, metaDataTabs, onlyUnique, optionalArrayMapper, orchestratorApi, parseDate, parseDateOrTimeRelativeToToday, parseDateRelativeToToday, parseDateToLocaleDateString, parseDateToLocaleDateTimeString, parseDateToLocaleTimeString, parseIsoString, prepareHeaders, processListQuery, processListSummaryQuery, processStepsQuery, productBlocksQuery, products, productsSummary, removeSuffix, removeToastMessage, resourceTypesQuery, selectOrchestratorConfig, setTableConfigToLocalStorage, snakeToHuman, snakeToKebab, splitPrefixStyling, stop, subscriptionDetailQuery, subscriptionInUseByRelationQuery, subscriptionListQuery, subscriptionListSummaryQuery, subscriptionListTabs, subscriptionsDropdownOptionsQuery, tasksQuery, toObjectWithSortedKeys, toOptionalArrayEntry, toastMessagesReducer, toastMessagesSlice, upperCaseFirstChar, urlPolicyMap, useCheckEngineStatus, useClearCacheMutation, useDataDisplayParams, useGetCacheNamesQuery, useGetCustomerQuery, useGetCustomersQuery, useGetCustomersWithSubscriptionCountQuery, useGetEngineStatusQuery, useGetInUseByRelationDetailsQuery, useGetOrchestratorConfig, useGetProcessListQuery, useGetProcessListSummaryQuery, useGetProductBlocksQuery, useGetProductsQuery, useGetProductsSummaryQuery, useGetRelatedSubscriptionsQuery, useGetResourceTypesQuery, useGetSubscriptionDetailQuery, useGetSubscriptionListQuery, useGetSubscriptionSummaryListQuery, useGetSubscriptionsDropdownOptionsQuery, useGetTaskOptionsQuery, useGetTasksQuery, useGetTimeLineItemsQuery, useGetTranslationMessages, useGetWorkerStatusQuery, useGetWorkflowOptionsQuery, useGetWorkflowsQuery, useLazyGetProcessListQuery, useLazyGetProductBlocksQuery, useLazyGetProductsQuery, useLazyGetResourceTypesQuery, useLazyGetSubscriptionListQuery, useLazyGetTasksQuery, useLazyGetWorkflowsQuery, useOrchestratorConfig, useOrchestratorTheme, usePolicy, useResetTextSearchIndexMutation, useSetEngineStatusMutation, useSetSubscriptionInSyncMutation, useShowToastMessage, useStoredTableConfig, useStreamMessagesQuery, useSubscriptionDetailValueOverride, useWfoSession, useWithOrchestratorTheme, utcTimestampToLocalMoment, wfoGraphqlRequestBaseQuery, workflowFieldMapper, workflowsQuery };
package/dist/index.js CHANGED
@@ -32641,7 +32641,7 @@ function stripUndefined2(obj) {
32641
32641
  }
32642
32642
 
32643
32643
  // src/rtk/wfoGraphqlRequestBaseQuery.ts
32644
- var utils = (options, authActive) => {
32644
+ var wfoGraphqlRequestBaseQuery = (options, authActive) => {
32645
32645
  var _a;
32646
32646
  const client = "client" in options ? options.client : new GraphQLClient(options.url, { errorPolicy: "all" });
32647
32647
  const requestHeaders = (_a = options.requestHeaders) != null ? _a : {};
@@ -32671,10 +32671,16 @@ var utils = (options, authActive) => {
32671
32671
  }
32672
32672
  });
32673
32673
  }
32674
+ if (!data && errors2) {
32675
+ return {
32676
+ data: null,
32677
+ errors: errors2,
32678
+ meta: { errors: [] }
32679
+ };
32680
+ }
32674
32681
  return {
32675
32682
  data,
32676
- errors: errors2,
32677
- meta: {}
32683
+ meta: { errors: errors2 }
32678
32684
  };
32679
32685
  } catch (error) {
32680
32686
  if (error instanceof ClientError) {
@@ -32754,7 +32760,7 @@ var orchestratorApi = createApi2({
32754
32760
  });
32755
32761
  return fetchFn(args, api, {});
32756
32762
  default:
32757
- const graphqlFn = utils(
32763
+ const graphqlFn = wfoGraphqlRequestBaseQuery(
32758
32764
  {
32759
32765
  url: customApi ? customApi.apiBaseUrl : graphqlEndpointCore,
32760
32766
  prepareHeaders
@@ -34393,7 +34399,12 @@ var subscriptionsDropdownOptionsQuery = `
34393
34399
  subscriptionInstanceId
34394
34400
  inUseByRelations
34395
34401
  }
34396
- fixedInputs
34402
+ fixedInputs,
34403
+ inUseBySubscriptions {
34404
+ pageInfo {
34405
+ totalItems
34406
+ }
34407
+ }
34397
34408
  }
34398
34409
  }
34399
34410
  }
@@ -36797,7 +36808,7 @@ var WfoBreadcrumbs = ({
36797
36808
  const parts = router.asPath.split("/");
36798
36809
  parts.forEach((p, index) => {
36799
36810
  if (index > 0) {
36800
- const link = removeSuffix(parts.slice(0, index + 1).join("/"));
36811
+ const link = parts.slice(0, index + 1).join("/");
36801
36812
  const _p = removeSuffix(p);
36802
36813
  const text = isUuid4(_p) || isAllUpperCase(_p) ? _p : upperCaseFirstChar(_p);
36803
36814
  breadcrumbs.push({
@@ -41549,13 +41560,15 @@ function ListAdd(_a) {
41549
41560
  "value",
41550
41561
  "outerList"
41551
41562
  ]);
41563
+ var _a2, _b2;
41552
41564
  const { theme } = useOrchestratorTheme();
41553
41565
  const t = useTranslations30("pydanticForms.backendTranslations");
41554
41566
  const nameParts = joinName(null, name);
41555
41567
  const parentName = joinName(nameParts.slice(0, -1));
41556
41568
  const parent = useField(parentName, { initialCount }, { absoluteName: true })[0];
41557
- const limitNotReached = !disabled && !(parent.maxCount <= Math.max(initialCount != null ? initialCount : 0, parent == null ? void 0 : parent.value.length));
41558
- const count = 1 + Math.max((initialCount != null ? initialCount : 0) - (parent == null ? void 0 : parent.value.length), 0);
41569
+ const parentValueCount = (_b2 = (_a2 = parent.value) == null ? void 0 : _a2.length) != null ? _b2 : 0;
41570
+ const limitNotReached = !disabled && (!parent.maxCount || parent.maxCount > parentValueCount);
41571
+ const count = 1 + Math.max((initialCount != null ? initialCount : 0) - parentValueCount, 0);
41559
41572
  function onAction(event) {
41560
41573
  if (limitNotReached && !readOnly && (!("key" in event) || event.key === "Enter")) {
41561
41574
  const newRowsValue = Array(count).fill(cloneDeep(value));
@@ -41609,6 +41622,7 @@ function ListDel(_a) {
41609
41622
  "id",
41610
41623
  "outerList"
41611
41624
  ]);
41625
+ var _a2, _b2;
41612
41626
  const { theme } = useOrchestratorTheme();
41613
41627
  const t = useTranslations31("pydanticForms.backendTranslations");
41614
41628
  const nameParts = joinName2(null, name);
@@ -41619,9 +41633,10 @@ function ListDel(_a) {
41619
41633
  {},
41620
41634
  { absoluteName: true }
41621
41635
  )[0];
41622
- const limitNotReached = parent && !disabled && parent.minCount && parent.value && !(parent.minCount >= parent.value.length);
41636
+ const parentValueCount = (_b2 = (_a2 = parent.value) == null ? void 0 : _a2.length) != null ? _b2 : 0;
41637
+ const isDeletable = !disabled && !readOnly && (!parent.minCount || parentValueCount > parent.minCount);
41623
41638
  function onAction(event) {
41624
- if (parent && limitNotReached && !readOnly && (!("key" in event) || event.key === "Enter")) {
41639
+ if (isDeletable && (!("key" in event) || event.key === "Enter")) {
41625
41640
  const value = parent == null ? void 0 : parent.value.slice();
41626
41641
  value.splice(nameIndex, 1);
41627
41642
  parent.onChange(value);
@@ -41642,7 +41657,7 @@ function ListDel(_a) {
41642
41657
  {
41643
41658
  type: "minus",
41644
41659
  size: "xxl",
41645
- color: !limitNotReached || disabled ? theme.colors.disabled : theme.colors.danger
41660
+ color: isDeletable ? theme.colors.danger : theme.colors.disabled
41646
41661
  }
41647
41662
  ),
41648
41663
  /* @__PURE__ */ jsx116("label", { children: outerList && /* @__PURE__ */ jsx116(EuiText12, { children: t(`${parentName}_del`) }) })
@@ -44132,10 +44147,12 @@ function Vlan(_a) {
44132
44147
  (_item, index) => index.toString() !== nameArray.slice(-2, -1)[0]
44133
44148
  ).filter((item) => get6(item, subscriptionFieldName) === subscriptionId).map((item) => get6(item, selfName)).join(",");
44134
44149
  useEffect15(() => {
44135
- if (!initialValue) {
44150
+ if (subscriptionId && isFetched && !portIsTagged && value !== "0") {
44151
+ onChange("0");
44152
+ } else if (!disabled && (!subscriptionId && value !== "" || subscriptionId && portIsTagged && value === "0")) {
44136
44153
  onChange("");
44137
44154
  }
44138
- }, [initialValue, onChange, subscriptionId, isFetched]);
44155
+ }, [onChange, subscriptionId, isFetched, portIsTagged]);
44139
44156
  const [usedVlansInIms, setUsedVlansInIms] = useState26([]);
44140
44157
  const [missingInIms, setMissingInIms] = useState26(false);
44141
44158
  const {
@@ -44583,6 +44600,11 @@ function SubscriptionFieldDefinition(_a) {
44583
44600
  }
44584
44601
  }
44585
44602
  }
44603
+ if (getPortMode(subscription.productBlockInstances) === "untagged" /* UNTAGGED */) {
44604
+ if (subscription.inUseBySubscriptions.pageInfo.totalItems && subscription.inUseBySubscriptions.pageInfo.totalItems > 0) {
44605
+ return false;
44606
+ }
44607
+ }
44586
44608
  return true;
44587
44609
  });
44588
44610
  return filteredSubscriptions ? filteredSubscriptions.map((subscription) => ({
@@ -51713,7 +51735,7 @@ export {
51713
51735
  useWfoSession,
51714
51736
  useWithOrchestratorTheme,
51715
51737
  utcTimestampToLocalMoment,
51716
- utils,
51738
+ wfoGraphqlRequestBaseQuery,
51717
51739
  workflowFieldMapper,
51718
51740
  workflowsQuery
51719
51741
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orchestrator-ui/orchestrator-ui-components",
3
- "version": "1.35.0",
3
+ "version": "1.36.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Library of UI Components used to display the workflow orchestrator frontend",
6
6
  "author": {
@@ -48,14 +48,10 @@ function ListAdd({
48
48
  { initialCount?: number; maxCount?: number },
49
49
  unknown[]
50
50
  >(parentName, { initialCount }, { absoluteName: true })[0];
51
-
51
+ const parentValueCount = parent.value?.length ?? 0;
52
52
  const limitNotReached =
53
- !disabled &&
54
- !(
55
- parent.maxCount! <=
56
- Math.max(initialCount ?? 0, parent?.value!.length)
57
- );
58
- const count = 1 + Math.max((initialCount ?? 0) - parent?.value!.length, 0);
53
+ !disabled && (!parent.maxCount || parent.maxCount > parentValueCount);
54
+ const count = 1 + Math.max((initialCount ?? 0) - parentValueCount, 0);
59
55
 
60
56
  function onAction(event: React.KeyboardEvent | React.MouseEvent) {
61
57
  if (
@@ -49,20 +49,16 @@ function ListDel({
49
49
  { absoluteName: true },
50
50
  )[0];
51
51
 
52
- const limitNotReached =
53
- parent &&
52
+ const parentValueCount = parent.value?.length ?? 0;
53
+
54
+ // Make a row deletable only if its:
55
+ const isDeletable: boolean =
54
56
  !disabled &&
55
- parent.minCount &&
56
- parent.value &&
57
- !(parent.minCount >= parent.value.length);
57
+ !readOnly &&
58
+ (!parent.minCount || parentValueCount > parent.minCount);
58
59
 
59
60
  function onAction(event: React.KeyboardEvent | React.MouseEvent) {
60
- if (
61
- parent &&
62
- limitNotReached &&
63
- !readOnly &&
64
- (!('key' in event) || event.key === 'Enter')
65
- ) {
61
+ if (isDeletable && (!('key' in event) || event.key === 'Enter')) {
66
62
  const value = parent?.value!.slice();
67
63
  value.splice(nameIndex, 1);
68
64
  parent.onChange(value);
@@ -83,9 +79,7 @@ function ListDel({
83
79
  type="minus"
84
80
  size="xxl"
85
81
  color={
86
- !limitNotReached || disabled
87
- ? theme.colors.disabled
88
- : theme.colors.danger
82
+ isDeletable ? theme.colors.danger : theme.colors.disabled
89
83
  }
90
84
  />
91
85
  <label>
@@ -83,7 +83,6 @@ function List({
83
83
  >
84
84
  <></>
85
85
  </EuiFormRow>
86
-
87
86
  <ul>
88
87
  {range(Math.max(value?.length ?? 0, initialCount ?? 0)).map(
89
88
  (itemIndex) =>
@@ -103,7 +102,6 @@ function List({
103
102
  : child,
104
103
  ),
105
104
  )}
106
-
107
105
  <ListAddField
108
106
  initialCount={initialCount}
109
107
  name="$"
@@ -276,6 +276,23 @@ function SubscriptionFieldDefinition({
276
276
  }
277
277
  }
278
278
 
279
+ // Untagged ports that are unavailable because they are already in use are part still part of the graphql result
280
+ // we know an untagged port is unavailable when the port is untagged but it's has an inUseBySubscription since untagged
281
+ // ports can only be used once. This is a hard condition to capture in a graphQL filter, solving it in the backend would
282
+ // be better but for now we do this extra check in the frontend until we refactor the forms part more thoroughly.
283
+ // https://github.com/workfloworchestrator/orchestrator-ui-library/issues/1250
284
+ if (
285
+ getPortMode(subscription.productBlockInstances) ===
286
+ PortMode.UNTAGGED
287
+ ) {
288
+ if (
289
+ subscription.inUseBySubscriptions.pageInfo.totalItems &&
290
+ subscription.inUseBySubscriptions.pageInfo.totalItems > 0
291
+ ) {
292
+ return false;
293
+ }
294
+ }
295
+
279
296
  return true;
280
297
  });
281
298
 
@@ -155,14 +155,17 @@ function Vlan({
155
155
  .map((item) => get(item, selfName))
156
156
  .join(',');
157
157
 
158
- // Refactored to simpler logic, no need to check for untagged ports and removed setting value to 0
159
- // If the subscriptionId is changed then we need to reset the value only if there wasn't an initial value already set
160
- // In the create workflow we need to reset the value if the subscriptionId is changed, in the modify workflow we don't
161
158
  useEffect(() => {
162
- if (!initialValue) {
159
+ if (subscriptionId && isFetched && !portIsTagged && value !== '0') {
160
+ onChange('0');
161
+ } else if (
162
+ !disabled &&
163
+ ((!subscriptionId && value !== '') ||
164
+ (subscriptionId && portIsTagged && value === '0'))
165
+ ) {
163
166
  onChange('');
164
167
  }
165
- }, [initialValue, onChange, subscriptionId, isFetched]);
168
+ }, [onChange, subscriptionId, isFetched, portIsTagged]);
166
169
 
167
170
  const [usedVlansInIms, setUsedVlansInIms] = useState<VlanRange[]>([]);
168
171
  const [missingInIms, setMissingInIms] = useState(false);
@@ -47,7 +47,7 @@ export const WfoBreadcrumbs = ({
47
47
  const parts = router.asPath.split('/');
48
48
  parts.forEach((p, index) => {
49
49
  if (index > 0) {
50
- const link = removeSuffix(parts.slice(0, index + 1).join('/'));
50
+ const link = parts.slice(0, index + 1).join('/');
51
51
  // Handle UUID's: so you can have breadcrumb like: `Start / Subscriptions / b2312aa-cbc ...`
52
52
  // first remove the suffix, like ?activeTab=....
53
53
  const _p = removeSuffix(p);
package/src/rtk/api.ts CHANGED
@@ -3,7 +3,7 @@ import { getSession, signOut } from 'next-auth/react';
3
3
  import { createApi, fetchBaseQuery } from '@reduxjs/toolkit/query/react';
4
4
 
5
5
  import type { WfoSession } from '@/hooks';
6
- import { utils } from '@/rtk/wfoGraphqlRequestBaseQuery';
6
+ import { wfoGraphqlRequestBaseQuery } from '@/rtk/wfoGraphqlRequestBaseQuery';
7
7
  import { CacheTagType } from '@/types';
8
8
 
9
9
  import type { RootState } from './store';
@@ -98,7 +98,7 @@ export const orchestratorApi = createApi({
98
98
  });
99
99
  return fetchFn(args, api, {});
100
100
  default:
101
- const graphqlFn = utils(
101
+ const graphqlFn = wfoGraphqlRequestBaseQuery(
102
102
  {
103
103
  url: customApi
104
104
  ? customApi.apiBaseUrl
@@ -31,7 +31,12 @@ export const subscriptionsDropdownOptionsQuery = `
31
31
  subscriptionInstanceId
32
32
  inUseByRelations
33
33
  }
34
- fixedInputs
34
+ fixedInputs,
35
+ inUseBySubscriptions {
36
+ pageInfo {
37
+ totalItems
38
+ }
39
+ }
35
40
  }
36
41
  }
37
42
  }
@@ -12,7 +12,7 @@ import {
12
12
  import { stripUndefined } from '@/rtk/utils';
13
13
  import { GraphqlQueryVariables } from '@/types';
14
14
 
15
- export const utils = <T, E = ErrorResponse>(
15
+ export const wfoGraphqlRequestBaseQuery = <T, E = ErrorResponse>(
16
16
  options: GraphqlRequestBaseQueryArgs<E>,
17
17
  authActive: boolean,
18
18
  ): BaseQueryFn<
@@ -60,10 +60,17 @@ export const utils = <T, E = ErrorResponse>(
60
60
  });
61
61
  }
62
62
 
63
+ if (!data && errors) {
64
+ return {
65
+ data: null,
66
+ errors,
67
+ meta: { errors: [] },
68
+ };
69
+ }
70
+
63
71
  return {
64
- data: data,
65
- errors: errors,
66
- meta: {},
72
+ data,
73
+ meta: { errors },
67
74
  };
68
75
  } catch (error) {
69
76
  if (error instanceof ClientError) {
@@ -444,6 +444,9 @@ export type SubscriptionDropdownOption = {
444
444
  fixedInputs: FieldValue[];
445
445
  tag: string;
446
446
  status: SubscriptionStatus;
447
+ inUseBySubscriptions: {
448
+ pageInfo: Pick<GraphQLPageInfo, 'totalItems'>;
449
+ };
447
450
  };
448
451
 
449
452
  export type CustomerDescriptions = {