@orchestrator-ui/orchestrator-ui-components 0.2.4 → 0.2.6

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.
Files changed (444) hide show
  1. package/.storybook/main.js +1 -1
  2. package/.turbo/turbo-build.log +9 -7
  3. package/.turbo/turbo-lint.log +3 -6
  4. package/.turbo/turbo-test.log +17 -9
  5. package/CHANGELOG.md +12 -0
  6. package/dist/index.d.ts +1092 -358
  7. package/dist/index.js +22934 -6399
  8. package/jest.config.cjs +0 -1
  9. package/package.json +24 -8
  10. package/src/api/axios.ts +34 -0
  11. package/src/api/index.ts +170 -0
  12. package/src/components/WfoAuth/WfoAuth.tsx +22 -0
  13. package/src/components/WfoAuth/index.ts +1 -0
  14. package/src/components/{WFOBadges/WFOBadge/WFOBadge.stories.tsx → WfoBadges/WfoBadge/WfoBadge.stories.tsx} +5 -4
  15. package/src/components/{WFOBadges/WFOBadge/WFOBadge.tsx → WfoBadges/WfoBadge/WfoBadge.tsx} +4 -3
  16. package/src/components/WfoBadges/WfoBadge/index.ts +1 -0
  17. package/src/components/{WFOBadges/WFOEngineStatusBadge/WFOEngineStatusBadge.stories.tsx → WfoBadges/WfoEngineStatusBadge/WfoEngineStatusBadge.stories.tsx} +6 -4
  18. package/src/components/{WFOBadges/WFOEngineStatusBadge/WFOEngineStatusBadge.tsx → WfoBadges/WfoEngineStatusBadge/WfoEngineStatusBadge.tsx} +13 -7
  19. package/src/components/WfoBadges/WfoEngineStatusBadge/index.ts +1 -0
  20. package/src/components/{WFOBadges/WFOEnvironmentBadge/WFOEnvironmentBadge.stories.tsx → WfoBadges/WfoEnvironmentBadge/WfoEnvironmentBadge.stories.tsx} +6 -4
  21. package/src/components/{WFOBadges/WFOEnvironmentBadge/WFOEnvironmentBadge.tsx → WfoBadges/WfoEnvironmentBadge/WfoEnvironmentBadge.tsx} +8 -7
  22. package/src/components/WfoBadges/WfoEnvironmentBadge/index.ts +1 -0
  23. package/src/components/WfoBadges/WfoFailedTasksBadge/WfoFailedTasksBadge.stories.tsx +13 -0
  24. package/src/components/WfoBadges/WfoFailedTasksBadge/WfoFailedTasksBadge.tsx +95 -0
  25. package/src/components/WfoBadges/WfoFailedTasksBadge/index.ts +1 -0
  26. package/src/components/{WFOBadges/WFOHeaderBadge/WFOHeaderBadge.stories.tsx → WfoBadges/WfoHeaderBadge/WfoHeaderBadge.stories.tsx} +6 -4
  27. package/src/components/{WFOBadges/WFOHeaderBadge/WFOHeaderBadge.tsx → WfoBadges/WfoHeaderBadge/WfoHeaderBadge.tsx} +6 -4
  28. package/src/components/WfoBadges/WfoHeaderBadge/index.ts +1 -0
  29. package/src/components/{WFOBadges/WFOProcessStatusBadge/WFOProcessStatusBadge.tsx → WfoBadges/WfoProcessStatusBadge/WfoProcessStatusBadge.tsx} +8 -6
  30. package/src/components/WfoBadges/WfoProcessStatusBadge/index.ts +1 -0
  31. package/src/components/WfoBadges/WfoProductBlockBadge/WfoProductBlockBadge.stories.tsx +16 -0
  32. package/src/components/WfoBadges/WfoProductBlockBadge/WfoProductBlockBadge.tsx +70 -0
  33. package/src/components/WfoBadges/WfoProductBlockBadge/index.ts +1 -0
  34. package/src/components/WfoBadges/WfoProductStatusBadge/WfoProductStatusBadge.stories.tsx +22 -0
  35. package/src/components/WfoBadges/WfoProductStatusBadge/WfoProductStatusBadge.tsx +53 -0
  36. package/src/components/WfoBadges/WfoProductStatusBadge/index.ts +1 -0
  37. package/src/components/{WFOBadges/WFOSubscriptionStatusBadge/WFOSubscriptionStatusBadge.stories.tsx → WfoBadges/WfoSubscriptionStatusBadge/WfoSubscriptionStatusBadge.stories.tsx} +5 -4
  38. package/src/components/{WFOBadges/WFOSubscriptionStatusBadge/WFOSubscriptionStatusBadge.tsx → WfoBadges/WfoSubscriptionStatusBadge/WfoSubscriptionStatusBadge.tsx} +12 -10
  39. package/src/components/WfoBadges/WfoSubscriptionStatusBadge/index.ts +1 -0
  40. package/src/components/WfoBadges/WfoWorkflowTargetBadge/WfoWorkflowTargetBadge.tsx +65 -0
  41. package/src/components/WfoBadges/WfoWorkflowTargetBadge/index.ts +1 -0
  42. package/src/components/WfoBadges/index.ts +9 -0
  43. package/src/components/WfoButtonComboBox/WfoButtonComboBox.tsx +76 -0
  44. package/src/components/WfoButtonComboBox/styles.ts +13 -0
  45. package/src/components/WfoDateTime/WfoDateTime.tsx +28 -0
  46. package/src/components/WfoDateTime/index.ts +1 -0
  47. package/src/components/WfoDropdownButton/WfoDropdownButton.tsx +67 -0
  48. package/src/components/WfoDropdownButton/index.ts +1 -0
  49. package/src/components/{WFOFilterTabs/WFOFilterTabs.tsx → WfoFilterTabs/WfoFilterTabs.tsx} +8 -6
  50. package/src/components/WfoFilterTabs/index.ts +1 -0
  51. package/src/components/WfoForms/AutoFieldLoader.tsx +110 -0
  52. package/src/components/WfoForms/AutoFields.tsx +49 -0
  53. package/src/components/WfoForms/CreateForm.tsx +71 -0
  54. package/src/components/WfoForms/UserInputForm.tsx +607 -0
  55. package/src/components/WfoForms/UserInputFormStyling.ts +80 -0
  56. package/src/components/WfoForms/UserInputFormWizard.tsx +120 -0
  57. package/src/components/WfoForms/formFields/AcceptField.tsx +239 -0
  58. package/src/components/WfoForms/formFields/AcceptFieldStyling.ts +29 -0
  59. package/src/components/WfoForms/formFields/BoolField.tsx +71 -0
  60. package/src/components/WfoForms/formFields/BoolFieldStyling.ts +68 -0
  61. package/src/components/WfoForms/formFields/ContactPersonAutocomplete.tsx +97 -0
  62. package/src/components/WfoForms/formFields/ContactPersonAutocompleteStyles.ts +40 -0
  63. package/src/components/WfoForms/formFields/ContactPersonNameField.tsx +253 -0
  64. package/src/components/WfoForms/formFields/DateField.tsx +72 -0
  65. package/src/components/WfoForms/formFields/DividerField.tsx +29 -0
  66. package/src/components/WfoForms/formFields/ErrorField.tsx +40 -0
  67. package/src/components/WfoForms/formFields/ErrorsField.tsx +34 -0
  68. package/src/components/WfoForms/formFields/ImsNodeIdField.tsx +110 -0
  69. package/src/components/WfoForms/formFields/IpNetworkField.tsx +128 -0
  70. package/src/components/WfoForms/formFields/IpPrefixTableField.tsx +454 -0
  71. package/src/components/WfoForms/formFields/IpPrefixTableFieldStyling.ts +117 -0
  72. package/src/components/WfoForms/formFields/LabelField.tsx +39 -0
  73. package/src/components/WfoForms/formFields/ListAddField.tsx +98 -0
  74. package/src/components/WfoForms/formFields/ListDelField.tsx +95 -0
  75. package/src/components/WfoForms/formFields/ListField.tsx +113 -0
  76. package/src/components/WfoForms/formFields/ListItemField.tsx +40 -0
  77. package/src/components/WfoForms/formFields/ListSelectField.tsx +92 -0
  78. package/src/components/WfoForms/formFields/LocationCodeField.tsx +66 -0
  79. package/src/components/WfoForms/formFields/LongTextField.tsx +68 -0
  80. package/src/components/WfoForms/formFields/NestField.tsx +107 -0
  81. package/src/components/WfoForms/formFields/NumField.tsx +75 -0
  82. package/src/components/WfoForms/formFields/OptGroupField.tsx +74 -0
  83. package/src/components/WfoForms/formFields/OrganisationField.tsx +57 -0
  84. package/src/components/WfoForms/formFields/ProductField.tsx +78 -0
  85. package/src/components/WfoForms/formFields/RadioField.tsx +87 -0
  86. package/src/components/WfoForms/formFields/SelectField.tsx +152 -0
  87. package/src/components/WfoForms/formFields/SplitPrefix.tsx +163 -0
  88. package/src/components/WfoForms/formFields/SplitPrefixStyling.ts +11 -0
  89. package/src/components/WfoForms/formFields/SubmitField.tsx +50 -0
  90. package/src/components/WfoForms/formFields/SubscriptionField.tsx +351 -0
  91. package/src/components/WfoForms/formFields/SubscriptionFieldStyling.ts +33 -0
  92. package/src/components/WfoForms/formFields/SubscriptionSummaryField.tsx +75 -0
  93. package/src/components/WfoForms/formFields/TextField.tsx +71 -0
  94. package/src/components/WfoForms/formFields/TimestampField.tsx +103 -0
  95. package/src/components/WfoForms/formFields/VlanField.tsx +297 -0
  96. package/src/components/WfoForms/formFields/index.ts +29 -0
  97. package/src/components/WfoForms/formFields/listFieldStyling.ts +86 -0
  98. package/src/components/WfoForms/formFields/reactSelectStyles.ts +45 -0
  99. package/src/components/WfoForms/formFields/surf/types.ts +53 -0
  100. package/src/components/WfoForms/formFields/surf/utils.ts +1 -0
  101. package/src/components/WfoForms/formFields/types.ts +50 -0
  102. package/src/components/WfoForms/formFields/utils.spec.ts +196 -0
  103. package/src/components/WfoForms/formFields/utils.ts +65 -0
  104. package/src/components/WfoForms/index.ts +5 -0
  105. package/src/components/WfoForms/useAxiosApiClient.ts +8 -0
  106. package/src/components/WfoInsyncIcon/WfoInsyncIcon.stories.tsx +21 -0
  107. package/src/components/WfoInsyncIcon/WfoInsyncIcon.tsx +26 -0
  108. package/src/components/WfoInsyncIcon/index.ts +1 -0
  109. package/src/components/WfoJsonCodeBlock/WfoJsonCodeBlock.tsx +27 -0
  110. package/src/components/WfoJsonCodeBlock/styles.ts +13 -0
  111. package/src/components/WfoKeyValueTable/WfoKeyCell.tsx +25 -0
  112. package/src/components/WfoKeyValueTable/WfoKeyValueTable.tsx +41 -0
  113. package/src/components/WfoKeyValueTable/WfoValueCell.tsx +53 -0
  114. package/src/components/WfoKeyValueTable/index.ts +3 -0
  115. package/src/components/WfoKeyValueTable/styles.ts +77 -0
  116. package/src/components/WfoLoading/WfoLoading.tsx +3 -0
  117. package/src/components/WfoLoading/index.ts +1 -0
  118. package/src/components/WfoNoResults/WfoNoResults.stories.tsx +19 -0
  119. package/src/components/WfoNoResults/WfoNoResults.tsx +22 -0
  120. package/src/components/WfoNoResults/index.ts +1 -0
  121. package/src/components/WfoNoResults/styles.ts +22 -0
  122. package/src/components/WfoPageHeader/WfoPageHeader.tsx +25 -0
  123. package/src/components/{WFOPageTemplate/WFOBreadcrumbs/WFOBreadcrumbs.tsx → WfoPageTemplate/WfoBreadcrumbs/WfoBreadcrumbs.tsx} +5 -2
  124. package/src/components/WfoPageTemplate/WfoBreadcrumbs/index.ts +1 -0
  125. package/src/components/{WFOPageTemplate/WFOPageHeader/WFOPageHeader.stories.tsx → WfoPageTemplate/WfoPageHeader/WfoPageHeader.stories.tsx} +7 -5
  126. package/src/components/{WFOPageTemplate/WFOPageHeader/WFOPageHeader.tsx → WfoPageTemplate/WfoPageHeader/WfoPageHeader.tsx} +26 -11
  127. package/src/components/WfoPageTemplate/WfoPageHeader/index.ts +1 -0
  128. package/src/components/{WFOPageTemplate/WFOPageTemplate/WFOPageTemplate.stories.tsx → WfoPageTemplate/WfoPageTemplate/WfoPageTemplate.stories.tsx} +8 -6
  129. package/src/components/{WFOPageTemplate/WFOPageTemplate/WFOPageTemplate.tsx → WfoPageTemplate/WfoPageTemplate/WfoPageTemplate.tsx} +20 -10
  130. package/src/components/WfoPageTemplate/WfoPageTemplate/index.ts +1 -0
  131. package/src/components/{WFOPageTemplate/WFOSidebar/WFOSidebar.stories.tsx → WfoPageTemplate/WfoSidebar/WfoSidebar.stories.tsx} +6 -4
  132. package/src/components/WfoPageTemplate/WfoSidebar/WfoSidebar.tsx +161 -0
  133. package/src/components/WfoPageTemplate/WfoSidebar/WfoStartCreateWorkflowButtonComboBox.tsx +58 -0
  134. package/src/components/WfoPageTemplate/WfoSidebar/index.ts +1 -0
  135. package/src/components/WfoPageTemplate/index.ts +4 -0
  136. package/src/components/{WFOPageTemplate → WfoPageTemplate}/paths.ts +1 -1
  137. package/src/components/WfoProcessesList/WfoProcessList.tsx +227 -0
  138. package/src/components/WfoProcessesList/processListObjectMappers.ts +79 -0
  139. package/src/components/{WFOSearchBar/WFOSearchField.tsx → WfoSearchBar/WfoSearchField.tsx} +4 -3
  140. package/src/components/WfoSearchBar/index.ts +1 -0
  141. package/src/components/WfoSettingsModal/WfoInformationModal.tsx +41 -0
  142. package/src/components/{WFOSettingsModal/WFOSettingsModal.tsx → WfoSettingsModal/WfoSettingsModal.tsx} +3 -2
  143. package/src/components/WfoSettingsModal/index.tsx +2 -0
  144. package/src/components/{WFOSettingsPage/WFOEngineStatusButton.tsx → WfoSettingsPage/WfoEngineStatusButton.tsx} +5 -3
  145. package/src/components/{WFOSettingsPage/WFOFlushSettings.tsx → WfoSettingsPage/WfoFlushSettings.tsx} +19 -30
  146. package/src/components/{WFOSettingsPage/WFOModifySettings.tsx → WfoSettingsPage/WfoModifySettings.tsx} +7 -5
  147. package/src/components/{WFOSettingsPage/WFOSettings.tsx → WfoSettingsPage/WfoSettings.tsx} +12 -8
  148. package/src/components/{WFOSettingsPage/WFOStatus.tsx → WfoSettingsPage/WfoStatus.tsx} +8 -6
  149. package/src/components/WfoSettingsPage/index.ts +1 -0
  150. package/src/components/{WFOStartPage/WFOFrequentlyUsed.stories.tsx → WfoStartPage/WfoFrequentlyUsed.stories.tsx} +5 -4
  151. package/src/components/{WFOStartPage/WFOFrequentlyUsed.tsx → WfoStartPage/WfoFrequentlyUsed.tsx} +4 -3
  152. package/src/components/{WFOStartPage/WFOListItemStartPage.stories.tsx → WfoStartPage/WfoListItemStartPage.stories.tsx} +6 -4
  153. package/src/components/{WFOStartPage/WFOListItemStartPage.tsx → WfoStartPage/WfoListItemStartPage.tsx} +9 -6
  154. package/src/components/{WFOStartPage/WFOListStartPage.stories.tsx → WfoStartPage/WfoListStartPage.stories.tsx} +6 -4
  155. package/src/components/{WFOStartPage/WFOListStartPage.tsx → WfoStartPage/WfoListStartPage.tsx} +9 -6
  156. package/src/components/{WFOStartPage/WFOMultiListSection.stories.tsx → WfoStartPage/WfoMultiListSection.stories.tsx} +5 -4
  157. package/src/components/{WFOStartPage/WFOMultiListSection.tsx → WfoStartPage/WfoMultiListSection.tsx} +9 -6
  158. package/src/components/WfoStartPage/WfoNewProcessPanel.stories.tsx +13 -0
  159. package/src/components/{WFOStartPage/WFONewProcessPanel.tsx → WfoStartPage/WfoNewProcessPanel.tsx} +5 -3
  160. package/src/components/WfoStartPage/WfoStatCards.stories.tsx +13 -0
  161. package/src/components/{WFOStartPage/WFOStatCards.tsx → WfoStartPage/WfoStatCards.tsx} +6 -4
  162. package/src/components/WfoStartPage/index.ts +6 -0
  163. package/src/components/WfoStartTaskButtonComboBox/WfoStartTaskButtonComboBox.tsx +51 -0
  164. package/src/components/WfoStartTaskButtonComboBox/index.ts +1 -0
  165. package/src/components/WfoSubscription/SubscriptionKeyValueBlock.tsx +46 -0
  166. package/src/components/WfoSubscription/WfoProcessesTimeline.tsx +158 -0
  167. package/src/components/WfoSubscription/WfoRelatedSubscriptions.tsx +192 -0
  168. package/src/components/WfoSubscription/WfoSubscription.tsx +145 -0
  169. package/src/components/WfoSubscription/WfoSubscriptionActions.tsx +236 -0
  170. package/src/components/WfoSubscription/WfoSubscriptionDetailTree.tsx +161 -0
  171. package/src/components/WfoSubscription/WfoSubscriptionGeneral.tsx +147 -0
  172. package/src/components/WfoSubscription/WfoSubscriptionProductBlock.tsx +207 -0
  173. package/src/components/WfoSubscription/index.ts +8 -0
  174. package/src/components/WfoSubscription/styles.ts +104 -0
  175. package/src/components/WfoSubscription/utils/index.ts +1 -0
  176. package/src/components/WfoSubscription/utils/utils.spec.ts +168 -0
  177. package/src/components/WfoSubscription/utils/utils.ts +76 -0
  178. package/src/components/{WFOSubscriptionsList/WFOSubscriptionsList.tsx → WfoSubscriptionsList/WfoSubscriptionsList.tsx} +63 -57
  179. package/src/components/{WFOSubscriptionsList → WfoSubscriptionsList}/index.ts +1 -2
  180. package/src/components/{WFOSubscriptionsList → WfoSubscriptionsList}/mapGrapghQlSubscriptionsResultToSubscriptionListItems.ts +16 -7
  181. package/src/components/{WFOSubscriptionsList → WfoSubscriptionsList}/subscriptionListTabs.ts +18 -18
  182. package/src/components/WfoTable/WfoBasicTable/WfoBasicTable.tsx +178 -0
  183. package/src/components/{WFOTable/WFOSortDirectionIcon.tsx → WfoTable/WfoBasicTable/WfoSortDirectionIcon.tsx} +8 -8
  184. package/src/components/WfoTable/WfoBasicTable/WfoStatusColorField.tsx +21 -0
  185. package/src/components/WfoTable/WfoBasicTable/WfoTableHeaderCell.tsx +120 -0
  186. package/src/components/WfoTable/WfoBasicTable/index.ts +4 -0
  187. package/src/components/WfoTable/WfoBasicTable/styles.ts +73 -0
  188. package/src/components/{WFOTable/WFODataGridTable/WFODataGridTable.stories.tsx → WfoTable/WfoDataGridTable/WfoDataGridTable.stories.tsx} +9 -7
  189. package/src/components/{WFOTable/WFODataGridTable/WFODataGridTable.tsx → WfoTable/WfoDataGridTable/WfoDataGridTable.tsx} +23 -21
  190. package/src/components/{WFOTable/WFODataGridTable/WFOdataGridColumns.spec.ts → WfoTable/WfoDataGridTable/WfodataGridColumns.spec.ts} +7 -7
  191. package/src/components/{WFOTable/WFODataGridTable/WFOdataGridColumns.ts → WfoTable/WfoDataGridTable/WfodataGridColumns.ts} +8 -7
  192. package/src/components/WfoTable/WfoFirstPartUUID/WfoFirstPartUUID.tsx +11 -0
  193. package/src/components/WfoTable/WfoFirstPartUUID/index.ts +1 -0
  194. package/src/components/WfoTable/WfoSortButtons/WfoSortButton.tsx +31 -0
  195. package/src/components/WfoTable/WfoSortButtons/WfoSortButtons.tsx +33 -0
  196. package/src/components/WfoTable/WfoSortButtons/index.ts +2 -0
  197. package/src/components/WfoTable/WfoSortButtons/styles.ts +20 -0
  198. package/src/components/{WFOTable/WFOTableSettingsModal/WFOTableSettingsModal.tsx → WfoTable/WfoTableSettingsModal/WfoTableSettingsModal.tsx} +5 -3
  199. package/src/components/WfoTable/WfoTableSettingsModal/index.ts +1 -0
  200. package/src/components/WfoTable/WfoTableWithFilter/WfoTableWithFilter.tsx +253 -0
  201. package/src/components/WfoTable/WfoTableWithFilter/index.ts +1 -0
  202. package/src/components/WfoTable/index.ts +15 -0
  203. package/src/components/{WFOTable → WfoTable}/utils/columns.ts +27 -16
  204. package/src/components/{WFOTable → WfoTable}/utils/constants.ts +3 -1
  205. package/src/components/WfoTable/utils/mapSortableAndFilterableValuesToTableColumnConfig.spec.ts +52 -0
  206. package/src/components/WfoTable/utils/mapSortableAndFilterableValuesToTableColumnConfig.ts +21 -0
  207. package/src/components/{WFOTable → WfoTable}/utils/tableConfigPersistence.spec.ts +4 -4
  208. package/src/components/{WFOTable → WfoTable}/utils/tableConfigPersistence.ts +12 -16
  209. package/src/components/{WFOTable → WfoTable}/utils/tableUtils.spec.ts +1 -1
  210. package/src/components/{WFOTable → WfoTable}/utils/tableUtils.ts +6 -25
  211. package/src/components/WfoTimeline/WfoTimeline.tsx +69 -0
  212. package/src/components/WfoTimeline/WfoTimelineStep.tsx +57 -0
  213. package/src/components/WfoTimeline/index.ts +1 -0
  214. package/src/components/WfoTimeline/mapProcessStepStatusToEuiStepStatus.ts +23 -0
  215. package/src/components/WfoTimeline/styles.ts +165 -0
  216. package/src/components/WfoTimeline/timelineUtils.ts +14 -0
  217. package/src/components/WfoToastsList/WfoToastsList.tsx +22 -0
  218. package/src/components/WfoToastsList/index.ts +1 -0
  219. package/src/components/WfoTree/WfoTree.tsx +27 -0
  220. package/src/components/{WFOTree/WFOTreeBranch.tsx → WfoTree/WfoTreeBranch.tsx} +7 -6
  221. package/src/components/{WFOTree/WFOTreeNode.tsx → WfoTree/WfoTreeNode.tsx} +28 -13
  222. package/src/components/WfoTree/index.ts +4 -0
  223. package/src/components/WfoTree/styles.ts +18 -0
  224. package/src/components/WfoTree/treeUtils.spec.ts +100 -0
  225. package/src/components/WfoTree/treeUtils.ts +21 -0
  226. package/src/components/WfoWorkflowSteps/WfoStep/WfoStep.stories.tsx +13 -0
  227. package/src/components/WfoWorkflowSteps/WfoStep/WfoStep.tsx +167 -0
  228. package/src/components/WfoWorkflowSteps/WfoStep/index.ts +1 -0
  229. package/src/components/WfoWorkflowSteps/WfoStepList/WfoStepList.tsx +107 -0
  230. package/src/components/WfoWorkflowSteps/WfoStepList/index.ts +1 -0
  231. package/src/components/WfoWorkflowSteps/WfoStepStatusIcon/WfoStepStatusIcon.stories.tsx +16 -0
  232. package/src/components/WfoWorkflowSteps/WfoStepStatusIcon/WfoStepStatusIcon.tsx +114 -0
  233. package/src/components/WfoWorkflowSteps/WfoStepStatusIcon/index.ts +1 -0
  234. package/src/components/WfoWorkflowSteps/WfoWorkflowStepList/WfoStepListHeader.tsx +139 -0
  235. package/src/components/WfoWorkflowSteps/WfoWorkflowStepList/WfoWorkflowStepList.stories.tsx +56 -0
  236. package/src/components/WfoWorkflowSteps/WfoWorkflowStepList/WfoWorkflowStepList.tsx +121 -0
  237. package/src/components/WfoWorkflowSteps/WfoWorkflowStepList/index.ts +2 -0
  238. package/src/components/WfoWorkflowSteps/index.ts +4 -0
  239. package/src/components/WfoWorkflowSteps/stepListUtils.spec.ts +26 -0
  240. package/src/components/WfoWorkflowSteps/stepListUtils.ts +56 -0
  241. package/src/components/WfoWorkflowSteps/styles.ts +121 -0
  242. package/src/components/confirmationDialog/ConfirmationDialogStyling.ts +12 -0
  243. package/src/components/confirmationDialog/WfoConfirmationDialog.tsx +112 -0
  244. package/src/components/confirmationDialog/index.ts +1 -0
  245. package/src/components/index.ts +19 -11
  246. package/src/contexts/ApiClientContext.tsx +30 -0
  247. package/src/contexts/ConfirmationDialogProvider.tsx +99 -0
  248. package/src/contexts/OrchestratorConfigContext.tsx +8 -3
  249. package/src/contexts/ToastContext.tsx +136 -0
  250. package/src/contexts/TreeContext.tsx +53 -32
  251. package/src/contexts/index.ts +3 -1
  252. package/src/graphqlQueries/customersQuery.ts +19 -0
  253. package/src/graphqlQueries/index.ts +4 -0
  254. package/src/graphqlQueries/processDetailQuery.ts +45 -0
  255. package/src/graphqlQueries/processListQuery.ts +17 -7
  256. package/src/graphqlQueries/productBlocksQuery.ts +13 -1
  257. package/src/graphqlQueries/productsQuery.ts +5 -1
  258. package/src/graphqlQueries/relatedSubscriptionsQuery.ts +65 -0
  259. package/src/graphqlQueries/resourceTypesQuery.ts +13 -2
  260. package/src/graphqlQueries/subscriptionDetailQuery.ts +62 -0
  261. package/src/graphqlQueries/subscriptionsDropdownOptionsQuery.ts +47 -0
  262. package/src/graphqlQueries/subscriptionsListQuery.ts +4 -0
  263. package/src/graphqlQueries/{workflowsQuery.ts → workflows/workflowsQuery.ts} +9 -3
  264. package/src/graphqlQueries/workflows/workflowsQueryForDropdownList.ts +41 -0
  265. package/src/hooks/DataFetchHooks.ts +72 -49
  266. package/src/hooks/ProcessesHooks/useDeleteProcess.ts +37 -0
  267. package/src/hooks/index.ts +4 -1
  268. package/src/hooks/surf/useGetSubscriptionDropdownOptions.ts +47 -0
  269. package/src/hooks/surf/useIsTaggedPort.ts +29 -0
  270. package/src/hooks/useDataDisplayParams.ts +1 -1
  271. package/src/hooks/useEngineStatusQuery.ts +20 -10
  272. package/src/hooks/useOrchestratorConfig.ts +6 -2
  273. package/src/hooks/useProcessStatusCountsQuery.ts +8 -23
  274. package/src/hooks/useQueryWithFetch.ts +33 -0
  275. package/src/hooks/useQueryWithGraphql.ts +18 -13
  276. package/src/hooks/useSessionWithToken.ts +14 -0
  277. package/src/hooks/useStoredTableConfig.ts +43 -0
  278. package/src/hooks/useSubscriptionActions.ts +3 -3
  279. package/src/hooks/useToastMessage.ts +5 -0
  280. package/src/hooks/useWithOrchestratorTheme.ts +10 -0
  281. package/src/icons/WfoArrowNarrowDown.stories.tsx +13 -0
  282. package/src/icons/{WFOArrowNarrowDown.tsx → WfoArrowNarrowDown.tsx} +4 -2
  283. package/src/icons/WfoArrowNarrowUp.stories.tsx +13 -0
  284. package/src/icons/{WFOArrowNarrowUp.tsx → WfoArrowNarrowUp.tsx} +4 -2
  285. package/src/icons/WfoArrowsExpand.stories.tsx +13 -0
  286. package/src/icons/WfoArrowsExpand.tsx +33 -0
  287. package/src/icons/WfoCheckmarkCircleFill.stories.tsx +13 -0
  288. package/src/icons/{WFOCheckmarkCircleFill.tsx → WfoCheckmarkCircleFill.tsx} +3 -2
  289. package/src/icons/WfoChevronDown.stories.tsx +13 -0
  290. package/src/icons/{WFOChevronDown.tsx → WfoChevronDown.tsx} +3 -2
  291. package/src/icons/WfoChevronUp.stories.tsx +13 -0
  292. package/src/icons/WfoChevronUp.tsx +33 -0
  293. package/src/icons/WfoClipboardCopy.stories.tsx +13 -0
  294. package/src/icons/WfoClipboardCopy.tsx +33 -0
  295. package/src/icons/WfoCode.stories.tsx +13 -0
  296. package/src/icons/WfoCode.tsx +35 -0
  297. package/src/icons/WfoCogFill.stories.tsx +13 -0
  298. package/src/icons/WfoCogFill.tsx +35 -0
  299. package/src/icons/WfoEyeFill.stories.tsx +13 -0
  300. package/src/icons/WfoEyeFill.tsx +35 -0
  301. package/src/icons/{WFOIconProps.ts → WfoIconProps.ts} +1 -1
  302. package/src/icons/WfoLogoutIcon.stories.tsx +13 -0
  303. package/src/icons/{WFOLogoutIcon.tsx → WfoLogoutIcon.tsx} +3 -2
  304. package/src/icons/WfoMinusCircleFill.stories.tsx +13 -0
  305. package/src/icons/WfoMinusCircleFill.tsx +33 -0
  306. package/src/icons/WfoMinusCircleOutline.stories.tsx +13 -0
  307. package/src/icons/{WFOMinusCircleOutline.tsx → WfoMinusCircleOutline.tsx} +3 -2
  308. package/src/icons/WfoPencilAlt.stories.tsx +13 -0
  309. package/src/icons/WfoPencilAlt.tsx +33 -0
  310. package/src/icons/WfoPlayFill.stories.tsx +13 -0
  311. package/src/icons/WfoPlayFill.tsx +35 -0
  312. package/src/icons/WfoPlusCircleFill.stories.tsx +13 -0
  313. package/src/icons/{WFOPlusCircleFill.tsx → WfoPlusCircleFill.tsx} +3 -2
  314. package/src/icons/WfoRefresh.stories.tsx +13 -0
  315. package/src/icons/WfoRefresh.tsx +35 -0
  316. package/src/icons/WfoSearchStrikethrough.stories.tsx +13 -0
  317. package/src/icons/WfoSearchStrikethrough.tsx +33 -0
  318. package/src/icons/WfoSortAsc.stories.tsx +13 -0
  319. package/src/icons/WfoSortAsc.tsx +33 -0
  320. package/src/icons/WfoSortDesc.stories.tsx +13 -0
  321. package/src/icons/WfoSortDesc.tsx +33 -0
  322. package/src/icons/WfoStatistic.tsx +41 -0
  323. package/src/icons/WfoStatusDotIcon.stories.tsx +13 -0
  324. package/src/icons/{WFOStatusDotIcon.tsx → WfoStatusDotIcon.tsx} +3 -2
  325. package/src/icons/WfoXCircleFill.stories.tsx +13 -0
  326. package/src/icons/{WFOXCircleFill.tsx → WfoXCircleFill.tsx} +3 -2
  327. package/src/icons/index.ts +22 -10
  328. package/src/index.ts +1 -0
  329. package/src/messages/en-US.json +173 -20
  330. package/src/messages/getTranslationMessages.spec.ts +1 -1
  331. package/src/messages/getTranslationMessages.ts +1 -1
  332. package/src/messages/nl-NL.json +177 -22
  333. package/src/pages/index.ts +2 -0
  334. package/src/pages/metadata/{WFOMetadataPageLayout.tsx → WfoMetadataPageLayout.tsx} +5 -3
  335. package/src/pages/metadata/WfoProductBlocksPage.tsx +239 -0
  336. package/src/pages/metadata/{WFOProductsPage.tsx → WfoProductsPage.tsx} +96 -54
  337. package/src/pages/metadata/WfoResourceTypesPage.tsx +185 -0
  338. package/src/pages/metadata/WfoWorkflowsPage.tsx +194 -0
  339. package/src/pages/metadata/index.ts +4 -4
  340. package/src/pages/metadata/workflowListObjectMapper.ts +43 -0
  341. package/src/pages/processes/WfoProcessDetail.tsx +327 -0
  342. package/src/pages/processes/WfoProcessDetailPage.tsx +88 -0
  343. package/src/pages/processes/WfoProcessListPage.tsx +106 -0
  344. package/src/pages/processes/WfoProcessListSubscriptionsCell.tsx +72 -0
  345. package/src/pages/processes/getProcessListTabTypeFromString.ts +6 -6
  346. package/src/pages/processes/index.ts +3 -2
  347. package/src/pages/processes/tabConfig.ts +28 -10
  348. package/src/pages/processes/timelineUtils.spec.ts +202 -0
  349. package/src/pages/processes/timelineUtils.ts +113 -0
  350. package/src/pages/subscriptions/WfoSubscriptionDetailPage.tsx +19 -0
  351. package/src/pages/subscriptions/{WFOSubscriptionsListPage.tsx → WfoSubscriptionsListPage.tsx} +40 -20
  352. package/src/pages/subscriptions/index.ts +2 -1
  353. package/src/pages/tasks/WfoTaskListPage.tsx +120 -0
  354. package/src/pages/tasks/index.ts +1 -0
  355. package/src/pages/workflow/WfoStartWorkflowPage.tsx +176 -0
  356. package/src/pages/workflow/index.ts +1 -0
  357. package/src/stories/Button.jsx +45 -39
  358. package/src/stories/Configure.mdx +48 -43
  359. package/src/stories/Header.jsx +59 -45
  360. package/src/stories/Page.jsx +81 -60
  361. package/src/stories/Page.stories.js +2 -1
  362. package/src/stories/button.css +18 -18
  363. package/src/stories/colors.mdx +12 -0
  364. package/src/stories/colors.tsx +27 -0
  365. package/src/stories/header.css +18 -18
  366. package/src/stories/page.css +40 -40
  367. package/src/theme/defaultOrchestratorTheme.ts +16 -0
  368. package/src/types/forms.ts +40 -0
  369. package/src/types/index.ts +0 -1
  370. package/src/types/types.ts +283 -73
  371. package/src/utils/date.spec.ts +157 -5
  372. package/src/utils/date.ts +66 -5
  373. package/src/utils/environmentVariables.spec.ts +17 -0
  374. package/src/utils/environmentVariables.ts +12 -0
  375. package/src/utils/getDefaultTableConfig.ts +101 -0
  376. package/src/utils/getProductNamesFromProcess.spec.ts +133 -0
  377. package/src/utils/getProductNamesFromProcess.ts +16 -0
  378. package/src/utils/getTokenName.ts +2 -1
  379. package/src/utils/index.ts +2 -0
  380. package/src/utils/string.spec.ts +24 -1
  381. package/src/utils/strings.ts +5 -0
  382. package/tsconfig.build.json +18 -0
  383. package/tsconfig.json +8 -2
  384. package/src/components/WFOBadges/WFOBadge/index.ts +0 -1
  385. package/src/components/WFOBadges/WFOEngineStatusBadge/index.ts +0 -1
  386. package/src/components/WFOBadges/WFOEnvironmentBadge/index.ts +0 -1
  387. package/src/components/WFOBadges/WFOFailedTasksBadge/WFOFailedTasksBadge.stories.tsx +0 -12
  388. package/src/components/WFOBadges/WFOFailedTasksBadge/WFOFailedTasksBadge.tsx +0 -63
  389. package/src/components/WFOBadges/WFOFailedTasksBadge/index.ts +0 -1
  390. package/src/components/WFOBadges/WFOHeaderBadge/index.ts +0 -1
  391. package/src/components/WFOBadges/WFOProcessStatusBadge/index.ts +0 -1
  392. package/src/components/WFOBadges/WFOProductBlockBadge/WFOProductBlockBadge.stories.tsx +0 -15
  393. package/src/components/WFOBadges/WFOProductBlockBadge/WFOProductBlockBadge.tsx +0 -22
  394. package/src/components/WFOBadges/WFOProductBlockBadge/index.ts +0 -1
  395. package/src/components/WFOBadges/WFOSubscriptionStatusBadge/index.ts +0 -1
  396. package/src/components/WFOBadges/index.ts +0 -8
  397. package/src/components/WFOFilterTabs/index.ts +0 -1
  398. package/src/components/WFOLoading/WFOLoading.tsx +0 -2
  399. package/src/components/WFOLoading/index.ts +0 -1
  400. package/src/components/WFOPageTemplate/WFOBreadcrumbs/index.ts +0 -1
  401. package/src/components/WFOPageTemplate/WFOPageHeader/index.ts +0 -1
  402. package/src/components/WFOPageTemplate/WFOPageTemplate/index.ts +0 -1
  403. package/src/components/WFOPageTemplate/WFOSidebar/WFOSidebar.tsx +0 -161
  404. package/src/components/WFOPageTemplate/WFOSidebar/index.ts +0 -1
  405. package/src/components/WFOPageTemplate/index.ts +0 -4
  406. package/src/components/WFOSearchBar/index.ts +0 -1
  407. package/src/components/WFOSettingsModal/index.tsx +0 -1
  408. package/src/components/WFOSettingsPage/index.ts +0 -1
  409. package/src/components/WFOStartPage/WFONewProcessPanel.stories.tsx +0 -12
  410. package/src/components/WFOStartPage/WFOStatCards.stories.tsx +0 -12
  411. package/src/components/WFOStartPage/index.ts +0 -6
  412. package/src/components/WFOSubscription/WFOFixedInputBlock.tsx +0 -58
  413. package/src/components/WFOSubscription/WFOProcessesTimeline.tsx +0 -105
  414. package/src/components/WFOSubscription/WFOProductBlock.tsx +0 -186
  415. package/src/components/WFOSubscription/WFOSubscriptionActions.tsx +0 -138
  416. package/src/components/WFOSubscription/WFOSubscriptionBlock.tsx +0 -109
  417. package/src/components/WFOSubscription/WFOSubscriptionDetailTree.tsx +0 -184
  418. package/src/components/WFOSubscription/WFOSubscriptionGeneral.tsx +0 -53
  419. package/src/components/WFOSubscription/index.ts +0 -7
  420. package/src/components/WFOSubscription/styles.ts +0 -18
  421. package/src/components/WFOSubscriptionsList/types.ts +0 -11
  422. package/src/components/WFOTable/WFOTable.tsx +0 -85
  423. package/src/components/WFOTable/WFOTableHeaderCell.tsx +0 -30
  424. package/src/components/WFOTable/WFOTableSettingsModal/index.ts +0 -1
  425. package/src/components/WFOTable/WFOTableWithFilter/WFOTableWithFilter.tsx +0 -174
  426. package/src/components/WFOTable/WFOTableWithFilter/index.ts +0 -1
  427. package/src/components/WFOTable/index.ts +0 -14
  428. package/src/components/WFOTree/WFOTree.tsx +0 -16
  429. package/src/contexts/SubscriptionContext.tsx +0 -72
  430. package/src/hooks/useSubscriptionProcesses.ts +0 -45
  431. package/src/icons/WFOCheckmarkCircleFill.stories.tsx +0 -12
  432. package/src/icons/WFOLogoutIcon.stories.tsx +0 -12
  433. package/src/icons/WFOMinusCircleOutline.stories.tsx +0 -12
  434. package/src/icons/WFOPlusCircleFill.stories.tsx +0 -12
  435. package/src/icons/WFOStatusDotIcon.stories.tsx +0 -12
  436. package/src/icons/WFOXCircleFill.stories.tsx +0 -12
  437. package/src/pages/metadata/WFOProductBlocksPage.tsx +0 -166
  438. package/src/pages/metadata/WFOResourceTypesPage.tsx +0 -120
  439. package/src/pages/metadata/WFOWorkflowsPage.tsx +0 -251
  440. package/src/pages/processes/WFOProcessListPage.tsx +0 -213
  441. package/src/pages/processes/WFOProcessesListSubscriptionsCell.tsx +0 -28
  442. package/src/pages/processes/tableConfig.ts +0 -22
  443. package/src/types/subscription.ts +0 -21
  444. package/src/components/{WFOTable → WfoTable}/utils/columns.spec.ts +1 -1
