@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
@@ -0,0 +1,13 @@
1
+ import type { Meta } from '@storybook/react';
2
+
3
+ import { WfoPlusCircleFill } from './WfoPlusCircleFill';
4
+
5
+ const Story: Meta<typeof WfoPlusCircleFill> = {
6
+ component: WfoPlusCircleFill,
7
+ title: 'Icons/WfoPlusCircleFill',
8
+ };
9
+ export default Story;
10
+
11
+ export const Primary = {
12
+ args: {},
13
+ };
@@ -1,7 +1,8 @@
1
1
  import React, { FC } from 'react';
2
- import { WFOIconProps } from './WFOIconProps';
3
2
 
4
- export const WFOPlusCircleFill: FC<WFOIconProps> = ({
3
+ import { WfoIconProps } from './WfoIconProps';
4
+
5
+ export const WfoPlusCircleFill: FC<WfoIconProps> = ({
5
6
  width = 24,
6
7
  height = 24,
7
8
  color = '#000000',
@@ -0,0 +1,13 @@
1
+ import type { Meta } from '@storybook/react';
2
+
3
+ import { WfoRefresh } from './WfoRefresh';
4
+
5
+ const Story: Meta<typeof WfoRefresh> = {
6
+ component: WfoRefresh,
7
+ title: 'Icons/WfoRefresh',
8
+ };
9
+ export default Story;
10
+
11
+ export const Primary = {
12
+ args: {},
13
+ };
@@ -0,0 +1,35 @@
1
+ import React, { FC } from 'react';
2
+
3
+ import { WfoIconProps } from './WfoIconProps';
4
+
5
+ export const WfoRefresh: FC<WfoIconProps> = ({
6
+ width = 24,
7
+ height = 24,
8
+ color = '#000000',
9
+ }) => {
10
+ return (
11
+ <svg
12
+ width={width}
13
+ height={height}
14
+ viewBox="0 0 24 24"
15
+ version="1.1"
16
+ xmlns="http://www.w3.org/2000/svg"
17
+ >
18
+ <title>icon/refresh</title>
19
+ <g
20
+ id="Symbols"
21
+ stroke="none"
22
+ strokeWidth="1"
23
+ fill="none"
24
+ fillRule="evenodd"
25
+ >
26
+ <g id="icon/refresh" fill={color}>
27
+ <path
28
+ d="M6,4 C6.55228,4 7,4.44772 7,5 L7,7.10125 C8.27009,5.80489 10.04052,5 12,5 C15.0494,5 17.641,6.94932 18.6014,9.66675 C18.7855,10.18747 18.5126,10.75879 17.9918,10.94284 C17.4711,11.12689 16.8998,10.85396 16.7157,10.33325 C16.0289,8.38991 14.1755,7 12,7 C10.36507,7 8.91204,7.78502 7.99935,9 L11,9 C11.55228,9 12,9.44772 12,10 C12,10.55228 11.55228,11 11,11 L6,11 C5.44772,11 5,10.55228 5,10 L5,5 C5,4.44772 5.44772,4 6,4 Z M6.00817,13.0572 C6.52888,12.8731 7.1002,13.146 7.28425,13.6668 C7.97112,15.6101 9.82453,17 12,17 C13.6349,17 15.088,16.215 16.0006,15 L13,15 C12.4477,15 12,14.5523 12,14 C12,13.4477 12.4477,13 13,13 L18,13 C18.2652,13 18.5196,13.1054 18.7071,13.2929 C18.8946,13.4804 19,13.7348 19,14 L19,19 C19,19.5523 18.5523,20 18,20 C17.4477,20 17,19.5523 17,19 L17,16.8987 C15.7299,18.1951 13.9595,19 12,19 C8.95059,19 6.35905,17.0507 5.39857,14.3332 C5.21452,13.8125 5.48745,13.2412 6.00817,13.0572 Z"
29
+ id="Shape"
30
+ ></path>
31
+ </g>
32
+ </g>
33
+ </svg>
34
+ );
35
+ };
@@ -0,0 +1,13 @@
1
+ import type { Meta } from '@storybook/react';
2
+
3
+ import { WfoSearchStrikethrough } from './WfoSearchStrikethrough';
4
+
5
+ const Story: Meta<typeof WfoSearchStrikethrough> = {
6
+ component: WfoSearchStrikethrough,
7
+ title: 'Icons/WfoSearchStrikethrough',
8
+ };
9
+ export default Story;
10
+
11
+ export const Primary = {
12
+ args: {},
13
+ };
@@ -0,0 +1,33 @@
1
+ import React, { FC } from 'react';
2
+
3
+ import { WfoIconProps } from './WfoIconProps';
4
+
5
+ export const WfoSearchStrikethrough: FC<WfoIconProps> = ({
6
+ width = 24,
7
+ height = 24,
8
+ color = '#0067AC',
9
+ }) => (
10
+ <svg
11
+ width={width}
12
+ height={height}
13
+ viewBox="0 0 24 24"
14
+ version="1.1"
15
+ xmlns="http://www.w3.org/2000/svg"
16
+ >
17
+ <title>icon/search-strikethrough</title>
18
+ <g
19
+ id="Symbols"
20
+ stroke="none"
21
+ strokeWidth="1"
22
+ fill="none"
23
+ fillRule="evenodd"
24
+ >
25
+ <g id="icon/search-strikethrough" fill={color}>
26
+ <path
27
+ d="M10,4 C10.5522847,4 11,4.44771525 11,5 C11,5.55228475 10.5522847,6 10,6 C7.790861,6 6,7.790861 6,10 C6,12.209139 7.790861,14 10,14 C11.6843802,14 13.170862,12.9492826 13.7495202,11.3971234 C13.9424456,10.8796312 14.518353,10.6165178 15.0358452,10.8094433 C15.5533374,11.0023688 15.8164508,11.5782761 15.6235253,12.0957684 C15.4431518,12.5795917 15.204012,13.0309152 14.9156524,13.4423562 C14.9089265,13.4506778 14.9001611,13.4632152 14.8907,13.4765 L19.7071,18.2929 C20.0976,18.6834 20.0976,19.3166 19.7071,19.7071 C19.3166,20.0976 18.6834,20.0976 18.2929,19.7071 L13.4765,14.8907 L13.4335575,14.9210711 C12.4519621,15.6060667 11.2631018,16 10,16 C6.6862915,16 4,13.3137085 4,10 C4,6.6862915 6.6862915,4 10,4 Z M13.70711,2.29289 L16,4.58579 L18.2929,2.29289 C18.6834,1.90237 19.3166,1.90237 19.7071,2.29289 C20.0976,2.68342 20.0976,3.31658 19.7071,3.70711 L17.4142,6 L19.7071,8.2929 C20.0976,8.6834 20.0976,9.3166 19.7071,9.7071 C19.3166,10.0976 18.6834,10.0976 18.2929,9.7071 L16,7.4142 L13.70711,9.7071 C13.31658,10.0976 12.68342,10.0976 12.29289,9.7071 C11.90237,9.3166 11.90237,8.6834 12.29289,8.2929 L14.58579,6 L12.29289,3.70711 C11.90237,3.31658 11.90237,2.68342 12.29289,2.29289 C12.68342,1.90237 13.31658,1.90237 13.70711,2.29289 Z"
28
+ id="Combined-Shape"
29
+ ></path>
30
+ </g>
31
+ </g>
32
+ </svg>
33
+ );
@@ -0,0 +1,13 @@
1
+ import type { Meta } from '@storybook/react';
2
+
3
+ import { WfoSortAsc } from './WfoSortAsc';
4
+
5
+ const Story: Meta<typeof WfoSortAsc> = {
6
+ component: WfoSortAsc,
7
+ title: 'Icons/WfoSortAsc',
8
+ };
9
+ export default Story;
10
+
11
+ export const Primary = {
12
+ args: {},
13
+ };
@@ -0,0 +1,33 @@
1
+ import React, { FC } from 'react';
2
+
3
+ import { WfoIconProps } from './WfoIconProps';
4
+
5
+ export const WfoSortAsc: FC<WfoIconProps> = ({
6
+ width = 24,
7
+ height = 24,
8
+ color = '#000000',
9
+ }) => (
10
+ <svg
11
+ width={width}
12
+ height={height}
13
+ viewBox="0 0 24 24"
14
+ version="1.1"
15
+ xmlns="http://www.w3.org/2000/svg"
16
+ >
17
+ <title>icon/sort-asc</title>
18
+ <g
19
+ id="Symbols"
20
+ stroke="none"
21
+ strokeWidth="1"
22
+ fill="none"
23
+ fillRule="evenodd"
24
+ >
25
+ <g id="icon/sort-asc" fill={color} fillRule="nonzero">
26
+ <path
27
+ d="M5,5 C4.44772,5 4,5.44772 4,6 C4,6.55228 4.44772,7 5,7 L16,7 C16.5523,7 17,6.55228 17,6 C17,5.44772 16.5523,5 16,5 L5,5 Z M5,9 C4.44772,9 4,9.44772 4,10 C4,10.55228 4.44772,11 5,11 L10,11 C10.55228,11 11,10.55228 11,10 C11,9.44772 10.55228,9 10,9 L5,9 Z M5,13 C4.44772,13 4,13.4477 4,14 C4,14.5523 4.44772,15 5,15 L9,15 C9.55228,15 10,14.5523 10,14 C10,13.4477 9.55228,13 9,13 L5,13 Z M15.0000025,18 C15.0000025,18.5523 15.4477,19 16.0000025,19 C16.5523,19 17.0000025,18.5523 17.0000025,18 L17.0000025,12.4142 L18.2929,13.7071 C18.6834,14.0976 19.3166,14.0976 19.7071,13.7071 C20.0976,13.3166 20.0976,12.6834 19.7071,12.2929 L16.7071,9.29289 C16.5196,9.10536 16.2652,9 16.0000025,9 C15.7348,9 15.4804,9.10536 15.2929,9.29289 L12.2929,12.2929 C11.90237,12.6834 11.90237,13.3166 12.2929,13.7071 C12.6834,14.0976 13.3166,14.0976 13.7071,13.7071 L15.0000025,12.4142 L15.0000025,18 Z"
28
+ id="Combined-Shape"
29
+ ></path>
30
+ </g>
31
+ </g>
32
+ </svg>
33
+ );
@@ -0,0 +1,13 @@
1
+ import type { Meta } from '@storybook/react';
2
+
3
+ import { WfoSortDesc } from './WfoSortDesc';
4
+
5
+ const Story: Meta<typeof WfoSortDesc> = {
6
+ component: WfoSortDesc,
7
+ title: 'Icons/WfoSortDesc',
8
+ };
9
+ export default Story;
10
+
11
+ export const Primary = {
12
+ args: {},
13
+ };
@@ -0,0 +1,33 @@
1
+ import React, { FC } from 'react';
2
+
3
+ import { WfoIconProps } from './WfoIconProps';
4
+
5
+ export const WfoSortDesc: FC<WfoIconProps> = ({
6
+ width = 24,
7
+ height = 24,
8
+ color = '#000000',
9
+ }) => (
10
+ <svg
11
+ width={width}
12
+ height={height}
13
+ viewBox="0 0 24 24"
14
+ version="1.1"
15
+ xmlns="http://www.w3.org/2000/svg"
16
+ >
17
+ <title>icon/sort-desc</title>
18
+ <g
19
+ id="Symbols"
20
+ stroke="none"
21
+ strokeWidth="1"
22
+ fill="none"
23
+ fillRule="evenodd"
24
+ >
25
+ <g id="icon/sort-desc" fill={color} fillRule="nonzero">
26
+ <path
27
+ d="M5,5 C4.44772,5 4,5.44772 4,6 C4,6.55228 4.44772,7 5,7 L16,7 C16.5523,7 17,6.55228 17,6 C17,5.44772 16.5523,5 16,5 L5,5 Z M16.0000025,9 C16.5523,9 17.0000025,9.44772 17.0000025,10 L17.0000025,15.5858 L18.2929,14.2929 C18.6834,13.9024 19.3166,13.9024 19.7071,14.2929 C20.0976,14.6834 20.0976,15.3166 19.7071,15.7071 L16.7071,18.7071 C16.5196,18.8946 16.2652,19 16.0000025,19 C15.7348,19 15.4804,18.8946 15.2929,18.7071 L12.2929,15.7071 C11.90237,15.3166 11.90237,14.6834 12.2929,14.2929 C12.6834,13.9024 13.3166,13.9024 13.7071,14.2929 L15.0000025,15.5858 L15.0000025,10 C15.0000025,9.44771 15.4477,9 16.0000025,9 Z M9,13 C9.55228,13 10,13.4477 10,14 C10,14.5523 9.55228,15 9,15 L5,15 C4.44772,15 4,14.5523 4,14 C4,13.4477 4.44772,13 5,13 Z M12,9 C12.5523,9 13,9.44772 13,10 C13,10.55228 12.5523,11 12,11 L5,11 C4.44772,11 4,10.55228 4,10 C4,9.44772 4.44772,9 5,9 L12,9 Z"
28
+ id="Combined-Shape"
29
+ ></path>
30
+ </g>
31
+ </g>
32
+ </svg>
33
+ );
@@ -0,0 +1,41 @@
1
+ import React, { FC } from 'react';
2
+
3
+ import { WfoIconProps } from './WfoIconProps';
4
+
5
+ export const WfoStatistic: FC<WfoIconProps> = ({
6
+ width = 20,
7
+ height = 20,
8
+ color = '#000000',
9
+ }) => (
10
+ <svg
11
+ width={width}
12
+ height={height}
13
+ viewBox="0 0 20 20"
14
+ version="1.1"
15
+ color={color}
16
+ xmlns="http://www.w3.org/2000/svg"
17
+ className="wfoStatisticIcon"
18
+ >
19
+ <title>icon/statistic</title>
20
+ <g xmlns="http://www.w3.org/2000/svg">
21
+ <path
22
+ fill={color}
23
+ fill-rule="nonzero"
24
+ d="M17.5,4 C16.6715729,4 16,4.67157288 16,5.5 L16,18.5 C16,19.3284271 16.6715729,20 17.5,20 L18.5,20 C19.3284271,20 20,19.3284271 20,18.5 L20,5.5 C20,4.67157288 19.3284271,4 18.5,4 L17.5,4 L17.5,4 Z"
25
+ opacity=".88"
26
+ />
27
+ <path
28
+ fill={color}
29
+ fill-rule="nonzero"
30
+ d="M11.5,8 C10.6715729,8 10,8.67157288 10,9.5 L10,18.5 C10,19.3284271 10.6715729,20 11.5,20 L12.5,20 C13.3284271,20 14,19.3284271 14,18.5 L14,9.5 C14,8.67157288 13.3284271,8 12.5,8 L11.5,8 Z"
31
+ opacity=".66"
32
+ />
33
+ <path
34
+ fill={color}
35
+ fill-rule="nonzero"
36
+ d="M5.5,12 C4.67157288,12 4,12.6715729 4,13.5 L4,18.5 C4,19.3284271 4.67157288,20 5.5,20 L6.5,20 C7.32842712,20 8,19.3284271 8,18.5 L8,13.5 C8,12.6715729 7.32842712,12 6.5,12 L5.5,12 Z"
37
+ opacity=".33"
38
+ />
39
+ </g>
40
+ </svg>
41
+ );
@@ -0,0 +1,13 @@
1
+ import type { Meta } from '@storybook/react';
2
+
3
+ import { WfoStatusDotIcon } from './WfoStatusDotIcon';
4
+
5
+ const Story: Meta<typeof WfoStatusDotIcon> = {
6
+ component: WfoStatusDotIcon,
7
+ title: 'Icons/WfoStatusDotIcon',
8
+ };
9
+ export default Story;
10
+
11
+ export const Primary = {
12
+ args: {},
13
+ };
@@ -1,8 +1,9 @@
1
1
  import React from 'react';
2
2
  import { FC } from 'react';
3
- import { WFOIconProps } from './WFOIconProps';
4
3
 
5
- export const WFOStatusDotIcon: FC<WFOIconProps> = ({
4
+ import { WfoIconProps } from './WfoIconProps';
5
+
6
+ export const WfoStatusDotIcon: FC<WfoIconProps> = ({
6
7
  width = 24,
7
8
  height = 24,
8
9
  color = '#000000',
@@ -0,0 +1,13 @@
1
+ import type { Meta } from '@storybook/react';
2
+
3
+ import { WfoXCircleFill } from './WfoXCircleFill';
4
+
5
+ const Story: Meta<typeof WfoXCircleFill> = {
6
+ component: WfoXCircleFill,
7
+ title: 'Icons/WfoXCircleFill',
8
+ };
9
+ export default Story;
10
+
11
+ export const Primary = {
12
+ args: {},
13
+ };
@@ -1,7 +1,8 @@
1
1
  import React, { FC } from 'react';
2
- import { WFOIconProps } from './WFOIconProps';
3
2
 
4
- export const WFOXCircleFill: FC<WFOIconProps> = ({
3
+ import { WfoIconProps } from './WfoIconProps';
4
+
5
+ export const WfoXCircleFill: FC<WfoIconProps> = ({
5
6
  width = 24,
6
7
  height = 24,
7
8
  color = '#000000',
@@ -1,10 +1,22 @@
1
- export * from './WFOXCircleFill';
2
- export * from './WFOStatusDotIcon';
3
- export * from './WFOLogoutIcon';
4
- export * from './WFOCheckmarkCircleFill';
5
- export * from './WFOIconProps';
6
- export * from './WFOMinusCircleOutline';
7
- export * from './WFOPlusCircleFill';
8
- export * from './WFOChevronDown';
9
- export * from './WFOArrowNarrowDown';
10
- export * from './WFOArrowNarrowUp';
1
+ export * from './WfoXCircleFill';
2
+ export * from './WfoArrowsExpand';
3
+ export * from './WfoStatusDotIcon';
4
+ export * from './WfoLogoutIcon';
5
+ export * from './WfoCheckmarkCircleFill';
6
+ export * from './WfoIconProps';
7
+ export * from './WfoMinusCircleOutline';
8
+ export * from './WfoPlusCircleFill';
9
+ export * from './WfoChevronDown';
10
+ export * from './WfoChevronUp';
11
+ export * from './WfoArrowNarrowDown';
12
+ export * from './WfoRefresh';
13
+ export * from './WfoArrowNarrowUp';
14
+ export * from './WfoMinusCircleFill';
15
+ export * from './WfoSearchStrikethrough';
16
+ export * from './WfoSortAsc';
17
+ export * from './WfoSortDesc';
18
+ export * from './WfoPlayFill';
19
+ export * from './WfoCode';
20
+ export * from './WfoEyeFill';
21
+ export * from './WfoCogFill';
22
+ export * from './WfoStatistic';
package/src/index.ts CHANGED
@@ -1,3 +1,4 @@
1
+ export * from './api';
1
2
  export * from './components';
2
3
  export * from './icons';
3
4
  export * from './theme';
@@ -1,25 +1,103 @@
1
1
  {
2
2
  "main": {
3
- "title": "Welcome to example-orchestrator-ui!"
3
+ "title": "Welcome to example-orchestrator-ui!",
4
+ "mobileTitle": "Main menu"
4
5
  },
5
6
  "common": {
6
7
  "addToFavorites": "Add to favorites",
7
8
  "product": "Product",
8
9
  "deselect": "Deselect",
9
- "close": "Close"
10
+ "close": "Close",
11
+ "newSubscription": "New subscription",
12
+ "newTask": "New task",
13
+ "noFailedTasks": "No failed tasks!",
14
+ "search": "Search"
15
+ },
16
+ "confirmationDialog": {
17
+ "title": "Please confirm",
18
+ "confirm": "Confirm",
19
+ "cancel": "Cancel",
20
+ "leavePage": "Do you really want to leave this page?",
21
+ "leavePageSub": "Changes that you made will not be saved.",
22
+ "stay": "Stay",
23
+ "leave": "Leave"
24
+ },
25
+ "workflow": {
26
+ "start_workflow_title": "Start workflow"
27
+ },
28
+ "errors": {
29
+ "retrieve_stored_settings": "Something went wrong restoring your settings. Falling back to default settings",
30
+ "retrieve_stored_settings_title": "Error retrieving settings"
31
+ },
32
+ "pydanticForms": {
33
+ "userInputForm": {
34
+ "cancel": "Cancel",
35
+ "submit": "Submit",
36
+ "previous": "Previous",
37
+ "runProcess": "Run Process",
38
+ "cancelProcess": "Cancel Process"
39
+ },
40
+ "fields": {
41
+ "bfd": {
42
+ "description": "Bidirectional Forwarding Detection",
43
+ "title": "BFD"
44
+ },
45
+ "esi_service_ports_add": "Add Endpoint",
46
+ "esi_service_ports_del": "Delete Endpoint"
47
+ },
48
+ "widgets": {
49
+ "organisation": {
50
+ "placeholder": "Org placeholder"
51
+ },
52
+ "contactPersonName": {
53
+ "placeholder": "Name placeholder"
54
+ },
55
+ "node_select": {
56
+ "nodes_loading": "Nodes loading",
57
+ "select_node": "Select node",
58
+ "no_nodes_placeholder": "No nodes"
59
+ },
60
+ "locationCode": {
61
+ "placeholder": "Location placeholder"
62
+ },
63
+ "product": {
64
+ "placeholder": "Choose product"
65
+ },
66
+ "select": {
67
+ "placeholder": "Select Placeholder"
68
+ },
69
+ "vlan": {
70
+ "vlansInUseError": "VLAN range {vlans} are already in use for the selected service port",
71
+ "vlansInUse": "Already used VLAN ranges for this service port: {vlans}",
72
+ "missingInIms": "This service port can not be found in IMS. It may be deleted or in an initial state.",
73
+ "nsiVlansAvailable": "Available NSI VLAN ranges for this service port: {vlans}",
74
+ "nsiNoPortsAvailable": "This service port has no available NSI reserved VLANs (yet).",
75
+ "allPortsAvailable": "This service port has no VLANs in use (yet).",
76
+ "placeholder": "Enter a valid VLAN range...",
77
+ "placeholderNoServicePort": "First select a Service Port...",
78
+ "invalidVlan": "Invalid VLAN - must be a range of valid [2-4094] VLAN integers, for example '2, 5-6, 1048-1052'",
79
+ "untaggedPortInUse": "This service port is already in use and cannot be chosen",
80
+ "taggedOnly": "VLAN is only relevant for SN7 MSP or SN8 SP in tagged mode, not for link_member or untagged ports.",
81
+ "loadingIms": "Loading VLAN info from IMS"
82
+ },
83
+ "subscription": {
84
+ "placeholder": "Choose a subscription",
85
+ "loading": "Loading subscriptions..."
86
+ }
87
+ }
10
88
  },
11
89
  "metadata": {
12
90
  "tabs": {
13
91
  "products": "Products",
14
- "productBlocks": "Productblocks",
92
+ "productBlocks": "Product blocks",
15
93
  "resourceTypes": "Resource types",
16
94
  "workflows": "Workflows"
17
95
  },
18
96
  "products": {
19
97
  "id": "ID",
20
- "name": "Name",
21
- "description": "Description",
22
- "tag": "Tag",
98
+ "name": "Product",
99
+ "tag": "Product tag",
100
+ "description": "Product description",
23
101
  "productType": "Type",
24
102
  "status": "Status",
25
103
  "productBlocks": "Product blocks",
@@ -28,25 +106,27 @@
28
106
  },
29
107
  "productBlocks": {
30
108
  "id": "ID",
31
- "name": "Name",
32
- "description": "Description",
109
+ "name": "Product block",
110
+ "description": "Product block description",
33
111
  "tag": "Tag",
34
- "status": "status",
112
+ "status": "Status",
35
113
  "resourceTypes": "Resource types",
114
+ "dependingProductBlocks": "Depending product blocks",
36
115
  "createdAt": "Created",
37
116
  "endDate": "End date",
38
117
  "parentIds": "Parents"
39
118
  },
40
119
  "resourceTypes": {
41
- "type": "Type",
42
- "description": "Description",
43
- "resourceId": "Resource ID"
120
+ "type": "Resource type",
121
+ "description": "Resource type description",
122
+ "resourceId": "Resource Id",
123
+ "usedInProductBlocks": "Used in product blocks"
44
124
  },
45
125
  "workflows": {
46
- "name": "Name",
47
- "description": "Description",
126
+ "name": "Workflow",
127
+ "description": "Workflow description",
48
128
  "target": "Target",
49
- "productTags": "Product Tags",
129
+ "productTags": "Product tags",
50
130
  "createdAt": "Created"
51
131
  }
52
132
  },
@@ -61,13 +141,40 @@
61
141
  "status": "Status",
62
142
  "product": "Product",
63
143
  "customer": "Customer",
144
+ "customerAbbreviation": "Customer abbreviation",
64
145
  "subscriptions": "Subscriptions",
65
146
  "createdBy": "Created By",
66
147
  "assignee": "Assignee",
67
- "processId": "ID",
148
+ "processId": "PID",
68
149
  "started": "Started",
69
150
  "lastModified": "Last Modified",
70
- "workflowTarget": "Target"
151
+ "workflowTarget": "Target",
152
+ "productTag": "Tag"
153
+ },
154
+ "detail": {
155
+ "retry": "Retry",
156
+ "resume": "Resume",
157
+ "abort": "Abort",
158
+ "delete": "Delete",
159
+ "deleteQuestion": "Are you sure you want to delete the task {workflowName}?",
160
+ "status": "Status",
161
+ "startedBy": "Started by",
162
+ "lastStep": "Last step",
163
+ "startedOn": "Started on",
164
+ "lastUpdate": "Last update",
165
+ "relatedSubscriptions": "Related subscriptions",
166
+ "subscriptions": "{count, plural, =0 {0 subscriptions} =1 {1 subscription} other {# subscriptions}}",
167
+ "customer": "Customer"
168
+ },
169
+ "steps": {
170
+ "steps": "Workflow steps",
171
+ "showDelta": "Show subscription delta",
172
+ "viewOptions": "View options",
173
+ "expandAll": "expand all",
174
+ "collapseAll": "collapse all",
175
+ "duration": "Looptijd",
176
+ "userInput": "User Input",
177
+ "submitFormLabel": "Please complete and submit the form below to start the workflow"
71
178
  }
72
179
  },
73
180
  "subscriptions": {
@@ -96,13 +203,31 @@
96
203
  "relatedSubscriptions": "Related subscriptions"
97
204
  },
98
205
  "loadingStatus": "Loading status",
99
- "workflow": {
206
+ "actions": {
100
207
  "create": "Create workflow",
101
208
  "modify": "Modify workflow",
102
209
  "system": "System workflow",
103
- "terminate": "Terminate workflow"
210
+ "terminate": "Terminate workflow",
211
+ "actions": "Actions",
212
+ "subscription": {
213
+ "no_modify_deleted_related_objects": "This subscription can not be modified because it contains references to other systems that are deleted.",
214
+ "no_modify_in_use_by_subscription": "This subscription can not be {action} as it is used in other subscriptions: {unterminated_in_use_by_subscriptions}",
215
+ "no_modify_invalid_status": "This subscription can not be modified because of the status: {status}. Only subscriptions with status {usable_when} can be {action}.",
216
+ "no_modify_workflow": "This subscription can not be modified as the product has no modify workflows.",
217
+ "no_termination_workflow": "This subscription can not be terminated as the product has no termination workflows.",
218
+ "no_validate_workflow": "This subscription can not be validated as the product has no validate workflows.",
219
+ "not_in_sync": "This subscription can not be modified because it is not in sync. This means there is some error in the registration of the subscription or that it is being modified by another workflow.",
220
+ "relations_not_in_sync": "This subscription can not be modified because some related subscriptions are not insync. Locked subscriptions: {locked_relations}",
221
+ "no_modify_subscription_in_use_by_others": "This subscription can not be modified because it is in use by one or more other subscriptions: {unterminated_parents}"
222
+ }
104
223
  },
224
+ "subscriptionInstanceId": "Instance ID",
225
+ "ownerSubscriptionId": "Owner subscription ID",
226
+ "inUseByRelations": "In use by relation",
227
+ "showDetails": "Show details",
228
+ "hideDetails": "Hide details",
105
229
  "subscriptionDetails": "Subscription details",
230
+ "productName": "Product name",
106
231
  "fixedInputs": "Fixed inputs",
107
232
  "productInfo": "Product info",
108
233
  "noProductBlockSelected": "No product block selected",
@@ -111,7 +236,35 @@
111
236
  "startedBy": "Started by",
112
237
  "startedAt": "Started at",
113
238
  "status": "Status",
114
- "id": "ID"
239
+ "id": "ID",
240
+ "blockTitleSubscriptionDetails": "Subscription details",
241
+ "blockTitleFixedInputs": "Fixed inputs",
242
+ "blockTitleProductInfo": "Product Info",
243
+ "subscriptionId": "Subscription ID",
244
+ "description": "Description",
245
+ "startDate": "Start date",
246
+ "insync": "In sync",
247
+ "customer": "Customer",
248
+ "customerUuid": "Customer UUID",
249
+ "name": "Name",
250
+ "productType": "Product type",
251
+ "tag": "Tag",
252
+ "created": "Created",
253
+ "endDate": "End date",
254
+ "note": "Note",
255
+ "noRelatedSubscriptions": "No related subscriptions found",
256
+ "hideTerminatedRelatedSubscriptions": "Hide terminated related subscriptions",
257
+ "processDetail": {
258
+ "id": "ID",
259
+ "status": "Status",
260
+ "startedAt": "Started at",
261
+ "startedBy": "Started by"
262
+ }
263
+ }
264
+ },
265
+ "tasks": {
266
+ "page": {
267
+ "rerunAll": "Rerun all"
115
268
  }
116
269
  }
117
270
  }
@@ -1,6 +1,6 @@
1
- import { getTranslationMessages } from './getTranslationMessages';
2
1
  import { Locale } from '../types';
3
2
  import enUS from './en-US.json';
3
+ import { getTranslationMessages } from './getTranslationMessages';
4
4
  import nlNL from './nl-NL.json';
5
5
 
6
6
  describe('getTransalationMessages', () => {
@@ -1,8 +1,8 @@
1
1
  import { AbstractIntlMessages } from 'next-intl';
2
2
 
3
3
  import { Locale } from '../types';
4
- import nlNL from './nl-NL.json';
5
4
  import enUS from './en-US.json';
5
+ import nlNL from './nl-NL.json';
6
6
 
7
7
  export type TranslationMessagesMap = Map<Locale, AbstractIntlMessages>;
8
8