@orchestrator-ui/orchestrator-ui-components 0.2.3 → 0.2.5
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/.storybook/main.js +1 -1
- package/.turbo/turbo-build.log +9 -7
- package/.turbo/turbo-lint.log +3 -6
- package/.turbo/turbo-test.log +17 -9
- package/CHANGELOG.md +12 -0
- package/dist/index.d.ts +1116 -359
- package/dist/index.js +23126 -6279
- package/jest.config.cjs +0 -1
- package/package.json +24 -8
- package/src/api/axios.ts +34 -0
- package/src/api/index.ts +170 -0
- package/src/components/WfoAuth/WfoAuth.tsx +22 -0
- package/src/components/WfoAuth/index.ts +1 -0
- package/src/components/{WFOBadges/WFOBadge/WFOBadge.stories.tsx → WfoBadges/WfoBadge/WfoBadge.stories.tsx} +5 -4
- package/src/components/{WFOBadges/WFOBadge/WFOBadge.tsx → WfoBadges/WfoBadge/WfoBadge.tsx} +4 -3
- package/src/components/WfoBadges/WfoBadge/index.ts +1 -0
- package/src/components/{WFOBadges/WFOEngineStatusBadge/WFOEngineStatusBadge.stories.tsx → WfoBadges/WfoEngineStatusBadge/WfoEngineStatusBadge.stories.tsx} +6 -4
- package/src/components/{WFOBadges/WFOEngineStatusBadge/WFOEngineStatusBadge.tsx → WfoBadges/WfoEngineStatusBadge/WfoEngineStatusBadge.tsx} +13 -7
- package/src/components/WfoBadges/WfoEngineStatusBadge/index.ts +1 -0
- package/src/components/{WFOBadges/WFOEnvironmentBadge/WFOEnvironmentBadge.stories.tsx → WfoBadges/WfoEnvironmentBadge/WfoEnvironmentBadge.stories.tsx} +6 -4
- package/src/components/{WFOBadges/WFOEnvironmentBadge/WFOEnvironmentBadge.tsx → WfoBadges/WfoEnvironmentBadge/WfoEnvironmentBadge.tsx} +8 -7
- package/src/components/WfoBadges/WfoEnvironmentBadge/index.ts +1 -0
- package/src/components/WfoBadges/WfoFailedTasksBadge/WfoFailedTasksBadge.stories.tsx +13 -0
- package/src/components/WfoBadges/WfoFailedTasksBadge/WfoFailedTasksBadge.tsx +95 -0
- package/src/components/WfoBadges/WfoFailedTasksBadge/index.ts +1 -0
- package/src/components/{WFOBadges/WFOHeaderBadge/WFOHeaderBadge.stories.tsx → WfoBadges/WfoHeaderBadge/WfoHeaderBadge.stories.tsx} +6 -4
- package/src/components/{WFOBadges/WFOHeaderBadge/WFOHeaderBadge.tsx → WfoBadges/WfoHeaderBadge/WfoHeaderBadge.tsx} +6 -4
- package/src/components/WfoBadges/WfoHeaderBadge/index.ts +1 -0
- package/src/components/{WFOBadges/WFOProcessStatusBadge/WFOProcessStatusBadge.tsx → WfoBadges/WfoProcessStatusBadge/WfoProcessStatusBadge.tsx} +8 -6
- package/src/components/WfoBadges/WfoProcessStatusBadge/index.ts +1 -0
- package/src/components/WfoBadges/WfoProductBlockBadge/WfoProductBlockBadge.stories.tsx +16 -0
- package/src/components/WfoBadges/WfoProductBlockBadge/WfoProductBlockBadge.tsx +70 -0
- package/src/components/WfoBadges/WfoProductBlockBadge/index.ts +1 -0
- package/src/components/WfoBadges/WfoProductStatusBadge/WfoProductStatusBadge.stories.tsx +22 -0
- package/src/components/WfoBadges/WfoProductStatusBadge/WfoProductStatusBadge.tsx +53 -0
- package/src/components/WfoBadges/WfoProductStatusBadge/index.ts +1 -0
- package/src/components/{WFOBadges/WFOStatusBadge/WFOStatusBadge.stories.tsx → WfoBadges/WfoSubscriptionStatusBadge/WfoSubscriptionStatusBadge.stories.tsx} +5 -4
- package/src/components/{WFOBadges/WFOStatusBadge/WFOStatusBadge.tsx → WfoBadges/WfoSubscriptionStatusBadge/WfoSubscriptionStatusBadge.tsx} +14 -10
- package/src/components/WfoBadges/WfoSubscriptionStatusBadge/index.ts +1 -0
- package/src/components/WfoBadges/WfoWorkflowTargetBadge/WfoWorkflowTargetBadge.tsx +65 -0
- package/src/components/WfoBadges/WfoWorkflowTargetBadge/index.ts +1 -0
- package/src/components/WfoBadges/index.ts +9 -0
- package/src/components/WfoButtonComboBox/WfoButtonComboBox.tsx +76 -0
- package/src/components/WfoButtonComboBox/styles.ts +13 -0
- package/src/components/WfoDateTime/WfoDateTime.tsx +28 -0
- package/src/components/WfoDateTime/index.ts +1 -0
- package/src/components/WfoDropdownButton/WfoDropdownButton.tsx +67 -0
- package/src/components/WfoDropdownButton/index.ts +1 -0
- package/src/components/{WFOFilterTabs/WFOFilterTabs.tsx → WfoFilterTabs/WfoFilterTabs.tsx} +8 -6
- package/src/components/WfoFilterTabs/index.ts +1 -0
- package/src/components/WfoForms/AutoFieldLoader.tsx +110 -0
- package/src/components/WfoForms/AutoFields.tsx +49 -0
- package/src/components/WfoForms/CreateForm.tsx +71 -0
- package/src/components/WfoForms/UserInputForm.tsx +607 -0
- package/src/components/WfoForms/UserInputFormStyling.ts +80 -0
- package/src/components/WfoForms/UserInputFormWizard.tsx +120 -0
- package/src/components/WfoForms/formFields/AcceptField.tsx +239 -0
- package/src/components/WfoForms/formFields/AcceptFieldStyling.ts +29 -0
- package/src/components/WfoForms/formFields/BoolField.tsx +71 -0
- package/src/components/WfoForms/formFields/BoolFieldStyling.ts +68 -0
- package/src/components/WfoForms/formFields/ContactPersonAutocomplete.tsx +97 -0
- package/src/components/WfoForms/formFields/ContactPersonAutocompleteStyles.ts +40 -0
- package/src/components/WfoForms/formFields/ContactPersonNameField.tsx +253 -0
- package/src/components/WfoForms/formFields/DateField.tsx +72 -0
- package/src/components/WfoForms/formFields/DividerField.tsx +29 -0
- package/src/components/WfoForms/formFields/ErrorField.tsx +40 -0
- package/src/components/WfoForms/formFields/ErrorsField.tsx +34 -0
- package/src/components/WfoForms/formFields/ImsNodeIdField.tsx +110 -0
- package/src/components/WfoForms/formFields/IpNetworkField.tsx +128 -0
- package/src/components/WfoForms/formFields/IpPrefixTableField.tsx +454 -0
- package/src/components/WfoForms/formFields/IpPrefixTableFieldStyling.ts +117 -0
- package/src/components/WfoForms/formFields/LabelField.tsx +39 -0
- package/src/components/WfoForms/formFields/ListAddField.tsx +98 -0
- package/src/components/WfoForms/formFields/ListDelField.tsx +95 -0
- package/src/components/WfoForms/formFields/ListField.tsx +113 -0
- package/src/components/WfoForms/formFields/ListItemField.tsx +40 -0
- package/src/components/WfoForms/formFields/ListSelectField.tsx +92 -0
- package/src/components/WfoForms/formFields/LocationCodeField.tsx +66 -0
- package/src/components/WfoForms/formFields/LongTextField.tsx +68 -0
- package/src/components/WfoForms/formFields/NestField.tsx +107 -0
- package/src/components/WfoForms/formFields/NumField.tsx +75 -0
- package/src/components/WfoForms/formFields/OptGroupField.tsx +74 -0
- package/src/components/WfoForms/formFields/OrganisationField.tsx +57 -0
- package/src/components/WfoForms/formFields/ProductField.tsx +78 -0
- package/src/components/WfoForms/formFields/RadioField.tsx +87 -0
- package/src/components/WfoForms/formFields/SelectField.tsx +152 -0
- package/src/components/WfoForms/formFields/SplitPrefix.tsx +163 -0
- package/src/components/WfoForms/formFields/SplitPrefixStyling.ts +11 -0
- package/src/components/WfoForms/formFields/SubmitField.tsx +50 -0
- package/src/components/WfoForms/formFields/SubscriptionField.tsx +351 -0
- package/src/components/WfoForms/formFields/SubscriptionFieldStyling.ts +33 -0
- package/src/components/WfoForms/formFields/SubscriptionSummaryField.tsx +75 -0
- package/src/components/WfoForms/formFields/TextField.tsx +71 -0
- package/src/components/WfoForms/formFields/TimestampField.tsx +103 -0
- package/src/components/WfoForms/formFields/VlanField.tsx +297 -0
- package/src/components/WfoForms/formFields/index.ts +29 -0
- package/src/components/WfoForms/formFields/listFieldStyling.ts +86 -0
- package/src/components/WfoForms/formFields/reactSelectStyles.ts +45 -0
- package/src/components/WfoForms/formFields/surf/types.ts +53 -0
- package/src/components/WfoForms/formFields/surf/utils.ts +1 -0
- package/src/components/WfoForms/formFields/types.ts +50 -0
- package/src/components/WfoForms/formFields/utils.spec.ts +196 -0
- package/src/components/WfoForms/formFields/utils.ts +65 -0
- package/src/components/WfoForms/index.ts +5 -0
- package/src/components/WfoForms/useAxiosApiClient.ts +8 -0
- package/src/components/WfoInsyncIcon/WfoInsyncIcon.stories.tsx +21 -0
- package/src/components/WfoInsyncIcon/WfoInsyncIcon.tsx +26 -0
- package/src/components/WfoInsyncIcon/index.ts +1 -0
- package/src/components/WfoJsonCodeBlock/WfoJsonCodeBlock.tsx +27 -0
- package/src/components/WfoJsonCodeBlock/styles.ts +13 -0
- package/src/components/WfoKeyValueTable/WfoKeyCell.tsx +25 -0
- package/src/components/WfoKeyValueTable/WfoKeyValueTable.tsx +41 -0
- package/src/components/WfoKeyValueTable/WfoValueCell.tsx +53 -0
- package/src/components/WfoKeyValueTable/index.ts +3 -0
- package/src/components/WfoKeyValueTable/styles.ts +77 -0
- package/src/components/WfoLoading/WfoLoading.tsx +3 -0
- package/src/components/WfoLoading/index.ts +1 -0
- package/src/components/WfoNoResults/WfoNoResults.stories.tsx +19 -0
- package/src/components/WfoNoResults/WfoNoResults.tsx +22 -0
- package/src/components/WfoNoResults/index.ts +1 -0
- package/src/components/WfoNoResults/styles.ts +22 -0
- package/src/components/WfoPageHeader/WfoPageHeader.tsx +25 -0
- package/src/components/{WFOBreadcrumbs/WFOBreadcrumbs.tsx → WfoPageTemplate/WfoBreadcrumbs/WfoBreadcrumbs.tsx} +6 -3
- package/src/components/WfoPageTemplate/WfoBreadcrumbs/index.ts +1 -0
- package/src/components/{WFOPageTemplate/WFOPageHeader/WFOPageHeader.stories.tsx → WfoPageTemplate/WfoPageHeader/WfoPageHeader.stories.tsx} +7 -5
- package/src/components/{WFOPageTemplate/WFOPageHeader/WFOPageHeader.tsx → WfoPageTemplate/WfoPageHeader/WfoPageHeader.tsx} +26 -11
- package/src/components/WfoPageTemplate/WfoPageHeader/index.ts +1 -0
- package/src/components/{WFOPageTemplate/WFOPageTemplate/WFOPageTemplate.stories.tsx → WfoPageTemplate/WfoPageTemplate/WfoPageTemplate.stories.tsx} +8 -6
- package/src/components/{WFOPageTemplate/WFOPageTemplate/WFOPageTemplate.tsx → WfoPageTemplate/WfoPageTemplate/WfoPageTemplate.tsx} +20 -8
- package/src/components/WfoPageTemplate/WfoPageTemplate/index.ts +1 -0
- package/src/components/{WFOPageTemplate/WFOSidebar/WFOSidebar.stories.tsx → WfoPageTemplate/WfoSidebar/WfoSidebar.stories.tsx} +6 -4
- package/src/components/WfoPageTemplate/WfoSidebar/WfoSidebar.tsx +161 -0
- package/src/components/WfoPageTemplate/WfoSidebar/WfoStartCreateWorkflowButtonComboBox.tsx +58 -0
- package/src/components/WfoPageTemplate/WfoSidebar/index.ts +1 -0
- package/src/components/WfoPageTemplate/index.ts +4 -0
- package/src/components/WfoPageTemplate/paths.ts +11 -0
- package/src/components/WfoProcessesList/WfoProcessList.tsx +227 -0
- package/src/components/WfoProcessesList/processListObjectMappers.ts +79 -0
- package/src/components/{WFOSearchBar/WFOSearchField.tsx → WfoSearchBar/WfoSearchField.tsx} +4 -3
- package/src/components/WfoSearchBar/index.ts +1 -0
- package/src/components/WfoSettingsModal/WfoInformationModal.tsx +41 -0
- package/src/components/{WFOSettingsModal/WFOSettingsModal.tsx → WfoSettingsModal/WfoSettingsModal.tsx} +3 -2
- package/src/components/WfoSettingsModal/index.tsx +2 -0
- package/src/components/{WFOSettingsPage/WFOEngineStatusButton.tsx → WfoSettingsPage/WfoEngineStatusButton.tsx} +5 -3
- package/src/components/{WFOSettingsPage/WFOFlushSettings.tsx → WfoSettingsPage/WfoFlushSettings.tsx} +19 -30
- package/src/components/{WFOSettingsPage/WFOModifySettings.tsx → WfoSettingsPage/WfoModifySettings.tsx} +7 -5
- package/src/components/{WFOSettingsPage/WFOSettings.tsx → WfoSettingsPage/WfoSettings.tsx} +12 -8
- package/src/components/{WFOSettingsPage/WFOStatus.tsx → WfoSettingsPage/WfoStatus.tsx} +8 -6
- package/src/components/WfoSettingsPage/index.ts +1 -0
- package/src/components/{WFOStartPage/WFOFrequentlyUsed.stories.tsx → WfoStartPage/WfoFrequentlyUsed.stories.tsx} +5 -4
- package/src/components/{WFOStartPage/WFOFrequentlyUsed.tsx → WfoStartPage/WfoFrequentlyUsed.tsx} +4 -3
- package/src/components/{WFOStartPage/WFOListItemStartPage.stories.tsx → WfoStartPage/WfoListItemStartPage.stories.tsx} +6 -4
- package/src/components/{WFOStartPage/WFOListItemStartPage.tsx → WfoStartPage/WfoListItemStartPage.tsx} +9 -6
- package/src/components/{WFOStartPage/WFOListStartPage.stories.tsx → WfoStartPage/WfoListStartPage.stories.tsx} +6 -4
- package/src/components/{WFOStartPage/WFOListStartPage.tsx → WfoStartPage/WfoListStartPage.tsx} +7 -5
- package/src/components/{WFOStartPage/WFOMultiListSection.stories.tsx → WfoStartPage/WfoMultiListSection.stories.tsx} +5 -4
- package/src/components/{WFOStartPage/WFOMultiListSection.tsx → WfoStartPage/WfoMultiListSection.tsx} +7 -5
- package/src/components/WfoStartPage/WfoNewProcessPanel.stories.tsx +13 -0
- package/src/components/{WFOStartPage/WFONewProcessPanel.tsx → WfoStartPage/WfoNewProcessPanel.tsx} +5 -3
- package/src/components/WfoStartPage/WfoStatCards.stories.tsx +13 -0
- package/src/components/{WFOStartPage/WFOStatCards.tsx → WfoStartPage/WfoStatCards.tsx} +4 -2
- package/src/components/WfoStartPage/index.ts +6 -0
- package/src/components/WfoStartTaskButtonComboBox/WfoStartTaskButtonComboBox.tsx +51 -0
- package/src/components/WfoStartTaskButtonComboBox/index.ts +1 -0
- package/src/components/WfoSubscription/SubscriptionKeyValueBlock.tsx +46 -0
- package/src/components/WfoSubscription/WfoProcessesTimeline.tsx +158 -0
- package/src/components/WfoSubscription/WfoRelatedSubscriptions.tsx +192 -0
- package/src/components/WfoSubscription/WfoSubscription.tsx +145 -0
- package/src/components/WfoSubscription/WfoSubscriptionActions.tsx +236 -0
- package/src/components/WfoSubscription/WfoSubscriptionDetailTree.tsx +161 -0
- package/src/components/WfoSubscription/WfoSubscriptionGeneral.tsx +147 -0
- package/src/components/WfoSubscription/WfoSubscriptionProductBlock.tsx +207 -0
- package/src/components/WfoSubscription/index.ts +8 -0
- package/src/components/WfoSubscription/styles.ts +104 -0
- package/src/components/WfoSubscription/utils/index.ts +1 -0
- package/src/components/WfoSubscription/utils/utils.spec.ts +168 -0
- package/src/components/WfoSubscription/utils/utils.ts +76 -0
- package/src/components/WfoSubscriptionsList/WfoSubscriptionsList.tsx +205 -0
- package/src/components/WfoSubscriptionsList/index.ts +3 -0
- package/src/components/WfoSubscriptionsList/mapGrapghQlSubscriptionsResultToSubscriptionListItems.ts +43 -0
- package/src/{pages/subscriptions → components/WfoSubscriptionsList}/subscriptionListTabs.ts +18 -18
- package/src/components/WfoTable/WfoBasicTable/WfoBasicTable.tsx +178 -0
- package/src/components/{WFOTable/WFOSortDirectionIcon.tsx → WfoTable/WfoBasicTable/WfoSortDirectionIcon.tsx} +8 -8
- package/src/components/WfoTable/WfoBasicTable/WfoStatusColorField.tsx +21 -0
- package/src/components/WfoTable/WfoBasicTable/WfoTableHeaderCell.tsx +120 -0
- package/src/components/WfoTable/WfoBasicTable/index.ts +4 -0
- package/src/components/WfoTable/WfoBasicTable/styles.ts +73 -0
- package/src/components/{WFOTable/WFODataGridTable/WFODataGridTable.stories.tsx → WfoTable/WfoDataGridTable/WfoDataGridTable.stories.tsx} +9 -7
- package/src/components/{WFOTable/WFODataGridTable/WFODataGridTable.tsx → WfoTable/WfoDataGridTable/WfoDataGridTable.tsx} +23 -21
- package/src/components/{WFOTable/WFODataGridTable/WFOdataGridColumns.spec.ts → WfoTable/WfoDataGridTable/WfodataGridColumns.spec.ts} +7 -7
- package/src/components/{WFOTable/WFODataGridTable/WFOdataGridColumns.ts → WfoTable/WfoDataGridTable/WfodataGridColumns.ts} +8 -7
- package/src/components/WfoTable/WfoFirstPartUUID/WfoFirstPartUUID.tsx +11 -0
- package/src/components/WfoTable/WfoFirstPartUUID/index.ts +1 -0
- package/src/components/WfoTable/WfoSortButtons/WfoSortButton.tsx +31 -0
- package/src/components/WfoTable/WfoSortButtons/WfoSortButtons.tsx +33 -0
- package/src/components/WfoTable/WfoSortButtons/index.ts +2 -0
- package/src/components/WfoTable/WfoSortButtons/styles.ts +20 -0
- package/src/components/{WFOTable/WFOTableSettingsModal/WFOTableSettingsModal.tsx → WfoTable/WfoTableSettingsModal/WfoTableSettingsModal.tsx} +5 -3
- package/src/components/WfoTable/WfoTableSettingsModal/index.ts +1 -0
- package/src/components/WfoTable/WfoTableWithFilter/WfoTableWithFilter.tsx +253 -0
- package/src/components/WfoTable/WfoTableWithFilter/index.ts +1 -0
- package/src/components/WfoTable/index.ts +15 -0
- package/src/components/{WFOTable → WfoTable}/utils/columns.ts +27 -16
- package/src/components/{WFOTable → WfoTable}/utils/constants.ts +5 -1
- package/src/components/WfoTable/utils/mapSortableAndFilterableValuesToTableColumnConfig.spec.ts +52 -0
- package/src/components/WfoTable/utils/mapSortableAndFilterableValuesToTableColumnConfig.ts +21 -0
- package/src/components/{WFOTable → WfoTable}/utils/tableConfigPersistence.spec.ts +4 -4
- package/src/components/{WFOTable → WfoTable}/utils/tableConfigPersistence.ts +12 -16
- package/src/components/{WFOTable → WfoTable}/utils/tableUtils.spec.ts +1 -1
- package/src/components/{WFOTable → WfoTable}/utils/tableUtils.ts +6 -25
- package/src/components/WfoTimeline/WfoTimeline.tsx +69 -0
- package/src/components/WfoTimeline/WfoTimelineStep.tsx +57 -0
- package/src/components/WfoTimeline/index.ts +1 -0
- package/src/components/WfoTimeline/mapProcessStepStatusToEuiStepStatus.ts +23 -0
- package/src/components/WfoTimeline/styles.ts +165 -0
- package/src/components/WfoTimeline/timelineUtils.ts +14 -0
- package/src/components/WfoToastsList/WfoToastsList.tsx +22 -0
- package/src/components/WfoToastsList/index.ts +1 -0
- package/src/components/WfoTree/WfoTree.tsx +27 -0
- package/src/components/{WFOTree/WFOTreeBranch.tsx → WfoTree/WfoTreeBranch.tsx} +7 -6
- package/src/components/{WFOTree/WFOTreeNode.tsx → WfoTree/WfoTreeNode.tsx} +28 -13
- package/src/components/WfoTree/index.ts +4 -0
- package/src/components/WfoTree/styles.ts +18 -0
- package/src/components/WfoTree/treeUtils.spec.ts +100 -0
- package/src/components/WfoTree/treeUtils.ts +21 -0
- package/src/components/WfoWorkflowSteps/WfoStep/WfoStep.stories.tsx +13 -0
- package/src/components/WfoWorkflowSteps/WfoStep/WfoStep.tsx +167 -0
- package/src/components/WfoWorkflowSteps/WfoStep/index.ts +1 -0
- package/src/components/WfoWorkflowSteps/WfoStepList/WfoStepList.tsx +107 -0
- package/src/components/WfoWorkflowSteps/WfoStepList/index.ts +1 -0
- package/src/components/WfoWorkflowSteps/WfoStepStatusIcon/WfoStepStatusIcon.stories.tsx +16 -0
- package/src/components/WfoWorkflowSteps/WfoStepStatusIcon/WfoStepStatusIcon.tsx +114 -0
- package/src/components/WfoWorkflowSteps/WfoStepStatusIcon/index.ts +1 -0
- package/src/components/WfoWorkflowSteps/WfoWorkflowStepList/WfoStepListHeader.tsx +139 -0
- package/src/components/WfoWorkflowSteps/WfoWorkflowStepList/WfoWorkflowStepList.stories.tsx +56 -0
- package/src/components/WfoWorkflowSteps/WfoWorkflowStepList/WfoWorkflowStepList.tsx +121 -0
- package/src/components/WfoWorkflowSteps/WfoWorkflowStepList/index.ts +2 -0
- package/src/components/WfoWorkflowSteps/index.ts +4 -0
- package/src/components/WfoWorkflowSteps/stepListUtils.spec.ts +26 -0
- package/src/components/WfoWorkflowSteps/stepListUtils.ts +56 -0
- package/src/components/WfoWorkflowSteps/styles.ts +121 -0
- package/src/components/confirmationDialog/ConfirmationDialogStyling.ts +12 -0
- package/src/components/confirmationDialog/WfoConfirmationDialog.tsx +112 -0
- package/src/components/confirmationDialog/index.ts +1 -0
- package/src/components/index.ts +19 -11
- package/src/contexts/ApiClientContext.tsx +30 -0
- package/src/contexts/ConfirmationDialogProvider.tsx +99 -0
- package/src/contexts/OrchestratorConfigContext.tsx +8 -3
- package/src/contexts/ToastContext.tsx +136 -0
- package/src/contexts/TreeContext.tsx +53 -32
- package/src/contexts/index.ts +3 -1
- package/src/graphqlQueries/customersQuery.ts +19 -0
- package/src/graphqlQueries/index.ts +6 -1
- package/src/graphqlQueries/processDetailQuery.ts +45 -0
- package/src/graphqlQueries/processListQuery.ts +19 -12
- package/src/graphqlQueries/productBlocksQuery.ts +13 -1
- package/src/graphqlQueries/productsQuery.ts +7 -4
- package/src/graphqlQueries/relatedSubscriptionsQuery.ts +65 -0
- package/src/graphqlQueries/resourceTypesQuery.ts +13 -2
- package/src/graphqlQueries/subscriptionDetailQuery.ts +62 -0
- package/src/graphqlQueries/subscriptionsDropdownOptionsQuery.ts +47 -0
- package/src/graphqlQueries/subscriptionsListQuery.ts +59 -0
- package/src/graphqlQueries/{workflowsQuery.ts → workflows/workflowsQuery.ts} +10 -5
- package/src/graphqlQueries/workflows/workflowsQueryForDropdownList.ts +41 -0
- package/src/hooks/DataFetchHooks.ts +72 -49
- package/src/hooks/ProcessesHooks/useDeleteProcess.ts +37 -0
- package/src/hooks/index.ts +4 -1
- package/src/hooks/surf/useGetSubscriptionDropdownOptions.ts +47 -0
- package/src/hooks/surf/useIsTaggedPort.ts +29 -0
- package/src/hooks/useDataDisplayParams.ts +1 -1
- package/src/hooks/useEngineStatusQuery.ts +20 -10
- package/src/hooks/useOrchestratorConfig.ts +6 -2
- package/src/hooks/useProcessStatusCountsQuery.ts +8 -23
- package/src/hooks/useQueryWithFetch.ts +33 -0
- package/src/hooks/useQueryWithGraphql.ts +18 -13
- package/src/hooks/useSessionWithToken.ts +14 -0
- package/src/hooks/useStoredTableConfig.ts +43 -0
- package/src/hooks/useSubscriptionActions.ts +3 -3
- package/src/hooks/useToastMessage.ts +5 -0
- package/src/hooks/useWithOrchestratorTheme.ts +10 -0
- package/src/icons/WfoArrowNarrowDown.stories.tsx +13 -0
- package/src/icons/{WFOArrowNarrowDown.tsx → WfoArrowNarrowDown.tsx} +4 -2
- package/src/icons/WfoArrowNarrowUp.stories.tsx +13 -0
- package/src/icons/{WFOArrowNarrowUp.tsx → WfoArrowNarrowUp.tsx} +4 -2
- package/src/icons/WfoArrowsExpand.stories.tsx +13 -0
- package/src/icons/WfoArrowsExpand.tsx +33 -0
- package/src/icons/WfoCheckmarkCircleFill.stories.tsx +13 -0
- package/src/icons/{WFOCheckmarkCircleFill.tsx → WfoCheckmarkCircleFill.tsx} +3 -2
- package/src/icons/WfoChevronDown.stories.tsx +13 -0
- package/src/icons/{WFOChevronDown.tsx → WfoChevronDown.tsx} +3 -2
- package/src/icons/WfoChevronUp.stories.tsx +13 -0
- package/src/icons/WfoChevronUp.tsx +33 -0
- package/src/icons/WfoClipboardCopy.stories.tsx +13 -0
- package/src/icons/WfoClipboardCopy.tsx +33 -0
- package/src/icons/WfoCode.stories.tsx +13 -0
- package/src/icons/WfoCode.tsx +35 -0
- package/src/icons/WfoCogFill.stories.tsx +13 -0
- package/src/icons/WfoCogFill.tsx +35 -0
- package/src/icons/WfoEyeFill.stories.tsx +13 -0
- package/src/icons/WfoEyeFill.tsx +35 -0
- package/src/icons/{WFOIconProps.ts → WfoIconProps.ts} +1 -1
- package/src/icons/WfoLogoutIcon.stories.tsx +13 -0
- package/src/icons/{WFOLogoutIcon.tsx → WfoLogoutIcon.tsx} +3 -2
- package/src/icons/WfoMinusCircleFill.stories.tsx +13 -0
- package/src/icons/WfoMinusCircleFill.tsx +33 -0
- package/src/icons/WfoMinusCircleOutline.stories.tsx +13 -0
- package/src/icons/{WFOMinusCircleOutline.tsx → WfoMinusCircleOutline.tsx} +3 -2
- package/src/icons/WfoPencilAlt.stories.tsx +13 -0
- package/src/icons/WfoPencilAlt.tsx +33 -0
- package/src/icons/WfoPlayFill.stories.tsx +13 -0
- package/src/icons/WfoPlayFill.tsx +35 -0
- package/src/icons/WfoPlusCircleFill.stories.tsx +13 -0
- package/src/icons/{WFOPlusCircleFill.tsx → WfoPlusCircleFill.tsx} +3 -2
- package/src/icons/WfoRefresh.stories.tsx +13 -0
- package/src/icons/WfoRefresh.tsx +35 -0
- package/src/icons/WfoSearchStrikethrough.stories.tsx +13 -0
- package/src/icons/WfoSearchStrikethrough.tsx +33 -0
- package/src/icons/WfoSortAsc.stories.tsx +13 -0
- package/src/icons/WfoSortAsc.tsx +33 -0
- package/src/icons/WfoSortDesc.stories.tsx +13 -0
- package/src/icons/WfoSortDesc.tsx +33 -0
- package/src/icons/WfoStatistic.tsx +41 -0
- package/src/icons/WfoStatusDotIcon.stories.tsx +13 -0
- package/src/icons/{WFOStatusDotIcon.tsx → WfoStatusDotIcon.tsx} +3 -2
- package/src/icons/WfoXCircleFill.stories.tsx +13 -0
- package/src/icons/{WFOXCircleFill.tsx → WfoXCircleFill.tsx} +3 -2
- package/src/icons/index.ts +22 -10
- package/src/index.ts +2 -0
- package/src/messages/en-US.json +175 -21
- package/src/messages/getTranslationMessages.spec.ts +1 -1
- package/src/messages/getTranslationMessages.ts +1 -1
- package/src/messages/nl-NL.json +179 -23
- package/src/pages/index.ts +2 -0
- package/src/pages/metadata/{WFOMetadataPageLayout.tsx → WfoMetadataPageLayout.tsx} +5 -3
- package/src/pages/metadata/WfoProductBlocksPage.tsx +239 -0
- package/src/pages/metadata/{WFOProductsPage.tsx → WfoProductsPage.tsx} +96 -52
- package/src/pages/metadata/WfoResourceTypesPage.tsx +185 -0
- package/src/pages/metadata/WfoWorkflowsPage.tsx +194 -0
- package/src/pages/metadata/index.ts +4 -4
- package/src/pages/metadata/workflowListObjectMapper.ts +43 -0
- package/src/pages/processes/WfoProcessDetail.tsx +327 -0
- package/src/pages/processes/WfoProcessDetailPage.tsx +88 -0
- package/src/pages/processes/WfoProcessListPage.tsx +106 -0
- package/src/pages/processes/WfoProcessListSubscriptionsCell.tsx +72 -0
- package/src/pages/processes/getProcessListTabTypeFromString.ts +6 -6
- package/src/pages/processes/index.ts +3 -2
- package/src/pages/processes/tabConfig.ts +28 -10
- package/src/pages/processes/timelineUtils.spec.ts +202 -0
- package/src/pages/processes/timelineUtils.ts +113 -0
- package/src/pages/subscriptions/WfoSubscriptionDetailPage.tsx +19 -0
- package/src/pages/subscriptions/WfoSubscriptionsListPage.tsx +105 -0
- package/src/pages/subscriptions/index.ts +2 -2
- package/src/pages/tasks/WfoTaskListPage.tsx +120 -0
- package/src/pages/tasks/index.ts +1 -0
- package/src/pages/workflow/WfoStartWorkflowPage.tsx +176 -0
- package/src/pages/workflow/index.ts +1 -0
- package/src/stories/Button.jsx +45 -39
- package/src/stories/Configure.mdx +48 -43
- package/src/stories/Header.jsx +59 -45
- package/src/stories/Page.jsx +81 -60
- package/src/stories/Page.stories.js +2 -1
- package/src/stories/button.css +18 -18
- package/src/stories/colors.mdx +12 -0
- package/src/stories/colors.tsx +27 -0
- package/src/stories/header.css +18 -18
- package/src/stories/page.css +40 -40
- package/src/theme/defaultOrchestratorTheme.ts +16 -0
- package/src/types/forms.ts +40 -0
- package/src/types/index.ts +1 -0
- package/src/types/types.ts +457 -0
- package/src/utils/date.spec.ts +157 -5
- package/src/utils/date.ts +66 -5
- package/src/utils/environmentVariables.spec.ts +17 -0
- package/src/utils/environmentVariables.ts +12 -0
- package/src/utils/getDefaultTableConfig.ts +101 -0
- package/src/utils/getProductNamesFromProcess.spec.ts +133 -0
- package/src/utils/getProductNamesFromProcess.ts +16 -0
- package/src/utils/getTokenName.ts +2 -1
- package/src/utils/index.ts +2 -0
- package/src/utils/string.spec.ts +24 -1
- package/src/utils/strings.ts +5 -0
- package/tsconfig.build.json +14 -0
- package/tsconfig.json +4 -2
- package/src/components/WFOBadges/WFOBadge/index.ts +0 -1
- package/src/components/WFOBadges/WFOEngineStatusBadge/index.ts +0 -1
- package/src/components/WFOBadges/WFOEnvironmentBadge/index.ts +0 -1
- package/src/components/WFOBadges/WFOFailedTasksBadge/WFOFailedTasksBadge.stories.tsx +0 -12
- package/src/components/WFOBadges/WFOFailedTasksBadge/WFOFailedTasksBadge.tsx +0 -63
- package/src/components/WFOBadges/WFOFailedTasksBadge/index.ts +0 -1
- package/src/components/WFOBadges/WFOHeaderBadge/index.ts +0 -1
- package/src/components/WFOBadges/WFOProcessStatusBadge/index.ts +0 -1
- package/src/components/WFOBadges/WFOProductBlockBadge/WFOProductBlockBadge.stories.tsx +0 -15
- package/src/components/WFOBadges/WFOProductBlockBadge/WFOProductBlockBadge.tsx +0 -22
- package/src/components/WFOBadges/WFOProductBlockBadge/index.ts +0 -1
- package/src/components/WFOBadges/WFOStatusBadge/index.ts +0 -1
- package/src/components/WFOBadges/index.ts +0 -8
- package/src/components/WFOBreadcrumbs/index.ts +0 -1
- package/src/components/WFOFilterTabs/index.ts +0 -1
- package/src/components/WFOLoading/WFOLoading.tsx +0 -2
- package/src/components/WFOLoading/index.ts +0 -1
- package/src/components/WFOPageTemplate/WFOPageHeader/index.ts +0 -1
- package/src/components/WFOPageTemplate/WFOPageTemplate/index.ts +0 -1
- package/src/components/WFOPageTemplate/WFOSidebar/WFOSidebar.tsx +0 -159
- package/src/components/WFOPageTemplate/WFOSidebar/index.ts +0 -1
- package/src/components/WFOPageTemplate/index.ts +0 -3
- package/src/components/WFOSearchBar/index.ts +0 -1
- package/src/components/WFOSettingsModal/index.tsx +0 -1
- package/src/components/WFOSettingsPage/index.ts +0 -1
- package/src/components/WFOStartPage/WFONewProcessPanel.stories.tsx +0 -12
- package/src/components/WFOStartPage/WFOStatCards.stories.tsx +0 -12
- package/src/components/WFOStartPage/index.ts +0 -6
- package/src/components/WFOSubscription/WFOFixedInputBlock.tsx +0 -58
- package/src/components/WFOSubscription/WFOProcessesTimeline.tsx +0 -105
- package/src/components/WFOSubscription/WFOProductBlock.tsx +0 -186
- package/src/components/WFOSubscription/WFOSubscriptionActions.tsx +0 -138
- package/src/components/WFOSubscription/WFOSubscriptionBlock.tsx +0 -108
- package/src/components/WFOSubscription/WFOSubscriptionDetailTree.tsx +0 -184
- package/src/components/WFOSubscription/WFOSubscriptionGeneral.tsx +0 -53
- package/src/components/WFOSubscription/index.ts +0 -7
- package/src/components/WFOSubscription/styles.ts +0 -18
- package/src/components/WFOTable/WFOTable.tsx +0 -85
- package/src/components/WFOTable/WFOTableHeaderCell.tsx +0 -30
- package/src/components/WFOTable/WFOTableSettingsModal/index.ts +0 -1
- package/src/components/WFOTable/WFOTableWithFilter/WFOTableWithFilter.tsx +0 -174
- package/src/components/WFOTable/WFOTableWithFilter/index.ts +0 -1
- package/src/components/WFOTable/index.ts +0 -14
- package/src/components/WFOTree/WFOTree.tsx +0 -16
- package/src/contexts/SubscriptionContext.tsx +0 -72
- package/src/hooks/useSubscriptionProcesses.ts +0 -45
- package/src/icons/WFOCheckmarkCircleFill.stories.tsx +0 -12
- package/src/icons/WFOLogoutIcon.stories.tsx +0 -12
- package/src/icons/WFOMinusCircleOutline.stories.tsx +0 -12
- package/src/icons/WFOPlusCircleFill.stories.tsx +0 -12
- package/src/icons/WFOStatusDotIcon.stories.tsx +0 -12
- package/src/icons/WFOXCircleFill.stories.tsx +0 -12
- package/src/pages/metadata/WFOProductBlocksPage.tsx +0 -164
- package/src/pages/metadata/WFOResourceTypesPage.tsx +0 -120
- package/src/pages/metadata/WFOWorkflowsPage.tsx +0 -251
- package/src/pages/processes/WFOProcessListPage.tsx +0 -209
- package/src/pages/processes/WFOProcessesListSubscriptionsCell.tsx +0 -28
- package/src/pages/processes/tableConfig.ts +0 -22
- package/src/pages/subscriptions/types.ts +0 -13
- package/src/types.ts +0 -250
- package/src/components/{WFOTable → WfoTable}/utils/columns.spec.ts +1 -1
package/src/messages/en-US.json
CHANGED
|
@@ -1,25 +1,103 @@
|
|
|
1
1
|
{
|
|
2
2
|
"main": {
|
|
3
|
-
"title": "Welcome to example-orchestrator-ui!"
|
|
3
|
+
"title": "Welcome to example-orchestrator-ui!",
|
|
4
|
+
"mobileTitle": "Main menu"
|
|
4
5
|
},
|
|
5
6
|
"common": {
|
|
6
7
|
"addToFavorites": "Add to favorites",
|
|
7
8
|
"product": "Product",
|
|
8
9
|
"deselect": "Deselect",
|
|
9
|
-
"close": "Close"
|
|
10
|
+
"close": "Close",
|
|
11
|
+
"newSubscription": "New subscription",
|
|
12
|
+
"newTask": "New task",
|
|
13
|
+
"noFailedTasks": "No failed tasks!",
|
|
14
|
+
"search": "Search"
|
|
15
|
+
},
|
|
16
|
+
"confirmationDialog": {
|
|
17
|
+
"title": "Please confirm",
|
|
18
|
+
"confirm": "Confirm",
|
|
19
|
+
"cancel": "Cancel",
|
|
20
|
+
"leavePage": "Do you really want to leave this page?",
|
|
21
|
+
"leavePageSub": "Changes that you made will not be saved.",
|
|
22
|
+
"stay": "Stay",
|
|
23
|
+
"leave": "Leave"
|
|
24
|
+
},
|
|
25
|
+
"workflow": {
|
|
26
|
+
"start_workflow_title": "Start workflow"
|
|
27
|
+
},
|
|
28
|
+
"errors": {
|
|
29
|
+
"retrieve_stored_settings": "Something went wrong restoring your settings. Falling back to default settings",
|
|
30
|
+
"retrieve_stored_settings_title": "Error retrieving settings"
|
|
31
|
+
},
|
|
32
|
+
"pydanticForms": {
|
|
33
|
+
"userInputForm": {
|
|
34
|
+
"cancel": "Cancel",
|
|
35
|
+
"submit": "Submit",
|
|
36
|
+
"previous": "Previous",
|
|
37
|
+
"runProcess": "Run Process",
|
|
38
|
+
"cancelProcess": "Cancel Process"
|
|
39
|
+
},
|
|
40
|
+
"fields": {
|
|
41
|
+
"bfd": {
|
|
42
|
+
"description": "Bidirectional Forwarding Detection",
|
|
43
|
+
"title": "BFD"
|
|
44
|
+
},
|
|
45
|
+
"esi_service_ports_add": "Add Endpoint",
|
|
46
|
+
"esi_service_ports_del": "Delete Endpoint"
|
|
47
|
+
},
|
|
48
|
+
"widgets": {
|
|
49
|
+
"organisation": {
|
|
50
|
+
"placeholder": "Org placeholder"
|
|
51
|
+
},
|
|
52
|
+
"contactPersonName": {
|
|
53
|
+
"placeholder": "Name placeholder"
|
|
54
|
+
},
|
|
55
|
+
"node_select": {
|
|
56
|
+
"nodes_loading": "Nodes loading",
|
|
57
|
+
"select_node": "Select node",
|
|
58
|
+
"no_nodes_placeholder": "No nodes"
|
|
59
|
+
},
|
|
60
|
+
"locationCode": {
|
|
61
|
+
"placeholder": "Location placeholder"
|
|
62
|
+
},
|
|
63
|
+
"product": {
|
|
64
|
+
"placeholder": "Choose product"
|
|
65
|
+
},
|
|
66
|
+
"select": {
|
|
67
|
+
"placeholder": "Select Placeholder"
|
|
68
|
+
},
|
|
69
|
+
"vlan": {
|
|
70
|
+
"vlansInUseError": "VLAN range {vlans} are already in use for the selected service port",
|
|
71
|
+
"vlansInUse": "Already used VLAN ranges for this service port: {vlans}",
|
|
72
|
+
"missingInIms": "This service port can not be found in IMS. It may be deleted or in an initial state.",
|
|
73
|
+
"nsiVlansAvailable": "Available NSI VLAN ranges for this service port: {vlans}",
|
|
74
|
+
"nsiNoPortsAvailable": "This service port has no available NSI reserved VLANs (yet).",
|
|
75
|
+
"allPortsAvailable": "This service port has no VLANs in use (yet).",
|
|
76
|
+
"placeholder": "Enter a valid VLAN range...",
|
|
77
|
+
"placeholderNoServicePort": "First select a Service Port...",
|
|
78
|
+
"invalidVlan": "Invalid VLAN - must be a range of valid [2-4094] VLAN integers, for example '2, 5-6, 1048-1052'",
|
|
79
|
+
"untaggedPortInUse": "This service port is already in use and cannot be chosen",
|
|
80
|
+
"taggedOnly": "VLAN is only relevant for SN7 MSP or SN8 SP in tagged mode, not for link_member or untagged ports.",
|
|
81
|
+
"loadingIms": "Loading VLAN info from IMS"
|
|
82
|
+
},
|
|
83
|
+
"subscription": {
|
|
84
|
+
"placeholder": "Choose a subscription",
|
|
85
|
+
"loading": "Loading subscriptions..."
|
|
86
|
+
}
|
|
87
|
+
}
|
|
10
88
|
},
|
|
11
89
|
"metadata": {
|
|
12
90
|
"tabs": {
|
|
13
91
|
"products": "Products",
|
|
14
|
-
"productBlocks": "
|
|
92
|
+
"productBlocks": "Product blocks",
|
|
15
93
|
"resourceTypes": "Resource types",
|
|
16
94
|
"workflows": "Workflows"
|
|
17
95
|
},
|
|
18
96
|
"products": {
|
|
19
97
|
"id": "ID",
|
|
20
|
-
"name": "
|
|
21
|
-
"
|
|
22
|
-
"
|
|
98
|
+
"name": "Product",
|
|
99
|
+
"tag": "Product tag",
|
|
100
|
+
"description": "Product description",
|
|
23
101
|
"productType": "Type",
|
|
24
102
|
"status": "Status",
|
|
25
103
|
"productBlocks": "Product blocks",
|
|
@@ -28,25 +106,27 @@
|
|
|
28
106
|
},
|
|
29
107
|
"productBlocks": {
|
|
30
108
|
"id": "ID",
|
|
31
|
-
"name": "
|
|
32
|
-
"description": "
|
|
109
|
+
"name": "Product block",
|
|
110
|
+
"description": "Product block description",
|
|
33
111
|
"tag": "Tag",
|
|
34
|
-
"status": "
|
|
112
|
+
"status": "Status",
|
|
35
113
|
"resourceTypes": "Resource types",
|
|
114
|
+
"dependingProductBlocks": "Depending product blocks",
|
|
36
115
|
"createdAt": "Created",
|
|
37
116
|
"endDate": "End date",
|
|
38
117
|
"parentIds": "Parents"
|
|
39
118
|
},
|
|
40
119
|
"resourceTypes": {
|
|
41
|
-
"type": "
|
|
42
|
-
"description": "
|
|
43
|
-
"resourceId": "Resource
|
|
120
|
+
"type": "Resource type",
|
|
121
|
+
"description": "Resource type description",
|
|
122
|
+
"resourceId": "Resource Id",
|
|
123
|
+
"usedInProductBlocks": "Used in product blocks"
|
|
44
124
|
},
|
|
45
125
|
"workflows": {
|
|
46
|
-
"name": "
|
|
47
|
-
"description": "
|
|
126
|
+
"name": "Workflow",
|
|
127
|
+
"description": "Workflow description",
|
|
48
128
|
"target": "Target",
|
|
49
|
-
"productTags": "Product
|
|
129
|
+
"productTags": "Product tags",
|
|
50
130
|
"createdAt": "Created"
|
|
51
131
|
}
|
|
52
132
|
},
|
|
@@ -57,16 +137,44 @@
|
|
|
57
137
|
},
|
|
58
138
|
"index": {
|
|
59
139
|
"workflowName": "Workflow",
|
|
60
|
-
"
|
|
140
|
+
"step": "Last step",
|
|
61
141
|
"status": "Status",
|
|
62
142
|
"product": "Product",
|
|
63
143
|
"customer": "Customer",
|
|
144
|
+
"customerAbbreviation": "Customer abbreviation",
|
|
64
145
|
"subscriptions": "Subscriptions",
|
|
65
146
|
"createdBy": "Created By",
|
|
66
147
|
"assignee": "Assignee",
|
|
67
|
-
"
|
|
148
|
+
"processId": "PID",
|
|
68
149
|
"started": "Started",
|
|
69
|
-
"lastModified": "Last Modified"
|
|
150
|
+
"lastModified": "Last Modified",
|
|
151
|
+
"workflowTarget": "Target",
|
|
152
|
+
"productTag": "Tag"
|
|
153
|
+
},
|
|
154
|
+
"detail": {
|
|
155
|
+
"retry": "Retry",
|
|
156
|
+
"resume": "Resume",
|
|
157
|
+
"abort": "Abort",
|
|
158
|
+
"delete": "Delete",
|
|
159
|
+
"deleteQuestion": "Are you sure you want to delete the task {workflowName}?",
|
|
160
|
+
"status": "Status",
|
|
161
|
+
"startedBy": "Started by",
|
|
162
|
+
"lastStep": "Last step",
|
|
163
|
+
"startedOn": "Started on",
|
|
164
|
+
"lastUpdate": "Last update",
|
|
165
|
+
"relatedSubscriptions": "Related subscriptions",
|
|
166
|
+
"subscriptions": "{count, plural, =0 {0 subscriptions} =1 {1 subscription} other {# subscriptions}}",
|
|
167
|
+
"customer": "Customer"
|
|
168
|
+
},
|
|
169
|
+
"steps": {
|
|
170
|
+
"steps": "Workflow steps",
|
|
171
|
+
"showDelta": "Show subscription delta",
|
|
172
|
+
"viewOptions": "View options",
|
|
173
|
+
"expandAll": "expand all",
|
|
174
|
+
"collapseAll": "collapse all",
|
|
175
|
+
"duration": "Looptijd",
|
|
176
|
+
"userInput": "User Input",
|
|
177
|
+
"submitFormLabel": "Please complete and submit the form below to start the workflow"
|
|
70
178
|
}
|
|
71
179
|
},
|
|
72
180
|
"subscriptions": {
|
|
@@ -95,13 +203,31 @@
|
|
|
95
203
|
"relatedSubscriptions": "Related subscriptions"
|
|
96
204
|
},
|
|
97
205
|
"loadingStatus": "Loading status",
|
|
98
|
-
"
|
|
206
|
+
"actions": {
|
|
99
207
|
"create": "Create workflow",
|
|
100
208
|
"modify": "Modify workflow",
|
|
101
209
|
"system": "System workflow",
|
|
102
|
-
"terminate": "Terminate workflow"
|
|
210
|
+
"terminate": "Terminate workflow",
|
|
211
|
+
"actions": "Actions",
|
|
212
|
+
"subscription": {
|
|
213
|
+
"no_modify_deleted_related_objects": "This subscription can not be modified because it contains references to other systems that are deleted.",
|
|
214
|
+
"no_modify_in_use_by_subscription": "This subscription can not be {action} as it is used in other subscriptions: {unterminated_in_use_by_subscriptions}",
|
|
215
|
+
"no_modify_invalid_status": "This subscription can not be modified because of the status: {status}. Only subscriptions with status {usable_when} can be {action}.",
|
|
216
|
+
"no_modify_workflow": "This subscription can not be modified as the product has no modify workflows.",
|
|
217
|
+
"no_termination_workflow": "This subscription can not be terminated as the product has no termination workflows.",
|
|
218
|
+
"no_validate_workflow": "This subscription can not be validated as the product has no validate workflows.",
|
|
219
|
+
"not_in_sync": "This subscription can not be modified because it is not in sync. This means there is some error in the registration of the subscription or that it is being modified by another workflow.",
|
|
220
|
+
"relations_not_in_sync": "This subscription can not be modified because some related subscriptions are not insync. Locked subscriptions: {locked_relations}",
|
|
221
|
+
"no_modify_subscription_in_use_by_others": "This subscription can not be modified because it is in use by one or more other subscriptions: {unterminated_parents}"
|
|
222
|
+
}
|
|
103
223
|
},
|
|
224
|
+
"subscriptionInstanceId": "Instance ID",
|
|
225
|
+
"ownerSubscriptionId": "Owner subscription ID",
|
|
226
|
+
"inUseByRelations": "In use by relation",
|
|
227
|
+
"showDetails": "Show details",
|
|
228
|
+
"hideDetails": "Hide details",
|
|
104
229
|
"subscriptionDetails": "Subscription details",
|
|
230
|
+
"productName": "Product name",
|
|
105
231
|
"fixedInputs": "Fixed inputs",
|
|
106
232
|
"productInfo": "Product info",
|
|
107
233
|
"noProductBlockSelected": "No product block selected",
|
|
@@ -110,7 +236,35 @@
|
|
|
110
236
|
"startedBy": "Started by",
|
|
111
237
|
"startedAt": "Started at",
|
|
112
238
|
"status": "Status",
|
|
113
|
-
"id": "ID"
|
|
239
|
+
"id": "ID",
|
|
240
|
+
"blockTitleSubscriptionDetails": "Subscription details",
|
|
241
|
+
"blockTitleFixedInputs": "Fixed inputs",
|
|
242
|
+
"blockTitleProductInfo": "Product Info",
|
|
243
|
+
"subscriptionId": "Subscription ID",
|
|
244
|
+
"description": "Description",
|
|
245
|
+
"startDate": "Start date",
|
|
246
|
+
"insync": "In sync",
|
|
247
|
+
"customer": "Customer",
|
|
248
|
+
"customerUuid": "Customer UUID",
|
|
249
|
+
"name": "Name",
|
|
250
|
+
"productType": "Product type",
|
|
251
|
+
"tag": "Tag",
|
|
252
|
+
"created": "Created",
|
|
253
|
+
"endDate": "End date",
|
|
254
|
+
"note": "Note",
|
|
255
|
+
"noRelatedSubscriptions": "No related subscriptions found",
|
|
256
|
+
"hideTerminatedRelatedSubscriptions": "Hide terminated related subscriptions",
|
|
257
|
+
"processDetail": {
|
|
258
|
+
"id": "ID",
|
|
259
|
+
"status": "Status",
|
|
260
|
+
"startedAt": "Started at",
|
|
261
|
+
"startedBy": "Started by"
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
"tasks": {
|
|
266
|
+
"page": {
|
|
267
|
+
"rerunAll": "Rerun all"
|
|
114
268
|
}
|
|
115
269
|
}
|
|
116
270
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getTranslationMessages } from './getTranslationMessages';
|
|
2
1
|
import { Locale } from '../types';
|
|
3
2
|
import enUS from './en-US.json';
|
|
3
|
+
import { getTranslationMessages } from './getTranslationMessages';
|
|
4
4
|
import nlNL from './nl-NL.json';
|
|
5
5
|
|
|
6
6
|
describe('getTransalationMessages', () => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AbstractIntlMessages } from 'next-intl';
|
|
2
2
|
|
|
3
3
|
import { Locale } from '../types';
|
|
4
|
-
import nlNL from './nl-NL.json';
|
|
5
4
|
import enUS from './en-US.json';
|
|
5
|
+
import nlNL from './nl-NL.json';
|
|
6
6
|
|
|
7
7
|
export type TranslationMessagesMap = Map<Locale, AbstractIntlMessages>;
|
|
8
8
|
|
package/src/messages/nl-NL.json
CHANGED
|
@@ -1,50 +1,132 @@
|
|
|
1
1
|
{
|
|
2
2
|
"main": {
|
|
3
|
-
"title": "
|
|
3
|
+
"title": "Voorbeeld Orchestrator UI",
|
|
4
|
+
"mobileTitle": "Hoofd menu"
|
|
4
5
|
},
|
|
5
6
|
"common": {
|
|
6
7
|
"addToFavorites": "Favoriet",
|
|
7
8
|
"product": "Produkt",
|
|
8
9
|
"deselect": "Deselecteer",
|
|
9
|
-
"close": "Sluiten"
|
|
10
|
+
"close": "Sluiten",
|
|
11
|
+
"newSubscription": "Nieuwe subscription",
|
|
12
|
+
"newTask": "Nieuwe taak",
|
|
13
|
+
"noFailedTasks": "Geen gefaalde taken!",
|
|
14
|
+
"search": "Zoeken"
|
|
15
|
+
},
|
|
16
|
+
"confirmationDialog": {
|
|
17
|
+
"title": "Graag bevestigen",
|
|
18
|
+
"confirm": "Bevestigen",
|
|
19
|
+
"cancel": "Annuleren",
|
|
20
|
+
"leavePage": "Wil je deze pagina verlaten?",
|
|
21
|
+
"leavePageSub": "Veranderingen die je hebt gemaakt worden niet opgeslagen.",
|
|
22
|
+
"stay": "Blijven",
|
|
23
|
+
"leave": "Verlaten"
|
|
24
|
+
},
|
|
25
|
+
"workflow": {
|
|
26
|
+
"start_workflow_title": "Start workflow"
|
|
27
|
+
},
|
|
28
|
+
"errors": {
|
|
29
|
+
"retrieve_stored_settings": "Er ging iets fout tijdens het laden van de instellingen. Hersteld naar standaard waardes",
|
|
30
|
+
"retrieve_stored_settings_title": "Fout tijdens het ophalen van instellingen."
|
|
31
|
+
},
|
|
32
|
+
"pydanticForms": {
|
|
33
|
+
"userInputForm": {
|
|
34
|
+
"cancel": "Annuleren",
|
|
35
|
+
"submit": "Verstuur",
|
|
36
|
+
"previous": "Vorige",
|
|
37
|
+
"runProcess": "Start workflow",
|
|
38
|
+
"cancelProcess": "Annuleren"
|
|
39
|
+
},
|
|
40
|
+
"fields": {
|
|
41
|
+
"bfd": {
|
|
42
|
+
"description": "Bidirectional Forwarding Detection",
|
|
43
|
+
"title": "BFD"
|
|
44
|
+
},
|
|
45
|
+
"esi_service_ports_add": "Endpoint Toevoegen",
|
|
46
|
+
"esi_service_ports_del": "Endpoint Verwijderen"
|
|
47
|
+
},
|
|
48
|
+
"widgets": {
|
|
49
|
+
"organisation": {
|
|
50
|
+
"placeholder": "Org placeholder"
|
|
51
|
+
},
|
|
52
|
+
"contactPersonName": {
|
|
53
|
+
"placeholder": "Naam placeholder"
|
|
54
|
+
},
|
|
55
|
+
"node_select": {
|
|
56
|
+
"nodes_loading": "Nodes laden",
|
|
57
|
+
"select_node": "Selecteer node",
|
|
58
|
+
"no_nodes_placeholder": "Geen nodes"
|
|
59
|
+
},
|
|
60
|
+
"locationCode": {
|
|
61
|
+
"placeholder": "Location placeholder"
|
|
62
|
+
},
|
|
63
|
+
"product": {
|
|
64
|
+
"placeholder": "Kies product"
|
|
65
|
+
},
|
|
66
|
+
"select": {
|
|
67
|
+
"placeholder": "Placeholder"
|
|
68
|
+
},
|
|
69
|
+
"vlan": {
|
|
70
|
+
"vlansInUseError": "VLAN range {vlans} is al in gebruik door geslecteerde service port",
|
|
71
|
+
"vlansInUse": "VLAN ranges in gebruik bij deze service port: {vlans}",
|
|
72
|
+
"missingInIms": "Service port niet gevonden in IMS. De poort is mogelijk verwijder of in initial state.",
|
|
73
|
+
"nsiVlansAvailable": "Beschikbare NSI VLAN ranges voor deze service port: {vlans}",
|
|
74
|
+
"nsiNoPortsAvailable": "Deze service port heeft (nog) geen beschikbare NSI reserved VLANs.",
|
|
75
|
+
"allPortsAvailable": "Deze service port heeft (nog) geen VLANs in gebruik.",
|
|
76
|
+
"placeholder": "Voer een geldige VLAN range in...",
|
|
77
|
+
"placeholderNoServicePort": "Selecteer eerst een Service Port...",
|
|
78
|
+
"invalidVlan": "Invalid VLAN - Voer een range of geldige [2-4094] VLAN integers in, bijvoorbeeld: '2, 5-6, 1048-1052'",
|
|
79
|
+
"untaggedPortInUse": "Deze service port is al in gebruik en kan niet worden gekozen",
|
|
80
|
+
"taggedOnly": "VLAN is alleen relevant SN7, MSP of SN8 SP in tagged mode, niet voor link_member of untagged ports.",
|
|
81
|
+
"loadingIms": "VLAN informatie aan het laden uit IMS"
|
|
82
|
+
},
|
|
83
|
+
"subscription": {
|
|
84
|
+
"placeholder": "Kies een subscription",
|
|
85
|
+
"loading": "Subscriptions ophalen..."
|
|
86
|
+
}
|
|
87
|
+
}
|
|
10
88
|
},
|
|
11
89
|
"metadata": {
|
|
12
90
|
"tabs": {
|
|
13
91
|
"products": "Producten",
|
|
14
|
-
"productBlocks": "
|
|
92
|
+
"productBlocks": "Product blocks",
|
|
15
93
|
"resourceTypes": "Resource types",
|
|
16
94
|
"workflows": "Workflows"
|
|
17
95
|
},
|
|
18
96
|
"products": {
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
97
|
+
"id": "ID",
|
|
98
|
+
"name": "Product",
|
|
99
|
+
"description": "Product beschrijving",
|
|
100
|
+
"tag": "Product tag",
|
|
22
101
|
"productType": "Type",
|
|
23
102
|
"status": "Status",
|
|
24
103
|
"productBlocks": "Product blocks",
|
|
104
|
+
"fixedInputs": "Fixed inputs",
|
|
25
105
|
"createdAt": "Aangemaakt"
|
|
26
106
|
},
|
|
27
107
|
"productBlocks": {
|
|
28
108
|
"id": "ID",
|
|
29
|
-
"name": "
|
|
30
|
-
"description": "
|
|
109
|
+
"name": "Product block",
|
|
110
|
+
"description": "Product block beschrijving",
|
|
31
111
|
"tag": "Tag",
|
|
32
112
|
"status": "Status",
|
|
33
113
|
"resourceTypes": "Resource types",
|
|
114
|
+
"dependingProductBlocks": "Onderliggende product blocks",
|
|
34
115
|
"createdAt": "Aangemaakt",
|
|
35
116
|
"endDate": "Eind datum",
|
|
36
117
|
"parentIds": "Parents"
|
|
37
118
|
},
|
|
38
119
|
"resourceTypes": {
|
|
39
|
-
"type": "
|
|
40
|
-
"description": "
|
|
41
|
-
"resourceId": "Resource
|
|
120
|
+
"type": "Resource type",
|
|
121
|
+
"description": "Resource type beschrijving",
|
|
122
|
+
"resourceId": "Resource Id",
|
|
123
|
+
"usedInProductBlocks": "Gebruikt in product blocks"
|
|
42
124
|
},
|
|
43
125
|
"workflows": {
|
|
44
|
-
"name": "
|
|
45
|
-
"description": "
|
|
126
|
+
"name": "Workflow",
|
|
127
|
+
"description": "Workflow beschrijving",
|
|
46
128
|
"target": "Target",
|
|
47
|
-
"productTags": "Product
|
|
129
|
+
"productTags": "Product tags",
|
|
48
130
|
"createdAt": "Aangemaakt"
|
|
49
131
|
}
|
|
50
132
|
},
|
|
@@ -55,16 +137,44 @@
|
|
|
55
137
|
},
|
|
56
138
|
"index": {
|
|
57
139
|
"workflowName": "Workflow naam",
|
|
58
|
-
"
|
|
140
|
+
"step": "Laatste stap",
|
|
59
141
|
"status": "Status",
|
|
60
142
|
"product": "Product",
|
|
61
143
|
"customer": "Klant",
|
|
144
|
+
"customerAbbreviation": "Klant afkorting",
|
|
62
145
|
"subscriptions": "Subscriptions",
|
|
63
146
|
"createdBy": "Gecreëerd door",
|
|
64
147
|
"assignee": "Assignee",
|
|
65
|
-
"
|
|
148
|
+
"processId": "PID",
|
|
66
149
|
"started": "Gestart",
|
|
67
|
-
"lastModified": "Aangepast op"
|
|
150
|
+
"lastModified": "Aangepast op",
|
|
151
|
+
"workflowTarget": "Doel",
|
|
152
|
+
"productTag": "Tag"
|
|
153
|
+
},
|
|
154
|
+
"detail": {
|
|
155
|
+
"retry": "Probeer opnieuw",
|
|
156
|
+
"resume": "Ga verder",
|
|
157
|
+
"abort": "Stop",
|
|
158
|
+
"delete": "Verwijder",
|
|
159
|
+
"deleteQuestion": "Weet je zeker dat je de taak {workflowName} wilt verwijderen?",
|
|
160
|
+
"status": "Status",
|
|
161
|
+
"startedBy": "Gestart door",
|
|
162
|
+
"lastStep": "Laatste stap",
|
|
163
|
+
"startedOn": "Gestart op",
|
|
164
|
+
"lastUpdate": "Laatste update",
|
|
165
|
+
"relatedSubscriptions": "Gerelateerde subscriptions",
|
|
166
|
+
"subscriptions": "{count, plural, =0 {0 subscriptions} =1 {1 subscriptie} other {# subscriptions}}",
|
|
167
|
+
"customer": "Customer"
|
|
168
|
+
},
|
|
169
|
+
"steps": {
|
|
170
|
+
"steps": "Workflow stappen",
|
|
171
|
+
"showDelta": "Toon subscription verschil",
|
|
172
|
+
"viewOptions": "Scherm options",
|
|
173
|
+
"expandAll": "klap alles uit",
|
|
174
|
+
"collapseAll": "klap alles in",
|
|
175
|
+
"duration": "Looptijd",
|
|
176
|
+
"userInput": "Invoer gebruiker",
|
|
177
|
+
"submitFormLabel": "Vul de inputvelden en verstuur het formulier om de workflow te starten"
|
|
68
178
|
}
|
|
69
179
|
},
|
|
70
180
|
"subscriptions": {
|
|
@@ -90,16 +200,34 @@
|
|
|
90
200
|
"general": "Algemeen",
|
|
91
201
|
"serviceConfiguration": "Service configuratie",
|
|
92
202
|
"processes": "Processen",
|
|
93
|
-
"relatedSubscriptions": "Geralateerde
|
|
203
|
+
"relatedSubscriptions": "Geralateerde subscripties"
|
|
94
204
|
},
|
|
95
|
-
"loadingStatus": "
|
|
96
|
-
"
|
|
205
|
+
"loadingStatus": "Laden",
|
|
206
|
+
"actions": {
|
|
97
207
|
"create": "Create workflow",
|
|
98
208
|
"modify": "Modify workflow",
|
|
99
209
|
"system": "System workflow",
|
|
100
|
-
"terminate": "Terminate workflow"
|
|
210
|
+
"terminate": "Terminate workflow",
|
|
211
|
+
"actions": "Acties",
|
|
212
|
+
"subscription": {
|
|
213
|
+
"no_modify_deleted_related_objects": "This subscription can not be modified because it contains references to other systems that are deleted.",
|
|
214
|
+
"no_modify_in_use_by_subscription": "This subscription can not be {action} as it is used in other subscriptions: {unterminated_in_use_by_subscriptions}",
|
|
215
|
+
"no_modify_invalid_status": "This subscription can not be modified because of the status: {status}. Only subscriptions with status {usable_when} can be {action}.",
|
|
216
|
+
"no_modify_workflow": "This subscription can not be modified as the product has no modify workflows.",
|
|
217
|
+
"no_termination_workflow": "This subscription can not be terminated as the product has no termination workflows.",
|
|
218
|
+
"no_validate_workflow": "This subscription can not be validated as the product has no validate workflows.",
|
|
219
|
+
"not_in_sync": "This subscription can not be modified because it is not in sync. This means there is some error in the registration of the subscription or that it is being modified by another workflow.",
|
|
220
|
+
"relations_not_in_sync": "This subscription can not be modified because some related subscriptions are not insync. Locked subscriptions: {locked_relations}",
|
|
221
|
+
"no_modify_subscription_in_use_by_others": "This subscription can not be modified because it is in use by one or more other subscriptions: {unterminated_parents}"
|
|
222
|
+
}
|
|
101
223
|
},
|
|
102
|
-
"
|
|
224
|
+
"subscriptionInstanceId": "Instance ID",
|
|
225
|
+
"ownerSubscriptionId": "Owner subscription ID",
|
|
226
|
+
"inUseByRelations": "In use by relation",
|
|
227
|
+
"showDetails": "Toon details",
|
|
228
|
+
"hideDetails": "Verberg details",
|
|
229
|
+
"subscriptionDetails": "Subscription detail",
|
|
230
|
+
"productName": "Produkt",
|
|
103
231
|
"fixedInputs": "Fixed inputs",
|
|
104
232
|
"productInfo": "Product info",
|
|
105
233
|
"noProductBlockSelected": "No product block selected",
|
|
@@ -108,7 +236,35 @@
|
|
|
108
236
|
"startedBy": "Started by",
|
|
109
237
|
"startedAt": "Started at",
|
|
110
238
|
"status": "Status",
|
|
111
|
-
"id": "ID"
|
|
239
|
+
"id": "ID",
|
|
240
|
+
"blockTitleSubscriptionDetails": "Subscription details",
|
|
241
|
+
"blockTitleFixedInputs": "Fixed Inputs",
|
|
242
|
+
"blockTitleProductInfo": "Produkt Info",
|
|
243
|
+
"subscriptionId": "Subscription ID",
|
|
244
|
+
"description": "Beschrijving",
|
|
245
|
+
"startDate": "Start datum",
|
|
246
|
+
"insync": "In sync",
|
|
247
|
+
"customer": "Klant",
|
|
248
|
+
"customerUuid": "Klant UUID",
|
|
249
|
+
"name": "Naam",
|
|
250
|
+
"productType": "Produkt type",
|
|
251
|
+
"tag": "Tag",
|
|
252
|
+
"created": "Aangemaakt",
|
|
253
|
+
"endDate": "Eind datum",
|
|
254
|
+
"note": "Notitie",
|
|
255
|
+
"noRelatedSubscriptions": "Geen gerelateerde subscriptions gevonden",
|
|
256
|
+
"hideTerminatedRelatedSubscriptions": "Verberg terminated related subscriptions",
|
|
257
|
+
"processDetail": {
|
|
258
|
+
"id": "ID",
|
|
259
|
+
"status": "Status",
|
|
260
|
+
"startedAt": "Started at",
|
|
261
|
+
"startedBy": "Started by"
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
"tasks": {
|
|
266
|
+
"page": {
|
|
267
|
+
"rerunAll": "Alles opnieuw uitvoeren"
|
|
112
268
|
}
|
|
113
269
|
}
|
|
114
270
|
}
|
package/src/pages/index.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { ReactNode } from 'react';
|
|
3
|
-
|
|
4
|
-
import { useRouter } from 'next/router';
|
|
3
|
+
|
|
5
4
|
import { useTranslations } from 'next-intl';
|
|
5
|
+
import { useRouter } from 'next/router';
|
|
6
|
+
|
|
7
|
+
import { EuiPageHeader, EuiSpacer, EuiTab, EuiTabs } from '@elastic/eui';
|
|
6
8
|
|
|
7
9
|
interface MetadataLayoutProps {
|
|
8
10
|
children: ReactNode;
|
|
@@ -38,7 +40,7 @@ const metaDataTabs: MetaDataTab[] = [
|
|
|
38
40
|
},
|
|
39
41
|
];
|
|
40
42
|
|
|
41
|
-
export const
|
|
43
|
+
export const WfoMetadataPageLayout = ({
|
|
42
44
|
children,
|
|
43
45
|
tabs = metaDataTabs,
|
|
44
46
|
}: MetadataLayoutProps) => {
|