package/dist/index.d.ts CHANGED
@@ -1,171 +1,63 @@
1
- import * as _elastic_eui from '@elastic/eui';
2
- import { EuiBadgeProps, EuiBasicTableColumn, EuiDataGridColumn, Pagination as Pagination$1, Criteria as Criteria$1, EuiThemeModifications } from '@elastic/eui';
1
+ import { _EuiThemeColorsMode } from '@elastic/eui/src/global_styling/variables/colors';
3
2
  import * as React from 'react';
4
- import React__default, { ReactNode, FC, ReactElement, FunctionComponent } from 'react';
3
+ import React__default, { ReactNode, FC, ReactElement, FunctionComponent, ComponentType, Ref, HTMLProps, JSX } from 'react';
4
+ import * as _elastic_eui from '@elastic/eui';
5
+ import { EuiBadgeProps, EuiThemeComputed, EuiBasicTableColumn, EuiDataGridColumn, Pagination as Pagination$1, Criteria as Criteria$1, EuiThemeModifications } from '@elastic/eui';
5
6
  import { TextColor } from '@elastic/eui/src/components/text/text_color';
6
- import * as react_query from 'react-query';
7
7
  import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
8
- import { _EuiThemeColorsMode } from '@elastic/eui/src/global_styling/variables/colors';
8
+ import { EuiSideNavItemType } from '@elastic/eui/src/components/side_nav/side_nav_types';
9
+ import { TranslationValues, AbstractIntlMessages } from 'next-intl';
10
+ import * as react_query from 'react-query';
11
+ import * as uniforms from 'uniforms';
12
+ import { HTMLFieldProps } from 'uniforms';
9
13
  import { EuiDataGridControlColumn, EuiDataGridSorting, EuiDataGridPaginationProps } from '@elastic/eui/src/components/datagrid/data_grid_types';
10
14
  import { Criteria } from '@elastic/eui/src/components/basic_table/basic_table';
11
- import { TypedDocumentNode } from '@graphql-typed-document-node/core';
15
+ import moment, { Moment } from 'moment-timezone';
16
+ import { Toast } from '@elastic/eui/src/components/toast/global_toast_list';
12
17
  import { Variables } from 'graphql-request/build/cjs/types';
13
- import { AbstractIntlMessages } from 'next-intl';
18
+ import { TypedDocumentNode } from '@graphql-typed-document-node/core';
19
+ import { Session } from 'next-auth';
20
+ import { UseSessionOptions } from 'next-auth/react';
21
+ import { JSONSchema6 } from 'json-schema';
14
22
  import * as graphql from 'graphql';
15
23
 
16
- type WFOBadgeProps = EuiBadgeProps & {
17
- textColor: TextColor | string;
18
- children: ReactNode;
19
- };
20
- declare const WFOBadge: FC<WFOBadgeProps>;
21
-
22
- type WFOSubscriptionStatusBadgeProps = {
23
- status: string;
24
- };
25
- declare const WFOSubscriptionStatusBadge: FC<WFOSubscriptionStatusBadgeProps>;
26
-
27
- type WFOProductBlockBadgeProps = {
28
- children: string;
29
- };
30
- declare const WFOProductBlockBadge: FC<WFOProductBlockBadgeProps>;
31
-
32
- declare const useQueryWithGraphql: <U, V extends Variables>(query: TypedDocumentNode<U, V>, queryVars: V, queryKey: string, useCoreConnection?: boolean) => react_query.UseQueryResult<U, unknown>;
33
-
34
- type GlobalStatus = 'RUNNING' | 'PAUSED' | 'PAUSING';
35
- interface EngineStatus {
36
- global_lock: boolean;
37
- running_processes: number;
38
- global_status: GlobalStatus;
39
- }
40
- interface EngineStatusPayload {
41
- global_lock: boolean;
42
- }
43
- declare const useEngineStatusQuery: () => react_query.UseQueryResult<EngineStatus, unknown>;
44
- declare const useEngineStatusMutation: () => react_query.UseMutationResult<EngineStatus, unknown, EngineStatusPayload, void>;
45
-
46
- declare enum Environment {
47
- DEVELOPMENT = "Development",
48
- PRODUCTION = "Production"
49
- }
50
- type OrchestratorConfig = {
51
- environmentName: Environment | string;
52
- orchestratorApiBaseUrl: string;
53
- engineStatusEndpoint: string;
54
- graphqlEndpointPythia: string;
55
- graphqlEndpointCore: string;
56
- processStatusCountsEndpoint: string;
57
- subscriptionActionsEndpoint: string;
58
- subscriptionProcessesEndpoint: string;
59
- };
60
- declare const useOrchestratorConfig: (initialOrchestratorConfig: OrchestratorConfig) => {
61
- orchestratorConfig: OrchestratorConfig;
62
- };
63
-
64
- declare const useOrchestratorTheme: () => {
65
- theme: _elastic_eui.EuiThemeComputed<{}>;
66
- multiplyByBaseUnit: (multiplier: number) => number;
67
- toSecondaryColor: (color: string) => string;
68
- };
69
-
70
- declare enum ProcessStatus {
71
- CREATED = "created",
72
- RUNNING = "running",
73
- SUSPENDED = "suspended",
74
- WAITING = "waiting",
75
- ABORTED = "aborted",
76
- FAILED = "failed",
77
- RESUMED = "resumed",
78
- API_UNAVAILABLE = "api_unavailable",
79
- INCONSISTENT_DATA = "inconsistent_data",
80
- COMPLETED = "completed"
24
+ interface IpPrefix {
25
+ id: number;
26
+ prefix: string;
27
+ version: number;
81
28
  }
82
- type ProcessStatusCounts = {
83
- process_counts: Record<ProcessStatus, number>;
84
- task_counts: Record<ProcessStatus, number>;
85
- };
86
- declare const useProcessStatusCountsQuery: () => react_query.UseQueryResult<ProcessStatusCounts, unknown>;
87
-
88
- type CacheNames = {
89
- [key: string]: string;
90
- };
91
- declare const useFavouriteSubscriptions: () => {
92
- items: any;
93
- type: string;
94
- title: string;
95
- buttonName: string;
96
- };
97
- declare const useProcessesAttention: () => {
98
- items: any;
99
- type: string;
100
- title: string;
101
- buttonName: string;
102
- };
103
- declare const useRecentProcesses: () => {
104
- items: any;
105
- type: string;
106
- title: string;
107
- buttonName: string;
108
- };
109
- declare const useCacheNames: () => react_query.UseQueryResult<CacheNames, unknown>;
110
-
111
- interface SubscriptionAction {
112
- name: string;
29
+ interface IpBlock {
30
+ id: number;
31
+ prefix: string;
32
+ ip_network: string;
113
33
  description: string;
114
- reason?: string;
115
- usable_when?: string[];
116
- locked_relations?: string[];
117
- unterminated_parents?: string[];
118
- unterminated_in_use_by_subscriptions?: string[];
119
- status?: string;
120
- action?: string;
34
+ state: number;
35
+ parent: number;
36
+ version: number;
37
+ parent_ipam_id: number;
38
+ is_subnet: boolean;
39
+ state_repr: string;
121
40
  }
122
- interface SubscriptionActions {
123
- reason?: string;
124
- locked_relations?: string[];
125
- create: SubscriptionAction[];
126
- modify: SubscriptionAction[];
127
- terminate: SubscriptionAction[];
128
- system: SubscriptionAction[];
129
- }
130
- declare const useSubscriptionActions: (subscriptionId: string) => react_query.UseQueryResult<SubscriptionActions, unknown>;
131
-
132
- declare enum SubscriptionStatus {
133
- INITIAL = "INITIAL",
134
- ACTIVE = "ACTIVE",
135
- MIGRATING = "MIGRATING",
136
- DISABLED = "DISABLED",
137
- TERMINATED = "TERMINATED",
138
- PROVISIONING = "PROVISIONING"
139
- }
140
- type Subscription$1 = {
141
- subscriptionId: string;
142
- description: string;
143
- note: string;
144
- startDate: string;
145
- endDate: string;
146
- insync: boolean;
147
- status: SubscriptionStatus;
148
- product: Pick<ProductDefinition, 'name' | 'tag' | 'productType'>;
149
- };
150
41
 
42
+ type UnionOfInterfaceTypes<T> = T[keyof T];
151
43
  type Nullable<T> = T | null;
152
44
  type GenericField = {
153
45
  [key: string]: number | string | boolean;
154
46
  };
47
+ type FieldValue = {
48
+ field: string;
49
+ value: string | number | boolean;
50
+ };
51
+ type KeyValue = {
52
+ key: string;
53
+ value: string | number | boolean | undefined;
54
+ };
155
55
  type EngineStatusValue = 'RUNNING' | 'PAUSING' | 'PAUSED';
156
- type CustomerBase = {
157
- name: string;
158
- abbreviation?: string;
159
- } & GenericField;
160
- type ProductBase = {
161
- name: string;
162
- description: string;
163
- status: string;
164
- tag: string;
165
- type: string;
166
- createdAt: string;
167
- endDate?: string | null;
168
- } & GenericField;
56
+ type Customer = {
57
+ fullname: string;
58
+ identifier: string;
59
+ shortcode: string;
60
+ };
169
61
  type ResourceTypeBase = {
170
62
  name: string;
171
63
  title: string;
@@ -173,26 +65,48 @@ type ResourceTypeBase = {
173
65
  ownerSubscriptionId: string;
174
66
  label?: string;
175
67
  } & GenericField;
176
- type ProductBlockBase = {
68
+ type InUseByRelation = {
69
+ subscription_instance_id: string;
70
+ subscription_id: string;
71
+ };
72
+ type ProductBlockInstance = {
177
73
  id: number;
178
74
  ownerSubscriptionId: string;
75
+ subscriptionInstanceId: string;
179
76
  parent: Nullable<number>;
180
- resourceTypes: ResourceTypeBase;
77
+ productBlockInstanceValues: FieldValue[];
78
+ inUseByRelations: InUseByRelation[];
181
79
  };
182
80
  interface ResourceTypeDefinition {
183
81
  description: string;
184
82
  resourceType: string;
185
83
  resourceTypeId: string;
84
+ productBlocks: ProductBlockDefinition[];
186
85
  }
187
86
  interface ProductBlockDefinition {
188
87
  productBlockId: string;
189
88
  name: string;
190
89
  tag: string;
191
90
  description: string;
192
- status: string;
193
- createdAt: Date | null;
194
- endDate: Date | null;
91
+ status: ProductLifecycleStatus;
92
+ createdAt: string;
93
+ endDate: string | null;
195
94
  resourceTypes: ResourceTypeDefinition[];
95
+ dependsOn: ProductBlockDefinition[];
96
+ }
97
+ declare enum ProductLifecycleStatus {
98
+ ACTIVE = "active",
99
+ PRE_PRODUCTION = "pre production",
100
+ PHASE_OUT = "phase out",
101
+ END_OF_LIFE = "end of life"
102
+ }
103
+ declare enum BadgeType {
104
+ WORKFLOW = "workflow",
105
+ FIXED_INPUT = "fixed_input",
106
+ RESOURCE_TYPE = "resource_type",
107
+ PRODUCT_BLOCK = "product_block",
108
+ PRODUCT_BLOCK_TAG = "product_block_tag",
109
+ PRODUCT_TAG = "product_tag"
196
110
  }
197
111
  type FixedInputsBase = GenericField;
198
112
  interface FixedInputDefinition {
@@ -204,29 +118,9 @@ interface FixedInputDefinition {
204
118
  description: string;
205
119
  required: boolean;
206
120
  }
207
- type ExternalServiceBase = {
208
- externalServiceKey: string;
209
- externalServiceId: string;
210
- externalServiceData: any;
211
- } & GenericField;
212
- type SubscriptionDetailBase = {
213
- subscriptionId: string;
214
- description: string;
215
- customerId?: string | null;
216
- insync: boolean;
217
- status: string;
218
- startDate?: string | null;
219
- endDate?: string | null;
220
- note?: string;
221
- product: ProductBase;
222
- fixedInputs: FixedInputsBase;
223
- customer?: CustomerBase;
224
- productBlocks: ProductBlockBase[];
225
- externalServices?: ExternalServiceBase[];
226
- };
227
- interface TreeBlock extends ProductBlockBase {
121
+ interface TreeBlock extends ProductBlockInstance {
228
122
  icon: string;
229
- label: string;
123
+ label: string | number | boolean;
230
124
  callback: () => void;
231
125
  children: TreeBlock[];
232
126
  }
@@ -262,31 +156,113 @@ interface ProductDefinition {
262
156
  tag: string;
263
157
  createdAt: string;
264
158
  productType: string;
265
- status: string;
159
+ status: ProductLifecycleStatus;
266
160
  productBlocks: Pick<ProductBlockDefinition, 'name'>[];
267
161
  fixedInputs: Pick<FixedInputDefinition, 'name' | 'value'>[];
268
162
  }
269
- type Process$1 = {
163
+ declare enum WorkflowTarget {
164
+ CREATE = "create",
165
+ MODIFY = "modify",
166
+ TERMINATE = "terminate",
167
+ SYSTEM = "system"
168
+ }
169
+ type Process = {
270
170
  workflowName: string;
271
- step: string;
272
- status: ProcessStatus;
273
- workflowTarget: string;
274
- product: string;
275
- customer: string;
276
- subscriptions: {
277
- page: Pick<Subscription$1, 'subscriptionId' | 'description'>[];
171
+ lastStep: string;
172
+ lastStatus: ProcessStatus;
173
+ workflowTarget: WorkflowTarget;
174
+ product?: {
175
+ name: string;
176
+ tag: string;
177
+ };
178
+ customer: {
179
+ fullname: string;
180
+ shortcode: string;
278
181
  };
279
182
  createdBy: string;
280
183
  assignee: string;
281
184
  processId: string;
282
- started: string;
283
- lastModified: string;
185
+ startedAt: string;
186
+ lastModifiedAt: string;
187
+ subscriptions: {
188
+ page: Pick<Subscription$1, 'subscriptionId' | 'description'>[];
189
+ };
284
190
  };
191
+ declare enum StepStatus {
192
+ FORM = "form",
193
+ SUCCESS = "success",
194
+ FAILED = "failed",
195
+ PENDING = "pending",
196
+ RUNNING = "running",
197
+ SKIPPED = "skipped",
198
+ SUSPEND = "suspend",
199
+ WAITING = "waiting",
200
+ AWAITING_CALLBACK = "awaiting_callback",
201
+ ABORT = "abort",
202
+ COMPLETE = "complete"
203
+ }
204
+ interface ProcessDetail {
205
+ processId: Process['processId'];
206
+ lastStatus: Process['lastStatus'];
207
+ createdBy: Process['createdBy'];
208
+ startedAt: Process['startedAt'];
209
+ lastStep: string;
210
+ lastModifiedAt: Process['lastModifiedAt'];
211
+ workflowName: string;
212
+ isTask: boolean;
213
+ steps: Step[];
214
+ subscriptions: {
215
+ page: {
216
+ product: Pick<ProductDefinition, 'name'>;
217
+ description: Subscription$1['description'];
218
+ subscriptionId: Subscription$1['subscriptionId'];
219
+ }[];
220
+ };
221
+ customer: {
222
+ fullname: string;
223
+ };
224
+ }
225
+ declare enum ProcessStatus {
226
+ CREATE = "create",
227
+ CREATED = "created",
228
+ RUNNING = "running",
229
+ SUSPENDED = "suspended",
230
+ WAITING = "waiting",
231
+ AWAITING_CALLBACK = "awaiting_callback",
232
+ ABORTED = "aborted",
233
+ FAILED = "failed",
234
+ RESUMED = "resumed",
235
+ API_UNAVAILABLE = "api_unavailable",
236
+ INCONSISTENT_DATA = "inconsistent_data",
237
+ COMPLETED = "completed"
238
+ }
239
+ declare const ProcessDoneStatuses: ProcessStatus[];
240
+ interface StepState {
241
+ [index: string]: object | boolean | string | number | [];
242
+ }
243
+ interface EmailAddress {
244
+ name: string;
245
+ email: string;
246
+ }
247
+ interface EmailState {
248
+ to: EmailAddress[];
249
+ cc: EmailAddress[];
250
+ message: string;
251
+ subject: string;
252
+ }
253
+ interface Step {
254
+ name: string;
255
+ status: StepStatus;
256
+ stepId: string;
257
+ executed: string;
258
+ state: StepState;
259
+ stateDelta: StepState;
260
+ }
285
261
  interface WorkflowDefinition {
286
262
  name: string;
287
- description: string;
288
- target: string;
289
- productTags: string[];
263
+ description?: string;
264
+ target: WorkflowTarget;
265
+ products: Pick<ProductDefinition, 'tag' | 'productId' | 'name'>[];
290
266
  createdAt: string;
291
267
  }
292
268
  type Field<Type> = keyof Type;
@@ -303,21 +279,29 @@ type GraphqlFilter<Type> = {
303
279
  value: string;
304
280
  };
305
281
  type GraphqlQueryVariables<Type> = {
306
- first: number;
307
- after: number;
282
+ first?: number;
283
+ after?: number;
308
284
  sortBy?: GraphQLSort<Type>;
309
285
  filterBy?: GraphqlFilter<Type>[];
310
286
  };
311
287
  type GraphQLPageInfo = {
312
288
  hasNextPage: boolean;
313
289
  hasPreviousPage: boolean;
314
- startCursor?: number;
315
- totalItems?: number;
316
- endCursor?: number;
290
+ startCursor: number | null;
291
+ totalItems: number | null;
292
+ endCursor: number | null;
293
+ sortFields: string[];
294
+ filterFields: string[];
317
295
  };
318
296
  interface SubscriptionsResult {
319
297
  subscriptions: GraphQlResultPage<Subscription$1>;
320
298
  }
299
+ interface SubscriptionDropdownOptionsResult {
300
+ subscriptions: GraphQlSinglePage<SubscriptionDropdownOption>;
301
+ }
302
+ interface SubscriptionDetailResult {
303
+ subscriptions: GraphQlResultPage<SubscriptionDetail>;
304
+ }
321
305
  interface ProductDefinitionsResult {
322
306
  products: GraphQlResultPage<ProductDefinition>;
323
307
  }
@@ -328,15 +312,29 @@ interface ResourceTypeDefinitionsResult {
328
312
  resourceTypes: GraphQlResultPage<ResourceTypeDefinition>;
329
313
  }
330
314
  interface ProcessesResult {
331
- processes: GraphQlResultPage<Process$1>;
315
+ processes: GraphQlResultPage<Process>;
316
+ }
317
+ interface ProcessesDetailResult {
318
+ processes: GraphQlSinglePage<ProcessDetail>;
332
319
  }
333
- interface WorkflowDefinitionsResult {
334
- workflows: GraphQlResultPage<WorkflowDefinition>;
320
+ interface CustomersResult {
321
+ customers: GraphQlSinglePage<Customer>;
322
+ }
323
+ interface WorkflowDefinitionsResult<T = WorkflowDefinition> {
324
+ workflows: GraphQlResultPage<T>;
325
+ }
326
+ interface RelatedSubscriptionsResult {
327
+ subscriptions: GraphQlSinglePage<Pick<Subscription$1, 'subscriptionId'> & {
328
+ inUseBySubscriptions: GraphQlResultPage<RelatedSubscription>;
329
+ }>;
335
330
  }
336
331
  interface GraphQlResultPage<T> {
337
332
  page: T[];
338
333
  pageInfo: GraphQLPageInfo;
339
334
  }
335
+ interface GraphQlSinglePage<T> {
336
+ page: T[];
337
+ }
340
338
  interface CacheOption {
341
339
  value: string;
342
340
  label: string;
@@ -345,95 +343,197 @@ declare enum Locale {
345
343
  enUS = "en-Us",
346
344
  nlNL = "nl-NL"
347
345
  }
346
+ declare enum SubscriptionStatus {
347
+ INITIAL = "initial",
348
+ ACTIVE = "active",
349
+ MIGRATING = "migrating",
350
+ DISABLED = "disabled",
351
+ TERMINATED = "terminated",
352
+ PROVISIONING = "provisioning"
353
+ }
354
+ type Subscription$1 = {
355
+ subscriptionId: string;
356
+ description: string;
357
+ note: string | null;
358
+ startDate: string | null;
359
+ endDate: string | null;
360
+ insync: boolean;
361
+ status: SubscriptionStatus;
362
+ product: Pick<ProductDefinition, 'name' | 'tag' | 'productType'>;
363
+ productBlockInstances: ProductBlockInstance[];
364
+ };
365
+ type SubscriptionDropdownOption = {
366
+ description: Subscription$1['description'];
367
+ subscriptionId: Subscription$1['subscriptionId'];
368
+ product: Pick<ProductDefinition, 'tag' | 'productId'>;
369
+ customer: Pick<Customer, 'fullname' | 'identifier'>;
370
+ productBlockInstances: ProductBlockInstance[];
371
+ fixedInputs: FieldValue[];
372
+ tag: string;
373
+ status: SubscriptionStatus;
374
+ };
375
+ type SubscriptionDetail = {
376
+ subscriptionId: string;
377
+ description: string;
378
+ insync: boolean;
379
+ note: string;
380
+ fixedInputs: FieldValue[];
381
+ product: Pick<ProductDefinition, 'createdAt' | 'name' | 'status' | 'description' | 'tag' | 'productType' | 'productId'> & {
382
+ endDate: string;
383
+ };
384
+ endDate: string;
385
+ startDate: string;
386
+ status: SubscriptionStatus;
387
+ productBlockInstances: ProductBlockInstance[];
388
+ customerId?: string | null;
389
+ customer?: Customer;
390
+ externalServices?: ExternalService[];
391
+ processes: GraphQlSinglePage<SubscriptionDetailProcess>;
392
+ };
393
+ type SubscriptionDetailProcess = Pick<Process, 'processId' | 'lastStatus' | 'startedAt' | 'createdBy' | 'workflowTarget' | 'workflowName'>;
394
+ type RelatedSubscription = Pick<Subscription$1, 'subscriptionId' | 'description' | 'status' | 'startDate' | 'insync'> & {
395
+ product: Pick<ProductDefinition, 'tag'>;
396
+ customer: Pick<Customer, 'fullname'>;
397
+ };
398
+ type ExternalService = {
399
+ externalServiceKey: string;
400
+ externalServiceId: string;
401
+ externalServiceData: object;
402
+ };
403
+ type WfoTreeNodeMap = {
404
+ [key: number]: TreeBlock;
405
+ };
348
406
 
349
- interface Process {
350
- workflow: string;
351
- pid: string;
352
- is_task: boolean;
353
- created_by: Nullable<string>;
354
- failed_reason: Nullable<string>;
355
- started_at: number;
356
- last_status: ProcessStatus;
357
- assignee: 'NOC' | 'SYSTEM' | 'CHANGES' | 'USER';
358
- last_modified_at: number;
359
- traceback: Nullable<string>;
360
- last_step: Nullable<string>;
407
+ declare class BaseApiClient {
408
+ private _axiosInstance;
409
+ constructor(apiPath: string);
410
+ axiosFetch: <R = object>(path: string, options?: {}, headers?: {}, showErrorDialog?: boolean, result?: boolean) => Promise<R>;
411
+ catchErrorStatus: <T>(promise: Promise<unknown>, status: number, callback: (json: T) => void) => Promise<unknown>;
412
+ fetchJson: <R = object>(path: string, options?: {}, headers?: {}, showErrorDialog?: boolean, result?: boolean) => Promise<R>;
413
+ fetchJsonWithCustomErrorHandling: <R = object>(path: string) => Promise<R>;
414
+ postPutJson: <R = object>(path: string, processInput: object, method: string, showErrorDialog?: boolean, result?: boolean) => Promise<R>;
361
415
  }
362
- interface SubscriptionProcess {
363
- workflow_target: null | 'CREATE' | 'MODIFY' | 'TERMINATE' | 'SYSTEM';
364
- subscription_id: string;
365
- id: string;
366
- pid: string;
367
- created_at: number;
368
- process: Process;
416
+ declare abstract class ApiClientInterface extends BaseApiClient {
417
+ abstract cimStartForm: (formKey: string, userInputs: object[]) => Promise<object>;
369
418
  }
370
- declare const useSubscriptionProcesses: (subscriptionId: string) => react_query.UseQueryResult<SubscriptionProcess[], unknown>;
419
+ declare class ApiClient extends ApiClientInterface {
420
+ startProcess: (workflowName: string, processInput: object) => Promise<unknown>;
421
+ products: () => Promise<ProductDefinition[]>;
422
+ productById: (productId: string) => Promise<ProductDefinition>;
423
+ cimStartForm: (formKey: string, userInputs: object[]) => Promise<{
424
+ id: string;
425
+ }>;
426
+ prefix_filters: () => Promise<IpPrefix[]>;
427
+ ip_blocks: (parentPrefix: number) => Promise<IpBlock[]>;
428
+ free_subnets: (subnet: string, netmask: number, prefixlen: number) => Promise<string[]>;
429
+ }
430
+ declare function getApiClient(apiEndPoint: string): ApiClient;
371
431
 
372
- type DataDisplayParams<Type> = {
373
- pageSize: number;
374
- pageIndex: number;
375
- sortBy: GraphQLSort<Type>;
376
- esQueryString?: string;
432
+ type WfoBadgeProps = EuiBadgeProps & {
433
+ textColor: TextColor | string;
434
+ children: ReactNode;
377
435
  };
378
- interface DataDisplayReturnValues<Type> {
379
- dataDisplayParams: DataDisplayParams<Type>;
380
- setDataDisplayParam: <PropKey extends keyof DataDisplayParams<Type>>(prop: PropKey, value: DataDisplayParams<Type>[PropKey]) => void;
381
- }
382
- declare const useDataDisplayParams: <Type>(initialParams: Partial<DataDisplayParams<Type>>) => DataDisplayReturnValues<Type>;
436
+ declare const WfoBadge: FC<WfoBadgeProps>;
383
437
 
384
- type WFOProcessStatusBadgeProps = {
438
+ type WfoSubscriptionStatusBadgeProps = {
439
+ status: SubscriptionStatus;
440
+ };
441
+ declare const WfoSubscriptionStatusBadge: FC<WfoSubscriptionStatusBadgeProps>;
442
+
443
+ type WfoProductBlockBadgeProps = {
444
+ children: string;
445
+ badgeType: BadgeType;
446
+ };
447
+ declare function WfoProductBlockBadge({ children, badgeType, }: WfoProductBlockBadgeProps): _emotion_react_jsx_runtime.JSX.Element;
448
+
449
+ type WfoProcessStatusBadgeProps = {
385
450
  processStatus: ProcessStatus;
386
451
  };
387
- declare const WFOProcessStatusBadge: FC<WFOProcessStatusBadgeProps>;
452
+ declare const WfoProcessStatusBadge: FC<WfoProcessStatusBadgeProps>;
388
453
 
389
- declare const WFOFailedTasksBadge: () => _emotion_react_jsx_runtime.JSX.Element;
454
+ declare const WfoFailedTasksBadge: () => _emotion_react_jsx_runtime.JSX.Element;
390
455
 
391
- declare const WFOEnvironmentBadge: () => _emotion_react_jsx_runtime.JSX.Element;
456
+ declare const WfoEnvironmentBadge: () => _emotion_react_jsx_runtime.JSX.Element;
392
457
 
393
- declare const WFOEngineStatusBadge: () => _emotion_react_jsx_runtime.JSX.Element;
458
+ declare const WfoEngineStatusBadge: () => _emotion_react_jsx_runtime.JSX.Element;
394
459
 
395
460
  type HeaderBadgeProps = EuiBadgeProps & {
396
461
  textColor: TextColor | string;
397
462
  children: ReactNode;
398
463
  };
399
- declare const WFOHeaderBadge: FC<HeaderBadgeProps>;
464
+ declare const WfoHeaderBadge: FC<HeaderBadgeProps>;
465
+
466
+ type WfoProductStatusBadgeProps = {
467
+ status: ProductLifecycleStatus;
468
+ };
469
+ declare const WfoProductStatusBadge: FC<WfoProductStatusBadgeProps>;
400
470
 
401
- declare const WFOBreadcrumbs: () => _emotion_react_jsx_runtime.JSX.Element;
471
+ declare const WfoBreadcrumbs: () => _emotion_react_jsx_runtime.JSX.Element;
402
472
 
403
473
  type FilterQuery<DataType> = {
404
474
  field: keyof DataType;
405
475
  value: string;
406
476
  };
407
- type WFOFilterTab<TabType, DataType> = {
477
+ type WfoFilterTab<TabType, DataType> = {
408
478
  id: TabType;
409
479
  translationKey: string;
410
480
  alwaysOnFilters?: FilterQuery<DataType>[];
411
481
  };
412
- type WFOFilterTabsProps<TabType, DataType> = {
413
- tabs: WFOFilterTab<TabType, DataType>[];
482
+ type WfoFilterTabsProps<TabType, DataType> = {
483
+ tabs: WfoFilterTab<TabType, DataType>[];
414
484
  selectedTab: TabType;
415
485
  translationNamespace: string;
416
486
  onChangeTab: (updatedTab: TabType) => void;
417
487
  };
418
- declare const WFOFilterTabs: <TabType extends string, DataType>({ tabs, selectedTab, translationNamespace, onChangeTab, }: WFOFilterTabsProps<TabType, DataType>) => _emotion_react_jsx_runtime.JSX.Element;
488
+ declare const WfoFilterTabs: <TabType extends string, DataType>({ tabs, selectedTab, translationNamespace, onChangeTab, }: WfoFilterTabsProps<TabType, DataType>) => _emotion_react_jsx_runtime.JSX.Element;
489
+
490
+ type WfoKeyCellProps = {
491
+ value: string;
492
+ rowNumber: number;
493
+ };
494
+ declare const WfoKeyCell: FC<WfoKeyCellProps>;
419
495
 
420
- interface WFOPageHeaderProps {
496
+ type WfoValueCellProps = {
497
+ value: ReactNode;
498
+ textToCopy?: string;
499
+ rowNumber: number;
500
+ enableCopyIcon: boolean;
501
+ };
502
+ declare const WfoValueCell: FC<WfoValueCellProps>;
503
+
504
+ type WfoKeyValueTableDataType = {
505
+ key: string;
506
+ value: ReactNode;
507
+ textToCopy?: string;
508
+ };
509
+ type WfoKeyValueTableProps = {
510
+ keyValues: WfoKeyValueTableDataType[];
511
+ showCopyToClipboardIcon?: boolean;
512
+ };
513
+ declare const WfoKeyValueTable: FC<WfoKeyValueTableProps>;
514
+
515
+ interface WfoPageHeaderProps {
421
516
  navigationHeight: number;
422
517
  getAppLogo: (navigationHeight: number) => ReactElement;
518
+ handleSideMenuClick: () => void;
423
519
  handleLogoutClick: () => void;
424
520
  }
425
- declare const WFOPageHeader: FC<WFOPageHeaderProps>;
521
+ declare const WfoPageHeader: FC<WfoPageHeaderProps>;
426
522
 
427
- interface WFOPageTemplateProps {
523
+ interface WfoPageTemplateProps {
428
524
  getAppLogo: (navigationHeight: number) => ReactElement;
525
+ overrideMenuItems?: (defaultMenuItems: EuiSideNavItemType<object>[]) => EuiSideNavItemType<object>[];
429
526
  children: ReactNode;
430
527
  }
431
- declare const WFOPageTemplate: FC<WFOPageTemplateProps>;
528
+ declare const WfoPageTemplate: FC<WfoPageTemplateProps>;
432
529
 
433
- declare const WFOSidebar: FC;
530
+ type WfoSidebarProps = {
531
+ overrideMenuItems?: (defaultMenuItems: EuiSideNavItemType<object>[]) => EuiSideNavItemType<object>[];
532
+ };
533
+ declare const WfoSidebar: FC<WfoSidebarProps>;
434
534
 
435
535
  declare const PATH_START = "/";
436
- declare const PATH_NEW_PROCESS = "/new-process";
536
+ declare const PATH_START_WORKFLOW = "/start-workflow";
437
537
  declare const PATH_PROCESSES = "/processes";
438
538
  declare const PATH_SUBSCRIPTIONS = "/subscriptions";
439
539
  declare const PATH_METADATA = "/metadata";
@@ -444,35 +544,42 @@ declare const PATH_METADATA_WORKFLOWS = "/metadata/workflows";
444
544
  declare const PATH_TASKS = "/tasks";
445
545
  declare const PATH_SETTINGS = "/settings";
446
546
 
447
- type WFOSearchFieldProps = {
547
+ type WfoSearchFieldProps = {
448
548
  __filterQuery?: string;
449
549
  __setFilterQuery?: (updatedFilterQuery: string) => void;
450
550
  esQueryString?: string;
451
551
  onUpdateEsQueryString?: (esQueryString: string) => void;
452
552
  };
453
- declare const WFOSearchField: ({ __filterQuery, __setFilterQuery, esQueryString, onUpdateEsQueryString, }: WFOSearchFieldProps) => _emotion_react_jsx_runtime.JSX.Element;
553
+ declare const WfoSearchField: ({ __filterQuery, __setFilterQuery, esQueryString, onUpdateEsQueryString, }: WfoSearchFieldProps) => _emotion_react_jsx_runtime.JSX.Element;
554
+
555
+ type WfoInformationModalProps = {
556
+ title: string;
557
+ onClose: () => void;
558
+ children: ReactNode;
559
+ };
560
+ declare const WfoInformationModal: FC<WfoInformationModalProps>;
454
561
 
455
- type SettingsModalProps = {
562
+ type WfoSettingsModalProps = {
456
563
  title: string;
457
564
  onClose: () => void;
458
565
  onResetToDefaults: () => void;
459
566
  onUpdateTableConfig: () => void;
460
567
  children: ReactNode;
461
568
  };
462
- declare const SettingsModal: FC<SettingsModalProps>;
569
+ declare const WfoSettingsModal: FC<WfoSettingsModalProps>;
463
570
 
464
- declare const WFOSettings: FunctionComponent;
571
+ declare const WfoSettings: FunctionComponent;
465
572
 
466
- interface WFOFrequentlyUsedProps {
573
+ interface WfoFrequentlyUsedProps {
467
574
  values: string[];
468
575
  }
469
- declare const WFOFrequentlyUsed: FC<WFOFrequentlyUsedProps>;
576
+ declare const WfoFrequentlyUsed: FC<WfoFrequentlyUsedProps>;
470
577
 
471
578
  interface Subscription {
472
579
  name: string;
473
580
  subscription_id: string;
474
581
  description: string;
475
- product: ProductBase;
582
+ product: ProductDefinition;
476
583
  product_id: string;
477
584
  status: string;
478
585
  insync: boolean;
@@ -481,98 +588,272 @@ interface Subscription {
481
588
  end_date: number;
482
589
  note: string;
483
590
  }
484
- interface WFOListItemStartPageProps {
591
+ interface WfoListItemStartPageProps {
485
592
  item: Subscription | ProcessFromRestApi;
486
593
  type: string;
487
594
  }
488
- declare const WFOListItemStartPage: FC<WFOListItemStartPageProps>;
595
+ declare const WfoListItemStartPage: FC<WfoListItemStartPageProps>;
489
596
 
490
- declare const WFOMultiListSection: FC;
597
+ declare const WfoMultiListSection: FC;
491
598
 
492
- declare const WFONewProcessPanel: FC;
599
+ declare const WfoNewProcessPanel: FC;
493
600
 
494
- declare const WFOStatCards: FC;
601
+ declare const WfoStatCards: FC;
495
602
 
496
- declare const WFOFixedInputBlock: (title: string, data: object) => _emotion_react_jsx_runtime.JSX.Element | undefined;
603
+ declare const useQueryWithGraphql: <U, V extends Variables>(query: TypedDocumentNode<U, V>, queryVars: V, queryKey: string, refetchInterval?: number | false, enabled?: boolean) => react_query.UseQueryResult<U, unknown>;
497
604
 
498
- type ProcessesTimelineProps = {
499
- subscriptionId: string;
605
+ type GlobalStatus = 'RUNNING' | 'PAUSED' | 'PAUSING';
606
+ interface EngineStatus {
607
+ global_lock: boolean;
608
+ running_processes: number;
609
+ global_status: GlobalStatus;
610
+ }
611
+ interface EngineStatusPayload {
612
+ global_lock: boolean;
613
+ }
614
+ declare const useEngineStatusQuery: () => react_query.UseQueryResult<EngineStatus, unknown>;
615
+ declare const useEngineStatusMutation: () => react_query.UseMutationResult<EngineStatus, unknown, EngineStatusPayload, void>;
616
+
617
+ declare enum Environment {
618
+ DEVELOPMENT = "Development",
619
+ PRODUCTION = "Production"
620
+ }
621
+ type OrchestratorConfig = {
622
+ environmentName: Environment | string;
623
+ orchestratorApiBaseUrl: string;
624
+ graphqlEndpointCore: string;
625
+ engineStatusEndpoint: string;
626
+ processStatusCountsEndpoint: string;
627
+ processesEndpoint: string;
628
+ subscriptionActionsEndpoint: string;
629
+ subscriptionProcessesEndpoint: string;
630
+ dataRefetchInterval: {
631
+ processDetail: number;
632
+ };
633
+ authActive: boolean;
634
+ };
635
+ declare const useOrchestratorConfig: (initialOrchestratorConfig: OrchestratorConfig) => {
636
+ orchestratorConfig: OrchestratorConfig;
500
637
  };
501
- declare const ProcessesTimeline: FC<ProcessesTimelineProps>;
502
638
 
503
- declare const WFOProductBlock: (resourceTypes: ResourceTypeBase, id: number) => _emotion_react_jsx_runtime.JSX.Element | undefined;
639
+ declare const useOrchestratorTheme: () => {
640
+ theme: _elastic_eui.EuiThemeComputed<{}>;
641
+ multiplyByBaseUnit: (multiplier: number) => number;
642
+ toSecondaryColor: (color: string) => string;
643
+ };
644
+
645
+ type ProcessStatusCounts = {
646
+ process_counts: Record<ProcessStatus, number>;
647
+ task_counts: Record<ProcessStatus, number>;
648
+ };
649
+ declare const useProcessStatusCountsQuery: () => react_query.UseQueryResult<ProcessStatusCounts, unknown>;
650
+
651
+ type CacheNames = {
652
+ [key: string]: string;
653
+ };
654
+ declare const useFavouriteSubscriptions: () => ItemsList;
655
+ declare const useProcessesAttention: () => ItemsList;
656
+ declare const useRecentProcesses: () => ItemsList;
657
+ declare const useRawProcessDetails: (processId: string) => react_query.UseQueryResult<object, unknown>;
658
+ declare const useCacheNames: () => react_query.UseQueryResult<CacheNames, unknown>;
659
+ declare const useFilterQueryWithRest: <Type>(endpoint: string, queryKey: string[], filters?: GraphqlFilter<Type>[] | undefined, refetchInterval?: number) => react_query.UseQueryResult<any, unknown>;
660
+
661
+ interface SubscriptionAction {
662
+ name: string;
663
+ description: string;
664
+ reason?: string;
665
+ usable_when?: string[];
666
+ locked_relations?: string[];
667
+ unterminated_parents?: string[];
668
+ unterminated_in_use_by_subscriptions?: string[];
669
+ status?: string;
670
+ action?: string;
671
+ }
672
+ interface SubscriptionActions {
673
+ reason?: string;
674
+ locked_relations?: string[];
675
+ modify: SubscriptionAction[];
676
+ terminate: SubscriptionAction[];
677
+ system: SubscriptionAction[];
678
+ }
679
+ declare const useSubscriptionActions: (subscriptionId: string) => react_query.UseQueryResult<SubscriptionActions, unknown>;
680
+
681
+ type DataDisplayParams<Type> = {
682
+ pageSize: number;
683
+ pageIndex: number;
684
+ sortBy: GraphQLSort<Type>;
685
+ esQueryString?: string;
686
+ };
687
+ interface DataDisplayReturnValues<Type> {
688
+ dataDisplayParams: DataDisplayParams<Type>;
689
+ setDataDisplayParam: <PropKey extends keyof DataDisplayParams<Type>>(prop: PropKey, value: DataDisplayParams<Type>[PropKey]) => void;
690
+ }
691
+ declare const useDataDisplayParams: <Type>(initialParams: Partial<DataDisplayParams<Type>>) => DataDisplayReturnValues<Type>;
692
+
693
+ declare enum ToastTypes {
694
+ ERROR = "ERROR",
695
+ SUCCESS = "SUCCESS"
696
+ }
697
+ interface ToastContextProps {
698
+ addToast: (type: ToastTypes, text: ReactElement | string, title: string) => void;
699
+ removeToast: (id: string) => void;
700
+ toasts: Toast[];
701
+ }
702
+ declare const ToastContext: React__default.Context<ToastContextProps>;
703
+ interface ToastsContextProviderProps {
704
+ children: ReactNode;
705
+ }
706
+ declare const ToastsContextProvider: ({ children, }: ToastsContextProviderProps) => _emotion_react_jsx_runtime.JSX.Element;
707
+
708
+ declare const useToastMessage: () => ToastContextProps;
709
+
710
+ declare const useStoredTableConfig: <T>(localeStorageKey: string) => () => StoredTableConfig<T> | undefined;
711
+
712
+ declare function useWithOrchestratorTheme<T>(getStylesFunction: (theme: EuiThemeComputed) => T): T;
713
+
714
+ type SessionToken = Session & {
715
+ accessToken?: string;
716
+ };
717
+ declare const useSessionWithToken: (options?: UseSessionOptions<boolean> | undefined) => {
718
+ session: SessionToken;
719
+ update: (data?: any) => Promise<Session | null>;
720
+ data: Session;
721
+ status: "authenticated";
722
+ } | {
723
+ session: SessionToken;
724
+ update: (data?: any) => Promise<Session | null>;
725
+ data: null;
726
+ status: "unauthenticated" | "loading";
727
+ } | {
728
+ session: SessionToken;
729
+ update: (data?: any) => Promise<Session | null>;
730
+ data: Session;
731
+ status: "authenticated";
732
+ } | {
733
+ session: SessionToken;
734
+ update: (data?: any) => Promise<Session | null>;
735
+ data: null;
736
+ status: "loading";
737
+ };
504
738
 
505
- type SubscriptionActionsProps = {
739
+ declare enum SubscriptionTabIds {
740
+ GENERAL_TAB = "general-id",
741
+ SERVICE_CONFIGURATION_TAB = "service-configuration-id",
742
+ PROCESSES_TAB = "processes-id",
743
+ RELATED_SUBSCRIPTIONS_TAB = "related-subscriptions-id"
744
+ }
745
+ declare const getFieldFromProductBlockInstanceValues: (instanceValues: FieldValue[], field: string) => string | number | boolean;
746
+ declare const getProductBlockTitle: (instanceValues: FieldValue[]) => string | number | boolean;
747
+ declare const flattenArrayProps: (action: SubscriptionAction) => TranslationValues;
748
+ declare const getWorkflowTargetColor: (workflowTarget: WorkflowTarget, theme: EuiThemeComputed) => string;
749
+
750
+ interface WfoProcessesTimelineProps {
751
+ subscriptionDetailProcesses: SubscriptionDetailProcess[];
752
+ }
753
+ declare const WfoProcessesTimeline: ({ subscriptionDetailProcesses, }: WfoProcessesTimelineProps) => _emotion_react_jsx_runtime.JSX.Element;
754
+
755
+ interface WfoSubscriptionProductBlockProps {
756
+ ownerSubscriptionId: string;
757
+ subscriptionInstanceId: string;
758
+ productBlockInstanceValues: FieldValue[];
759
+ inUseByRelations: InUseByRelation[];
760
+ id: number;
761
+ }
762
+ declare const HIDDEN_KEYS: string[];
763
+ declare const WfoSubscriptionProductBlock: ({ ownerSubscriptionId, subscriptionInstanceId, productBlockInstanceValues, inUseByRelations, }: WfoSubscriptionProductBlockProps) => _emotion_react_jsx_runtime.JSX.Element;
764
+
765
+ type WfoSubscriptionActionsProps = {
506
766
  subscriptionId: string;
507
767
  };
508
- declare const WFOSubscriptionActions: FC<SubscriptionActionsProps>;
768
+ declare const WfoSubscriptionActions: FC<WfoSubscriptionActionsProps>;
509
769
 
510
- declare const RenderField: (field: string, data: any) => _emotion_react_jsx_runtime.JSX.Element;
511
- declare const WFOSubscriptionBlock: (title: string, data: object) => _emotion_react_jsx_runtime.JSX.Element | undefined;
770
+ interface SubscriptionKeyValueBlockProps {
771
+ title: string;
772
+ keyValues: WfoKeyValueTableDataType[];
773
+ }
774
+ declare const SubscriptionKeyValueBlock: ({ title, keyValues, }: SubscriptionKeyValueBlockProps) => _emotion_react_jsx_runtime.JSX.Element;
512
775
 
513
- declare const WFOSubscriptionDetailTree: () => _emotion_react_jsx_runtime.JSX.Element | null;
776
+ interface WfoSubscriptionDetailTreeProps {
777
+ productBlockInstances: ProductBlockInstance[];
778
+ }
779
+ declare const WfoSubscriptionDetailTree: ({ productBlockInstances, }: WfoSubscriptionDetailTreeProps) => _emotion_react_jsx_runtime.JSX.Element | null;
514
780
 
515
- /** TODO: Adding a useTranslations hook here leads to an hooks error. https://github.com/workfloworchestrator/orchestrator-ui/issues/177 */
516
- declare const WFOSubscriptionGeneral: () => _emotion_react_jsx_runtime.JSX.Element;
781
+ interface WfoSubscriptionGeneralProps {
782
+ subscriptionDetail: SubscriptionDetail;
783
+ }
784
+ declare const WfoSubscriptionGeneral: ({ subscriptionDetail, }: WfoSubscriptionGeneralProps) => _emotion_react_jsx_runtime.JSX.Element;
785
+
786
+ type WfoSubscriptionProps = {
787
+ subscriptionId: string;
788
+ };
789
+ declare const WfoSubscription: ({ subscriptionId }: WfoSubscriptionProps) => _emotion_react_jsx_runtime.JSX.Element;
517
790
 
518
- type WFOBasicTableColumn<T> = Omit<EuiBasicTableColumn<T>, 'render'>;
519
- type WFOTableDataColumnConfig<T, Property> = WFOBasicTableColumn<T> & {
791
+ type WfoEuiBasicTableColumn<T> = Omit<EuiBasicTableColumn<T>, 'render'>;
792
+ type WfoTableDataColumnConfig<T, Property> = WfoEuiBasicTableColumn<T> & {
520
793
  field: Property;
521
794
  name: string;
795
+ sortable?: boolean;
796
+ filterable?: boolean;
522
797
  };
523
- type WFOTableColumnsWithExtraNonDataFields<T> = WFOTableColumns<T> & {
798
+ declare const WFO_STATUS_COLOR_FIELD = "statusColorField";
799
+ type WfoTableColumnsWithExtraNonDataFields<T> = WfoTableColumns<T> & {
524
800
  [key: string]: EuiBasicTableColumn<T> & {
525
801
  field: string;
526
802
  name?: string;
527
803
  };
528
804
  };
529
- type WFOTableColumns<T> = {
530
- [Property in keyof T]: WFOTableDataColumnConfig<T, Property> & {
805
+ type WfoTableColumns<T> = {
806
+ [Property in keyof T]: WfoTableDataColumnConfig<T, Property> & {
531
807
  render?: (cellValue: T[Property], row: T) => ReactNode;
808
+ renderDetails?: (cellValue: T[Property], row: T) => ReactNode;
809
+ clipboardText?: (cellValue: T[Property], row: T) => string;
532
810
  };
533
811
  };
534
- type WFOTableControlColumnConfig<T> = {
535
- [key: string]: WFOBasicTableColumn<T> & {
812
+ type WfoTableControlColumnConfig<T> = {
813
+ [key: string]: WfoEuiBasicTableColumn<T> & {
536
814
  field: string;
537
815
  name?: string;
538
- render: (row: T) => ReactNode;
816
+ render: (cellValue: never, row: T) => ReactNode;
539
817
  };
540
818
  };
541
- type WFOTableColumnsWithControlColumns<T> = WFOTableColumns<T> & WFOTableControlColumnConfig<T>;
542
819
  type TableColumnKeys<T> = Array<keyof T>;
543
- type WFODataSorting<T> = {
820
+ type WfoDataSorting<T> = {
544
821
  field: keyof T;
545
822
  sortOrder: SortOrder;
546
823
  };
824
+ type WfoDataSearch<T> = {
825
+ field: keyof T;
826
+ searchText: string;
827
+ };
547
828
  declare const getSortDirectionFromString: (sortOrder?: string) => SortOrder | undefined;
548
829
 
549
- type WFODataGridTableColumns<T> = {
830
+ type WfoDataGridTableColumns<T> = {
550
831
  [Property in keyof T]: Omit<EuiDataGridColumn, 'id'> & {
551
832
  renderCell?: (cellValue: T[Property], row: T) => ReactNode;
552
833
  isHiddenByDefault?: boolean;
553
834
  };
554
835
  };
555
- type WFOControlColumn<T> = Omit<EuiDataGridControlColumn, 'rowCellRender' | 'headerCellRender' | 'footerCellRender' | 'footerCellProps' | 'headerCellProps'> & {
836
+ type WfoControlColumn<T> = Omit<EuiDataGridControlColumn, 'rowCellRender' | 'headerCellRender' | 'footerCellRender' | 'footerCellProps' | 'headerCellProps'> & {
556
837
  rowCellRender: (row: T) => ReactNode;
557
838
  };
558
- declare const getInitialColumnOrder: <T>(columns: WFODataGridTableColumns<T>, initialColumnOrder: TableColumnKeys<T>) => EuiDataGridColumn[];
559
- declare const mapColumnSortToEuiDataGridSorting: <T>(columnSort?: WFODataSorting<T> | undefined, updateColumnSort?: ((columnSort: WFODataSorting<T>) => void) | undefined) => EuiDataGridSorting;
839
+ declare const getInitialColumnOrder: <T>(columns: WfoDataGridTableColumns<T>, initialColumnOrder: TableColumnKeys<T>) => EuiDataGridColumn[];
840
+ declare const mapColumnSortToEuiDataGridSorting: <T>(columnSort?: WfoDataSorting<T> | undefined, updateColumnSort?: ((columnSort: WfoDataSorting<T>) => void) | undefined) => EuiDataGridSorting;
560
841
 
561
842
  type Pagination = EuiDataGridPaginationProps & {
562
843
  totalRecords: number;
563
844
  };
564
- type WFODataGridTableProps<T> = {
845
+ type WfoDataGridTableProps<T> = {
565
846
  data: T[];
566
847
  pagination: Pagination;
567
- columns: WFODataGridTableColumns<T>;
568
- leadingControlColumns?: WFOControlColumn<T>[];
569
- trailingControlColumns?: WFOControlColumn<T>[];
848
+ columns: WfoDataGridTableColumns<T>;
849
+ leadingControlColumns?: WfoControlColumn<T>[];
850
+ trailingControlColumns?: WfoControlColumn<T>[];
570
851
  initialColumnOrder: TableColumnKeys<T>;
571
- dataSorting?: WFODataSorting<T>;
852
+ dataSorting?: WfoDataSorting<T>;
572
853
  handleRowClick?: (row: T) => void;
573
- updateDataSorting?: (updatedDataSorting: WFODataSorting<T>) => void;
854
+ updateDataSorting?: (updatedDataSorting: WfoDataSorting<T>) => void;
574
855
  };
575
- declare const WFODataGridTable: <T>({ data, pagination, columns, leadingControlColumns, trailingControlColumns, initialColumnOrder, dataSorting, handleRowClick, updateDataSorting, }: WFODataGridTableProps<T>) => _emotion_react_jsx_runtime.JSX.Element;
856
+ declare const WfoDataGridTable: <T>({ data, pagination, columns, leadingControlColumns, trailingControlColumns, initialColumnOrder, dataSorting, handleRowClick, updateDataSorting, }: WfoDataGridTableProps<T>) => _emotion_react_jsx_runtime.JSX.Element;
576
857
 
577
858
  type ColumnConfig<T> = {
578
859
  field: keyof T;
@@ -597,96 +878,483 @@ declare const DEFAULT_PAGE_SIZE = 10;
597
878
  declare const ACTIVE_PROCESSES_LIST_TABLE_LOCAL_STORAGE_KEY = "activeProcessesListTable";
598
879
  declare const COMPLETED_PROCESSES_LIST_TABLE_LOCAL_STORAGE_KEY = "completedProcessesListTable";
599
880
  declare const METADATA_RESOURCE_TYPES_TABLE_LOCAL_STORAGE_KEY = "metadataResourceTypesTable";
600
- declare const METADATA_PRODUCTBLOCKS_TABLE_LOCAL_STORAGE_KEY = "metadataProductBlocksTable";
881
+ declare const METADATA_PRODUCT_BLOCKS_TABLE_LOCAL_STORAGE_KEY = "metadataProductBlocksTable";
601
882
  declare const METADATA_PRODUCT_TABLE_LOCAL_STORAGE_KEY = "metadataProductTable";
602
883
  declare const METADATA_WORKFLOWS_TABLE_LOCAL_STORAGE_KEY = "metadataWorkflowsTable";
603
884
  declare const SUBSCRIPTIONS_TABLE_LOCAL_STORAGE_KEY = "subscriptionsTable";
885
+ declare const TASK_LIST_TABLE_LOCAL_STORAGE_KEY = "taskListTable";
604
886
 
605
- type LocalStorageTableConfig<T> = {
887
+ type StoredTableConfig<T> = {
606
888
  hiddenColumns: TableColumnKeys<T>;
607
889
  selectedPageSize: number;
608
890
  };
609
- declare const isValidLocalStorageTableConfig: <T>(object: LocalStorageTableConfig<T>) => object is LocalStorageTableConfig<T>;
610
- declare const getTableConfigFromLocalStorage: <T>(key: string) => LocalStorageTableConfig<T> | undefined;
611
- declare const setTableConfigToLocalStorage: <T>(key: string, updatedTableConfig: LocalStorageTableConfig<T>) => void;
891
+ declare const isValidLocalStorageTableConfig: <T>(object: StoredTableConfig<T>) => object is StoredTableConfig<T>;
892
+ declare const getTableConfigFromLocalStorage: <T>(key: string) => StoredTableConfig<T> | undefined;
893
+ declare const setTableConfigToLocalStorage: <T>(key: string, updatedTableConfig: StoredTableConfig<T>) => void;
612
894
  declare const clearTableConfigFromLocalStorage: (key: string) => void;
613
895
 
614
896
  declare const determinePageIndex: (pageIndex: number, pageSize: number) => number;
615
897
  declare const determineNewSortOrder: <T>(currentSortField: keyof T, currentSortOrder: SortOrder, newSortField: keyof T) => SortOrder;
616
- declare const getDataSortHandler: <Type>(dataDisplayParams: DataDisplayParams<Type>, setDataDisplayParam: <PropKey extends keyof DataDisplayParams<Type_1>>(prop: PropKey, value: DataDisplayParams<Type>[PropKey]) => void) => (newSortField: keyof Type) => void;
898
+ declare const getDataSortHandler: <Type>(setDataDisplayParam: <PropKey extends keyof DataDisplayParams<Type_1>>(prop: PropKey, value: DataDisplayParams<Type>[PropKey]) => void) => ({ field, sortOrder }: WfoDataSorting<Type>) => void;
617
899
  declare const getPageChangeHandler: <Type>(setDataDisplayParam: <PropKey extends keyof DataDisplayParams<Type_1>>(prop: PropKey, value: DataDisplayParams<Type>[PropKey]) => void) => (page: {
618
900
  index: number;
619
901
  size: number;
620
902
  } | undefined) => void;
621
903
  declare const getEsQueryStringHandler: <Type>(setDataDisplayParam: <PropKey extends keyof DataDisplayParams<Type_1>>(prop: PropKey, value: DataDisplayParams<Type>[PropKey]) => void) => (esQueryString: string) => void;
622
904
 
623
- type WFOTableProps<T> = {
905
+ type WfoBasicTableColumns<T> = {
906
+ [Property in keyof T]: WfoTableDataColumnConfig<T, Property> & {
907
+ render?: (cellValue: T[Property], row: T) => ReactNode;
908
+ };
909
+ };
910
+ type WfoBasicTableColumnsWithControlColumns<T> = WfoBasicTableColumns<T> & WfoTableControlColumnConfig<T>;
911
+ type WfoBasicTableProps<T> = {
624
912
  data: T[];
625
- columns: WFOTableColumnsWithControlColumns<T> | WFOTableColumns<T>;
913
+ columns: WfoBasicTableColumnsWithControlColumns<T> | WfoBasicTableColumns<T>;
626
914
  hiddenColumns?: TableColumnKeys<T>;
627
- dataSorting?: WFODataSorting<T>;
628
- pagination: Pagination$1;
915
+ dataSorting?: WfoDataSorting<T>;
916
+ pagination?: Pagination$1;
629
917
  isLoading?: boolean;
630
- onCriteriaChange: (criteria: Criteria<T>) => void;
631
- onDataSort?: (columnId: keyof T) => void;
918
+ onCriteriaChange?: (criteria: Criteria<T>) => void;
919
+ onUpdateDataSorting?: (updatedDataSorting: WfoDataSorting<T>) => void;
920
+ onDataSearch?: (updatedDataSearch: WfoDataSearch<T>) => void;
921
+ getStatusColorForRow?: (row: T) => string;
922
+ isExpandable?: boolean;
923
+ itemIdToExpandedRowMap?: Record<string, ReactNode>;
924
+ itemId?: string;
632
925
  };
633
- declare const WFOTable: <T>({ data, columns, hiddenColumns, dataSorting, pagination, isLoading, onCriteriaChange, onDataSort, }: WFOTableProps<T>) => _emotion_react_jsx_runtime.JSX.Element;
926
+ declare const WfoBasicTable: <T>({ data, columns, hiddenColumns, dataSorting, pagination, isLoading, onCriteriaChange, onUpdateDataSorting, onDataSearch, getStatusColorForRow, isExpandable, itemIdToExpandedRowMap, itemId, }: WfoBasicTableProps<T>) => _emotion_react_jsx_runtime.JSX.Element;
634
927
 
635
- type WFOTableWithFilterProps<T> = {
928
+ type WfoSortDirectionIconProps = {
929
+ sortDirection: SortOrder;
930
+ };
931
+ declare const WfoSortDirectionIcon: FC<WfoSortDirectionIconProps>;
932
+
933
+ type WfoTableHeaderCellProps = {
934
+ fieldName: string;
935
+ sortOrder?: SortOrder;
936
+ onSetSortOrder?: (updatedSortOrder: SortOrder) => void;
937
+ onSearch?: (searchText: string) => void;
938
+ children: string;
939
+ };
940
+ declare const WfoTableHeaderCell: FC<WfoTableHeaderCellProps>;
941
+
942
+ type WfoStatusColorFieldProps = {
943
+ color: string;
944
+ };
945
+ declare const WfoStatusColorField: ({ color }: WfoStatusColorFieldProps) => _emotion_react_jsx_runtime.JSX.Element;
946
+
947
+ type WfoTableWithFilterProps<T> = {
636
948
  data: T[];
637
- tableColumns: WFOTableColumns<T>;
638
- leadingControlColumns?: WFOTableControlColumnConfig<T>;
639
- trailingControlColumns?: WFOTableControlColumnConfig<T>;
949
+ tableColumns: WfoTableColumns<T>;
950
+ leadingControlColumns?: WfoTableControlColumnConfig<T>;
951
+ trailingControlColumns?: WfoTableControlColumnConfig<T>;
640
952
  defaultHiddenColumns?: TableColumnKeys<T>;
641
- dataSorting: WFODataSorting<T>;
953
+ dataSorting: WfoDataSorting<T>;
642
954
  pagination: Pagination$1;
643
955
  esQueryString?: string;
644
956
  isLoading: boolean;
645
957
  localStorageKey: string;
958
+ detailModal?: boolean;
959
+ detailModalTitle?: string;
646
960
  onUpdateEsQueryString: (esQueryString: string) => void;
647
961
  onUpdatePage: (criterion: Criteria$1<T>['page']) => void;
648
- onUpdateDataSort: (newSortColumnId: keyof T) => void;
962
+ onUpdateDataSort: (dataSorting: WfoDataSorting<T>) => void;
649
963
  };
650
- declare const WFOTableWithFilter: <T>({ data, tableColumns, leadingControlColumns, trailingControlColumns, defaultHiddenColumns, dataSorting, pagination, esQueryString, isLoading, localStorageKey, onUpdateEsQueryString, onUpdatePage, onUpdateDataSort, }: WFOTableWithFilterProps<T>) => _emotion_react_jsx_runtime.JSX.Element;
964
+ declare const WfoTableWithFilter: <T>({ data, tableColumns, leadingControlColumns, trailingControlColumns, defaultHiddenColumns, dataSorting, pagination, esQueryString, isLoading, localStorageKey, detailModal, detailModalTitle, onUpdateEsQueryString, onUpdatePage, onUpdateDataSort, }: WfoTableWithFilterProps<T>) => _emotion_react_jsx_runtime.JSX.Element;
651
965
 
652
- type WFOTableHeaderCellProps = {
653
- sortDirection?: SortOrder;
654
- onClick?: () => void;
655
- children: ReactNode;
656
- };
657
- declare const WFOTableHeaderCell: FC<WFOTableHeaderCellProps>;
658
-
659
- declare const WFOLoading: () => _emotion_react_jsx_runtime.JSX.Element;
660
-
661
- type WFOIconProps = {
966
+ type WfoIconProps = {
662
967
  width?: number | string;
663
968
  height?: number | string;
664
969
  color?: string;
665
970
  };
666
971
 
667
- declare const WFOXCircleFill: FC<WFOIconProps>;
972
+ declare const WfoXCircleFill: FC<WfoIconProps>;
973
+
974
+ declare const WfoArrowsExpand: FC<WfoIconProps>;
975
+
976
+ declare const WfoStatusDotIcon: FC<WfoIconProps>;
977
+
978
+ declare const WfoLogoutIcon: FC<WfoIconProps>;
979
+
980
+ declare const WfoCheckmarkCircleFill: FC<WfoIconProps>;
981
+
982
+ declare const WfoMinusCircleOutline: FC<WfoIconProps>;
983
+
984
+ declare const WfoPlusCircleFill: FC<WfoIconProps>;
985
+
986
+ declare const WfoChevronDown: FC<WfoIconProps>;
987
+
988
+ declare const WfoChevronUp: FC<WfoIconProps>;
989
+
990
+ declare const WfoArrowNarrowDown: FC<WfoIconProps>;
991
+
992
+ declare const WfoRefresh: FC<WfoIconProps>;
993
+
994
+ declare const WfoArrowNarrowUp: FC<WfoIconProps>;
668
995
 
669
- declare const WFOStatusDotIcon: FC<WFOIconProps>;
996
+ declare const WfoMinusCircleFill: FC<WfoIconProps>;
670
997
 
671
- declare const WFOLogoutIcon: FC<WFOIconProps>;
998
+ declare const WfoSearchStrikethrough: FC<WfoIconProps>;
672
999
 
673
- declare const WFOCheckmarkCircleFill: FC<WFOIconProps>;
1000
+ declare const WfoSortAsc: FC<WfoIconProps>;
674
1001
 
675
- declare const WFOMinusCircleOutline: FC<WFOIconProps>;
1002
+ declare const WfoSortDesc: FC<WfoIconProps>;
676
1003
 
677
- declare const WFOPlusCircleFill: FC<WFOIconProps>;
1004
+ declare const WfoPlayFill: FC<WfoIconProps>;
678
1005
 
679
- declare const WFOChevronDown: FC<WFOIconProps>;
1006
+ declare const WfoCode: FC<WfoIconProps>;
680
1007
 
681
- declare const WFOArrowNarrowDown: FC<WFOIconProps>;
1008
+ declare const WfoEyeFill: FC<WfoIconProps>;
682
1009
 
683
- declare const WFOArrowNarrowUp: FC<WFOIconProps>;
1010
+ declare const WfoCogFill: FC<WfoIconProps>;
1011
+
1012
+ declare const WfoStatistic: FC<WfoIconProps>;
1013
+
1014
+ type WfoSortButtonProps = {
1015
+ WfoIconComponent: FC<WfoIconProps>;
1016
+ isActive: boolean;
1017
+ onClick?: () => void;
1018
+ };
1019
+ declare const WfoSortButton: FC<WfoSortButtonProps>;
1020
+
1021
+ type WfoSortButtonsProps = {
1022
+ sortOrder?: SortOrder;
1023
+ onChangeSortOrder: (updatedSortOrder: SortOrder) => void;
1024
+ };
1025
+ declare const WfoSortButtons: FC<WfoSortButtonsProps>;
1026
+
1027
+ declare enum TimelinePosition {
1028
+ PAST = "past",
1029
+ CURRENT = "current",
1030
+ FUTURE = "future"
1031
+ }
1032
+ type TimelineItem = {
1033
+ id?: string;
1034
+ processStepStatus: StepStatus;
1035
+ stepDetail?: string | ReactNode;
1036
+ value?: string | ReactNode;
1037
+ };
1038
+ type WfoTimelineProps = {
1039
+ timelineItems: TimelineItem[];
1040
+ indexOfCurrentStep?: number;
1041
+ onStepClick: (timelineItem: TimelineItem) => void;
1042
+ };
1043
+ declare const WfoTimeline: FC<WfoTimelineProps>;
1044
+
1045
+ declare const WfoLoading: () => _emotion_react_jsx_runtime.JSX.Element;
1046
+
1047
+ declare const ToastsList: () => _emotion_react_jsx_runtime.JSX.Element;
1048
+
1049
+ interface IProps {
1050
+ preselectedInput?: unknown;
1051
+ formKey: string;
1052
+ handleSubmit: (userInputs: any) => void;
1053
+ }
1054
+ declare function CreateForm(props: IProps): _emotion_react_jsx_runtime.JSX.Element;
1055
+
1056
+ type AutoFieldsProps = {
1057
+ autoField?: ComponentType<{
1058
+ className: string;
1059
+ name: string;
1060
+ }>;
1061
+ element?: ComponentType<object> | string;
1062
+ fields?: string[];
1063
+ omitFields?: string[];
1064
+ };
1065
+
1066
+ interface ConfirmDialogActions {
1067
+ showConfirmDialog: ShowConfirmDialogType;
1068
+ closeConfirmDialog: (e: React__default.KeyboardEvent<HTMLDivElement> | React__default.MouseEvent<HTMLButtonElement, MouseEvent> | undefined, confirm?: boolean) => void;
1069
+ }
1070
+ interface ShowConfirmDialog {
1071
+ question: string;
1072
+ confirmAction: ConfirmDialogActions['closeConfirmDialog'];
1073
+ cancelAction?: ConfirmDialogActions['closeConfirmDialog'];
1074
+ leavePage?: boolean;
1075
+ isError?: boolean;
1076
+ }
1077
+ type ShowConfirmDialogType = ({ question, confirmAction, cancelAction, leavePage, isError, }: ShowConfirmDialog) => void;
1078
+ declare const ConfirmationDialogProvider: React__default.Provider<ConfirmDialogActions>;
1079
+
1080
+ declare function ConfirmationDialogContextWrapper({ children }: any): _emotion_react_jsx_runtime.JSX.Element;
1081
+
1082
+ declare module 'uniforms' {
1083
+ interface FilterDOMProps {
1084
+ customPropToFilter: never;
1085
+ description: never;
1086
+ const: never;
1087
+ default: never;
1088
+ required: never;
1089
+ pattern: never;
1090
+ examples: never;
1091
+ allOf: never;
1092
+ options: never;
1093
+ }
1094
+ }
1095
+
1096
+ type FieldProps$1<Value, Extra = object, InputElementType = HTMLInputElement, ElementType = HTMLDivElement> = HTMLFieldProps<Value, ElementType, {
1097
+ inputRef?: Ref<InputElementType>;
1098
+ description?: string;
1099
+ } & Extra>;
1100
+
1101
+ type FieldProps<Value, Extra = object, InputElementType = HTMLInputElement, ElementType = HTMLDivElement> = HTMLFieldProps<Value, ElementType, {
1102
+ inputRef?: Ref<InputElementType>;
1103
+ description?: string;
1104
+ } & Extra>;
1105
+
1106
+ type AcceptItemType = 'info' | 'label' | 'warning' | 'url' | 'checkbox' | '>checkbox' | 'checkbox?' | '>checkbox?' | 'skip' | 'margin' | 'value';
1107
+ type AcceptItem = [string, AcceptItemType, Record<string, string>?];
1108
+ type AcceptValue = 'SKIPPED' | 'ACCEPTED' | 'INCOMPLETE';
1109
+ type AcceptFieldProps = FieldProps<AcceptValue, {
1110
+ data?: AcceptItem[];
1111
+ }>;
1112
+ declare module 'uniforms' {
1113
+ interface FilterDOMProps {
1114
+ data: never;
1115
+ }
1116
+ }
1117
+ declare const AcceptField: uniforms.ConnectedField<AcceptFieldProps, AcceptValue | undefined>;
1118
+
1119
+ type BoolFieldProps = FieldProps$1<boolean>;
1120
+ declare const BoolField: uniforms.ConnectedField<BoolFieldProps, boolean | undefined>;
1121
+
1122
+ type DividerFieldProps = FieldProps$1<null, object, null, HTMLDivElement>;
1123
+ declare const DividerField: uniforms.ConnectedField<DividerFieldProps, null | undefined>;
1124
+
1125
+ type ErrorFieldProps = FieldProps$1<null>;
1126
+ declare const ErrorField: uniforms.ConnectedField<ErrorFieldProps, null | undefined>;
1127
+
1128
+ type ErrorsFieldProps = HTMLProps<HTMLDivElement>;
1129
+ declare const ErrorsField: (props: ErrorsFieldProps) => _emotion_react_jsx_runtime.JSX.Element | null;
1130
+
1131
+ type LabelFieldProps = FieldProps$1<null, object, null, HTMLDivElement>;
1132
+ declare const LabelField: uniforms.ConnectedField<LabelFieldProps, null | undefined>;
1133
+
1134
+ type ListAddFieldProps = FieldProps<string, {
1135
+ initialCount?: number;
1136
+ outerList?: boolean;
1137
+ }>;
1138
+ declare const ListAddField: uniforms.ConnectedField<ListAddFieldProps, string | undefined>;
1139
+
1140
+ type ListDelFieldProps = FieldProps<null, {
1141
+ initialCount?: number;
1142
+ itemProps?: object;
1143
+ outerList?: boolean;
1144
+ }>;
1145
+ declare const ListDelField: uniforms.ConnectedField<ListDelFieldProps, null | undefined>;
1146
+
1147
+ declare module 'uniforms' {
1148
+ interface FilterDOMProps {
1149
+ items: never;
1150
+ uniqueItems: never;
1151
+ outerList: never;
1152
+ }
1153
+ }
1154
+ type ListFieldProps = FieldProps<unknown[], {
1155
+ initialCount?: number;
1156
+ itemProps?: object;
1157
+ uniqueItems?: boolean;
1158
+ }, null, HTMLUListElement>;
1159
+ declare const ListField: uniforms.ConnectedField<ListFieldProps, unknown[] | undefined>;
1160
+
1161
+ type ListSelectFieldProps = FieldProps<string | string[], {
1162
+ allowedValues?: string[];
1163
+ transform?(value: string): string;
1164
+ }>;
1165
+ declare const ListSelectField: uniforms.ConnectedField<ListSelectFieldProps, string | string[] | undefined>;
1166
+
1167
+ type LongTextFieldProps = FieldProps$1<string, object, HTMLTextAreaElement>;
1168
+ declare const LongTextField: uniforms.ConnectedField<LongTextFieldProps, string | undefined>;
1169
+
1170
+ type NumFieldProps = FieldProps$1<number, {
1171
+ max?: number;
1172
+ min?: number;
1173
+ precision?: number;
1174
+ step?: number;
1175
+ }>;
1176
+ declare const NumField: uniforms.ConnectedField<NumFieldProps, number | undefined>;
1177
+
1178
+ type SelectFieldProps = FieldProps<string | string[], {
1179
+ allowedValues?: string[];
1180
+ transform?(value: string): string;
1181
+ }>;
1182
+ declare const SelectField: uniforms.ConnectedField<SelectFieldProps, string | string[] | undefined>;
1183
+
1184
+ type ProductFieldProps = {
1185
+ productIds?: string[];
1186
+ } & Omit<SelectFieldProps, 'placeholder' | 'transform' | 'allowedValues'>;
1187
+ declare module 'uniforms' {
1188
+ interface FilterDOMProps {
1189
+ productIds: never;
1190
+ }
1191
+ }
1192
+ declare const ProductField: uniforms.ConnectedField<ProductFieldProps, string | string[] | undefined>;
1193
+
1194
+ type RadioFieldProps = FieldProps$1<string, {
1195
+ allowedValues?: string[];
1196
+ checkboxes?: boolean;
1197
+ transform?(value: string): string;
1198
+ }>;
1199
+ declare const RadioField: uniforms.ConnectedField<RadioFieldProps, string | undefined>;
1200
+
1201
+ type SubmitFieldProps = FieldProps$1<null, object, HTMLInputElement, HTMLInputElement>;
1202
+ declare const SubmitField: ({ disabled, inputRef, readOnly, value, ...props }: SubmitFieldProps) => _emotion_react_jsx_runtime.JSX.Element;
1203
+
1204
+ type SubscriptionSummaryFieldProps = FieldProps<string>;
1205
+ declare const SubscriptionSummaryField: uniforms.ConnectedField<SubscriptionSummaryFieldProps, string | undefined>;
1206
+
1207
+ type TextFieldProps = FieldProps$1<string>;
1208
+ declare const TextField: uniforms.ConnectedField<TextFieldProps, string | undefined>;
1209
+
1210
+ type DateFieldProps = FieldProps<Date, {
1211
+ max?: Date;
1212
+ min?: Date;
1213
+ }>;
1214
+ declare const DateField: uniforms.ConnectedField<DateFieldProps, Date | undefined>;
1215
+
1216
+ declare function utcTimestampToLocalMoment(utc_timestamp: number): moment.Moment;
1217
+ declare function localMomentToUtcTimestamp(local_moment: Moment): number;
1218
+ type TimestampFieldProps = FieldProps<number, {
1219
+ max?: number;
1220
+ min?: number;
1221
+ showTimeSelect: boolean;
1222
+ locale?: string;
1223
+ dateFormat?: string;
1224
+ timeFormat?: string;
1225
+ }>;
1226
+ declare const TimestampField: uniforms.ConnectedField<TimestampFieldProps, number | undefined>;
1227
+
1228
+ type OrganisationFieldProps = Omit<SelectFieldProps, 'placeholder' | 'transform' | 'allowedValues'>;
1229
+ declare const OrganisationField: uniforms.ConnectedField<OrganisationFieldProps, string | string[] | undefined>;
1230
+
1231
+ declare function stop(e: React__default.SyntheticEvent): void;
1232
+ type ContactPersonNameFieldProps = FieldProps<string, {
1233
+ organisationId?: string;
1234
+ organisationKey?: string;
1235
+ }>;
1236
+ declare module 'uniforms' {
1237
+ interface FilterDOMProps {
1238
+ organisationId: never;
1239
+ organisationKey: never;
1240
+ }
1241
+ }
1242
+ declare const ContactPersonNameField: uniforms.ConnectedField<ContactPersonNameFieldProps, string | undefined>;
1243
+
1244
+ type ImsNodeIdFieldProps = {
1245
+ onChange: (value?: number | undefined) => void;
1246
+ value?: number;
1247
+ locationCode: string;
1248
+ status?: string;
1249
+ unsubscribedOnly?: boolean;
1250
+ } & Omit<SelectFieldProps, 'placeholder' | 'transform' | 'allowedValues' | 'onChange' | 'value' | 'name'>;
1251
+ declare module 'uniforms' {
1252
+ interface FilterDOMProps {
1253
+ locationCode: never;
1254
+ status: never;
1255
+ unsubscribedOnly: never;
1256
+ }
1257
+ }
1258
+ declare const ImsNodeIdField: uniforms.ConnectedField<ImsNodeIdFieldProps, number | undefined>;
1259
+
1260
+ type LocationCodeFieldProps = {
1261
+ locationCodes?: string[];
1262
+ } & Omit<SelectFieldProps, 'placeholder' | 'allowedValues'>;
1263
+ declare module 'uniforms' {
1264
+ interface FilterDOMProps {
1265
+ locationCodes: never;
1266
+ }
1267
+ }
1268
+ declare const LocationCodeField: uniforms.ConnectedField<LocationCodeFieldProps, string | string[] | undefined>;
1269
+
1270
+ type VlanFieldProps = FieldProps<string, {
1271
+ subscriptionFieldName?: string;
1272
+ nsiVlansOnly?: boolean;
1273
+ }>;
1274
+ declare const VlanField: uniforms.ConnectedField<VlanFieldProps, string | undefined>;
1275
+
1276
+ type NestFieldProps = FieldProps<null, {
1277
+ fields?: unknown[];
1278
+ itemProps?: object;
1279
+ }>;
1280
+ declare module 'uniforms' {
1281
+ interface FilterDOMProps {
1282
+ properties: never;
1283
+ wrap: never;
1284
+ ref: never;
1285
+ }
1286
+ }
1287
+ declare const NestField: uniforms.ConnectedField<NestFieldProps, null | undefined>;
1288
+
1289
+ type OptGroupFieldProps = FieldProps<null, {
1290
+ fields?: unknown[];
1291
+ itemProps?: object;
1292
+ }>;
1293
+ declare const OptGroupField: uniforms.ConnectedField<OptGroupFieldProps, null | undefined>;
1294
+
1295
+ declare module 'uniforms' {
1296
+ interface FilterDOMProps {
1297
+ excludedSubscriptionIds: never;
1298
+ organisationId: never;
1299
+ organisationKey: never;
1300
+ visiblePortMode: never;
1301
+ bandwidth: never;
1302
+ bandwidthKey: never;
1303
+ tags: never;
1304
+ statuses: never;
1305
+ }
1306
+ }
1307
+ type SubscriptionFieldProps = FieldProps<string, {
1308
+ productIds?: string[];
1309
+ excludedSubscriptionIds?: string[];
1310
+ organisationId?: string;
1311
+ organisationKey?: string;
1312
+ visiblePortMode?: string;
1313
+ bandwidth?: number;
1314
+ bandwidthKey?: string;
1315
+ tags?: string[];
1316
+ statuses?: string[];
1317
+ }>;
1318
+ declare const SubscriptionField: uniforms.ConnectedField<SubscriptionFieldProps, string | undefined>;
1319
+
1320
+ type IPvAnyNetworkFieldProps = FieldProps<string, {
1321
+ prefixMin?: number;
1322
+ }>;
1323
+ declare const IpNetworkField: uniforms.ConnectedField<IPvAnyNetworkFieldProps, string | undefined>;
1324
+
1325
+ declare const WfoStartTaskButtonComboBox: () => _emotion_react_jsx_runtime.JSX.Element;
1326
+
1327
+ type WfoDateTimeProps = {
1328
+ dateOrIsoString: Date | string | null;
1329
+ };
1330
+ declare const WfoDateTime: FC<WfoDateTimeProps>;
1331
+
1332
+ interface AuthProps {
1333
+ children: JSX.Element;
1334
+ }
1335
+ declare const WfoAuth: ({ children }: AuthProps) => JSX.Element;
1336
+
1337
+ interface WfoDropdownButtonProps {
1338
+ label: string;
1339
+ children: ReactNode;
1340
+ }
1341
+ declare const WfoDropdownButton: ({ label, children, }: WfoDropdownButtonProps) => _emotion_react_jsx_runtime.JSX.Element;
684
1342
 
685
1343
  declare const defaultOrchestratorTheme: EuiThemeModifications;
686
1344
 
687
- declare const DUTCH_LOCALE = "nl-NL";
1345
+ declare const getCurrentBrowserLocale: () => string;
688
1346
  declare const parseDate: (date: string | null | undefined) => Date | null;
689
- declare const parseDateToLocaleString: (value: Date | null) => string;
1347
+ declare const calculateTimeDifference: (from: string, to: string) => string;
1348
+ declare const formatDate: (dateString: string | undefined | null) => string;
1349
+ declare const parseIsoString: (dateToStringParser: (date: Date | null) => string) => (date: string | null) => string;
1350
+ declare const parseDateToLocaleDateTimeString: (value: Date | null) => string;
1351
+ declare const parseDateToLocaleDateString: (value: Date | null) => string;
1352
+ declare const parseDateToLocaleTimeString: (value: Date | null) => string;
1353
+ declare const isToday: (date: Date) => boolean;
1354
+ declare const parseDateOrTimeRelativeToToday: (date: Date | null) => string;
1355
+ declare const parseDateRelativeToToday: (date: Date | null) => string;
1356
+
1357
+ declare const getNumberValueFromEnvironmentVariable: (environmentVariable: string | undefined, defaultValue: number) => number;
690
1358
 
691
1359
  declare const getStatusBadgeColor: (status: string) => any;
692
1360
 
@@ -697,6 +1365,9 @@ declare const isUuid4: (value: string) => boolean;
697
1365
 
698
1366
  declare const upperCaseFirstChar: (value: string) => string;
699
1367
  declare const removeSuffix: (value: string, splitChar?: string) => string;
1368
+ declare const camelToHuman: (value: string) => string;
1369
+
1370
+ declare const getProductNamesFromProcess: (process: ProcessDetail | undefined | Omit<ProcessDetail, 'status'>) => string;
700
1371
 
701
1372
  declare const OrchestratorConfigContext: React__default.Context<OrchestratorConfig>;
702
1373
  type OrchestratorConfigProviderProps = {
@@ -705,23 +1376,15 @@ type OrchestratorConfigProviderProps = {
705
1376
  };
706
1377
  declare const OrchestratorConfigProvider: FC<OrchestratorConfigProviderProps>;
707
1378
 
708
- type SubscriptionContextType = {
709
- subscriptionData: SubscriptionDetailBase;
710
- loadingStatus: number;
711
- setSubscriptionData: (data: SubscriptionDetailBase, loadingStatus: number) => void;
712
- };
713
- declare const SubscriptionContext: React.Context<SubscriptionContextType>;
714
- type SubscriptionProviderProps = {
715
- children: ReactNode;
716
- };
717
- declare const SubscriptionProvider: React.FC<SubscriptionProviderProps>;
718
-
719
1379
  type TreeContextType = {
1380
+ setDepths: (depths: number[]) => void;
720
1381
  selectedIds: number[];
721
1382
  expandedIds: number[];
722
1383
  toggleSelectedId: (id: number) => void;
723
1384
  toggleExpandedId: (id: number) => void;
724
- expandAll: (treeLength: number) => void;
1385
+ expandNode: (id: number) => void;
1386
+ collapseNode: (id: number) => void;
1387
+ expandAll: () => void;
725
1388
  collapseAll: () => void;
726
1389
  resetSelection: () => void;
727
1390
  };
@@ -731,36 +1394,94 @@ type TreeProviderProps = {
731
1394
  };
732
1395
  declare const TreeProvider: React.FC<TreeProviderProps>;
733
1396
 
1397
+ interface ApiContext {
1398
+ apiClient: ApiClient;
1399
+ }
1400
+ declare const ApiClientContext: React__default.Context<ApiContext>;
1401
+ type ApiClientContextProviderProps = {
1402
+ children: ReactNode;
1403
+ };
1404
+ declare const ApiClientContextProvider: ({ children, }: ApiClientContextProviderProps) => _emotion_react_jsx_runtime.JSX.Element;
1405
+
734
1406
  type TranslationMessagesMap = Map<Locale, AbstractIntlMessages>;
735
1407
  declare const getTranslationMessages: (locale: string | undefined, messages?: TranslationMessagesMap) => AbstractIntlMessages | undefined;
736
1408
 
737
- declare const WFOProductBlocksPage: () => _emotion_react_jsx_runtime.JSX.Element;
1409
+ declare const WfoProductBlocksPage: () => _emotion_react_jsx_runtime.JSX.Element;
738
1410
 
739
1411
  declare const RESOURCE_TYPE_FIELD_ID: keyof ResourceTypeDefinition;
740
1412
  declare const RESOURCE_TYPE_FIELD_TYPE: keyof ResourceTypeDefinition;
741
1413
  declare const RESOURCE_TYPE_FIELD_DESCRIPTION: keyof ResourceTypeDefinition;
742
- declare const WFOResourceTypesPage: () => _emotion_react_jsx_runtime.JSX.Element;
1414
+ declare const RESOURCE_TYPE_FIELD_PRODUCT_BLOCKS: keyof ResourceTypeDefinition;
1415
+ declare const WfoResourceTypesPage: () => _emotion_react_jsx_runtime.JSX.Element;
1416
+
1417
+ declare const WfoProductsPage: () => _emotion_react_jsx_runtime.JSX.Element;
743
1418
 
744
- declare const WFOProductsPage: () => _emotion_react_jsx_runtime.JSX.Element;
1419
+ type WorkflowListItem = Pick<WorkflowDefinition, 'name' | 'description' | 'target' | 'createdAt'> & {
1420
+ productTags: string[];
1421
+ };
1422
+ declare const WfoWorkflowsPage: () => _emotion_react_jsx_runtime.JSX.Element;
745
1423
 
746
- declare const WFOWorkflowsPage: () => _emotion_react_jsx_runtime.JSX.Element;
1424
+ type ProcessListItem = Pick<Process, 'workflowName' | 'lastStep' | 'lastStatus' | 'workflowTarget' | 'createdBy' | 'assignee' | 'processId' | 'subscriptions'> & {
1425
+ startedAt: Date;
1426
+ lastModifiedAt: Date;
1427
+ productName?: string;
1428
+ productTag?: string;
1429
+ customer: string;
1430
+ customerAbbreviation: string;
1431
+ };
747
1432
 
748
- declare enum WFOProcessListTabType {
1433
+ declare enum WfoProcessListTabType {
749
1434
  ACTIVE = "ACTIVE",
750
1435
  COMPLETED = "COMPLETED"
751
1436
  }
752
- declare const defaultProcessListTabs: WFOFilterTab<WFOProcessListTabType, Process$1>[];
1437
+ declare const defaultProcessListTabs: WfoFilterTab<WfoProcessListTabType, ProcessListItem>[];
753
1438
 
754
- declare const getProcessListTabTypeFromString: (tabId?: string) => WFOProcessListTabType | undefined;
1439
+ declare const getProcessListTabTypeFromString: (tabId?: string) => WfoProcessListTabType | undefined;
755
1440
 
756
- declare const WFOProcessListPage: () => _emotion_react_jsx_runtime.JSX.Element | null;
1441
+ declare const WfoProcessListPage: () => _emotion_react_jsx_runtime.JSX.Element | null;
757
1442
 
758
- type WFOProcessesListSubscriptionsCellProps = {
1443
+ declare const RENDER_ALL = "RENDER_ALL";
1444
+ declare enum RenderDirection {
1445
+ HORIZONTAL = "HORIZONTAL",
1446
+ VERTICAL = "VERTICAL"
1447
+ }
1448
+ type WfoProcessesListSubscriptionsCellProps = {
759
1449
  subscriptions: Pick<Subscription$1, 'subscriptionId' | 'description'>[];
1450
+ numberOfSubscriptionsToRender?: number | typeof RENDER_ALL;
1451
+ renderDirection?: RenderDirection;
1452
+ };
1453
+ declare const WfoProcessListSubscriptionsCell: FC<WfoProcessesListSubscriptionsCellProps>;
1454
+
1455
+ type GroupedStep = {
1456
+ steps: Step[];
760
1457
  };
761
- declare const WFOProcessesListSubscriptionsCell: FC<WFOProcessesListSubscriptionsCellProps>;
1458
+ interface WfoProcessDetailPageProps {
1459
+ processId: string;
1460
+ }
1461
+ declare const WfoProcessDetailPage: ({ processId, }: WfoProcessDetailPageProps) => _emotion_react_jsx_runtime.JSX.Element;
1462
+
1463
+ declare const WfoSubscriptionDetailPage: () => _emotion_react_jsx_runtime.JSX.Element;
1464
+
1465
+ declare const WfoSubscriptionsListPage: () => _emotion_react_jsx_runtime.JSX.Element | null;
762
1466
 
763
- declare const WFOSubscriptionsListPage: () => _emotion_react_jsx_runtime.JSX.Element | null;
1467
+ declare const WfoTaskListPage: () => _emotion_react_jsx_runtime.JSX.Element;
1468
+
1469
+ type StartCreateWorkflowPayload = {
1470
+ product: string;
1471
+ };
1472
+ type StartModifyWorkflowPayload = {
1473
+ subscription_id: string;
1474
+ };
1475
+ type StartWorkflowPayload = StartCreateWorkflowPayload | StartModifyWorkflowPayload;
1476
+ interface WfoStartWorkflowPageProps {
1477
+ workflowName: string;
1478
+ startWorkflowPayload?: StartWorkflowPayload;
1479
+ }
1480
+ interface UserInputForm {
1481
+ stepUserInput?: JSONSchema6;
1482
+ hasNext?: boolean;
1483
+ }
1484
+ declare const WfoStartWorkflowPage: ({ workflowName, startWorkflowPayload, }: WfoStartWorkflowPageProps) => _emotion_react_jsx_runtime.JSX.Element;
764
1485
 
765
1486
  declare const GET_SUBSCRIPTIONS_LIST_GRAPHQL_QUERY: graphql.DocumentNode;
766
1487
  declare function getSubscriptionsListGraphQlQuery<QueryVariablesType = Subscription$1>(): TypedDocumentNode<SubscriptionsResult, GraphqlQueryVariables<QueryVariablesType>>;
@@ -771,4 +1492,17 @@ declare const GET_PRODUCTS_GRAPHQL_QUERY: TypedDocumentNode<ProductDefinitionsRe
771
1492
 
772
1493
  declare const GET_RESOURCE_TYPES_GRAPHQL_QUERY: TypedDocumentNode<ResourceTypeDefinitionsResult, GraphqlQueryVariables<ResourceTypeDefinition>>;
773
1494
 
774
- export { ACTIVE_PROCESSES_LIST_TABLE_LOCAL_STORAGE_KEY, COMPLETED_PROCESSES_LIST_TABLE_LOCAL_STORAGE_KEY, CacheNames, CacheOption, ColumnConfig, CustomerBase, DEFAULT_PAGE_SIZE, DEFAULT_PAGE_SIZES, DUTCH_LOCALE, DataDisplayParams, DataDisplayReturnValues, EngineStatus, EngineStatusValue, Environment, ExternalServiceBase, Field, FilterQuery, FixedInputDefinition, FixedInputsBase, GET_PRODUCTS_BLOCKS_GRAPHQL_QUERY, GET_PRODUCTS_GRAPHQL_QUERY, GET_RESOURCE_TYPES_GRAPHQL_QUERY, GET_SUBSCRIPTIONS_LIST_GRAPHQL_QUERY, GlobalStatus, GraphQLPageInfo, GraphQLSort, GraphqlFilter, GraphqlQueryVariables, HeaderBadgeProps, ItemsList, LocalStorageTableConfig, Locale, METADATA_PRODUCTBLOCKS_TABLE_LOCAL_STORAGE_KEY, METADATA_PRODUCT_TABLE_LOCAL_STORAGE_KEY, METADATA_RESOURCE_TYPES_TABLE_LOCAL_STORAGE_KEY, METADATA_WORKFLOWS_TABLE_LOCAL_STORAGE_KEY, Nullable, OrchestratorConfig, OrchestratorConfigContext, OrchestratorConfigProvider, OrchestratorConfigProviderProps, PATH_METADATA, PATH_METADATA_PRODUCTS, PATH_METADATA_PRODUCT_BLOCKS, PATH_METADATA_RESOURCE_TYPES, PATH_METADATA_WORKFLOWS, PATH_NEW_PROCESS, PATH_PROCESSES, PATH_SETTINGS, PATH_START, PATH_SUBSCRIPTIONS, PATH_TASKS, Pagination, Process$1 as Process, ProcessFromRestApi, ProcessStatus, ProcessStatusCounts, ProcessesResult, ProcessesTimeline, ProcessesTimelineProps, ProductBase, ProductBlockBase, ProductBlockDefinition, ProductBlockDefinitionsResult, ProductDefinition, ProductDefinitionsResult, RESOURCE_TYPE_FIELD_DESCRIPTION, RESOURCE_TYPE_FIELD_ID, RESOURCE_TYPE_FIELD_TYPE, RenderField, ResourceTypeBase, ResourceTypeDefinition, ResourceTypeDefinitionsResult, SUBSCRIPTIONS_TABLE_LOCAL_STORAGE_KEY, SettingsModal, SettingsModalProps, SortOrder, Subscription$1 as Subscription, SubscriptionAction, SubscriptionActionsProps, SubscriptionContext, SubscriptionContextType, SubscriptionDetailBase, SubscriptionProcess, SubscriptionProvider, SubscriptionProviderProps, SubscriptionStatus, SubscriptionsResult, TableColumnKeys, TableConfig, TableSettingsModal, TableSettingsModalProps, TotalStat, TranslationMessagesMap, TreeBlock, TreeContext, TreeContextType, TreeProvider, TreeProviderProps, WFOArrowNarrowDown, WFOArrowNarrowUp, WFOBadge, WFOBadgeProps, WFOBasicTableColumn, WFOBreadcrumbs, WFOCheckmarkCircleFill, WFOChevronDown, WFOControlColumn, WFODataGridTable, WFODataGridTableColumns, WFODataGridTableProps, WFODataSorting, WFOEngineStatusBadge, WFOEnvironmentBadge, WFOFailedTasksBadge, WFOFilterTab, WFOFilterTabs, WFOFilterTabsProps, WFOFixedInputBlock, WFOFrequentlyUsed, WFOFrequentlyUsedProps, WFOHeaderBadge, WFOIconProps, WFOListItemStartPage, WFOListItemStartPageProps, WFOLoading, WFOLogoutIcon, WFOMinusCircleOutline, WFOMultiListSection, WFONewProcessPanel, WFOPageHeader, WFOPageHeaderProps, WFOPageTemplate, WFOPageTemplateProps, WFOPlusCircleFill, WFOProcessListPage, WFOProcessListTabType, WFOProcessStatusBadge, WFOProcessStatusBadgeProps, WFOProcessesListSubscriptionsCell, WFOProcessesListSubscriptionsCellProps, WFOProductBlock, WFOProductBlockBadge, WFOProductBlockBadgeProps, WFOProductBlocksPage, WFOProductsPage, WFOResourceTypesPage, WFOSearchField, WFOSearchFieldProps, WFOSettings, WFOSidebar, WFOStatCards, WFOStatusDotIcon, WFOSubscriptionActions, WFOSubscriptionBlock, WFOSubscriptionDetailTree, WFOSubscriptionGeneral, WFOSubscriptionStatusBadge, WFOSubscriptionStatusBadgeProps, WFOSubscriptionsListPage, WFOTable, WFOTableColumns, WFOTableColumnsWithControlColumns, WFOTableColumnsWithExtraNonDataFields, WFOTableControlColumnConfig, WFOTableDataColumnConfig, WFOTableHeaderCell, WFOTableHeaderCellProps, WFOTableProps, WFOTableWithFilter, WFOTableWithFilterProps, WFOWorkflowsPage, WFOXCircleFill, WorkflowDefinition, WorkflowDefinitionsResult, clearTableConfigFromLocalStorage, defaultOrchestratorTheme, defaultProcessListTabs, determineNewSortOrder, determinePageIndex, getDataSortHandler, getEsQueryStringHandler, getFirstUuidPart, getInitialColumnOrder, getPageChangeHandler, getProcessListTabTypeFromString, getSortDirectionFromString, getStatusBadgeColor, getSubscriptionsListGraphQlQuery, getTableConfigFromLocalStorage, getTranslationMessages, getTypedFieldFromObject, isUuid4, isValidLocalStorageTableConfig, mapColumnSortToEuiDataGridSorting, parseDate, parseDateToLocaleString, removeSuffix, setTableConfigToLocalStorage, upperCaseFirstChar, useCacheNames, useDataDisplayParams, useEngineStatusMutation, useEngineStatusQuery, useFavouriteSubscriptions, useOrchestratorConfig, useOrchestratorTheme, useProcessStatusCountsQuery, useProcessesAttention, useQueryWithGraphql, useRecentProcesses, useSubscriptionActions, useSubscriptionProcesses };
1495
+ declare const GET_SUBSCRIPTION_DETAIL_GRAPHQL_QUERY: TypedDocumentNode<SubscriptionDetailResult, {
1496
+ subscriptionId: string;
1497
+ }>;
1498
+
1499
+ declare const GET_PROCESS_DETAIL_GRAPHQL_QUERY: TypedDocumentNode<ProcessesDetailResult, {
1500
+ processId: string;
1501
+ }>;
1502
+
1503
+ declare const GET_CUSTOMER_GRAPHQL_QUERY: TypedDocumentNode<CustomersResult>;
1504
+
1505
+ declare const GET_SUBSCRIPTION_DROPDOWN_OPTIONS_GRAPHQL_QUERY: graphql.DocumentNode;
1506
+ declare function getSubscriptionDropdownOptionsGraphQlQuery<QueryVariablesType = SubscriptionDropdownOption>(): TypedDocumentNode<SubscriptionDropdownOptionsResult, GraphqlQueryVariables<QueryVariablesType>>;
1507
+
1508
+ export { ACTIVE_PROCESSES_LIST_TABLE_LOCAL_STORAGE_KEY, AcceptField, AcceptFieldProps, ApiClient, ApiClientContext, ApiClientContextProvider, ApiClientContextProviderProps, ApiContext, AutoFieldsProps, BadgeType, BaseApiClient, BoolField, BoolFieldProps, COMPLETED_PROCESSES_LIST_TABLE_LOCAL_STORAGE_KEY, CacheNames, CacheOption, ColumnConfig, ConfirmDialogActions, ConfirmationDialogContextWrapper, ConfirmationDialogProvider, ContactPersonNameField, ContactPersonNameFieldProps, CreateForm, Customer, CustomersResult, DEFAULT_PAGE_SIZE, DEFAULT_PAGE_SIZES, DataDisplayParams, DataDisplayReturnValues, DateField, DateFieldProps, DividerField, DividerFieldProps, EmailAddress, EmailState, EngineStatus, EngineStatusValue, Environment, ErrorField, ErrorFieldProps, ErrorsField, ErrorsFieldProps, ExternalService, Field, FieldValue, FilterQuery, FixedInputDefinition, FixedInputsBase, GET_CUSTOMER_GRAPHQL_QUERY, GET_PROCESS_DETAIL_GRAPHQL_QUERY, GET_PRODUCTS_BLOCKS_GRAPHQL_QUERY, GET_PRODUCTS_GRAPHQL_QUERY, GET_RESOURCE_TYPES_GRAPHQL_QUERY, GET_SUBSCRIPTIONS_LIST_GRAPHQL_QUERY, GET_SUBSCRIPTION_DETAIL_GRAPHQL_QUERY, GET_SUBSCRIPTION_DROPDOWN_OPTIONS_GRAPHQL_QUERY, GlobalStatus, GraphQLPageInfo, GraphQLSort, GraphqlFilter, GraphqlQueryVariables, GroupedStep, HIDDEN_KEYS, HeaderBadgeProps, IPvAnyNetworkFieldProps, ImsNodeIdField, ImsNodeIdFieldProps, InUseByRelation, IpNetworkField, ItemsList, KeyValue, LabelField, LabelFieldProps, ListAddField, ListAddFieldProps, ListDelField, ListDelFieldProps, ListField, ListFieldProps, ListSelectField, ListSelectFieldProps, Locale, LocationCodeField, LocationCodeFieldProps, LongTextField, LongTextFieldProps, METADATA_PRODUCT_BLOCKS_TABLE_LOCAL_STORAGE_KEY, METADATA_PRODUCT_TABLE_LOCAL_STORAGE_KEY, METADATA_RESOURCE_TYPES_TABLE_LOCAL_STORAGE_KEY, METADATA_WORKFLOWS_TABLE_LOCAL_STORAGE_KEY, NestField, NestFieldProps, Nullable, NumField, NumFieldProps, OptGroupField, OptGroupFieldProps, OrchestratorConfig, OrchestratorConfigContext, OrchestratorConfigProvider, OrchestratorConfigProviderProps, OrganisationField, OrganisationFieldProps, PATH_METADATA, PATH_METADATA_PRODUCTS, PATH_METADATA_PRODUCT_BLOCKS, PATH_METADATA_RESOURCE_TYPES, PATH_METADATA_WORKFLOWS, PATH_PROCESSES, PATH_SETTINGS, PATH_START, PATH_START_WORKFLOW, PATH_SUBSCRIPTIONS, PATH_TASKS, Pagination, Process, ProcessDetail, ProcessDoneStatuses, ProcessFromRestApi, ProcessStatus, ProcessStatusCounts, ProcessesDetailResult, ProcessesResult, ProductBlockDefinition, ProductBlockDefinitionsResult, ProductBlockInstance, ProductDefinition, ProductDefinitionsResult, ProductField, ProductFieldProps, ProductLifecycleStatus, RENDER_ALL, RESOURCE_TYPE_FIELD_DESCRIPTION, RESOURCE_TYPE_FIELD_ID, RESOURCE_TYPE_FIELD_PRODUCT_BLOCKS, RESOURCE_TYPE_FIELD_TYPE, RadioField, RadioFieldProps, RelatedSubscription, RelatedSubscriptionsResult, RenderDirection, ResourceTypeBase, ResourceTypeDefinition, ResourceTypeDefinitionsResult, SUBSCRIPTIONS_TABLE_LOCAL_STORAGE_KEY, SelectField, SelectFieldProps, SessionToken, ShowConfirmDialog, ShowConfirmDialogType, SortOrder, Step, StepState, StepStatus, StoredTableConfig, SubmitField, SubmitFieldProps, Subscription$1 as Subscription, SubscriptionAction, SubscriptionDetail, SubscriptionDetailProcess, SubscriptionDetailResult, SubscriptionDropdownOption, SubscriptionDropdownOptionsResult, SubscriptionField, SubscriptionFieldProps, SubscriptionKeyValueBlock, SubscriptionStatus, SubscriptionSummaryField, SubscriptionSummaryFieldProps, SubscriptionTabIds, SubscriptionsResult, TASK_LIST_TABLE_LOCAL_STORAGE_KEY, TableColumnKeys, TableConfig, TableSettingsModal, TableSettingsModalProps, TextField, TextFieldProps, TimelineItem, TimelinePosition, TimestampField, TimestampFieldProps, ToastContext, ToastContextProps, ToastTypes, ToastsContextProvider, ToastsList, TotalStat, TranslationMessagesMap, TreeBlock, TreeContext, TreeContextType, TreeProvider, TreeProviderProps, UnionOfInterfaceTypes, UserInputForm, VlanField, VlanFieldProps, WFO_STATUS_COLOR_FIELD, WfoArrowNarrowDown, WfoArrowNarrowUp, WfoArrowsExpand, WfoAuth, WfoBadge, WfoBadgeProps, WfoBasicTable, WfoBasicTableColumns, WfoBasicTableColumnsWithControlColumns, WfoBasicTableProps, WfoBreadcrumbs, WfoCheckmarkCircleFill, WfoChevronDown, WfoChevronUp, WfoCode, WfoCogFill, WfoControlColumn, WfoDataGridTable, WfoDataGridTableColumns, WfoDataGridTableProps, WfoDataSearch, WfoDataSorting, WfoDateTime, WfoDateTimeProps, WfoDropdownButton, WfoEngineStatusBadge, WfoEnvironmentBadge, WfoEuiBasicTableColumn, WfoEyeFill, WfoFailedTasksBadge, WfoFilterTab, WfoFilterTabs, WfoFilterTabsProps, WfoFrequentlyUsed, WfoFrequentlyUsedProps, WfoHeaderBadge, WfoIconProps, WfoInformationModal, WfoInformationModalProps, WfoKeyCell, WfoKeyCellProps, WfoKeyValueTable, WfoKeyValueTableDataType, WfoKeyValueTableProps, WfoListItemStartPage, WfoListItemStartPageProps, WfoLoading, WfoLogoutIcon, WfoMinusCircleFill, WfoMinusCircleOutline, WfoMultiListSection, WfoNewProcessPanel, WfoPageHeader, WfoPageHeaderProps, WfoPageTemplate, WfoPageTemplateProps, WfoPlayFill, WfoPlusCircleFill, WfoProcessDetailPage, WfoProcessListPage, WfoProcessListSubscriptionsCell, WfoProcessListTabType, WfoProcessStatusBadge, WfoProcessStatusBadgeProps, WfoProcessesListSubscriptionsCellProps, WfoProcessesTimeline, WfoProductBlockBadge, WfoProductBlockBadgeProps, WfoProductBlocksPage, WfoProductStatusBadge, WfoProductStatusBadgeProps, WfoProductsPage, WfoRefresh, WfoResourceTypesPage, WfoSearchField, WfoSearchFieldProps, WfoSearchStrikethrough, WfoSettings, WfoSettingsModal, WfoSettingsModalProps, WfoSidebar, WfoSidebarProps, WfoSortAsc, WfoSortButton, WfoSortButtonProps, WfoSortButtons, WfoSortButtonsProps, WfoSortDesc, WfoSortDirectionIcon, WfoSortDirectionIconProps, WfoStartTaskButtonComboBox, WfoStartWorkflowPage, WfoStatCards, WfoStatistic, WfoStatusColorField, WfoStatusColorFieldProps, WfoStatusDotIcon, WfoSubscription, WfoSubscriptionActions, WfoSubscriptionActionsProps, WfoSubscriptionDetailPage, WfoSubscriptionDetailTree, WfoSubscriptionGeneral, WfoSubscriptionProductBlock, WfoSubscriptionStatusBadge, WfoSubscriptionStatusBadgeProps, WfoSubscriptionsListPage, WfoTableColumns, WfoTableColumnsWithExtraNonDataFields, WfoTableControlColumnConfig, WfoTableDataColumnConfig, WfoTableHeaderCell, WfoTableHeaderCellProps, WfoTableWithFilter, WfoTableWithFilterProps, WfoTaskListPage, WfoTimeline, WfoTimelineProps, WfoTreeNodeMap, WfoValueCell, WfoValueCellProps, WfoWorkflowsPage, WfoXCircleFill, WorkflowDefinition, WorkflowDefinitionsResult, WorkflowListItem, WorkflowTarget, calculateTimeDifference, camelToHuman, clearTableConfigFromLocalStorage, defaultOrchestratorTheme, defaultProcessListTabs, determineNewSortOrder, determinePageIndex, flattenArrayProps, formatDate, getApiClient, getCurrentBrowserLocale, getDataSortHandler, getEsQueryStringHandler, getFieldFromProductBlockInstanceValues, getFirstUuidPart, getInitialColumnOrder, getNumberValueFromEnvironmentVariable, getPageChangeHandler, getProcessListTabTypeFromString, getProductBlockTitle, getProductNamesFromProcess, getSortDirectionFromString, getStatusBadgeColor, getSubscriptionDropdownOptionsGraphQlQuery, getSubscriptionsListGraphQlQuery, getTableConfigFromLocalStorage, getTranslationMessages, getTypedFieldFromObject, getWorkflowTargetColor, isToday, isUuid4, isValidLocalStorageTableConfig, localMomentToUtcTimestamp, mapColumnSortToEuiDataGridSorting, parseDate, parseDateOrTimeRelativeToToday, parseDateRelativeToToday, parseDateToLocaleDateString, parseDateToLocaleDateTimeString, parseDateToLocaleTimeString, parseIsoString, removeSuffix, setTableConfigToLocalStorage, stop, upperCaseFirstChar, useCacheNames, useDataDisplayParams, useEngineStatusMutation, useEngineStatusQuery, useFavouriteSubscriptions, useFilterQueryWithRest, useOrchestratorConfig, useOrchestratorTheme, useProcessStatusCountsQuery, useProcessesAttention, useQueryWithGraphql, useRawProcessDetails, useRecentProcesses, useSessionWithToken, useStoredTableConfig, useSubscriptionActions, useToastMessage, useWithOrchestratorTheme, utcTimestampToLocalMoment };