diff --git a/.github/workflows/build-ui.yml b/.github/workflows/build-ui.yml index 48c5c1f2ae..2f8e732f7f 100644 --- a/.github/workflows/build-ui.yml +++ b/.github/workflows/build-ui.yml @@ -42,6 +42,10 @@ jobs: - name: Install Deps run: | cd cmd/ui && yarn + + - name: Format js-client-library with Prettier + run: | + cd packages/javascript/js-client-library && yarn format && cd ../bh-shared-ui/ && yarn format && cd ../../../cmd/ui/ && yarn format - name: Run Build run: | diff --git a/.yarn/cache/prettier-plugin-organize-imports-npm-4.1.0-49b8116ea7-43c9179591.zip b/.yarn/cache/prettier-plugin-organize-imports-npm-4.1.0-49b8116ea7-43c9179591.zip new file mode 100644 index 0000000000..ae4ae0d749 Binary files /dev/null and b/.yarn/cache/prettier-plugin-organize-imports-npm-4.1.0-49b8116ea7-43c9179591.zip differ diff --git a/cmd/ui/.prettierrc b/cmd/ui/.prettierrc index 5212ef2e17..d80511f64e 100644 --- a/cmd/ui/.prettierrc +++ b/cmd/ui/.prettierrc @@ -1,4 +1,5 @@ { + "plugins": ["prettier-plugin-organize-imports"], "tabWidth": 4, "trailingComma": "es5", "semi": true, diff --git a/cmd/ui/package.json b/cmd/ui/package.json index e4aa44aec0..3983e66ffa 100644 --- a/cmd/ui/package.json +++ b/cmd/ui/package.json @@ -89,6 +89,7 @@ "lint-staged": "^10.5.4", "msw": "^1.3.3", "prettier": "^3.2.5", + "prettier-plugin-organize-imports": "^4.1.0", "redux-devtools-extension": "^2.13.9", "redux-saga-test-plan": "^4.0.3", "typescript": "^5.1.6", diff --git a/cmd/ui/src/App.test.tsx b/cmd/ui/src/App.test.tsx index c0b4b34093..6206757612 100644 --- a/cmd/ui/src/App.test.tsx +++ b/cmd/ui/src/App.test.tsx @@ -14,12 +14,12 @@ // // SPDX-License-Identifier: Apache-2.0 +import { DeepPartial, apiClient } from 'bh-shared-ui'; import { rest } from 'msw'; import { setupServer } from 'msw/node'; import App, { Inner } from 'src/App'; -import { act, render, screen } from 'src/test-utils'; -import { DeepPartial, apiClient } from 'bh-shared-ui'; import * as authSlice from 'src/ducks/auth/authSlice'; +import { act, render, screen } from 'src/test-utils'; import { AppState } from './store'; const server = setupServer( diff --git a/cmd/ui/src/App.tsx b/cmd/ui/src/App.tsx index 2696740a09..08fa5d7b68 100644 --- a/cmd/ui/src/App.tsx +++ b/cmd/ui/src/App.tsx @@ -21,12 +21,12 @@ import { AppNotifications, GenericErrorBoundaryFallback, NotificationsProvider, - lightPalette, + components, darkPalette, + lightPalette, + setRootClass, typography, - components, useFeatureFlags, - setRootClass, } from 'bh-shared-ui'; import { createBrowserHistory } from 'history'; import React, { useEffect } from 'react'; diff --git a/cmd/ui/src/components/GraphButtons/GraphButtons.test.tsx b/cmd/ui/src/components/GraphButtons/GraphButtons.test.tsx index 4283fa2cd6..97154f66e1 100644 --- a/cmd/ui/src/components/GraphButtons/GraphButtons.test.tsx +++ b/cmd/ui/src/components/GraphButtons/GraphButtons.test.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 -import { render, screen } from 'src/test-utils'; -import GraphButtons from 'src/components/GraphButtons'; import { SigmaContainer } from '@react-sigma/core'; import userEvent from '@testing-library/user-event'; +import GraphButtons from 'src/components/GraphButtons'; +import { render, screen } from 'src/test-utils'; describe('GraphLayoutButtons', () => { const user = userEvent.setup(); diff --git a/cmd/ui/src/components/GraphButtons/GraphButtons.tsx b/cmd/ui/src/components/GraphButtons/GraphButtons.tsx index 844102f1c0..4dd16a5dc3 100644 --- a/cmd/ui/src/components/GraphButtons/GraphButtons.tsx +++ b/cmd/ui/src/components/GraphButtons/GraphButtons.tsx @@ -17,7 +17,7 @@ import { faCropAlt } from '@fortawesome/free-solid-svg-icons'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { Box, MenuItem } from '@mui/material'; -import { GraphMenu, GraphButton } from 'bh-shared-ui'; +import { GraphButton, GraphMenu } from 'bh-shared-ui'; import isEmpty from 'lodash/isEmpty'; import { FC } from 'react'; import { useAppSelector } from 'src/store'; diff --git a/cmd/ui/src/components/Header.tsx b/cmd/ui/src/components/Header.tsx index 1d25d208e9..f46b91e017 100644 --- a/cmd/ui/src/components/Header.tsx +++ b/cmd/ui/src/components/Header.tsx @@ -14,15 +14,15 @@ // // SPDX-License-Identifier: Apache-2.0 -import { faCog, faUsersRectangle, faProjectDiagram } from '@fortawesome/free-solid-svg-icons'; +import { faCog, faProjectDiagram, faUsersRectangle } from '@fortawesome/free-solid-svg-icons'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { AppBar, Box, IconButton, Link, Toolbar, useTheme } from '@mui/material'; import makeStyles from '@mui/styles/makeStyles'; +import { MenuItem } from 'bh-shared-ui'; import React from 'react'; import { Link as RouterLink, useLocation, useNavigate } from 'react-router-dom'; -import { MenuItem } from 'bh-shared-ui'; -import * as routes from 'src/ducks/global/routes'; import SettingsMenu from 'src/components/SettingsMenu'; +import * as routes from 'src/ducks/global/routes'; import { useAppSelector } from 'src/store'; const useStyles = makeStyles((theme) => ({ diff --git a/cmd/ui/src/components/LeftNav/LeftNav.test.tsx b/cmd/ui/src/components/LeftNav/LeftNav.test.tsx index 9182f5739b..4b5609a089 100644 --- a/cmd/ui/src/components/LeftNav/LeftNav.test.tsx +++ b/cmd/ui/src/components/LeftNav/LeftNav.test.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { render, screen } from 'src/test-utils'; import LeftNav from 'src/components/LeftNav'; +import { render, screen } from 'src/test-utils'; describe('LeftNav', () => { it('should render a single section with a single navigation item', () => { diff --git a/cmd/ui/src/components/Notifier.tsx b/cmd/ui/src/components/Notifier.tsx index cdf3b20cac..36bb88ed29 100644 --- a/cmd/ui/src/components/Notifier.tsx +++ b/cmd/ui/src/components/Notifier.tsx @@ -13,11 +13,10 @@ // limitations under the License. // // SPDX-License-Identifier: Apache-2.0 -import { SnackbarKey } from 'notistack'; import { faTimes } from '@fortawesome/free-solid-svg-icons'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { IconButton, SvgIcon } from '@mui/material'; -import { useSnackbar } from 'notistack'; +import { SnackbarKey, useSnackbar } from 'notistack'; import React, { useCallback, useEffect } from 'react'; import { removeSnackbar } from 'src/ducks/global/actions'; import { useAppDispatch, useAppSelector } from 'src/store'; diff --git a/cmd/ui/src/components/SigmaChart.tsx b/cmd/ui/src/components/SigmaChart.tsx index 0133b798de..b539c5b901 100644 --- a/cmd/ui/src/components/SigmaChart.tsx +++ b/cmd/ui/src/components/SigmaChart.tsx @@ -14,11 +14,13 @@ // // SPDX-License-Identifier: Apache-2.0 +import { useTheme } from '@mui/material'; import { SigmaContainer } from '@react-sigma/core'; import '@react-sigma/core/lib/react-sigma.min.css'; import Graph, { MultiDirectedGraph } from 'graphology'; import { AbstractGraph, Attributes } from 'graphology-types'; import { forwardRef } from 'react'; +import { SigmaNodeEventPayload } from 'sigma/sigma'; import { GraphEvents } from 'src/components/GraphEvents'; import { MAX_CAMERA_RATIO, MIN_CAMERA_RATIO } from 'src/ducks/graph/utils'; import drawEdgeLabel from 'src/rendering/programs/edge-label'; @@ -30,8 +32,6 @@ import drawLabel from 'src/rendering/programs/node-label'; import getNodeCombinedProgram from 'src/rendering/programs/node.combined'; import getNodeGlyphsProgram from 'src/rendering/programs/node.glyphs'; import GraphEdgeEvents from './GraphEdgeEvents'; -import { useTheme } from '@mui/material'; -import { SigmaNodeEventPayload } from 'sigma/sigma'; interface SigmaChartProps { graph: Graph; diff --git a/cmd/ui/src/ducks/assetgroups/reducer.ts b/cmd/ui/src/ducks/assetgroups/reducer.ts index 40f2d7f2e6..a9f93dde2e 100644 --- a/cmd/ui/src/ducks/assetgroups/reducer.ts +++ b/cmd/ui/src/ducks/assetgroups/reducer.ts @@ -14,11 +14,11 @@ // // SPDX-License-Identifier: Apache-2.0 +import { createSelector } from '@reduxjs/toolkit'; import { produce } from 'immer'; +import { AppState } from 'src/store'; import * as actions from './actions'; import * as types from './types'; -import { AppState } from 'src/store'; -import { createSelector } from '@reduxjs/toolkit'; const INITIAL_STATE: types.AssetGroupsState = { assetGroups: [], diff --git a/cmd/ui/src/ducks/assetgroups/saga.ts b/cmd/ui/src/ducks/assetgroups/saga.ts index efa553e3d5..09fd5c7bbf 100644 --- a/cmd/ui/src/ducks/assetgroups/saga.ts +++ b/cmd/ui/src/ducks/assetgroups/saga.ts @@ -14,9 +14,9 @@ // // SPDX-License-Identifier: Apache-2.0 -import { takeEvery, all, call, put } from 'redux-saga/effects'; -import * as actions from './actions'; import { apiClient } from 'bh-shared-ui'; +import { SagaIterator } from 'redux-saga'; +import { all, call, put, takeEvery } from 'redux-saga/effects'; import { GetAssetGroup, GetAssetGroupFailure, @@ -24,8 +24,8 @@ import { ListAssetGroupsFailure, ListAssetGroupsSuccess, } from './actionCreators'; +import * as actions from './actions'; import { GetAssetGroupAction } from './types'; -import { SagaIterator } from 'redux-saga'; export function* listAssetGroupsSaga(): SagaIterator { try { diff --git a/cmd/ui/src/ducks/auth/authSlice.ts b/cmd/ui/src/ducks/auth/authSlice.ts index b2ad7619fe..5e1f9648bf 100644 --- a/cmd/ui/src/ducks/auth/authSlice.ts +++ b/cmd/ui/src/ducks/auth/authSlice.ts @@ -15,9 +15,9 @@ // SPDX-License-Identifier: Apache-2.0 import { createAsyncThunk, createSelector, createSlice } from '@reduxjs/toolkit'; -import { DateTime } from 'luxon'; import { apiClient } from 'bh-shared-ui'; import { PutUserAuthSecretRequest } from 'js-client-library'; +import { DateTime } from 'luxon'; import type { AppDispatch, AppState } from 'src/store'; import { addSnackbar } from '../global/actions'; diff --git a/cmd/ui/src/ducks/auth/types.ts b/cmd/ui/src/ducks/auth/types.ts index e9106fba44..88f4915448 100644 --- a/cmd/ui/src/ducks/auth/types.ts +++ b/cmd/ui/src/ducks/auth/types.ts @@ -126,15 +126,15 @@ const START_SET_PWD = 'auth/STARTSETPWD'; const ERROR = 'auth/ERROR'; export { - START_FETCH_USERS, - SUCCESS_FETCH_USERS, - START_FETCH_ROLES, - SUCCESS_FETCH_ROLES, + ERROR, START_CREATE_USER, - START_UPDATE_USER, START_DELETE_USER, + START_FETCH_ROLES, + START_FETCH_USERS, START_SET_PWD, - ERROR, + START_UPDATE_USER, + SUCCESS_FETCH_ROLES, + SUCCESS_FETCH_USERS, }; export interface StartFetchUsers { diff --git a/cmd/ui/src/ducks/explore/saga.ts b/cmd/ui/src/ducks/explore/saga.ts index 35387ffdf6..ddbc9e2217 100644 --- a/cmd/ui/src/ducks/explore/saga.ts +++ b/cmd/ui/src/ducks/explore/saga.ts @@ -14,24 +14,23 @@ // // SPDX-License-Identifier: Apache-2.0 +import { ActiveDirectoryRelationshipKind, AzureRelationshipKind, apiClient } from 'bh-shared-ui'; import { SagaIterator } from 'redux-saga'; import { all, call, fork, put, takeLatest } from 'redux-saga/effects'; -import { apiClient } from 'bh-shared-ui'; import { putGraphData, putGraphError, putGraphVars, saveResponseForExport } from 'src/ducks/explore/actions'; import { AssetGroupRequest, + CypherQueryRequest, + GRAPH_START, GraphEndpoints, GraphRequestType, - GRAPH_START, NodeInfoRequest, PathfindingRequest, SearchRequest, ShortestPathRequest, - CypherQueryRequest, } from 'src/ducks/explore/types'; import { addSnackbar } from 'src/ducks/global/actions'; import { getLinksIndex, getNodesIndex } from 'src/ducks/graph/graphutils'; -import { ActiveDirectoryRelationshipKind, AzureRelationshipKind } from 'bh-shared-ui'; import { transformFlatGraphResponse, transformToFlatGraphResponse } from 'src/utils'; function* graphQueryWatcher(): SagaIterator { diff --git a/cmd/ui/src/ducks/explore/types.ts b/cmd/ui/src/ducks/explore/types.ts index cbf0c96f9e..6b878f16b2 100644 --- a/cmd/ui/src/ducks/explore/types.ts +++ b/cmd/ui/src/ducks/explore/types.ts @@ -32,17 +32,17 @@ const TOGGLE_TIER_ZERO_NODE = 'app/explore/TOGGLE_TIER_ZERO_NODE'; const TOGGLE_OWNED_OBJECT_NODE = 'app/explore/TOGGLE_OWNED_OBJECT_NODE'; export { - SET_GRAPH_LOADING, - GRAPH_START, - GRAPH_SUCCESS, + ADD_NODES, GRAPH_FAILURE, + GRAPH_INIT, GRAPH_SETVARS, - ADD_NODES, + GRAPH_START, + GRAPH_SUCCESS, REMOVE_NODES, - GRAPH_INIT, SAVE_RESPONSE_FOR_EXPORT, - TOGGLE_TIER_ZERO_NODE, + SET_GRAPH_LOADING, TOGGLE_OWNED_OBJECT_NODE, + TOGGLE_TIER_ZERO_NODE, }; export enum GraphEndpoints {} diff --git a/cmd/ui/src/ducks/global/reducer.ts b/cmd/ui/src/ducks/global/reducer.ts index 508b2356f5..a538551203 100644 --- a/cmd/ui/src/ducks/global/reducer.ts +++ b/cmd/ui/src/ducks/global/reducer.ts @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 -import { produce, castDraft } from 'immer'; import { combineReducers } from '@reduxjs/toolkit'; -import * as types from './types'; +import { castDraft, produce } from 'immer'; import assign from 'lodash/assign'; +import * as types from './types'; const initialGlobalState: types.GlobalViewState = { notifications: [], diff --git a/cmd/ui/src/ducks/global/types.ts b/cmd/ui/src/ducks/global/types.ts index d2c50089d0..62440a8f08 100644 --- a/cmd/ui/src/ducks/global/types.ts +++ b/cmd/ui/src/ducks/global/types.ts @@ -13,8 +13,8 @@ // limitations under the License. // // SPDX-License-Identifier: Apache-2.0 -import { SnackbarKey } from 'notistack'; import { Notification } from 'bh-shared-ui'; +import { SnackbarKey } from 'notistack'; const GLOBAL_ADD_SNACKBAR = 'app/global/ADDSNACKBAR'; const GLOBAL_CLOSE_SNACKBAR = 'app/global/CLOSESNACKBAR'; @@ -30,14 +30,14 @@ const GLOBAL_SET_DARK_MODE = 'app/global/GLOBALSETDARKMODE'; export { GLOBAL_ADD_SNACKBAR, GLOBAL_CLOSE_SNACKBAR, - GLOBAL_REMOVE_SNACKBAR, - GLOBAL_SET_EXPANDED, - GLOBAL_SET_DOMAIN, GLOBAL_FETCH_ASSET_GROUPS, + GLOBAL_REMOVE_SNACKBAR, GLOBAL_SET_ASSET_GROUPS, - GLOBAL_SET_ASSET_GROUP_INDEX, GLOBAL_SET_ASSET_GROUP_EDIT, + GLOBAL_SET_ASSET_GROUP_INDEX, GLOBAL_SET_DARK_MODE, + GLOBAL_SET_DOMAIN, + GLOBAL_SET_EXPANDED, }; export interface GlobalViewState { diff --git a/cmd/ui/src/ducks/graph/graphutils.ts b/cmd/ui/src/ducks/graph/graphutils.ts index bbef99a933..1227107075 100644 --- a/cmd/ui/src/ducks/graph/graphutils.ts +++ b/cmd/ui/src/ducks/graph/graphutils.ts @@ -18,9 +18,9 @@ import extend from 'lodash/extend'; import keys from 'lodash/keys'; import pick from 'lodash/pick'; import pickBy from 'lodash/pickBy'; -import { Index, Items } from 'src/utils'; import { mapToRange, toGraphLinkColor, toWidth } from 'src/ducks/graph/colors'; import { GraphNodeTypes } from 'src/ducks/graph/types'; +import { Index, Items } from 'src/utils'; const getLinks: (data: Items) => Items[] = (data) => { const relKeys = Object.keys(data).filter((nodeKey) => { @@ -246,16 +246,16 @@ const setFontIcons = (data: Items): void => { }; export { - withLinkImact, - handleLabels, - setFontIcons, - getLinks, - getLinksIndex, - getNodesIndex, + ICONS, applyRelWidths, findRootId, findRootRelsIds, findTierZeroNodeId, getCombined, - ICONS, + getLinks, + getLinksIndex, + getNodesIndex, + handleLabels, + setFontIcons, + withLinkImact, }; diff --git a/cmd/ui/src/ducks/index.ts b/cmd/ui/src/ducks/index.ts index 7798123716..4f293365c8 100644 --- a/cmd/ui/src/ducks/index.ts +++ b/cmd/ui/src/ducks/index.ts @@ -14,9 +14,9 @@ // // SPDX-License-Identifier: Apache-2.0 -export { default as global } from './global'; -export { default as explore } from './explore'; -export { default as entityinfo } from './entityinfo'; -export { default as tierzero } from './tierzero'; export { default as assetgroups } from './assetgroups'; export { default as auth } from './auth/authSlice'; +export { default as entityinfo } from './entityinfo'; +export { default as explore } from './explore'; +export { default as global } from './global'; +export { default as tierzero } from './tierzero'; diff --git a/cmd/ui/src/ducks/tierzero/saga.ts b/cmd/ui/src/ducks/tierzero/saga.ts index cc4ed4870a..6732f05deb 100644 --- a/cmd/ui/src/ducks/tierzero/saga.ts +++ b/cmd/ui/src/ducks/tierzero/saga.ts @@ -14,11 +14,11 @@ // // SPDX-License-Identifier: Apache-2.0 +import { apiClient } from 'bh-shared-ui'; import find from 'lodash/find'; import keys from 'lodash/keys'; import { SagaIterator } from 'redux-saga'; import { all, call, put, select, takeEvery } from 'redux-saga/effects'; -import { apiClient } from 'bh-shared-ui'; import { addSnackbar } from 'src/ducks/global/actions'; import { flushSuccess } from 'src/ducks/tierzero/actions'; import { FLUSH_START } from 'src/ducks/tierzero/types'; diff --git a/cmd/ui/src/hooks/useCollectors.tsx b/cmd/ui/src/hooks/useCollectors.tsx index dc4e6be235..79c5f3032f 100644 --- a/cmd/ui/src/hooks/useCollectors.tsx +++ b/cmd/ui/src/hooks/useCollectors.tsx @@ -14,9 +14,9 @@ // // SPDX-License-Identifier: Apache-2.0 +import { apiClient } from 'bh-shared-ui'; import { RequestOptions } from 'js-client-library'; import { useQuery } from 'react-query'; -import { apiClient } from 'bh-shared-ui'; export type CollectorType = 'sharphound' | 'azurehound'; diff --git a/cmd/ui/src/hooks/useLayoutDagre/useLayoutDagre.test.tsx b/cmd/ui/src/hooks/useLayoutDagre/useLayoutDagre.test.tsx index 713620dea3..5ef89d6fc2 100644 --- a/cmd/ui/src/hooks/useLayoutDagre/useLayoutDagre.test.tsx +++ b/cmd/ui/src/hooks/useLayoutDagre/useLayoutDagre.test.tsx @@ -14,13 +14,13 @@ // // SPDX-License-Identifier: Apache-2.0 +import dagre from 'dagrejs'; +import Graph from 'graphology'; import { - copySigmaNodesToGraphlibGraph, - applyNodePositionsFromGraphlibGraph, NODE_DEFAULT_SIZE, + applyNodePositionsFromGraphlibGraph, + copySigmaNodesToGraphlibGraph, } from 'src/hooks/useLayoutDagre/useLayoutDagre'; -import Graph from 'graphology'; -import dagre from 'dagrejs'; const sigmaGraph = new Graph(); const graphlibGraph = new dagre.graphlib.Graph(); diff --git a/cmd/ui/src/hooks/useLayoutDagre/useLayoutDagre.tsx b/cmd/ui/src/hooks/useLayoutDagre/useLayoutDagre.tsx index fa056e36b9..8d861f525c 100644 --- a/cmd/ui/src/hooks/useLayoutDagre/useLayoutDagre.tsx +++ b/cmd/ui/src/hooks/useLayoutDagre/useLayoutDagre.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import AbstractGraph, { Attributes } from 'graphology-types'; import dagre from 'dagrejs'; +import AbstractGraph, { Attributes } from 'graphology-types'; import { getEdgeDataFromKey } from 'src/ducks/graph/utils'; export const NODE_DEFAULT_SIZE = 10; diff --git a/cmd/ui/src/main.tsx b/cmd/ui/src/main.tsx index 5f770d15e7..f8e525a3e2 100644 --- a/cmd/ui/src/main.tsx +++ b/cmd/ui/src/main.tsx @@ -21,7 +21,6 @@ import '@fontsource/roboto/400.css'; import '@fontsource/roboto/500.css'; import '@fontsource/roboto/700.css'; import { StyledEngineProvider } from '@mui/material'; -import { Theme } from '@mui/material/styles'; import { createRoot } from 'react-dom/client'; import { QueryClient, QueryClientProvider } from 'react-query'; import { ReactQueryDevtools } from 'react-query/devtools'; @@ -30,10 +29,6 @@ import App from './App'; import { store } from './store'; import './styles/index.scss'; -declare module '@mui/styles/defaultTheme' { - interface DefaultTheme extends Theme {} -} - declare module '@mui/material/styles' { interface Palette { neutral: { primary: string; secondary: string; tertiary: string; quaternary: string; quinary: string }; diff --git a/cmd/ui/src/rendering/programs/edge-label.ts b/cmd/ui/src/rendering/programs/edge-label.ts index df99390f74..5d53885123 100644 --- a/cmd/ui/src/rendering/programs/edge-label.ts +++ b/cmd/ui/src/rendering/programs/edge-label.ts @@ -21,12 +21,12 @@ * Function used by the canvas renderer to display a single edge's label. * @module */ +import { Attributes } from 'graphology-types'; import { Settings } from 'sigma/settings'; import { Coordinates, NodeDisplayData, PartialButFor } from 'sigma/types'; +import { EdgeDistanceProperties, calculateEdgeDistanceForLabel, getEdgeLabelTextLength } from 'src/ducks/graph/utils'; import { bezier } from 'src/rendering/utils/bezier'; import { calculateLabelOpacity } from 'src/rendering/utils/utils'; -import { getEdgeLabelTextLength, calculateEdgeDistanceForLabel, EdgeDistanceProperties } from 'src/ducks/graph/utils'; -import { Attributes } from 'graphology-types'; import { getControlPointsFromGroupSize } from './edge.self'; const PADDING_SCALAR = 5; diff --git a/cmd/ui/src/rendering/programs/edge.curvedArrow.ts b/cmd/ui/src/rendering/programs/edge.curvedArrow.ts index 69952c0708..bd60b8e907 100644 --- a/cmd/ui/src/rendering/programs/edge.curvedArrow.ts +++ b/cmd/ui/src/rendering/programs/edge.curvedArrow.ts @@ -23,10 +23,10 @@ * @module */ import { createEdgeCompoundProgram } from 'sigma/rendering/webgl/programs/common/edge'; -import CurvedEdgeArrowHeadProgram from './edge.curvedArrowHead'; -import CurvedEdgeProgram from './edge.curved'; -import { EdgeDisplayData, Coordinates } from 'sigma/types'; +import { Coordinates, EdgeDisplayData } from 'sigma/types'; import { EdgeDirection } from 'src/utils'; +import CurvedEdgeProgram from './edge.curved'; +import CurvedEdgeArrowHeadProgram from './edge.curvedArrowHead'; export type CurvedEdgeDisplayData = EdgeDisplayData & { groupSize?: number; diff --git a/cmd/ui/src/rendering/programs/edge.self.ts b/cmd/ui/src/rendering/programs/edge.self.ts index e9c2b44b6f..cc41613528 100644 --- a/cmd/ui/src/rendering/programs/edge.self.ts +++ b/cmd/ui/src/rendering/programs/edge.self.ts @@ -14,11 +14,11 @@ // // SPDX-License-Identifier: Apache-2.0 -import CurvedEdgeProgram from './edge.curved'; -import { Coordinates, NodeDisplayData } from 'sigma/types'; import { Attributes } from 'graphology-types'; +import { Coordinates, NodeDisplayData } from 'sigma/types'; import { floatColor } from 'sigma/utils'; import { bezier } from 'src/rendering/utils/bezier'; +import CurvedEdgeProgram from './edge.curved'; const RESOLUTION = 0.02, POINTS = 2 / RESOLUTION + 2, diff --git a/cmd/ui/src/rendering/programs/edge.selfArrow.ts b/cmd/ui/src/rendering/programs/edge.selfArrow.ts index f1f599f594..0fe7bb92ed 100644 --- a/cmd/ui/src/rendering/programs/edge.selfArrow.ts +++ b/cmd/ui/src/rendering/programs/edge.selfArrow.ts @@ -15,9 +15,9 @@ // SPDX-License-Identifier: Apache-2.0 import { createEdgeCompoundProgram } from 'sigma/rendering/webgl/programs/common/edge'; -import SelfEdgeArrowHeadProgram from './edge.selfArrowHead'; -import SelfEdgeProgram from './edge.self'; import { EdgeDisplayData } from 'sigma/types'; +import SelfEdgeProgram from './edge.self'; +import SelfEdgeArrowHeadProgram from './edge.selfArrowHead'; export type SelfEdgeDisplayData = EdgeDisplayData & { groupSize?: number; diff --git a/cmd/ui/src/rendering/programs/edge.selfArrowHead.ts b/cmd/ui/src/rendering/programs/edge.selfArrowHead.ts index 0eafba888f..4d84c9c009 100644 --- a/cmd/ui/src/rendering/programs/edge.selfArrowHead.ts +++ b/cmd/ui/src/rendering/programs/edge.selfArrowHead.ts @@ -14,12 +14,12 @@ // // SPDX-License-Identifier: Apache-2.0 -import CurvedEdgeArrowHeadProgram from './edge.curvedArrowHead'; +import { Attributes } from 'graphology-types'; import { NodeDisplayData } from 'sigma/types'; import { floatColor } from 'sigma/utils'; -import { Attributes } from 'graphology-types'; import { bezier } from 'src/rendering/utils/bezier'; import { getNodeRadius } from 'src/rendering/utils/utils'; +import CurvedEdgeArrowHeadProgram from './edge.curvedArrowHead'; import { getControlPointsFromGroupSize } from './edge.self'; const POINTS = 3, diff --git a/cmd/ui/src/rendering/programs/node.combined.ts b/cmd/ui/src/rendering/programs/node.combined.ts index 62ba82eb6a..ad886e065f 100644 --- a/cmd/ui/src/rendering/programs/node.combined.ts +++ b/cmd/ui/src/rendering/programs/node.combined.ts @@ -25,13 +25,13 @@ * * @module */ -import { Coordinates, Dimensions, NodeDisplayData } from 'sigma/types'; -import { floatColor } from 'sigma/utils'; -import { vertexShaderSource } from '../shaders/node.combined.vert'; -import { fragmentShaderSource } from '../shaders/node.combined.frag'; import { AbstractNodeProgram } from 'sigma/rendering/webgl/programs/common/node'; import { RenderParams } from 'sigma/rendering/webgl/programs/common/program'; import Sigma from 'sigma/sigma'; +import { Coordinates, Dimensions, NodeDisplayData } from 'sigma/types'; +import { floatColor } from 'sigma/utils'; +import { fragmentShaderSource } from '../shaders/node.combined.frag'; +import { vertexShaderSource } from '../shaders/node.combined.vert'; const POINTS = 3, /* diff --git a/cmd/ui/src/rendering/utils/bezier.ts b/cmd/ui/src/rendering/utils/bezier.ts index af9ca8ffa5..6f47a0a2fa 100644 --- a/cmd/ui/src/rendering/utils/bezier.ts +++ b/cmd/ui/src/rendering/utils/bezier.ts @@ -15,8 +15,8 @@ // SPDX-License-Identifier: Apache-2.0 import { Coordinates } from 'sigma/types'; -import { EdgeDirection } from 'src/utils'; import { GROUP_SPREAD } from 'src/ducks/graph/utils'; +import { EdgeDirection } from 'src/utils'; // Collection of helper functions for working with 2D Coordinates export const bezier = { diff --git a/cmd/ui/src/setupTests.tsx b/cmd/ui/src/setupTests.tsx index 31db6df700..3d1f40cd85 100644 --- a/cmd/ui/src/setupTests.tsx +++ b/cmd/ui/src/setupTests.tsx @@ -15,6 +15,7 @@ // SPDX-License-Identifier: Apache-2.0 /* eslint-disable @typescript-eslint/no-unused-vars */ +// organize-imports-ignore import matchers from '@testing-library/jest-dom/matchers'; import { expect } from 'vitest'; //@ts-ignore diff --git a/cmd/ui/src/store.ts b/cmd/ui/src/store.ts index cbe09f8c9b..7ff5b26f18 100644 --- a/cmd/ui/src/store.ts +++ b/cmd/ui/src/store.ts @@ -15,13 +15,13 @@ // SPDX-License-Identifier: Apache-2.0 import { combineReducers, configureStore, PreloadedState } from '@reduxjs/toolkit'; +import { edgeinfo, searchReducer as search } from 'bh-shared-ui'; import { enableMapSet } from 'immer'; import Cookies from 'js-cookie'; import throttle from 'lodash/throttle'; import { TypedUseSelectorHook, useDispatch, useSelector } from 'react-redux'; import createSagaMiddleware from 'redux-saga'; import * as reducers from 'src/ducks'; -import { edgeinfo, searchReducer as search } from 'bh-shared-ui'; import rootSaga from 'src/rootSaga'; enableMapSet(); diff --git a/cmd/ui/src/test-utils.jsx b/cmd/ui/src/test-utils.jsx index 9f84bdba7a..2081cfb0e1 100644 --- a/cmd/ui/src/test-utils.jsx +++ b/cmd/ui/src/test-utils.jsx @@ -14,10 +14,11 @@ // // SPDX-License-Identifier: Apache-2.0 -import { createTheme } from '@mui/material/styles'; import { CssBaseline, StyledEngineProvider, ThemeProvider } from '@mui/material'; +import { createTheme } from '@mui/material/styles'; import { configureStore } from '@reduxjs/toolkit'; import { render, renderHook } from '@testing-library/react'; +import { NotificationsProvider, darkPalette } from 'bh-shared-ui'; import { createMemoryHistory } from 'history'; import { SnackbarProvider } from 'notistack'; import { QueryClient, QueryClientProvider } from 'react-query'; @@ -25,8 +26,6 @@ import { Provider } from 'react-redux'; import { Router } from 'react-router-dom'; import createSagaMiddleware from 'redux-saga'; import { rootReducer } from 'src/store'; -import { NotificationsProvider } from 'bh-shared-ui'; -import { darkPalette } from 'bh-shared-ui'; const theme = createTheme(darkPalette); const defaultTheme = { @@ -112,5 +111,4 @@ const customRenderHook = ( // eslint-disable-next-line react-refresh/only-export-components export * from '@testing-library/react'; // override render method -export { customRender as render }; -export { customRenderHook as renderHook }; +export { customRender as render, customRenderHook as renderHook }; diff --git a/cmd/ui/src/views/Administration/Administration.tsx b/cmd/ui/src/views/Administration/Administration.tsx index 6493ac927d..ce4f66a181 100644 --- a/cmd/ui/src/views/Administration/Administration.tsx +++ b/cmd/ui/src/views/Administration/Administration.tsx @@ -15,19 +15,19 @@ // SPDX-License-Identifier: Apache-2.0 import { Box, CircularProgress, Container } from '@mui/material'; +import { GenericErrorBoundaryFallback, Permission } from 'bh-shared-ui'; import React, { Suspense } from 'react'; import { ErrorBoundary } from 'react-error-boundary'; import { Navigate, Route, Routes } from 'react-router-dom'; -import { GenericErrorBoundaryFallback, Permission } from 'bh-shared-ui'; import LeftNav from 'src/components/LeftNav'; import { - ROUTE_ADMINISTRATION_FILE_INGEST, + ROUTE_ADMINISTRATION_BLOODHOUND_CONFIGURATION, ROUTE_ADMINISTRATION_DATA_QUALITY, + ROUTE_ADMINISTRATION_DB_MANAGEMENT, ROUTE_ADMINISTRATION_EARLY_ACCESS_FEATURES, + ROUTE_ADMINISTRATION_FILE_INGEST, ROUTE_ADMINISTRATION_MANAGE_USERS, ROUTE_ADMINISTRATION_SSO_CONFIGURATION, - ROUTE_ADMINISTRATION_DB_MANAGEMENT, - ROUTE_ADMINISTRATION_BLOODHOUND_CONFIGURATION, } from 'src/ducks/global/routes'; import usePermissions from 'src/hooks/usePermissions/usePermissions'; diff --git a/cmd/ui/src/views/BloodHoundConfiguration/BloodHoundConfiguration.tsx b/cmd/ui/src/views/BloodHoundConfiguration/BloodHoundConfiguration.tsx index 4962a6b4ea..40b0c48f64 100644 --- a/cmd/ui/src/views/BloodHoundConfiguration/BloodHoundConfiguration.tsx +++ b/cmd/ui/src/views/BloodHoundConfiguration/BloodHoundConfiguration.tsx @@ -15,7 +15,7 @@ // SPDX-License-Identifier: Apache-2.0 import { Box, Link, Typography } from '@mui/material'; -import { PageWithTitle, CitrixRDPConfiguration } from 'bh-shared-ui'; +import { CitrixRDPConfiguration, PageWithTitle } from 'bh-shared-ui'; const BloodHoundConfiguration = () => { return ( diff --git a/cmd/ui/src/views/Content.tsx b/cmd/ui/src/views/Content.tsx index 94df902f3b..80c8976b8a 100644 --- a/cmd/ui/src/views/Content.tsx +++ b/cmd/ui/src/views/Content.tsx @@ -16,16 +16,16 @@ import { Box, CircularProgress } from '@mui/material'; import makeStyles from '@mui/styles/makeStyles'; +import { GenericErrorBoundaryFallback, apiClient } from 'bh-shared-ui'; import React, { Suspense, useEffect } from 'react'; import { ErrorBoundary } from 'react-error-boundary'; import { Route, Routes } from 'react-router-dom'; -import { GenericErrorBoundaryFallback, apiClient } from 'bh-shared-ui'; +import AuthenticatedRoute from 'src/components/AuthenticatedRoute'; import { ListAssetGroups } from 'src/ducks/assetgroups/actionCreators'; import { fullyAuthenticatedSelector } from 'src/ducks/auth/authSlice'; import { fetchAssetGroups, setDomain } from 'src/ducks/global/actions'; import * as routes from 'src/ducks/global/routes'; import { useAppDispatch, useAppSelector } from 'src/store'; -import AuthenticatedRoute from 'src/components/AuthenticatedRoute'; const Login = React.lazy(() => import('src/views/Login')); const DisabledUser = React.lazy(() => import('src/views/DisabledUser')); diff --git a/cmd/ui/src/views/DatabaseManagement/ConfirmationDialog.test.tsx b/cmd/ui/src/views/DatabaseManagement/ConfirmationDialog.test.tsx index 45c846801e..719555cbae 100644 --- a/cmd/ui/src/views/DatabaseManagement/ConfirmationDialog.test.tsx +++ b/cmd/ui/src/views/DatabaseManagement/ConfirmationDialog.test.tsx @@ -14,9 +14,9 @@ // // SPDX-License-Identifier: Apache-2.0 +import userEvent from '@testing-library/user-event'; import { render, screen } from 'src/test-utils'; import ConfirmationDialog from './ConfirmationDialog'; -import userEvent from '@testing-library/user-event'; describe('Confirmation Dialog', () => { const handleClose = vi.fn(); diff --git a/cmd/ui/src/views/DatabaseManagement/ConfirmationDialog.tsx b/cmd/ui/src/views/DatabaseManagement/ConfirmationDialog.tsx index 9fc872f84f..d787f72544 100644 --- a/cmd/ui/src/views/DatabaseManagement/ConfirmationDialog.tsx +++ b/cmd/ui/src/views/DatabaseManagement/ConfirmationDialog.tsx @@ -14,11 +14,11 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Button } from '@bloodhoundenterprise/doodleui'; import { faCircleXmark } from '@fortawesome/free-solid-svg-icons'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { Box, Dialog, DialogActions, DialogContent, DialogTitle, TextField, Typography, useTheme } from '@mui/material'; import { FC, useState } from 'react'; -import { Button } from '@bloodhoundenterprise/doodleui'; const confirmationText = 'Please delete my data'; diff --git a/cmd/ui/src/views/DatabaseManagement/DatabaseManagement.test.tsx b/cmd/ui/src/views/DatabaseManagement/DatabaseManagement.test.tsx index c537c7c8da..0e1dcc2bca 100644 --- a/cmd/ui/src/views/DatabaseManagement/DatabaseManagement.test.tsx +++ b/cmd/ui/src/views/DatabaseManagement/DatabaseManagement.test.tsx @@ -14,11 +14,11 @@ // // SPDX-License-Identifier: Apache-2.0 -import { render, screen } from 'src/test-utils'; -import DatabaseManagement from '.'; import userEvent from '@testing-library/user-event'; -import { setupServer } from 'msw/node'; import { rest } from 'msw'; +import { setupServer } from 'msw/node'; +import { render, screen } from 'src/test-utils'; +import DatabaseManagement from '.'; describe('DatabaseManagement', () => { const server = setupServer( diff --git a/cmd/ui/src/views/DatabaseManagement/DatabaseManagement.tsx b/cmd/ui/src/views/DatabaseManagement/DatabaseManagement.tsx index 8c871d15b4..f349288f60 100644 --- a/cmd/ui/src/views/DatabaseManagement/DatabaseManagement.tsx +++ b/cmd/ui/src/views/DatabaseManagement/DatabaseManagement.tsx @@ -16,13 +16,13 @@ import { Button } from '@bloodhoundenterprise/doodleui'; import { Alert, Box, Checkbox, FormControl, FormControlLabel, FormGroup, Typography } from '@mui/material'; -import { PageWithTitle, apiClient, FeatureFlag } from 'bh-shared-ui'; +import { FeatureFlag, PageWithTitle, apiClient } from 'bh-shared-ui'; +import { ClearDatabaseRequest } from 'js-client-library'; import { useReducer } from 'react'; -import ConfirmationDialog from './ConfirmationDialog'; import { useMutation } from 'react-query'; import { useSelector } from 'react-redux'; import { selectAllAssetGroupIds, selectTierZeroAssetGroupId } from 'src/ducks/assetgroups/reducer'; -import { ClearDatabaseRequest } from 'js-client-library'; +import ConfirmationDialog from './ConfirmationDialog'; const initialState: State = { deleteCollectedGraphData: false, diff --git a/cmd/ui/src/views/DisabledUser.tsx b/cmd/ui/src/views/DisabledUser.tsx index 5b4df3a07e..966edf0433 100644 --- a/cmd/ui/src/views/DisabledUser.tsx +++ b/cmd/ui/src/views/DisabledUser.tsx @@ -18,10 +18,10 @@ import { Button } from '@bloodhoundenterprise/doodleui'; import { Alert, AlertTitle, Box, Grid } from '@mui/material'; import React from 'react'; import { useNavigate } from 'react-router-dom'; +import LoginPage from 'src/components/LoginPage'; import { logout } from 'src/ducks/auth/authSlice'; import { ROUTE_LOGIN } from 'src/ducks/global/routes'; import { useAppDispatch } from 'src/store'; -import LoginPage from 'src/components/LoginPage'; const DisabledUser: React.FC = () => { const dispatch = useAppDispatch(); diff --git a/cmd/ui/src/views/DownloadCollectors/DownloadCollectors.test.tsx b/cmd/ui/src/views/DownloadCollectors/DownloadCollectors.test.tsx index aa300b076a..be3a081b76 100644 --- a/cmd/ui/src/views/DownloadCollectors/DownloadCollectors.test.tsx +++ b/cmd/ui/src/views/DownloadCollectors/DownloadCollectors.test.tsx @@ -14,13 +14,13 @@ // // SPDX-License-Identifier: Apache-2.0 -import DownloadCollectors from './DownloadCollectors'; -import { screen, render, waitFor } from 'src/test-utils'; -import { rest } from 'msw'; -import { setupServer } from 'msw/node'; import userEvent from '@testing-library/user-event'; import fileDownload from 'js-file-download'; +import { rest } from 'msw'; +import { setupServer } from 'msw/node'; +import { render, screen, waitFor } from 'src/test-utils'; import { Mock } from 'vitest'; +import DownloadCollectors from './DownloadCollectors'; vi.mock('js-file-download'); diff --git a/cmd/ui/src/views/DownloadCollectors/DownloadCollectors.tsx b/cmd/ui/src/views/DownloadCollectors/DownloadCollectors.tsx index c678d0f80d..64121fbdb4 100644 --- a/cmd/ui/src/views/DownloadCollectors/DownloadCollectors.tsx +++ b/cmd/ui/src/views/DownloadCollectors/DownloadCollectors.tsx @@ -15,10 +15,9 @@ // SPDX-License-Identifier: Apache-2.0 import { Alert, Box, Paper, Skeleton, Typography, useTheme } from '@mui/material'; +import { CollectorCardList, DocumentationLinks, PageWithTitle, apiClient } from 'bh-shared-ui'; import fileDownload from 'js-file-download'; import { useDispatch } from 'react-redux'; -import { apiClient, DocumentationLinks } from 'bh-shared-ui'; -import { CollectorCardList, PageWithTitle } from 'bh-shared-ui'; import { addSnackbar } from 'src/ducks/global/actions'; import { CollectorType, useGetCollectorsByType } from 'src/hooks/useCollectors'; diff --git a/cmd/ui/src/views/EarlyAccessFeatures/EarlyAccessFeatures.test.tsx b/cmd/ui/src/views/EarlyAccessFeatures/EarlyAccessFeatures.test.tsx index 31b806e055..74f3b0148d 100644 --- a/cmd/ui/src/views/EarlyAccessFeatures/EarlyAccessFeatures.test.tsx +++ b/cmd/ui/src/views/EarlyAccessFeatures/EarlyAccessFeatures.test.tsx @@ -15,9 +15,9 @@ // SPDX-License-Identifier: Apache-2.0 import userEvent from '@testing-library/user-event'; +import { Flag } from 'bh-shared-ui'; import { rest } from 'msw'; import { setupServer } from 'msw/node'; -import { Flag } from 'bh-shared-ui'; import { act, render, screen } from 'src/test-utils'; import EarlyAccessFeatures from '.'; diff --git a/cmd/ui/src/views/EarlyAccessFeatures/EarlyAccessFeatures.tsx b/cmd/ui/src/views/EarlyAccessFeatures/EarlyAccessFeatures.tsx index caa6dffd6f..d57e433090 100644 --- a/cmd/ui/src/views/EarlyAccessFeatures/EarlyAccessFeatures.tsx +++ b/cmd/ui/src/views/EarlyAccessFeatures/EarlyAccessFeatures.tsx @@ -30,7 +30,7 @@ import { Skeleton, Typography, } from '@mui/material'; -import { PageWithTitle, Flag, useFeatureFlags, useToggleFeatureFlag } from 'bh-shared-ui'; +import { Flag, PageWithTitle, useFeatureFlags, useToggleFeatureFlag } from 'bh-shared-ui'; import { useState } from 'react'; import { useNavigate } from 'react-router-dom'; import { setDarkMode } from 'src/ducks/global/actions'; diff --git a/cmd/ui/src/views/EarlyAccessFeatures/EarlyAccessFeaturesToggle.test.tsx b/cmd/ui/src/views/EarlyAccessFeatures/EarlyAccessFeaturesToggle.test.tsx index 1d25c4dbd9..fa85592d5e 100644 --- a/cmd/ui/src/views/EarlyAccessFeatures/EarlyAccessFeaturesToggle.test.tsx +++ b/cmd/ui/src/views/EarlyAccessFeatures/EarlyAccessFeaturesToggle.test.tsx @@ -15,9 +15,9 @@ // SPDX-License-Identifier: Apache-2.0 import userEvent from '@testing-library/user-event'; +import { Flag } from 'bh-shared-ui'; import { render, screen } from 'src/test-utils'; import { EarlyAccessFeatureToggle } from './EarlyAccessFeatures'; -import { Flag } from 'bh-shared-ui'; describe('EarlyAccessFeatureToggle', () => { it('renders', () => { diff --git a/cmd/ui/src/views/ExpiredPassword.tsx b/cmd/ui/src/views/ExpiredPassword.tsx index b9f455fc06..f01c008518 100644 --- a/cmd/ui/src/views/ExpiredPassword.tsx +++ b/cmd/ui/src/views/ExpiredPassword.tsx @@ -16,11 +16,11 @@ import React from 'react'; -import { Navigate } from 'react-router-dom'; -import { PutUserAuthSecretRequest } from 'js-client-library'; import { PasswordResetForm } from 'bh-shared-ui'; -import { authExpiredSelector, logout, updateExpiredPassword } from 'src/ducks/auth/authSlice'; +import { PutUserAuthSecretRequest } from 'js-client-library'; +import { Navigate } from 'react-router-dom'; import LoginPage from 'src/components/LoginPage'; +import { authExpiredSelector, logout, updateExpiredPassword } from 'src/ducks/auth/authSlice'; import { ROUTE_HOME } from 'src/ducks/global/routes'; import { useAppDispatch, useAppSelector } from 'src/store'; diff --git a/cmd/ui/src/views/Explore/BasicObjectInfoFields.tsx b/cmd/ui/src/views/Explore/BasicObjectInfoFields.tsx index 0de786099e..d239154fb4 100644 --- a/cmd/ui/src/views/Explore/BasicObjectInfoFields.tsx +++ b/cmd/ui/src/views/Explore/BasicObjectInfoFields.tsx @@ -21,9 +21,9 @@ import { EntityKinds, Field, NodeIcon, - searchbarActions, - TIER_ZERO_TAG, OWNED_OBJECT_TAG, + TIER_ZERO_TAG, + searchbarActions, } from 'bh-shared-ui'; import { useAppDispatch } from 'src/store'; diff --git a/cmd/ui/src/views/Explore/ContextMenu/AssetGroupMenuItem.test.tsx b/cmd/ui/src/views/Explore/ContextMenu/AssetGroupMenuItem.test.tsx index f106e22513..6383177b72 100644 --- a/cmd/ui/src/views/Explore/ContextMenu/AssetGroupMenuItem.test.tsx +++ b/cmd/ui/src/views/Explore/ContextMenu/AssetGroupMenuItem.test.tsx @@ -14,13 +14,13 @@ // // SPDX-License-Identifier: Apache-2.0 -import { act } from 'react-dom/test-utils'; -import { render, screen } from 'src/test-utils'; import userEvent from '@testing-library/user-event'; -import { setupServer } from 'msw/node'; +import { apiClient } from 'bh-shared-ui'; import { rest } from 'msw'; +import { setupServer } from 'msw/node'; +import { act } from 'react-dom/test-utils'; +import { render, screen } from 'src/test-utils'; import AssetGroupMenuItem from './AssetGroupMenuItem'; -import { apiClient } from 'bh-shared-ui'; describe('AssetGroupMenuItem', async () => { const tierZeroAssetGroup = { id: 1, name: 'high value' }; diff --git a/cmd/ui/src/views/Explore/ContextMenu/AssetGroupMenuItem.tsx b/cmd/ui/src/views/Explore/ContextMenu/AssetGroupMenuItem.tsx index 8defc56ef2..85510fa893 100644 --- a/cmd/ui/src/views/Explore/ContextMenu/AssetGroupMenuItem.tsx +++ b/cmd/ui/src/views/Explore/ContextMenu/AssetGroupMenuItem.tsx @@ -14,14 +14,14 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Button } from '@bloodhoundenterprise/doodleui'; import { Dialog, DialogActions, DialogContent, DialogTitle, MenuItem } from '@mui/material'; import { apiClient, useNotifications } from 'bh-shared-ui'; import { FC, useState } from 'react'; import { useMutation, useQuery } from 'react-query'; -import { selectTierZeroAssetGroupId, selectOwnedAssetGroupId } from 'src/ducks/assetgroups/reducer'; -import { toggleTierZeroNode, toggleOwnedObjectNode } from 'src/ducks/explore/actions'; +import { selectOwnedAssetGroupId, selectTierZeroAssetGroupId } from 'src/ducks/assetgroups/reducer'; +import { toggleOwnedObjectNode, toggleTierZeroNode } from 'src/ducks/explore/actions'; import { useAppDispatch, useAppSelector } from 'src/store'; -import { Button } from '@bloodhoundenterprise/doodleui'; const AssetGroupMenuItem: FC<{ assetGroupId: number; assetGroupName: string }> = ({ assetGroupId, assetGroupName }) => { const { addNotification } = useNotifications(); diff --git a/cmd/ui/src/views/Explore/ContextMenu/ContextMenu.test.tsx b/cmd/ui/src/views/Explore/ContextMenu/ContextMenu.test.tsx index bd3e7b271b..7a3ad89ae7 100644 --- a/cmd/ui/src/views/Explore/ContextMenu/ContextMenu.test.tsx +++ b/cmd/ui/src/views/Explore/ContextMenu/ContextMenu.test.tsx @@ -15,11 +15,6 @@ // SPDX-License-Identifier: Apache-2.0 import userEvent from '@testing-library/user-event'; -import { rest } from 'msw'; -import { setupServer } from 'msw/node'; -import { act } from 'react-dom/test-utils'; -import { render, screen, waitFor } from 'src/test-utils'; -import ContextMenu from './ContextMenu'; import { DeepPartial, EntityKinds, @@ -27,7 +22,12 @@ import { searchbarActions as actions, createAuthStateWithPermissions, } from 'bh-shared-ui'; +import { rest } from 'msw'; +import { setupServer } from 'msw/node'; +import { act } from 'react-dom/test-utils'; import { AppState } from 'src/store'; +import { render, screen, waitFor } from 'src/test-utils'; +import ContextMenu from './ContextMenu'; describe('ContextMenu', async () => { const server = setupServer( diff --git a/cmd/ui/src/views/Explore/ContextMenu/ContextMenu.tsx b/cmd/ui/src/views/Explore/ContextMenu/ContextMenu.tsx index 134cb7dc20..c489d50d18 100644 --- a/cmd/ui/src/views/Explore/ContextMenu/ContextMenu.tsx +++ b/cmd/ui/src/views/Explore/ContextMenu/ContextMenu.tsx @@ -19,10 +19,10 @@ import { Menu, MenuItem } from '@mui/material'; import { Permission, searchbarActions } from 'bh-shared-ui'; import { FC } from 'react'; import { selectOwnedAssetGroupId, selectTierZeroAssetGroupId } from 'src/ducks/assetgroups/reducer'; +import usePermissions from 'src/hooks/usePermissions/usePermissions'; import { useAppDispatch, useAppSelector } from 'src/store'; import AssetGroupMenuItem from './AssetGroupMenuItem'; import CopyMenuItem from './CopyMenuItem'; -import usePermissions from 'src/hooks/usePermissions/usePermissions'; const ContextMenu: FC<{ contextMenu: { mouseX: number; mouseY: number } | null; handleClose: () => void }> = ({ contextMenu, diff --git a/cmd/ui/src/views/Explore/EdgeInfo/EdgeInfoCollapsibleSection.tsx b/cmd/ui/src/views/Explore/EdgeInfo/EdgeInfoCollapsibleSection.tsx index 4618600ff6..557972e446 100644 --- a/cmd/ui/src/views/Explore/EdgeInfo/EdgeInfoCollapsibleSection.tsx +++ b/cmd/ui/src/views/Explore/EdgeInfo/EdgeInfoCollapsibleSection.tsx @@ -17,7 +17,7 @@ import { faMinus, faPlus } from '@fortawesome/free-solid-svg-icons'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { Accordion, AccordionDetails, AccordionSummary } from '@mui/material'; -import { EdgeInfoState, EdgeSections, edgeSectionToggle, SubHeader, useCollapsibleSectionStyles } from 'bh-shared-ui'; +import { EdgeInfoState, EdgeSections, SubHeader, edgeSectionToggle, useCollapsibleSectionStyles } from 'bh-shared-ui'; import React, { PropsWithChildren } from 'react'; import { useAppDispatch, useAppSelector } from 'src/store'; diff --git a/cmd/ui/src/views/Explore/EdgeInfo/EdgeInfoContent.test.tsx b/cmd/ui/src/views/Explore/EdgeInfo/EdgeInfoContent.test.tsx index 8232671561..ddec31e6c7 100644 --- a/cmd/ui/src/views/Explore/EdgeInfo/EdgeInfoContent.test.tsx +++ b/cmd/ui/src/views/Explore/EdgeInfo/EdgeInfoContent.test.tsx @@ -14,12 +14,12 @@ // // SPDX-License-Identifier: Apache-2.0 +import userEvent from '@testing-library/user-event'; import { SelectedEdge } from 'bh-shared-ui'; -import EdgeInfoContent from 'src/views/Explore/EdgeInfo/EdgeInfoContent'; import { rest } from 'msw'; import { setupServer } from 'msw/node'; import { render, screen } from 'src/test-utils'; -import userEvent from '@testing-library/user-event'; +import EdgeInfoContent from 'src/views/Explore/EdgeInfo/EdgeInfoContent'; const server = setupServer( rest.post(`/api/v2/graphs/cypher`, (req, res, ctx) => { diff --git a/cmd/ui/src/views/Explore/EdgeInfo/EdgeInfoHeader.tsx b/cmd/ui/src/views/Explore/EdgeInfo/EdgeInfoHeader.tsx index 90b4b5032a..0e750c2b37 100644 --- a/cmd/ui/src/views/Explore/EdgeInfo/EdgeInfoHeader.tsx +++ b/cmd/ui/src/views/Explore/EdgeInfo/EdgeInfoHeader.tsx @@ -17,10 +17,9 @@ import { faAngleDoubleUp, faMinus, faPlus } from '@fortawesome/free-solid-svg-icons'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { Typography } from '@mui/material'; -import { Icon, collapseAllSections } from 'bh-shared-ui'; +import { Icon, collapseAllSections, useHeaderStyles } from 'bh-shared-ui'; import React from 'react'; import { useAppDispatch } from 'src/store'; -import { useHeaderStyles } from 'bh-shared-ui'; interface HeaderProps { name: string; diff --git a/cmd/ui/src/views/Explore/EdgeInfo/EdgeInfoPane.tsx b/cmd/ui/src/views/Explore/EdgeInfo/EdgeInfoPane.tsx index c2d643f066..1ed9a564eb 100644 --- a/cmd/ui/src/views/Explore/EdgeInfo/EdgeInfoPane.tsx +++ b/cmd/ui/src/views/Explore/EdgeInfo/EdgeInfoPane.tsx @@ -15,11 +15,10 @@ // SPDX-License-Identifier: Apache-2.0 import { Box, Paper, SxProps } from '@mui/material'; -import { SelectedEdge } from 'bh-shared-ui'; +import { SelectedEdge, usePaneStyles } from 'bh-shared-ui'; import React, { useState } from 'react'; import EdgeInfoContent from 'src/views/Explore/EdgeInfo/EdgeInfoContent'; import Header from 'src/views/Explore/EdgeInfo/EdgeInfoHeader'; -import { usePaneStyles } from 'bh-shared-ui'; const EdgeInfoPane: React.FC<{ selectedEdge: SelectedEdge; sx?: SxProps }> = ({ selectedEdge, sx }) => { const styles = usePaneStyles(); diff --git a/cmd/ui/src/views/Explore/EdgeInfo/EdgeObjectInformation.test.tsx b/cmd/ui/src/views/Explore/EdgeInfo/EdgeObjectInformation.test.tsx index e472c529df..2635cc4209 100644 --- a/cmd/ui/src/views/Explore/EdgeInfo/EdgeObjectInformation.test.tsx +++ b/cmd/ui/src/views/Explore/EdgeInfo/EdgeObjectInformation.test.tsx @@ -15,10 +15,10 @@ // SPDX-License-Identifier: Apache-2.0 import { SelectedEdge } from 'bh-shared-ui'; -import EdgeObjectInformation from 'src/views/Explore/EdgeInfo/EdgeObjectInformation'; import { rest } from 'msw'; import { setupServer } from 'msw/node'; import { render, screen } from 'src/test-utils'; +import EdgeObjectInformation from 'src/views/Explore/EdgeInfo/EdgeObjectInformation'; const server = setupServer(); diff --git a/cmd/ui/src/views/Explore/EntityInfo/EntityInfoCollapsibleSction.test.tsx b/cmd/ui/src/views/Explore/EntityInfo/EntityInfoCollapsibleSction.test.tsx index c7e5dfad8f..3db5927677 100644 --- a/cmd/ui/src/views/Explore/EntityInfo/EntityInfoCollapsibleSction.test.tsx +++ b/cmd/ui/src/views/Explore/EntityInfo/EntityInfoCollapsibleSction.test.tsx @@ -14,9 +14,9 @@ // // SPDX-License-Identifier: Apache-2.0 -import EntityInfoCollapsibleSection from './EntityInfoCollapsibleSection'; import userEvent from '@testing-library/user-event'; -import { screen, render, waitFor } from 'src/test-utils'; +import { render, screen, waitFor } from 'src/test-utils'; +import EntityInfoCollapsibleSection from './EntityInfoCollapsibleSection'; import { EntityInfoPanelContextProvider } from './EntityInfoPanelContextProvider'; describe('EntityInfoCollapsibleSection', () => { diff --git a/cmd/ui/src/views/Explore/EntityInfo/EntityInfoCollapsibleSection.tsx b/cmd/ui/src/views/Explore/EntityInfo/EntityInfoCollapsibleSection.tsx index f8dc2620b6..7beba1161c 100644 --- a/cmd/ui/src/views/Explore/EntityInfo/EntityInfoCollapsibleSection.tsx +++ b/cmd/ui/src/views/Explore/EntityInfo/EntityInfoCollapsibleSection.tsx @@ -17,9 +17,9 @@ import { faMinus, faPlus } from '@fortawesome/free-solid-svg-icons'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { Accordion, AccordionDetails, AccordionSummary, Alert, AlertTitle } from '@mui/material'; +import { SubHeader, useCollapsibleSectionStyles } from 'bh-shared-ui'; import React, { PropsWithChildren } from 'react'; import { useEntityInfoPanelContext } from './EntityInfoPanelContext'; -import { SubHeader, useCollapsibleSectionStyles } from 'bh-shared-ui'; const EntityInfoCollapsibleSectionError: React.FC<{ error: any }> = ({ error }) => { //TODO: Once azure backend changes for counts param are in, utilize response error details diff --git a/cmd/ui/src/views/Explore/EntityInfo/EntityInfoContent.test.tsx b/cmd/ui/src/views/Explore/EntityInfo/EntityInfoContent.test.tsx index 1b3318f21d..133e316016 100644 --- a/cmd/ui/src/views/Explore/EntityInfo/EntityInfoContent.test.tsx +++ b/cmd/ui/src/views/Explore/EntityInfo/EntityInfoContent.test.tsx @@ -14,13 +14,13 @@ // // SPDX-License-Identifier: Apache-2.0 -import EntityInfoContent from './EntityInfoContent'; -import { EntityInfoPanelContextProvider } from './EntityInfoPanelContextProvider'; -import { render, screen, waitForElementToBeRemoved } from 'src/test-utils'; +import userEvent from '@testing-library/user-event'; +import { ActiveDirectoryNodeKind, AzureNodeKind } from 'bh-shared-ui'; import { rest } from 'msw'; import { setupServer } from 'msw/node'; -import { AzureNodeKind, ActiveDirectoryNodeKind } from 'bh-shared-ui'; -import userEvent from '@testing-library/user-event'; +import { render, screen, waitForElementToBeRemoved } from 'src/test-utils'; +import EntityInfoContent from './EntityInfoContent'; +import { EntityInfoPanelContextProvider } from './EntityInfoPanelContextProvider'; const server = setupServer( rest.get('/api/v2/azure/roles', (req, res, ctx) => { diff --git a/cmd/ui/src/views/Explore/EntityInfo/EntityInfoDataTable.test.tsx b/cmd/ui/src/views/Explore/EntityInfo/EntityInfoDataTable.test.tsx index 4a63c75ae9..e76650fad3 100644 --- a/cmd/ui/src/views/Explore/EntityInfo/EntityInfoDataTable.test.tsx +++ b/cmd/ui/src/views/Explore/EntityInfo/EntityInfoDataTable.test.tsx @@ -14,11 +14,11 @@ // // SPDX-License-Identifier: Apache-2.0 -import { render, screen } from 'src/test-utils'; import userEvent from '@testing-library/user-event'; -import { rest, RequestHandler } from 'msw'; +import { ActiveDirectoryNodeKind, AzureNodeKind, allSections } from 'bh-shared-ui'; +import { RequestHandler, rest } from 'msw'; import { setupServer } from 'msw/node'; -import { ActiveDirectoryNodeKind, allSections, AzureNodeKind } from 'bh-shared-ui'; +import { render, screen } from 'src/test-utils'; import EntityInfoDataTable from './EntityInfoDataTable'; import { EntityInfoPanelContextProvider } from './EntityInfoPanelContextProvider'; diff --git a/cmd/ui/src/views/Explore/EntityInfo/EntityInfoDataTable.tsx b/cmd/ui/src/views/Explore/EntityInfo/EntityInfoDataTable.tsx index 2f127c3c16..99a0c0501b 100644 --- a/cmd/ui/src/views/Explore/EntityInfo/EntityInfoDataTable.tsx +++ b/cmd/ui/src/views/Explore/EntityInfo/EntityInfoDataTable.tsx @@ -17,9 +17,9 @@ import { EntityInfoDataTableProps, InfiniteScrollingTable, + NODE_GRAPH_RENDER_LIMIT, abortEntitySectionRequest, searchbarActions, - NODE_GRAPH_RENDER_LIMIT, } from 'bh-shared-ui'; import { useQuery } from 'react-query'; import { useDispatch } from 'react-redux'; diff --git a/cmd/ui/src/views/Explore/EntityInfo/EntityInfoPanel.tsx b/cmd/ui/src/views/Explore/EntityInfo/EntityInfoPanel.tsx index 4bb822f3b3..fe57bed2f3 100644 --- a/cmd/ui/src/views/Explore/EntityInfo/EntityInfoPanel.tsx +++ b/cmd/ui/src/views/Explore/EntityInfo/EntityInfoPanel.tsx @@ -15,7 +15,7 @@ // SPDX-License-Identifier: Apache-2.0 import { Box, Paper, SxProps, Typography } from '@mui/material'; -import { usePaneStyles, NoEntitySelectedHeader, NoEntitySelectedMessage } from 'bh-shared-ui'; +import { NoEntitySelectedHeader, NoEntitySelectedMessage, usePaneStyles } from 'bh-shared-ui'; import React, { useEffect, useState } from 'react'; import { SelectedNode } from 'src/ducks/entityinfo/types'; import usePreviousValue from 'src/hooks/usePreviousValue'; diff --git a/cmd/ui/src/views/Explore/EntityInfo/EntityInfoPanelContextProvider.tsx b/cmd/ui/src/views/Explore/EntityInfo/EntityInfoPanelContextProvider.tsx index f4d6fd47e3..2821789084 100644 --- a/cmd/ui/src/views/Explore/EntityInfo/EntityInfoPanelContextProvider.tsx +++ b/cmd/ui/src/views/Explore/EntityInfo/EntityInfoPanelContextProvider.tsx @@ -14,9 +14,9 @@ // // SPDX-License-Identifier: Apache-2.0 -import { useState, useMemo } from 'react'; -import { EntityInfoPanelContext } from './EntityInfoPanelContext'; +import { useMemo, useState } from 'react'; import type { ExpandedSections } from './EntityInfoPanelContext'; +import { EntityInfoPanelContext } from './EntityInfoPanelContext'; type EntityInfoPanelContextProviderProps = { children: React.ReactNode }; diff --git a/cmd/ui/src/views/Explore/ExploreSearch/CommonSearches.test.tsx b/cmd/ui/src/views/Explore/ExploreSearch/CommonSearches.test.tsx index fc0cfa47f7..39497a43d6 100644 --- a/cmd/ui/src/views/Explore/ExploreSearch/CommonSearches.test.tsx +++ b/cmd/ui/src/views/Explore/ExploreSearch/CommonSearches.test.tsx @@ -14,13 +14,13 @@ // // SPDX-License-Identifier: Apache-2.0 -import { render, screen } from 'src/test-utils'; -import CommonSearches from './CommonSearches'; import userEvent from '@testing-library/user-event'; -import { setupServer } from 'msw/node'; +import { apiClient, CommonSearches as prebuiltSearchList } from 'bh-shared-ui'; import { rest } from 'msw'; +import { setupServer } from 'msw/node'; import * as actions from 'src/ducks/explore/actions'; -import { CommonSearches as prebuiltSearchList, apiClient } from 'bh-shared-ui'; +import { render, screen } from 'src/test-utils'; +import CommonSearches from './CommonSearches'; const server = setupServer( rest.get('/api/v2/saved-queries', (req, res, ctx) => { diff --git a/cmd/ui/src/views/Explore/ExploreSearch/CommonSearches.tsx b/cmd/ui/src/views/Explore/ExploreSearch/CommonSearches.tsx index f73aa98708..0fdcd6e5fc 100644 --- a/cmd/ui/src/views/Explore/ExploreSearch/CommonSearches.tsx +++ b/cmd/ui/src/views/Explore/ExploreSearch/CommonSearches.tsx @@ -19,8 +19,8 @@ import makeStyles from '@mui/styles/makeStyles'; import { PersonalSearchList, PrebuiltSearchList, - searchbarActions, CommonSearches as prebuiltSearchList, + searchbarActions, } from 'bh-shared-ui'; import { useState } from 'react'; import { useDispatch } from 'react-redux'; diff --git a/cmd/ui/src/views/Explore/ExploreSearch/CypherSearch.test.tsx b/cmd/ui/src/views/Explore/ExploreSearch/CypherSearch.test.tsx index 3104ee991a..b8ad66ecf9 100644 --- a/cmd/ui/src/views/Explore/ExploreSearch/CypherSearch.test.tsx +++ b/cmd/ui/src/views/Explore/ExploreSearch/CypherSearch.test.tsx @@ -14,9 +14,9 @@ // // SPDX-License-Identifier: Apache-2.0 +import userEvent from '@testing-library/user-event'; import { act, render, screen } from 'src/test-utils'; import CypherSearch from './CypherSearch'; -import userEvent from '@testing-library/user-event'; describe('CypherSearch', () => { beforeEach(async () => { diff --git a/cmd/ui/src/views/Explore/ExploreSearch/EdgeFilter.test.tsx b/cmd/ui/src/views/Explore/ExploreSearch/EdgeFilter.test.tsx index 05f0ec76e9..eff0d3ebe2 100644 --- a/cmd/ui/src/views/Explore/ExploreSearch/EdgeFilter.test.tsx +++ b/cmd/ui/src/views/Explore/ExploreSearch/EdgeFilter.test.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import userEvent from '@testing-library/user-event'; import { act } from 'react-dom/test-utils'; import { render, screen } from 'src/test-utils'; import EdgeFilter from './EdgeFilter'; -import userEvent from '@testing-library/user-event'; describe('EdgeFilter', () => { beforeEach(async () => { diff --git a/cmd/ui/src/views/Explore/ExploreSearch/EdgeFilteringDialog.test.tsx b/cmd/ui/src/views/Explore/ExploreSearch/EdgeFilteringDialog.test.tsx index 0d5c24acb6..44fa3dc2dc 100644 --- a/cmd/ui/src/views/Explore/ExploreSearch/EdgeFilteringDialog.test.tsx +++ b/cmd/ui/src/views/Explore/ExploreSearch/EdgeFilteringDialog.test.tsx @@ -14,11 +14,11 @@ // // SPDX-License-Identifier: Apache-2.0 +import userEvent from '@testing-library/user-event'; +import { AllEdgeTypes } from 'bh-shared-ui'; import { act } from 'react-dom/test-utils'; import { render, screen } from 'src/test-utils'; -import userEvent from '@testing-library/user-event'; import EdgeFilteringDialog from './EdgeFilteringDialog'; -import { AllEdgeTypes } from 'bh-shared-ui'; describe('Pathfinding', () => { beforeEach(async () => { diff --git a/cmd/ui/src/views/Explore/ExploreSearch/ExploreSearch.test.tsx b/cmd/ui/src/views/Explore/ExploreSearch/ExploreSearch.test.tsx index e5b4f3458a..bf2d59b603 100644 --- a/cmd/ui/src/views/Explore/ExploreSearch/ExploreSearch.test.tsx +++ b/cmd/ui/src/views/Explore/ExploreSearch/ExploreSearch.test.tsx @@ -19,8 +19,8 @@ import { CYPHER_SEARCH, PATHFINDING_SEARCH, PRIMARY_SEARCH, - initialSearchState, searchbarActions as actions, + initialSearchState, } from 'bh-shared-ui'; import { rest } from 'msw'; import { setupServer } from 'msw/node'; diff --git a/cmd/ui/src/views/Explore/ExploreSearch/SaveQueryDialog.test.tsx b/cmd/ui/src/views/Explore/ExploreSearch/SaveQueryDialog.test.tsx index 8bcf628ac0..96b7567223 100644 --- a/cmd/ui/src/views/Explore/ExploreSearch/SaveQueryDialog.test.tsx +++ b/cmd/ui/src/views/Explore/ExploreSearch/SaveQueryDialog.test.tsx @@ -14,9 +14,9 @@ // // SPDX-License-Identifier: Apache-2.0 +import userEvent from '@testing-library/user-event'; import { render, screen } from 'src/test-utils'; import SaveQueryDialog from './SaveQueryDialog'; -import userEvent from '@testing-library/user-event'; describe('SaveQueryDialog', () => { it('should render a SaveQueryDialog', () => { diff --git a/cmd/ui/src/views/Explore/ExploreSearchCombobox/ExploreSearchCombobox.test.tsx b/cmd/ui/src/views/Explore/ExploreSearchCombobox/ExploreSearchCombobox.test.tsx index 5abd40bddf..35b7f21a2a 100644 --- a/cmd/ui/src/views/Explore/ExploreSearchCombobox/ExploreSearchCombobox.test.tsx +++ b/cmd/ui/src/views/Explore/ExploreSearchCombobox/ExploreSearchCombobox.test.tsx @@ -15,11 +15,11 @@ // SPDX-License-Identifier: Apache-2.0 import userEvent from '@testing-library/user-event'; +import { ActiveDirectoryNodeKind } from 'bh-shared-ui'; import { rest } from 'msw'; import { setupServer } from 'msw/node'; import { act, render, screen, within } from 'src/test-utils'; import ExploreSearchCombobox from '.'; -import { ActiveDirectoryNodeKind } from 'bh-shared-ui'; const testSearchResults = { data: [ diff --git a/cmd/ui/src/views/Explore/ExploreSearchCombobox/ExploreSearchCombobox.tsx b/cmd/ui/src/views/Explore/ExploreSearchCombobox/ExploreSearchCombobox.tsx index 2b1bb0131e..dfe87dcb2d 100644 --- a/cmd/ui/src/views/Explore/ExploreSearchCombobox/ExploreSearchCombobox.tsx +++ b/cmd/ui/src/views/Explore/ExploreSearchCombobox/ExploreSearchCombobox.tsx @@ -17,9 +17,9 @@ import { List, ListItem, ListItemText, Paper, TextField, useTheme } from '@mui/material'; import { NodeIcon, - SearchValue, SearchResult, SearchResultItem, + SearchValue, getEmptyResultsText, getKeywordAndTypeValues, useSearch, diff --git a/cmd/ui/src/views/Explore/GraphView.tsx b/cmd/ui/src/views/Explore/GraphView.tsx index 4066f876d3..d21d427cdc 100644 --- a/cmd/ui/src/views/Explore/GraphView.tsx +++ b/cmd/ui/src/views/Explore/GraphView.tsx @@ -26,6 +26,7 @@ import { setEdgeInfoOpen, setSelectedEdge, useAvailableDomains, + useToggle, } from 'bh-shared-ui'; import { MultiDirectedGraph } from 'graphology'; import { Attributes } from 'graphology-types'; @@ -42,7 +43,6 @@ import { setAssetGroupEdit } from 'src/ducks/global/actions'; import { ROUTE_ADMINISTRATION_FILE_INGEST } from 'src/ducks/global/routes'; import { GlobalOptionsState } from 'src/ducks/global/types'; import { discardChanges } from 'src/ducks/tierzero/actions'; -import { useToggle } from 'bh-shared-ui'; import { useAppDispatch, useAppSelector } from 'src/store'; import { transformFlatGraphResponse } from 'src/utils'; import EdgeInfoPane from 'src/views/Explore/EdgeInfo/EdgeInfoPane'; diff --git a/cmd/ui/src/views/Explore/Search/Menu/ActionsMenu.tsx b/cmd/ui/src/views/Explore/Search/Menu/ActionsMenu.tsx index 851c7551e3..6bdb104119 100644 --- a/cmd/ui/src/views/Explore/Search/Menu/ActionsMenu.tsx +++ b/cmd/ui/src/views/Explore/Search/Menu/ActionsMenu.tsx @@ -20,8 +20,8 @@ import ListItemIcon from '@mui/material/ListItemIcon'; import ListItemText from '@mui/material/ListItemText'; import Menu, { MenuProps } from '@mui/material/Menu'; import MenuItem from '@mui/material/MenuItem'; -import withStyles from '@mui/styles/withStyles'; import makeStyles from '@mui/styles/makeStyles'; +import withStyles from '@mui/styles/withStyles'; import React, { MouseEvent } from 'react'; interface Props { diff --git a/cmd/ui/src/views/Explore/Search/Menu/MenuContainer.tsx b/cmd/ui/src/views/Explore/Search/Menu/MenuContainer.tsx index 1b2d26bd5b..ea84c003f2 100644 --- a/cmd/ui/src/views/Explore/Search/Menu/MenuContainer.tsx +++ b/cmd/ui/src/views/Explore/Search/Menu/MenuContainer.tsx @@ -32,8 +32,8 @@ import { import createStyles from '@mui/styles/createStyles'; import makeStyles from '@mui/styles/makeStyles'; import withStyles from '@mui/styles/withStyles'; -import React, { useState } from 'react'; import { ConfirmationDialog } from 'bh-shared-ui'; +import React, { useState } from 'react'; import { initGraph, startAssetGroupQuery } from 'src/ducks/explore/actions'; import { setAssetGroupEdit, setAssetGroupIndex } from 'src/ducks/global/actions'; import { setTierZeroSelection } from 'src/ducks/tierzero/actions'; diff --git a/cmd/ui/src/views/Explore/svgIcons.ts b/cmd/ui/src/views/Explore/svgIcons.ts index 1462943944..969c95924b 100644 --- a/cmd/ui/src/views/Explore/svgIcons.ts +++ b/cmd/ui/src/views/Explore/svgIcons.ts @@ -47,4 +47,4 @@ appendSvgUrls(NODE_ICON, NODE_SCALE); appendSvgUrls(GLYPHS, GLYPH_SCALE); UNKNOWN_ICON.url = getModifiedSvgUrlFromIcon(UNKNOWN_ICON.icon, NODE_SCALE, DEFAULT_ICON_COLOR); -export { NODE_ICON, GLYPHS, UNKNOWN_ICON }; +export { GLYPHS, NODE_ICON, UNKNOWN_ICON }; diff --git a/cmd/ui/src/views/Explore/utils.ts b/cmd/ui/src/views/Explore/utils.ts index 0418ecf37d..5a9a5a5f31 100644 --- a/cmd/ui/src/views/Explore/utils.ts +++ b/cmd/ui/src/views/Explore/utils.ts @@ -17,12 +17,12 @@ import { Theme } from '@mui/material'; import { GlyphKind } from 'bh-shared-ui'; import { MultiDirectedGraph } from 'graphology'; +import { random } from 'graphology-layout'; +import forceAtlas2 from 'graphology-layout-forceatlas2'; import { GraphData, GraphEdges, GraphNodes } from 'js-client-library'; import { GlyphLocation } from 'src/rendering/programs/node.glyphs'; import { EdgeDirection, EdgeParams, NodeParams, ThemedOptions } from 'src/utils'; import { GLYPHS, NODE_ICON, UNKNOWN_ICON } from './svgIcons'; -import { random } from 'graphology-layout'; -import forceAtlas2 from 'graphology-layout-forceatlas2'; export const initGraph = (graph: MultiDirectedGraph, items: GraphData, theme: Theme, darkMode: boolean) => { const { nodes, edges } = items; diff --git a/cmd/ui/src/views/GroupManagement/GroupManagement.test.tsx b/cmd/ui/src/views/GroupManagement/GroupManagement.test.tsx index a264de1f56..8f6b820292 100644 --- a/cmd/ui/src/views/GroupManagement/GroupManagement.test.tsx +++ b/cmd/ui/src/views/GroupManagement/GroupManagement.test.tsx @@ -14,23 +14,23 @@ // // SPDX-License-Identifier: Apache-2.0 -import { setupServer } from 'msw/node'; -import { act, render, waitFor } from '../../test-utils'; -import GroupManagement from './GroupManagement'; -import { rest } from 'msw'; -import { createMockDomain } from 'src/mocks/factories'; +import userEvent from '@testing-library/user-event'; import { - createAuthStateWithPermissions, - createMockAssetGroup, - createMockAssetGroupMembers, - createMockMemberCounts, DeepPartial, NoEntitySelectedHeader, NoEntitySelectedMessage, Permission, + createAuthStateWithPermissions, + createMockAssetGroup, + createMockAssetGroupMembers, + createMockMemberCounts, } from 'bh-shared-ui'; -import userEvent from '@testing-library/user-event'; +import { rest } from 'msw'; +import { setupServer } from 'msw/node'; +import { createMockDomain } from 'src/mocks/factories'; import { AppState } from 'src/store'; +import { act, render, waitFor } from '../../test-utils'; +import GroupManagement from './GroupManagement'; const domain = createMockDomain(); const assetGroup = createMockAssetGroup(); diff --git a/cmd/ui/src/views/GroupManagement/GroupManagement.tsx b/cmd/ui/src/views/GroupManagement/GroupManagement.tsx index f177439ffa..81cc3d2107 100644 --- a/cmd/ui/src/views/GroupManagement/GroupManagement.tsx +++ b/cmd/ui/src/views/GroupManagement/GroupManagement.tsx @@ -30,10 +30,10 @@ import { useNavigate } from 'react-router-dom'; import { setSelectedNode } from 'src/ducks/entityinfo/actions'; import { SelectedNode } from 'src/ducks/entityinfo/types'; import { ROUTE_EXPLORE } from 'src/ducks/global/routes'; +import usePermissions from 'src/hooks/usePermissions/usePermissions'; import { useAppDispatch, useAppSelector } from 'src/store'; import EntityInfoPanel from '../Explore/EntityInfo/EntityInfoPanel'; import { dataCollectionMessage } from '../QA/utils'; -import usePermissions from 'src/hooks/usePermissions/usePermissions'; const GroupManagement = () => { const dispatch = useAppDispatch(); diff --git a/cmd/ui/src/views/Login.tsx b/cmd/ui/src/views/Login.tsx index 85e343659b..e6e2ce1118 100644 --- a/cmd/ui/src/views/Login.tsx +++ b/cmd/ui/src/views/Login.tsx @@ -14,12 +14,12 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, CircularProgress } from '@mui/material'; +import { LoginForm, LoginViaSSOForm, OneTimePasscodeForm, apiClient } from 'bh-shared-ui'; import React, { useEffect, useState } from 'react'; +import { useQuery, useQueryClient } from 'react-query'; import { Navigate } from 'react-router-dom'; import LoginPage from 'src/components/LoginPage'; -import { useQuery, useQueryClient } from 'react-query'; -import { Box, CircularProgress } from '@mui/material'; -import { OneTimePasscodeForm, LoginViaSSOForm, LoginForm, apiClient } from 'bh-shared-ui'; import { login as loginAction, logout } from 'src/ducks/auth/authSlice'; import { ROUTE_HOME, ROUTE_USER_DISABLED } from 'src/ducks/global/routes'; diff --git a/cmd/ui/src/views/QA/QA.tsx b/cmd/ui/src/views/QA/QA.tsx index fdf25cf7d7..44834bce63 100644 --- a/cmd/ui/src/views/QA/QA.tsx +++ b/cmd/ui/src/views/QA/QA.tsx @@ -15,6 +15,7 @@ // SPDX-License-Identifier: Apache-2.0 import { Alert, AlertTitle, Box, Grid, Link, Typography } from '@mui/material'; +import makeStyles from '@mui/styles/makeStyles'; import { ActiveDirectoryPlatformInfo, AzurePlatformInfo, @@ -24,9 +25,8 @@ import { TenantInfo, } from 'bh-shared-ui'; import { useEffect, useState } from 'react'; -import { dataCollectionMessage } from './utils'; import { useAppSelector } from 'src/store'; -import makeStyles from '@mui/styles/makeStyles'; +import { dataCollectionMessage } from './utils'; const useStyles = makeStyles((theme) => ({ container: { diff --git a/packages/javascript/bh-shared-ui/.prettierrc b/packages/javascript/bh-shared-ui/.prettierrc index 0fec22797a..9075866db0 100644 --- a/packages/javascript/bh-shared-ui/.prettierrc +++ b/packages/javascript/bh-shared-ui/.prettierrc @@ -1,4 +1,5 @@ { + "plugins": ["prettier-plugin-organize-imports"], "tabWidth": 4, "trailingComma": "es5", "semi": true, diff --git a/packages/javascript/bh-shared-ui/package.json b/packages/javascript/bh-shared-ui/package.json index 2d00a3e896..1841274b9e 100644 --- a/packages/javascript/bh-shared-ui/package.json +++ b/packages/javascript/bh-shared-ui/package.json @@ -71,6 +71,7 @@ "jsdom": "^20.0.2", "msw": "^1.3.3", "prettier": "^3.2.5", + "prettier-plugin-organize-imports": "^4.1.0", "react": "^18.2.0", "react-dom": "^18.2.0", "rollup": "^4.13.2", diff --git a/packages/javascript/bh-shared-ui/src/components/ApiVersion.tsx b/packages/javascript/bh-shared-ui/src/components/ApiVersion.tsx index f4fbe88e5e..b9de2bf26b 100644 --- a/packages/javascript/bh-shared-ui/src/components/ApiVersion.tsx +++ b/packages/javascript/bh-shared-ui/src/components/ApiVersion.tsx @@ -15,9 +15,9 @@ // SPDX-License-Identifier: Apache-2.0 import { Box, Skeleton, Typography } from '@mui/material'; -import { apiClient } from '../utils'; import React from 'react'; import { useQuery } from 'react-query'; +import { apiClient } from '../utils'; const ApiVersion: React.FC = () => { const getVersionQuery = useQuery(['Version'], ({ signal }) => diff --git a/packages/javascript/bh-shared-ui/src/components/AssetGroupEdit/AssetGroupAutocomplete.tsx b/packages/javascript/bh-shared-ui/src/components/AssetGroupEdit/AssetGroupAutocomplete.tsx index 034a5eb36b..117e34215f 100644 --- a/packages/javascript/bh-shared-ui/src/components/AssetGroupEdit/AssetGroupAutocomplete.tsx +++ b/packages/javascript/bh-shared-ui/src/components/AssetGroupEdit/AssetGroupAutocomplete.tsx @@ -15,11 +15,11 @@ // SPDX-License-Identifier: Apache-2.0 import { Autocomplete, AutocompleteRenderInputParams, TextField } from '@mui/material'; +import { AssetGroup } from 'js-client-library'; import { FC, HTMLAttributes, ReactNode, SyntheticEvent, useState } from 'react'; +import { getEmptyResultsText, getKeywordAndTypeValues, useDebouncedValue, useSearch } from '../../hooks'; import AutocompleteOption from './AutocompleteOption'; import { AssetGroupChangelog, AssetGroupChangelogEntry, ChangelogAction } from './types'; -import { AssetGroup } from 'js-client-library'; -import { getEmptyResultsText, getKeywordAndTypeValues, useDebouncedValue, useSearch } from '../../hooks'; export const AUTOCOMPLETE_PLACEHOLDER = 'Add or Remove Members'; diff --git a/packages/javascript/bh-shared-ui/src/components/AssetGroupEdit/AssetGroupEdit.test.tsx b/packages/javascript/bh-shared-ui/src/components/AssetGroupEdit/AssetGroupEdit.test.tsx index a93be65c8e..413c805b17 100644 --- a/packages/javascript/bh-shared-ui/src/components/AssetGroupEdit/AssetGroupEdit.test.tsx +++ b/packages/javascript/bh-shared-ui/src/components/AssetGroupEdit/AssetGroupEdit.test.tsx @@ -14,13 +14,13 @@ // // SPDX-License-Identifier: Apache-2.0 +import userEvent from '@testing-library/user-event'; +import { rest } from 'msw'; import { setupServer } from 'msw/node'; import { createMockAssetGroup, createMockMemberCounts, createMockSearchResults } from '../../mocks/factories'; import { act, render, waitFor } from '../../test-utils'; import { AUTOCOMPLETE_PLACEHOLDER } from './AssetGroupAutocomplete'; import AssetGroupEdit from './AssetGroupEdit'; -import { rest } from 'msw'; -import userEvent from '@testing-library/user-event'; const assetGroup = createMockAssetGroup(); const searchResults = createMockSearchResults(); diff --git a/packages/javascript/bh-shared-ui/src/components/AssetGroupEdit/AssetGroupEdit.tsx b/packages/javascript/bh-shared-ui/src/components/AssetGroupEdit/AssetGroupEdit.tsx index 4e08fcfa8c..c198a41b28 100644 --- a/packages/javascript/bh-shared-ui/src/components/AssetGroupEdit/AssetGroupEdit.tsx +++ b/packages/javascript/bh-shared-ui/src/components/AssetGroupEdit/AssetGroupEdit.tsx @@ -17,18 +17,18 @@ import { Box, Paper, useTheme } from '@mui/material'; import { AssetGroup, - AssetGroupMemberParams, AssetGroupMemberCounts, + AssetGroupMemberParams, UpdateAssetGroupSelectorRequest, } from 'js-client-library'; import { FC, useEffect, useState } from 'react'; -import { AssetGroupChangelog, AssetGroupChangelogEntry, ChangelogAction } from './types'; -import AssetGroupAutocomplete from './AssetGroupAutocomplete'; -import { SubHeader } from '../../views/Explore'; import { useMutation, useQueryClient } from 'react-query'; +import { useNotifications } from '../../providers'; import { apiClient } from '../../utils'; +import { SubHeader } from '../../views/Explore'; +import AssetGroupAutocomplete from './AssetGroupAutocomplete'; import AssetGroupChangelogTable from './AssetGroupChangelogTable'; -import { useNotifications } from '../../providers'; +import { AssetGroupChangelog, AssetGroupChangelogEntry, ChangelogAction } from './types'; const AssetGroupEdit: FC<{ assetGroup: AssetGroup; diff --git a/packages/javascript/bh-shared-ui/src/components/AssetGroupEdit/index.ts b/packages/javascript/bh-shared-ui/src/components/AssetGroupEdit/index.ts index 3b65499642..3a0dec0a46 100644 --- a/packages/javascript/bh-shared-ui/src/components/AssetGroupEdit/index.ts +++ b/packages/javascript/bh-shared-ui/src/components/AssetGroupEdit/index.ts @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -export { default } from './AssetGroupEdit'; -export { default as AssetGroupChangelogTable } from './AssetGroupChangelogTable'; export { default as AssetGroupAutocomplete } from './AssetGroupAutocomplete'; +export { default as AssetGroupChangelogTable } from './AssetGroupChangelogTable'; +export { default } from './AssetGroupEdit'; export { default as AutocompleteOption } from './AutocompleteOption'; export * from './types'; diff --git a/packages/javascript/bh-shared-ui/src/components/AssetGroupFilters/AssetGroupFilters.test.tsx b/packages/javascript/bh-shared-ui/src/components/AssetGroupFilters/AssetGroupFilters.test.tsx index 6e0272ce1c..f9a3545658 100644 --- a/packages/javascript/bh-shared-ui/src/components/AssetGroupFilters/AssetGroupFilters.test.tsx +++ b/packages/javascript/bh-shared-ui/src/components/AssetGroupFilters/AssetGroupFilters.test.tsx @@ -14,13 +14,13 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Screen, waitFor } from '@testing-library/react'; +import userEvent from '@testing-library/user-event'; +import { AssetGroupMemberCountsResponse, AssetGroupMemberParams } from 'js-client-library'; +import { ActiveDirectoryNodeKind } from '../../graphSchema'; import { createMockAssetGroupMemberParams, createMockMemberCounts } from '../../mocks/factories'; import { act, render } from '../../test-utils'; import AssetGroupFilters, { FILTERABLE_PARAMS } from './AssetGroupFilters'; -import userEvent from '@testing-library/user-event'; -import { Screen, waitFor } from '@testing-library/react'; -import { AssetGroupMemberParams, AssetGroupMemberCountsResponse } from 'js-client-library'; -import { ActiveDirectoryNodeKind } from '../../graphSchema'; const filterParams = createMockAssetGroupMemberParams(); const memberCounts = createMockMemberCounts(); diff --git a/packages/javascript/bh-shared-ui/src/components/AssetGroupMemberList/AssetGroupMemberList.test.tsx b/packages/javascript/bh-shared-ui/src/components/AssetGroupMemberList/AssetGroupMemberList.test.tsx index 4066dd9d82..a15e41bdd6 100644 --- a/packages/javascript/bh-shared-ui/src/components/AssetGroupMemberList/AssetGroupMemberList.test.tsx +++ b/packages/javascript/bh-shared-ui/src/components/AssetGroupMemberList/AssetGroupMemberList.test.tsx @@ -14,12 +14,12 @@ // // SPDX-License-Identifier: Apache-2.0 +import userEvent from '@testing-library/user-event'; import { rest } from 'msw'; import { setupServer } from 'msw/node'; -import AssetGroupMemberList from './AssetGroupMemberList'; -import { render, waitFor } from '../../test-utils'; import { createMockAssetGroup, createMockAssetGroupMembers } from '../../mocks/factories'; -import userEvent from '@testing-library/user-event'; +import { render, waitFor } from '../../test-utils'; +import AssetGroupMemberList from './AssetGroupMemberList'; const assetGroup = createMockAssetGroup(); const assetGroupMembers = createMockAssetGroupMembers(); diff --git a/packages/javascript/bh-shared-ui/src/components/AssetGroupMemberList/AssetGroupMemberList.tsx b/packages/javascript/bh-shared-ui/src/components/AssetGroupMemberList/AssetGroupMemberList.tsx index d6bca08d75..d8b101b4b6 100644 --- a/packages/javascript/bh-shared-ui/src/components/AssetGroupMemberList/AssetGroupMemberList.tsx +++ b/packages/javascript/bh-shared-ui/src/components/AssetGroupMemberList/AssetGroupMemberList.tsx @@ -14,6 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { faCheck, faTimes } from '@fortawesome/free-solid-svg-icons'; +import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { Box, Paper, @@ -29,13 +31,11 @@ import { Typography, useTheme, } from '@mui/material'; -import { FC, useEffect, useState } from 'react'; -import NodeIcon from '../NodeIcon'; import { AssetGroup, AssetGroupMember, AssetGroupMemberParams } from 'js-client-library'; -import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; -import { faCheck, faTimes } from '@fortawesome/free-solid-svg-icons'; +import { FC, useEffect, useState } from 'react'; import { useQuery } from 'react-query'; import { apiClient } from '../../utils'; +import NodeIcon from '../NodeIcon'; const AssetGroupMemberList: FC<{ assetGroup: AssetGroup | null; diff --git a/packages/javascript/bh-shared-ui/src/components/CardWithSwitch.tsx b/packages/javascript/bh-shared-ui/src/components/CardWithSwitch.tsx index ec2c3ad4f4..fc426f0360 100644 --- a/packages/javascript/bh-shared-ui/src/components/CardWithSwitch.tsx +++ b/packages/javascript/bh-shared-ui/src/components/CardWithSwitch.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Switch } from '@bloodhoundenterprise/doodleui'; +import { Box, Paper, Typography, useTheme } from '@mui/material'; import { FC, ReactNode } from 'react'; -import { Paper, Box, Typography, useTheme } from '@mui/material'; import { addOpacityToHex } from '../utils/colors'; -import { Switch } from '@bloodhoundenterprise/doodleui'; type CardWithSwitchProps = { title: string; diff --git a/packages/javascript/bh-shared-ui/src/components/CitrixRDPConfiguration/CitrixRDPConfiguration.test.tsx b/packages/javascript/bh-shared-ui/src/components/CitrixRDPConfiguration/CitrixRDPConfiguration.test.tsx index ece28eb9c0..1842159efd 100644 --- a/packages/javascript/bh-shared-ui/src/components/CitrixRDPConfiguration/CitrixRDPConfiguration.test.tsx +++ b/packages/javascript/bh-shared-ui/src/components/CitrixRDPConfiguration/CitrixRDPConfiguration.test.tsx @@ -15,12 +15,12 @@ // SPDX-License-Identifier: Apache-2.0 import userEvent from '@testing-library/user-event'; +import { ConfigurationKey } from 'js-client-library'; +import { rest } from 'msw'; +import { setupServer } from 'msw/node'; import { render, screen, waitFor } from '../../test-utils'; import CitrixRDPConfiguration, { configurationData } from './CitrixRDPConfiguration'; import { dialogTitle } from './CitrixRDPConfirmDialog'; -import { rest } from 'msw'; -import { setupServer } from 'msw/node'; -import { ConfigurationKey } from 'js-client-library'; describe('CitrixRDPConfiguration', () => { const setInitialServerState = (savedConfigurationValue?: boolean) => { diff --git a/packages/javascript/bh-shared-ui/src/components/CitrixRDPConfiguration/CitrixRDPConfiguration.tsx b/packages/javascript/bh-shared-ui/src/components/CitrixRDPConfiguration/CitrixRDPConfiguration.tsx index 4fcce54e5b..ed84151859 100644 --- a/packages/javascript/bh-shared-ui/src/components/CitrixRDPConfiguration/CitrixRDPConfiguration.tsx +++ b/packages/javascript/bh-shared-ui/src/components/CitrixRDPConfiguration/CitrixRDPConfiguration.tsx @@ -13,12 +13,12 @@ // limitations under the License. // // SPDX-License-Identifier: Apache-2.0 +import { ConfigurationKey, parseCitrixConfiguration } from 'js-client-library'; import { FC, useState } from 'react'; -import CardWithSwitch from '../CardWithSwitch'; -import ConfirmCitrixRDPDialog from './CitrixRDPConfirmDialog'; import { useGetConfiguration, useUpdateConfiguration } from '../../hooks'; import { useNotifications } from '../../providers'; -import { ConfigurationKey, parseCitrixConfiguration } from 'js-client-library'; +import CardWithSwitch from '../CardWithSwitch'; +import ConfirmCitrixRDPDialog from './CitrixRDPConfirmDialog'; export const configurationData = { title: 'Citrix RDP Support', diff --git a/packages/javascript/bh-shared-ui/src/components/CitrixRDPConfiguration/CitrixRDPConfirmDialog.tsx b/packages/javascript/bh-shared-ui/src/components/CitrixRDPConfiguration/CitrixRDPConfirmDialog.tsx index cce053b946..65171c07ad 100644 --- a/packages/javascript/bh-shared-ui/src/components/CitrixRDPConfiguration/CitrixRDPConfirmDialog.tsx +++ b/packages/javascript/bh-shared-ui/src/components/CitrixRDPConfiguration/CitrixRDPConfirmDialog.tsx @@ -13,9 +13,9 @@ // limitations under the License. // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; -import { Typography, Dialog, DialogActions, DialogContent, DialogTitle } from '@mui/material'; import { Button } from '@bloodhoundenterprise/doodleui'; +import { Dialog, DialogActions, DialogContent, DialogTitle, Typography } from '@mui/material'; +import { FC } from 'react'; type CitrixRDPConfirmDialogProps = { open: boolean; diff --git a/packages/javascript/bh-shared-ui/src/components/CollectorCard/CollectorCard.tsx b/packages/javascript/bh-shared-ui/src/components/CollectorCard/CollectorCard.tsx index 5c719e1d84..b3537d38a0 100644 --- a/packages/javascript/bh-shared-ui/src/components/CollectorCard/CollectorCard.tsx +++ b/packages/javascript/bh-shared-ui/src/components/CollectorCard/CollectorCard.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 -import { Box, Link, Paper, Typography } from '@mui/material'; import { Button } from '@bloodhoundenterprise/doodleui'; -import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { faDownload } from '@fortawesome/free-solid-svg-icons'; +import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; +import { Box, Link, Paper, Typography } from '@mui/material'; interface CollectorCardProps { collectorType: 'sharphound' | 'azurehound'; diff --git a/packages/javascript/bh-shared-ui/src/components/CreateUserDialog/CreateUserDialog.test.tsx b/packages/javascript/bh-shared-ui/src/components/CreateUserDialog/CreateUserDialog.test.tsx index c2ebfc64d1..91cd55cde0 100644 --- a/packages/javascript/bh-shared-ui/src/components/CreateUserDialog/CreateUserDialog.test.tsx +++ b/packages/javascript/bh-shared-ui/src/components/CreateUserDialog/CreateUserDialog.test.tsx @@ -15,11 +15,11 @@ // SPDX-License-Identifier: Apache-2.0 import userEvent from '@testing-library/user-event'; +import { ListSSOProvidersResponse, SAMLProviderInfo, SSOProvider, SSOProviderConfiguration } from 'js-client-library'; import { rest } from 'msw'; import { setupServer } from 'msw/node'; import { render, screen, waitFor } from '../../test-utils'; import CreateUserDialog from './CreateUserDialog'; -import { ListSSOProvidersResponse, SAMLProviderInfo, SSOProvider, SSOProviderConfiguration } from 'js-client-library'; const testRoles = [ { id: 1, name: 'Role 1' }, diff --git a/packages/javascript/bh-shared-ui/src/components/CreateUserDialog/CreateUserDialog.tsx b/packages/javascript/bh-shared-ui/src/components/CreateUserDialog/CreateUserDialog.tsx index 563bd0ce56..d54e3091d9 100644 --- a/packages/javascript/bh-shared-ui/src/components/CreateUserDialog/CreateUserDialog.tsx +++ b/packages/javascript/bh-shared-ui/src/components/CreateUserDialog/CreateUserDialog.tsx @@ -15,9 +15,9 @@ // SPDX-License-Identifier: Apache-2.0 import { Dialog, DialogTitle } from '@mui/material'; +import { CreateUserRequest } from 'js-client-library'; import React from 'react'; import CreateUserForm, { CreateUserRequestForm } from '../CreateUserForm'; -import { CreateUserRequest } from 'js-client-library'; const CreateUserDialog: React.FC<{ open: boolean; diff --git a/packages/javascript/bh-shared-ui/src/components/CreateUserForm/CreateUserForm.tsx b/packages/javascript/bh-shared-ui/src/components/CreateUserForm/CreateUserForm.tsx index 036ba5e6a1..cb4f6c06e1 100644 --- a/packages/javascript/bh-shared-ui/src/components/CreateUserForm/CreateUserForm.tsx +++ b/packages/javascript/bh-shared-ui/src/components/CreateUserForm/CreateUserForm.tsx @@ -30,11 +30,11 @@ import { SelectChangeEvent, TextField, } from '@mui/material'; +import { CreateUserRequest, SSOProvider } from 'js-client-library'; import React, { useEffect } from 'react'; import { Controller, useForm } from 'react-hook-form'; import { useQuery } from 'react-query'; import { apiClient } from '../../utils'; -import { CreateUserRequest, SSOProvider } from 'js-client-library'; export type CreateUserRequestForm = Omit & { SSOProviderId: string | undefined }; diff --git a/packages/javascript/bh-shared-ui/src/components/DataTable.tsx b/packages/javascript/bh-shared-ui/src/components/DataTable.tsx index 1e0a9fd7f3..9a5fe327fe 100644 --- a/packages/javascript/bh-shared-ui/src/components/DataTable.tsx +++ b/packages/javascript/bh-shared-ui/src/components/DataTable.tsx @@ -14,9 +14,17 @@ // // SPDX-License-Identifier: Apache-2.0 +import { + Skeleton, + Table, + TableBody, + TableCell, + TableContainer, + TableHead, + TablePagination, + TableRow, +} from '@mui/material'; import React from 'react'; -import { Table, TableBody, TableCell, TableContainer, TableHead, TablePagination, TableRow } from '@mui/material'; -import { Skeleton } from '@mui/material'; export interface Header { label: string; diff --git a/packages/javascript/bh-shared-ui/src/components/Disable2FADialog/Disable2FADialog.test.tsx b/packages/javascript/bh-shared-ui/src/components/Disable2FADialog/Disable2FADialog.test.tsx index 01825edc4b..5497b3f468 100644 --- a/packages/javascript/bh-shared-ui/src/components/Disable2FADialog/Disable2FADialog.test.tsx +++ b/packages/javascript/bh-shared-ui/src/components/Disable2FADialog/Disable2FADialog.test.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { render, screen, waitFor } from '../../test-utils'; import userEvent from '@testing-library/user-event'; +import { render, screen, waitFor } from '../../test-utils'; import { rest } from 'msw'; import { setupServer } from 'msw/node'; diff --git a/packages/javascript/bh-shared-ui/src/components/Enable2FADialog/Enable2FADialog.test.tsx b/packages/javascript/bh-shared-ui/src/components/Enable2FADialog/Enable2FADialog.test.tsx index 533e79258a..85ad13683b 100644 --- a/packages/javascript/bh-shared-ui/src/components/Enable2FADialog/Enable2FADialog.test.tsx +++ b/packages/javascript/bh-shared-ui/src/components/Enable2FADialog/Enable2FADialog.test.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 -import { render, screen, waitFor } from '../../test-utils'; import userEvent from '@testing-library/user-event'; import { rest } from 'msw'; import { setupServer } from 'msw/node'; +import { render, screen, waitFor } from '../../test-utils'; import Enable2FADialog from './Enable2FADialog'; diff --git a/packages/javascript/bh-shared-ui/src/components/Enable2FADialog/Enable2FADialog.tsx b/packages/javascript/bh-shared-ui/src/components/Enable2FADialog/Enable2FADialog.tsx index 8b6bb51a6c..6c1a1a23a0 100644 --- a/packages/javascript/bh-shared-ui/src/components/Enable2FADialog/Enable2FADialog.tsx +++ b/packages/javascript/bh-shared-ui/src/components/Enable2FADialog/Enable2FADialog.tsx @@ -17,13 +17,13 @@ import { Button } from '@bloodhoundenterprise/doodleui'; import { Box, - Button as MuiButton, Dialog, DialogActions, DialogContent, DialogContentText, DialogTitle, Grid, + Button as MuiButton, TextField, } from '@mui/material'; import withStyles from '@mui/styles/withStyles'; diff --git a/packages/javascript/bh-shared-ui/src/components/FeatureFlag/FeatureFlag.test.tsx b/packages/javascript/bh-shared-ui/src/components/FeatureFlag/FeatureFlag.test.tsx index 6a951eaef3..febb9e7a59 100644 --- a/packages/javascript/bh-shared-ui/src/components/FeatureFlag/FeatureFlag.test.tsx +++ b/packages/javascript/bh-shared-ui/src/components/FeatureFlag/FeatureFlag.test.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 -import { render, screen, waitForElementToBeRemoved } from '../../test-utils'; -import FeatureFlag from './FeatureFlag'; import { rest } from 'msw'; import { setupServer } from 'msw/node'; +import { render, screen, waitForElementToBeRemoved } from '../../test-utils'; +import FeatureFlag from './FeatureFlag'; const server = setupServer( rest.get('/api/v2/features', async (req, res, ctx) => { diff --git a/packages/javascript/bh-shared-ui/src/components/FileDrop/FileDrop.tsx b/packages/javascript/bh-shared-ui/src/components/FileDrop/FileDrop.tsx index 499df53da4..a7e8e4c328 100644 --- a/packages/javascript/bh-shared-ui/src/components/FileDrop/FileDrop.tsx +++ b/packages/javascript/bh-shared-ui/src/components/FileDrop/FileDrop.tsx @@ -17,7 +17,7 @@ import { faArrowDown, faInbox } from '@fortawesome/free-solid-svg-icons'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { Box, useTheme } from '@mui/material'; -import { useState, DragEvent, useRef } from 'react'; +import { DragEvent, useRef, useState } from 'react'; const FileDrop: React.FC<{ onDrop: (files: any) => void; diff --git a/packages/javascript/bh-shared-ui/src/components/FileIngest/FileIngest.test.tsx b/packages/javascript/bh-shared-ui/src/components/FileIngest/FileIngest.test.tsx index 70c4545e2b..0a40649a39 100644 --- a/packages/javascript/bh-shared-ui/src/components/FileIngest/FileIngest.test.tsx +++ b/packages/javascript/bh-shared-ui/src/components/FileIngest/FileIngest.test.tsx @@ -14,9 +14,9 @@ // // SPDX-License-Identifier: Apache-2.0 -import FileIngest from '.'; -import { setupServer } from 'msw/node'; import { rest } from 'msw'; +import { setupServer } from 'msw/node'; +import FileIngest from '.'; import { fireEvent, render, waitFor } from '../../test-utils'; const server = setupServer( diff --git a/packages/javascript/bh-shared-ui/src/components/FileIngest/FileIngest.tsx b/packages/javascript/bh-shared-ui/src/components/FileIngest/FileIngest.tsx index 3b774379ce..fc917dc708 100644 --- a/packages/javascript/bh-shared-ui/src/components/FileIngest/FileIngest.tsx +++ b/packages/javascript/bh-shared-ui/src/components/FileIngest/FileIngest.tsx @@ -17,11 +17,11 @@ import { Button } from '@bloodhoundenterprise/doodleui'; import { Box, Typography } from '@mui/material'; import { useEffect, useState } from 'react'; -import FileUploadDialog from '../FileUploadDialog'; import { useListFileIngestJobs } from '../../hooks'; +import DocumentationLinks from '../DocumentationLinks'; +import FileUploadDialog from '../FileUploadDialog'; import FinishedIngestLog from '../FinishedIngestLog'; import PageWithTitle from '../PageWithTitle'; -import DocumentationLinks from '../DocumentationLinks'; const FileIngest = () => { const [fileUploadDialogOpen, setFileUploadDialogOpen] = useState(false); diff --git a/packages/javascript/bh-shared-ui/src/components/FileUploadDialog/FileUploadDialog.tsx b/packages/javascript/bh-shared-ui/src/components/FileUploadDialog/FileUploadDialog.tsx index 09049edc57..d2e27f0c5f 100644 --- a/packages/javascript/bh-shared-ui/src/components/FileUploadDialog/FileUploadDialog.tsx +++ b/packages/javascript/bh-shared-ui/src/components/FileUploadDialog/FileUploadDialog.tsx @@ -16,11 +16,8 @@ import { Button } from '@bloodhoundenterprise/doodleui'; import { Box, Dialog, DialogActions, DialogContent, useTheme } from '@mui/material'; -import { useEffect, useState } from 'react'; -import FileDrop from '../FileDrop'; -import FileStatusListItem from '../FileStatusListItem'; -import { FileForIngest, FileStatus, FileUploadStep } from './types'; import { ErrorResponse } from 'js-client-library'; +import { useEffect, useState } from 'react'; import { useEndFileIngestJob, useListFileTypesForIngest, @@ -28,6 +25,9 @@ import { useUploadFileToIngestJob, } from '../../hooks'; import { useNotifications } from '../../providers'; +import FileDrop from '../FileDrop'; +import FileStatusListItem from '../FileStatusListItem'; +import { FileForIngest, FileStatus, FileUploadStep } from './types'; const FileUploadDialog: React.FC<{ open: boolean; diff --git a/packages/javascript/bh-shared-ui/src/components/FinishedIngestLog/FinishedIngestLog.tsx b/packages/javascript/bh-shared-ui/src/components/FinishedIngestLog/FinishedIngestLog.tsx index a70b2edc5b..6e172450a8 100644 --- a/packages/javascript/bh-shared-ui/src/components/FinishedIngestLog/FinishedIngestLog.tsx +++ b/packages/javascript/bh-shared-ui/src/components/FinishedIngestLog/FinishedIngestLog.tsx @@ -14,11 +14,11 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FileUploadJob, FileUploadJobStatusToString } from './types'; -import { LuxonFormat, calculateJobDuration } from '../../utils/datetime'; +import { Paper } from '@mui/material'; import { DateTime } from 'luxon'; +import { LuxonFormat, calculateJobDuration } from '../../utils/datetime'; import DataTable from '../DataTable'; -import { Paper } from '@mui/material'; +import { FileUploadJob, FileUploadJobStatusToString } from './types'; const ZERO_VALUE_API_DATE = '0001-01-01T00:00:00Z'; diff --git a/packages/javascript/bh-shared-ui/src/components/GenericErrorBoundaryFallback/GenericErrorBoundaryFallback.tsx b/packages/javascript/bh-shared-ui/src/components/GenericErrorBoundaryFallback/GenericErrorBoundaryFallback.tsx index e9b3069fbc..6e66ed20e6 100644 --- a/packages/javascript/bh-shared-ui/src/components/GenericErrorBoundaryFallback/GenericErrorBoundaryFallback.tsx +++ b/packages/javascript/bh-shared-ui/src/components/GenericErrorBoundaryFallback/GenericErrorBoundaryFallback.tsx @@ -14,8 +14,7 @@ // // SPDX-License-Identifier: Apache-2.0 -import { Box, Container } from '@mui/material'; -import { Alert, AlertTitle } from '@mui/material'; +import { Alert, AlertTitle, Box, Container } from '@mui/material'; const GenericErrorBoundaryFallback = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/GraphButton/GraphButton.test.tsx b/packages/javascript/bh-shared-ui/src/components/GraphButton/GraphButton.test.tsx index 7e18ca7d2f..c3b873377a 100644 --- a/packages/javascript/bh-shared-ui/src/components/GraphButton/GraphButton.test.tsx +++ b/packages/javascript/bh-shared-ui/src/components/GraphButton/GraphButton.test.tsx @@ -14,9 +14,9 @@ // // SPDX-License-Identifier: Apache-2.0 +import userEvent from '@testing-library/user-event'; import { render, screen } from '../../test-utils'; import GraphButton from './GraphButton'; -import userEvent from '@testing-library/user-event'; const onClick = vi.fn(); const displayText = 'test'; diff --git a/packages/javascript/bh-shared-ui/src/components/GraphMenu/GraphMenu.tsx b/packages/javascript/bh-shared-ui/src/components/GraphMenu/GraphMenu.tsx index 3d9b2298c2..5f8c5dd965 100644 --- a/packages/javascript/bh-shared-ui/src/components/GraphMenu/GraphMenu.tsx +++ b/packages/javascript/bh-shared-ui/src/components/GraphMenu/GraphMenu.tsx @@ -15,8 +15,8 @@ // SPDX-License-Identifier: Apache-2.0 import { Menu } from '@mui/material'; -import GraphButton from '../GraphButton'; import { Children, FC, ReactNode, useState } from 'react'; +import GraphButton from '../GraphButton'; const GraphMenu: FC<{ label: ReactNode; children: ReactNode }> = ({ children, label }) => { const [anchorEl, setAnchorEl] = useState(null); diff --git a/packages/javascript/bh-shared-ui/src/components/GroupManagementContent/GroupManagementContent.tsx b/packages/javascript/bh-shared-ui/src/components/GroupManagementContent/GroupManagementContent.tsx index 4ef65d8ca9..f0ee197859 100644 --- a/packages/javascript/bh-shared-ui/src/components/GroupManagementContent/GroupManagementContent.tsx +++ b/packages/javascript/bh-shared-ui/src/components/GroupManagementContent/GroupManagementContent.tsx @@ -15,20 +15,20 @@ // SPDX-License-Identifier: Apache-2.0 import { Button } from '@bloodhoundenterprise/doodleui'; +import { faExternalLink } from '@fortawesome/free-solid-svg-icons'; +import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; +import { Box, Grid, Paper, Typography, useTheme } from '@mui/material'; import { AssetGroup, AssetGroupMember, AssetGroupMemberParams } from 'js-client-library'; import { FC, ReactNode, useEffect, useState } from 'react'; -import DropdownSelector, { DropdownOption } from '../DropdownSelector'; -import { Box, Grid, Paper, Typography, useTheme } from '@mui/material'; import { useQuery } from 'react-query'; import { apiClient } from '../../utils'; -import { faExternalLink } from '@fortawesome/free-solid-svg-icons'; -import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; -import AssetGroupEdit from '../AssetGroupEdit'; -import AssetGroupMemberList from '../AssetGroupMemberList'; -import { SelectedDomain } from './types'; import DataSelector from '../../views/DataQuality/DataSelector'; +import AssetGroupEdit from '../AssetGroupEdit'; import AssetGroupFilters from '../AssetGroupFilters'; import { FILTERABLE_PARAMS } from '../AssetGroupFilters/AssetGroupFilters'; +import AssetGroupMemberList from '../AssetGroupMemberList'; +import DropdownSelector, { DropdownOption } from '../DropdownSelector'; +import { SelectedDomain } from './types'; // Top level layout and shared logic for the Group Management page const GroupManagementContent: FC<{ diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC1/ADCSESC1.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC1/ADCSESC1.tsx index b7b1d1af34..d204a71e53 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC1/ADCSESC1.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC1/ADCSESC1.tsx @@ -14,12 +14,12 @@ // // SPDX-License-Identifier: Apache-2.0 +import Composition from './Composition'; import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; -import Composition from './Composition'; +import WindowsAbuse from './WindowsAbuse'; const ADCSESC1 = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC1/Composition.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC1/Composition.tsx index 35f3fce3a9..05208c7a23 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC1/Composition.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC1/Composition.tsx @@ -14,11 +14,11 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Alert, Box, Skeleton, Typography } from '@mui/material'; -import { apiClient } from '../../../utils/api'; -import { EdgeInfoProps } from '..'; +import { FC } from 'react'; import { useQuery } from 'react-query'; +import { EdgeInfoProps } from '..'; +import { apiClient } from '../../../utils/api'; import VirtualizedNodeList, { VirtualizedNodeListItem } from '../../VirtualizedNodeList'; const Composition: FC = ({ sourceDBId, targetDBId, edgeName }) => { diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC1/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC1/General.tsx index 192a977df6..9220dac20b 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC1/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC1/General.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { groupSpecialFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { groupSpecialFormat } from '../utils'; const General: FC = ({ sourceName, sourceType }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC1/LinuxAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC1/LinuxAbuse.tsx index 9ce6647fe5..30576cd3cf 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC1/LinuxAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC1/LinuxAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const LinuxAbuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC1/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC1/Opsec.tsx index 7a43445c57..c19e5f280e 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC1/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC1/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC1/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC1/References.tsx index a53a3202df..66e3344cce 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC1/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC1/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC1/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC1/WindowsAbuse.tsx index 0c5554f512..edd5c1035b 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC1/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC1/WindowsAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const WindowsAbuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10a/ADCSESC10a.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10a/ADCSESC10a.tsx index fb7727bdb1..0f0122dd62 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10a/ADCSESC10a.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10a/ADCSESC10a.tsx @@ -14,12 +14,12 @@ // // SPDX-License-Identifier: Apache-2.0 +import Composition from './Composition'; import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; -import Composition from './Composition'; +import WindowsAbuse from './WindowsAbuse'; const ADCSESC10a = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10a/Composition.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10a/Composition.tsx index e2885a8cac..ce0d015811 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10a/Composition.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10a/Composition.tsx @@ -14,11 +14,11 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Alert, Box, Skeleton, Typography } from '@mui/material'; -import { apiClient } from '../../../utils/api'; -import { EdgeInfoProps } from '..'; +import { FC } from 'react'; import { useQuery } from 'react-query'; +import { EdgeInfoProps } from '..'; +import { apiClient } from '../../../utils/api'; import VirtualizedNodeList, { VirtualizedNodeListItem } from '../../VirtualizedNodeList'; const Composition: FC = ({ sourceDBId, targetDBId, edgeName }) => { diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10a/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10a/General.tsx index 950b1ec1ee..33b7847475 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10a/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10a/General.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { useHelpTextStyles, groupSpecialFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { groupSpecialFormat, useHelpTextStyles } from '../utils'; const General: FC = ({ sourceName, sourceType }) => { const classes = useHelpTextStyles(); diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10a/LinuxAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10a/LinuxAbuse.tsx index f58a2efcf4..fba8a6657b 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10a/LinuxAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10a/LinuxAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Box, Link, List, ListItem, Typography } from '@mui/material'; +import { FC } from 'react'; import { useHelpTextStyles } from '../utils'; const LinuxAbuse: FC = () => { diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10a/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10a/Opsec.tsx index 3f3c9ca953..4ff7240190 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10a/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10a/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10a/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10a/References.tsx index 0f6a486503..caa361b919 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10a/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10a/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import React, { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { const references = [ diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10a/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10a/WindowsAbuse.tsx index 917055ffb2..eab02787d4 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10a/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10a/WindowsAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link, List, ListItem, Typography } from '@mui/material'; import { FC } from 'react'; -import { Typography, Link, List, ListItem, Box } from '@mui/material'; import { useHelpTextStyles } from '../utils'; const WindowsAbuse: FC = () => { diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10b/ADCSESC10b.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10b/ADCSESC10b.tsx index ebd1fab296..dd29a7e060 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10b/ADCSESC10b.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10b/ADCSESC10b.tsx @@ -14,12 +14,12 @@ // // SPDX-License-Identifier: Apache-2.0 +import Composition from './Composition'; import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; -import Composition from './Composition'; +import WindowsAbuse from './WindowsAbuse'; const ADCSESC10b = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10b/Composition.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10b/Composition.tsx index e2885a8cac..ce0d015811 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10b/Composition.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10b/Composition.tsx @@ -14,11 +14,11 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Alert, Box, Skeleton, Typography } from '@mui/material'; -import { apiClient } from '../../../utils/api'; -import { EdgeInfoProps } from '..'; +import { FC } from 'react'; import { useQuery } from 'react-query'; +import { EdgeInfoProps } from '..'; +import { apiClient } from '../../../utils/api'; import VirtualizedNodeList, { VirtualizedNodeListItem } from '../../VirtualizedNodeList'; const Composition: FC = ({ sourceDBId, targetDBId, edgeName }) => { diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10b/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10b/General.tsx index e41aef9542..63dfe9c227 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10b/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10b/General.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { useHelpTextStyles, groupSpecialFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { groupSpecialFormat, useHelpTextStyles } from '../utils'; const General: FC = ({ sourceName, sourceType }) => { const classes = useHelpTextStyles(); diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10b/LinuxAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10b/LinuxAbuse.tsx index c9d77d75e8..f0661d8a2e 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10b/LinuxAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10b/LinuxAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Box, Link, Typography } from '@mui/material'; +import { FC } from 'react'; import { useHelpTextStyles } from '../utils'; const LinuxAbuse: FC = () => { diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10b/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10b/Opsec.tsx index cc73a72e2e..f8a09aae52 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10b/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10b/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10b/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10b/References.tsx index 0f6a486503..caa361b919 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10b/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10b/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import React, { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { const references = [ diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10b/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10b/WindowsAbuse.tsx index 22b0b89413..aaa3796c65 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10b/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC10b/WindowsAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link, Typography } from '@mui/material'; import { FC } from 'react'; -import { Typography, Link, Box } from '@mui/material'; import { useHelpTextStyles } from '../utils'; const WindowsAbuse: FC = () => { diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC13/ADCSESC13.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC13/ADCSESC13.tsx index 310c2bfe08..59de960a1c 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC13/ADCSESC13.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC13/ADCSESC13.tsx @@ -14,12 +14,12 @@ // // SPDX-License-Identifier: Apache-2.0 +import Composition from '../ADCSESC6a/Composition'; import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; -import Composition from '../ADCSESC6a/Composition'; +import WindowsAbuse from './WindowsAbuse'; const ADCSESC13 = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC13/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC13/General.tsx index 0e99022077..1dba133367 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC13/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC13/General.tsx @@ -14,9 +14,9 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; const General: FC = ({ sourceName, sourceType }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC13/LinuxAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC13/LinuxAbuse.tsx index 141feb8afd..a955c84a04 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC13/LinuxAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC13/LinuxAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const LinuxAbuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC13/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC13/Opsec.tsx index dea1e5fc60..e8a40af40e 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC13/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC13/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC13/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC13/References.tsx index ada94d39bb..04653a2e9b 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC13/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC13/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import React, { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { const references = [ diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC13/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC13/WindowsAbuse.tsx index d4057b9b92..cc9db81603 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC13/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC13/WindowsAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const WindowsAbuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC3/ADCSESC3.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC3/ADCSESC3.tsx index 9280cf1b07..2c36ed95f9 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC3/ADCSESC3.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC3/ADCSESC3.tsx @@ -14,12 +14,12 @@ // // SPDX-License-Identifier: Apache-2.0 +import Composition from './Composition'; import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; -import Composition from './Composition'; +import WindowsAbuse from './WindowsAbuse'; const ADCSESC3 = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC3/Composition.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC3/Composition.tsx index e2885a8cac..ce0d015811 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC3/Composition.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC3/Composition.tsx @@ -14,11 +14,11 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Alert, Box, Skeleton, Typography } from '@mui/material'; -import { apiClient } from '../../../utils/api'; -import { EdgeInfoProps } from '..'; +import { FC } from 'react'; import { useQuery } from 'react-query'; +import { EdgeInfoProps } from '..'; +import { apiClient } from '../../../utils/api'; import VirtualizedNodeList, { VirtualizedNodeListItem } from '../../VirtualizedNodeList'; const Composition: FC = ({ sourceDBId, targetDBId, edgeName }) => { diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC3/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC3/General.tsx index 73d474ef4c..9165d6e798 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC3/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC3/General.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { groupSpecialFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { groupSpecialFormat } from '../utils'; const General: FC = ({ sourceName, sourceType, targetName }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC3/LinuxAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC3/LinuxAbuse.tsx index 5a555d739b..0777fd6aef 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC3/LinuxAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC3/LinuxAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Box, Typography } from '@mui/material'; +import { FC } from 'react'; const LinuxAbuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC3/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC3/Opsec.tsx index 8e7bb8e7c3..c25f729bd7 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC3/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC3/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC3/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC3/References.tsx index 5367c977e7..2a617a06cd 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC3/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC3/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC3/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC3/WindowsAbuse.tsx index 4e6d82ac49..820cdd8da2 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC3/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC3/WindowsAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Box, Typography } from '@mui/material'; +import { FC } from 'react'; const WindowsAbuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC4/ADCSESC4.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC4/ADCSESC4.tsx index 3f7272f152..cbbfda6252 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC4/ADCSESC4.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC4/ADCSESC4.tsx @@ -14,12 +14,12 @@ // // SPDX-License-Identifier: Apache-2.0 +import Composition from '../ADCSESC6a/Composition'; import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; -import Composition from '../ADCSESC6a/Composition'; +import WindowsAbuse from './WindowsAbuse'; const ADCSESC4 = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC4/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC4/General.tsx index eb0ab7f0ca..543956787a 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC4/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC4/General.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { useHelpTextStyles, groupSpecialFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { groupSpecialFormat, useHelpTextStyles } from '../utils'; const General: FC = ({ sourceName, sourceType }) => { const classes = useHelpTextStyles(); diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC4/LinuxAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC4/LinuxAbuse.tsx index 9bfd0b2a74..034c96f379 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC4/LinuxAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC4/LinuxAbuse.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; -import { useHelpTextStyles } from '../utils'; +import { FC } from 'react'; import CodeController from '../CodeController/CodeController'; +import { useHelpTextStyles } from '../utils'; const LinuxAbuse: FC = () => { const classes = useHelpTextStyles(); diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC4/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC4/Opsec.tsx index 0200106041..1931d47f6e 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC4/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC4/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC4/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC4/References.tsx index 86dbcb3c91..189971ce00 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC4/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC4/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import React, { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { const references = [ diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC4/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC4/WindowsAbuse.tsx index 7d25367bf4..13dd084efb 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC4/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC4/WindowsAbuse.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; -import { useHelpTextStyles } from '../utils'; +import { FC } from 'react'; import CodeController from '../CodeController/CodeController'; +import { useHelpTextStyles } from '../utils'; const WindowsAbuse: FC = () => { const classes = useHelpTextStyles(); diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6a/ADCSESC6a.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6a/ADCSESC6a.tsx index a2013b7bc9..7453efe9f0 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6a/ADCSESC6a.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6a/ADCSESC6a.tsx @@ -14,12 +14,12 @@ // // SPDX-License-Identifier: Apache-2.0 +import Composition from './Composition'; import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; -import Composition from './Composition'; +import WindowsAbuse from './WindowsAbuse'; const ADCSESC6a = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6a/Composition.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6a/Composition.tsx index e2885a8cac..ce0d015811 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6a/Composition.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6a/Composition.tsx @@ -14,11 +14,11 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Alert, Box, Skeleton, Typography } from '@mui/material'; -import { apiClient } from '../../../utils/api'; -import { EdgeInfoProps } from '..'; +import { FC } from 'react'; import { useQuery } from 'react-query'; +import { EdgeInfoProps } from '..'; +import { apiClient } from '../../../utils/api'; import VirtualizedNodeList, { VirtualizedNodeListItem } from '../../VirtualizedNodeList'; const Composition: FC = ({ sourceDBId, targetDBId, edgeName }) => { diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6a/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6a/General.tsx index 7c0eee0450..8bc32152f5 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6a/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6a/General.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { groupSpecialFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { groupSpecialFormat } from '../utils'; const General: FC = ({ sourceName, sourceType }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6a/LinuxAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6a/LinuxAbuse.tsx index e3be262ea0..6b3fd3ef6f 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6a/LinuxAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6a/LinuxAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const LinuxAbuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6a/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6a/Opsec.tsx index 0200106041..1931d47f6e 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6a/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6a/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6a/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6a/References.tsx index c37386e158..f96061f14d 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6a/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6a/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6a/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6a/WindowsAbuse.tsx index af87da528c..ad4b32229a 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6a/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6a/WindowsAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const WindowsAbuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6b/ADCSESC6b.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6b/ADCSESC6b.tsx index 3a5219a53d..7183acc724 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6b/ADCSESC6b.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6b/ADCSESC6b.tsx @@ -14,12 +14,12 @@ // // SPDX-License-Identifier: Apache-2.0 +import Composition from '../ADCSESC6a/Composition'; import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; -import Composition from '../ADCSESC6a/Composition'; +import WindowsAbuse from './WindowsAbuse'; const ADCSESC6b = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6b/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6b/General.tsx index f9717f66d7..a57db3a5a0 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6b/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6b/General.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { groupSpecialFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { groupSpecialFormat } from '../utils'; const General: FC = ({ sourceName, sourceType }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6b/LinuxAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6b/LinuxAbuse.tsx index 2c91fa3bf5..5ce87e7fbc 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6b/LinuxAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6b/LinuxAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Box, Typography } from '@mui/material'; +import { FC } from 'react'; const LinuxAbuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6b/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6b/Opsec.tsx index 0200106041..1931d47f6e 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6b/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6b/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6b/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6b/References.tsx index 22c80951f9..5807c2f959 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6b/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6b/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6b/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6b/WindowsAbuse.tsx index b371f97ec7..ffb8aeb9b8 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6b/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC6b/WindowsAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Box, Typography } from '@mui/material'; +import { FC } from 'react'; const WindowsAbuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9a/ADCSESC9a.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9a/ADCSESC9a.tsx index f9693e7d46..418eabfc7c 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9a/ADCSESC9a.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9a/ADCSESC9a.tsx @@ -14,12 +14,12 @@ // // SPDX-License-Identifier: Apache-2.0 +import Composition from './Composition'; import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; -import Composition from './Composition'; +import WindowsAbuse from './WindowsAbuse'; const ADCSESC9a = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9a/Composition.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9a/Composition.tsx index e2885a8cac..ce0d015811 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9a/Composition.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9a/Composition.tsx @@ -14,11 +14,11 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Alert, Box, Skeleton, Typography } from '@mui/material'; -import { apiClient } from '../../../utils/api'; -import { EdgeInfoProps } from '..'; +import { FC } from 'react'; import { useQuery } from 'react-query'; +import { EdgeInfoProps } from '..'; +import { apiClient } from '../../../utils/api'; import VirtualizedNodeList, { VirtualizedNodeListItem } from '../../VirtualizedNodeList'; const Composition: FC = ({ sourceDBId, targetDBId, edgeName }) => { diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9a/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9a/General.tsx index 565371dc75..11d0e4b124 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9a/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9a/General.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { useHelpTextStyles, groupSpecialFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { groupSpecialFormat, useHelpTextStyles } from '../utils'; const General: FC = ({ sourceName, sourceType }) => { const classes = useHelpTextStyles(); diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9a/LinuxAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9a/LinuxAbuse.tsx index 5092b1fbc9..3aa3534326 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9a/LinuxAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9a/LinuxAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Box, Link, List, ListItem, Typography } from '@mui/material'; +import { FC } from 'react'; import { useHelpTextStyles } from '../utils'; const LinuxAbuse: FC = () => { diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9a/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9a/Opsec.tsx index 0200106041..1931d47f6e 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9a/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9a/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9a/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9a/References.tsx index 1ac6d3fe1c..7bc12aa169 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9a/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9a/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import React, { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { const references = [ diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9a/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9a/WindowsAbuse.tsx index f30ea47e52..1889cb7e02 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9a/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9a/WindowsAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link, List, ListItem, Typography } from '@mui/material'; import { FC } from 'react'; -import { Typography, Link, List, ListItem, Box } from '@mui/material'; import { useHelpTextStyles } from '../utils'; const WindowsAbuse: FC = () => { diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9b/ADCSESC9b.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9b/ADCSESC9b.tsx index d4f1f6d6ad..153a722625 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9b/ADCSESC9b.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9b/ADCSESC9b.tsx @@ -14,12 +14,12 @@ // // SPDX-License-Identifier: Apache-2.0 +import Composition from './Composition'; import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; -import Composition from './Composition'; +import WindowsAbuse from './WindowsAbuse'; const ADCSESC9b = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9b/Composition.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9b/Composition.tsx index e2885a8cac..ce0d015811 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9b/Composition.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9b/Composition.tsx @@ -14,11 +14,11 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Alert, Box, Skeleton, Typography } from '@mui/material'; -import { apiClient } from '../../../utils/api'; -import { EdgeInfoProps } from '..'; +import { FC } from 'react'; import { useQuery } from 'react-query'; +import { EdgeInfoProps } from '..'; +import { apiClient } from '../../../utils/api'; import VirtualizedNodeList, { VirtualizedNodeListItem } from '../../VirtualizedNodeList'; const Composition: FC = ({ sourceDBId, targetDBId, edgeName }) => { diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9b/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9b/General.tsx index 4164aefcd5..0927b5c271 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9b/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9b/General.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { useHelpTextStyles, groupSpecialFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { groupSpecialFormat, useHelpTextStyles } from '../utils'; const General: FC = ({ sourceName, sourceType }) => { const classes = useHelpTextStyles(); diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9b/LinuxAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9b/LinuxAbuse.tsx index 1c761d726d..09ddfc5a69 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9b/LinuxAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9b/LinuxAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Link, Typography } from '@mui/material'; +import { FC } from 'react'; import { useHelpTextStyles } from '../utils'; const LinuxAbuse: FC = () => { diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9b/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9b/Opsec.tsx index cc73a72e2e..f8a09aae52 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9b/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9b/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9b/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9b/References.tsx index 1ac6d3fe1c..7bc12aa169 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9b/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9b/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import React, { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { const references = [ diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9b/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9b/WindowsAbuse.tsx index 3fa6c1710f..26c94a6759 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9b/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ADCSESC9b/WindowsAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Link, Typography } from '@mui/material'; import { FC } from 'react'; -import { Typography, Link } from '@mui/material'; import { useHelpTextStyles } from '../utils'; const WindowsAbuse: FC = () => { diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAKSContributor/AZAKSContributor.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAKSContributor/AZAKSContributor.tsx index 9c24f902c1..988d78a9e0 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAKSContributor/AZAKSContributor.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAKSContributor/AZAKSContributor.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAKSContributor/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAKSContributor/Abuse.tsx index e72836cca2..298c8d91a1 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAKSContributor/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAKSContributor/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAKSContributor/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAKSContributor/General.tsx index c396b7127d..135918011a 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAKSContributor/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAKSContributor/General.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const General: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAKSContributor/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAKSContributor/Opsec.tsx index 12cc880f1e..7468798277 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAKSContributor/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAKSContributor/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAKSContributor/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAKSContributor/References.tsx index 421705c203..fa16b7986c 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAKSContributor/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAKSContributor/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddMembers/AZAddMembers.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddMembers/AZAddMembers.tsx index 7b832dbd47..11da2bfdf0 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddMembers/AZAddMembers.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddMembers/AZAddMembers.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddMembers/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddMembers/Abuse.tsx index f9ade63e10..c89e7ae9e5 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddMembers/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddMembers/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { List, ListItem, ListItemText, Typography } from '@mui/material'; import { FC } from 'react'; -import { Typography, List, ListItem, ListItemText } from '@mui/material'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddMembers/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddMembers/General.tsx index 4d720d6393..d4a2ac890d 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddMembers/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddMembers/General.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const General: FC = () => { return The ability to add other principals to an Azure security group; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddMembers/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddMembers/Opsec.tsx index 723d404707..10649b5890 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddMembers/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddMembers/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddMembers/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddMembers/References.tsx index d9f9473932..1b866ba8b0 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddMembers/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddMembers/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddOwner/AZAddOwner.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddOwner/AZAddOwner.tsx index 0e52458c9d..911113b9a9 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddOwner/AZAddOwner.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddOwner/AZAddOwner.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddOwner/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddOwner/Abuse.tsx index 1fcb49dd5d..ff433b05f8 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddOwner/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddOwner/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddOwner/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddOwner/General.tsx index f089b78de4..f639309089 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddOwner/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddOwner/General.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { List, ListItem, ListItemText, Typography } from '@mui/material'; import { FC } from 'react'; -import { Typography, List, ListItem, ListItemText } from '@mui/material'; const General: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddOwner/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddOwner/Opsec.tsx index 2c27699ef7..9b293332a5 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddOwner/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddOwner/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddOwner/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddOwner/References.tsx index 90cf1365aa..6d198b5262 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddOwner/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddOwner/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddSecret/AZAddSecret.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddSecret/AZAddSecret.tsx index fd694bd42e..a69078ccfc 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddSecret/AZAddSecret.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddSecret/AZAddSecret.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddSecret/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddSecret/Abuse.tsx index 2b9d12519f..148e188194 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddSecret/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddSecret/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddSecret/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddSecret/General.tsx index b3498ce2ee..21c61e4326 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddSecret/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddSecret/General.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const General: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddSecret/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddSecret/Opsec.tsx index 627ab663e3..639a8fd16e 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddSecret/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddSecret/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddSecret/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddSecret/References.tsx index b6d4c54752..bc914ef85f 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddSecret/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAddSecret/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAppAdmin/AZAppAdmin.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAppAdmin/AZAppAdmin.tsx index c51c4294f6..fca65df8c7 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAppAdmin/AZAppAdmin.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAppAdmin/AZAppAdmin.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAppAdmin/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAppAdmin/Abuse.tsx index 3a8dbf34e5..16fd2de7b7 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAppAdmin/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAppAdmin/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAppAdmin/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAppAdmin/General.tsx index cfa4810ed3..827de2b91f 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAppAdmin/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAppAdmin/General.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const General: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAppAdmin/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAppAdmin/Opsec.tsx index ea66493491..fadfa65808 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAppAdmin/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAppAdmin/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAppAdmin/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAppAdmin/References.tsx index 4356583e80..767456cd2d 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAppAdmin/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAppAdmin/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAutomationContributor/AZAutomationContributor.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAutomationContributor/AZAutomationContributor.tsx index 7f326bf4f6..f3a12a0f9a 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAutomationContributor/AZAutomationContributor.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAutomationContributor/AZAutomationContributor.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAutomationContributor/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAutomationContributor/Abuse.tsx index ae2da656a8..224c67119b 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAutomationContributor/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAutomationContributor/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAutomationContributor/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAutomationContributor/General.tsx index 4a33ddd0c7..6853819840 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAutomationContributor/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAutomationContributor/General.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const General: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAutomationContributor/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAutomationContributor/Opsec.tsx index 12cc880f1e..7468798277 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAutomationContributor/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAutomationContributor/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAutomationContributor/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAutomationContributor/References.tsx index c50dd0f2ad..773170871c 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAutomationContributor/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAutomationContributor/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAvereContributor/AZAvereContributor.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAvereContributor/AZAvereContributor.tsx index 08f154d43a..939f69359d 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAvereContributor/AZAvereContributor.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAvereContributor/AZAvereContributor.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAvereContributor/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAvereContributor/Abuse.tsx index c076cc5a93..a79bb393a7 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAvereContributor/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAvereContributor/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Link, Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAvereContributor/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAvereContributor/General.tsx index 51cd699678..31d4326aaa 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAvereContributor/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAvereContributor/General.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const General: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAvereContributor/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAvereContributor/Opsec.tsx index 01068d55bf..242079ab45 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAvereContributor/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAvereContributor/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAvereContributor/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAvereContributor/References.tsx index 741775278e..97a0078964 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAvereContributor/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZAvereContributor/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZCloudAppAdmin/AZCloudAppAdmin.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZCloudAppAdmin/AZCloudAppAdmin.tsx index 2fddc97c6e..802a662af2 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZCloudAppAdmin/AZCloudAppAdmin.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZCloudAppAdmin/AZCloudAppAdmin.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZCloudAppAdmin/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZCloudAppAdmin/Abuse.tsx index 3a8dbf34e5..16fd2de7b7 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZCloudAppAdmin/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZCloudAppAdmin/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZCloudAppAdmin/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZCloudAppAdmin/General.tsx index 50d9f62475..cba4d5dbff 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZCloudAppAdmin/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZCloudAppAdmin/General.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const General: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZCloudAppAdmin/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZCloudAppAdmin/Opsec.tsx index adc227a0e6..7ff40b55fc 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZCloudAppAdmin/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZCloudAppAdmin/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZCloudAppAdmin/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZCloudAppAdmin/References.tsx index f67628e58b..e26c7d155a 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZCloudAppAdmin/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZCloudAppAdmin/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Link, Typography } from '@mui/material'; +import { FC } from 'react'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZContains/AZContains.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZContains/AZContains.tsx index 6502ba9875..0db03122de 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZContains/AZContains.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZContains/AZContains.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZContains/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZContains/Abuse.tsx index 25223283d2..c28ef5f8a6 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZContains/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZContains/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZContains/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZContains/General.tsx index 63452eff75..7db29e82bb 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZContains/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZContains/General.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const General: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZContains/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZContains/Opsec.tsx index 4869a23350..d7d76c6431 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZContains/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZContains/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZContains/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZContains/References.tsx index 248124e8a2..d5f4298d84 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZContains/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZContains/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const References: FC = () => { return No References Available; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZContributor/AZContributor.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZContributor/AZContributor.tsx index e173b117f5..f681727f9c 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZContributor/AZContributor.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZContributor/AZContributor.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZContributor/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZContributor/Abuse.tsx index 41c7009a4f..1a7e8de73c 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZContributor/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZContributor/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Link, Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZContributor/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZContributor/General.tsx index c15235fedc..ecd9c0c163 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZContributor/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZContributor/General.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const General: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZContributor/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZContributor/Opsec.tsx index 12cc880f1e..7468798277 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZContributor/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZContributor/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZContributor/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZContributor/References.tsx index f18af0c3f9..4822c17104 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZContributor/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZContributor/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZExecuteCommand/AZExecuteCommand.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZExecuteCommand/AZExecuteCommand.tsx index 08712f5fe1..02771c99c2 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZExecuteCommand/AZExecuteCommand.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZExecuteCommand/AZExecuteCommand.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZExecuteCommand/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZExecuteCommand/Abuse.tsx index 8e3c7daeaa..1f1415898b 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZExecuteCommand/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZExecuteCommand/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZExecuteCommand/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZExecuteCommand/General.tsx index 27e98f8b2e..b15a6b704c 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZExecuteCommand/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZExecuteCommand/General.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const General: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZExecuteCommand/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZExecuteCommand/Opsec.tsx index e1499b8535..fdbcc110c9 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZExecuteCommand/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZExecuteCommand/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZExecuteCommand/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZExecuteCommand/References.tsx index d1912ac20f..d2fae4faf7 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZExecuteCommand/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZExecuteCommand/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetCertificates/AZGetCertificates.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetCertificates/AZGetCertificates.tsx index d3d2a53d37..022444e2e2 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetCertificates/AZGetCertificates.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetCertificates/AZGetCertificates.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetCertificates/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetCertificates/Abuse.tsx index 1d7852b337..b2fb9fcc94 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetCertificates/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetCertificates/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Link, Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetCertificates/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetCertificates/General.tsx index d3cb3c1e76..5e09ec191a 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetCertificates/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetCertificates/General.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const General: FC = () => { return The ability to read certificates from key vaults; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetCertificates/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetCertificates/Opsec.tsx index dc6e5ddefe..d89300f2e9 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetCertificates/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetCertificates/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetCertificates/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetCertificates/References.tsx index 73b48614e6..0b282d967d 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetCertificates/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetCertificates/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetKeys/AZGetKeys.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetKeys/AZGetKeys.tsx index 38b8bc904e..1ecd8868a0 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetKeys/AZGetKeys.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetKeys/AZGetKeys.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetKeys/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetKeys/Abuse.tsx index f9cdc0e9ff..702d8a1c50 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetKeys/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetKeys/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Link, Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetKeys/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetKeys/General.tsx index b7685e88f1..1df65c7f54 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetKeys/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetKeys/General.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const General: FC = () => { return The ability to read keys from key vaults; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetKeys/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetKeys/Opsec.tsx index dc6e5ddefe..d89300f2e9 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetKeys/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetKeys/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetKeys/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetKeys/References.tsx index 15b648ce27..e9b12e6dc6 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetKeys/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetKeys/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetSecrets/AZGetSecrets.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetSecrets/AZGetSecrets.tsx index e32c633142..b0986e67a9 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetSecrets/AZGetSecrets.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetSecrets/AZGetSecrets.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetSecrets/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetSecrets/Abuse.tsx index 8712de4650..4cf0a8e830 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetSecrets/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetSecrets/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Link, Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetSecrets/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetSecrets/General.tsx index 5fd8b1499d..f2bee136a1 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetSecrets/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetSecrets/General.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const General: FC = () => { return The ability to read secrets from key vaults; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetSecrets/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetSecrets/Opsec.tsx index dc6e5ddefe..d89300f2e9 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetSecrets/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetSecrets/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetSecrets/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetSecrets/References.tsx index 73b48614e6..0b282d967d 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetSecrets/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGetSecrets/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGlobalAdmin/AZGlobalAdmin.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGlobalAdmin/AZGlobalAdmin.tsx index 6554892ab9..73d076801f 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGlobalAdmin/AZGlobalAdmin.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGlobalAdmin/AZGlobalAdmin.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGlobalAdmin/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGlobalAdmin/Abuse.tsx index 827094f2c0..7f61e88e0d 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGlobalAdmin/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGlobalAdmin/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Link, Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGlobalAdmin/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGlobalAdmin/General.tsx index 0e3316bf43..311a4c7eab 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGlobalAdmin/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGlobalAdmin/General.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const General: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGlobalAdmin/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGlobalAdmin/Opsec.tsx index 3012717807..8aacc04b8a 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGlobalAdmin/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGlobalAdmin/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGlobalAdmin/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGlobalAdmin/References.tsx index 3bbf04ab4f..a3633e20cf 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGlobalAdmin/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZGlobalAdmin/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZHasRole/AZHasRole.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZHasRole/AZHasRole.tsx index c45da24483..ee245cc23a 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZHasRole/AZHasRole.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZHasRole/AZHasRole.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZHasRole/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZHasRole/Abuse.tsx index 380f96bee6..db750cc2a7 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZHasRole/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZHasRole/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZHasRole/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZHasRole/General.tsx index a614d4c115..453137449e 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZHasRole/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZHasRole/General.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const General: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZHasRole/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZHasRole/Opsec.tsx index d9a181d0c8..c1e4ab805c 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZHasRole/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZHasRole/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZHasRole/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZHasRole/References.tsx index 1f8c5f6da7..d713995bb7 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZHasRole/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZHasRole/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZKeyVaultKVContributor/AZKeyVaultKVContributor.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZKeyVaultKVContributor/AZKeyVaultKVContributor.tsx index c15565f1be..d335e00a71 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZKeyVaultKVContributor/AZKeyVaultKVContributor.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZKeyVaultKVContributor/AZKeyVaultKVContributor.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZKeyVaultKVContributor/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZKeyVaultKVContributor/Abuse.tsx index 1426e8a470..553ded76a7 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZKeyVaultKVContributor/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZKeyVaultKVContributor/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Link, Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZKeyVaultKVContributor/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZKeyVaultKVContributor/General.tsx index 0180d5f06e..658205ce29 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZKeyVaultKVContributor/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZKeyVaultKVContributor/General.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const General: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZKeyVaultKVContributor/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZKeyVaultKVContributor/Opsec.tsx index 12cc880f1e..7468798277 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZKeyVaultKVContributor/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZKeyVaultKVContributor/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZKeyVaultKVContributor/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZKeyVaultKVContributor/References.tsx index f18af0c3f9..4822c17104 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZKeyVaultKVContributor/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZKeyVaultKVContributor/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZLogicAppContributor/AZLogicAppContributor.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZLogicAppContributor/AZLogicAppContributor.tsx index 4dc471ad63..339b74a5b3 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZLogicAppContributor/AZLogicAppContributor.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZLogicAppContributor/AZLogicAppContributor.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZLogicAppContributor/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZLogicAppContributor/Abuse.tsx index 58ceee88c3..9c092c9591 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZLogicAppContributor/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZLogicAppContributor/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Link, Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZLogicAppContributor/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZLogicAppContributor/General.tsx index 6c9bfdfe69..785a47dd03 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZLogicAppContributor/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZLogicAppContributor/General.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const General: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZLogicAppContributor/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZLogicAppContributor/Opsec.tsx index 12cc880f1e..7468798277 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZLogicAppContributor/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZLogicAppContributor/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZLogicAppContributor/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZLogicAppContributor/References.tsx index 1fcbf684f1..b0073fb3bd 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZLogicAppContributor/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZLogicAppContributor/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddMember/AZMGAddMember.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddMember/AZMGAddMember.tsx index a8f479b0e6..69453e9478 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddMember/AZMGAddMember.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddMember/AZMGAddMember.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddMember/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddMember/Abuse.tsx index 2fbb27641b..0eb3f6ca34 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddMember/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddMember/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddMember/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddMember/General.tsx index fedbda84c6..e267b7f7b3 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddMember/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddMember/General.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { List, ListItem, ListItemText, Typography } from '@mui/material'; import { FC } from 'react'; -import { Typography, List, ListItem, ListItemText } from '@mui/material'; const General: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddMember/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddMember/Opsec.tsx index 5b070694ed..21ddf158c8 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddMember/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddMember/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddMember/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddMember/References.tsx index 90cf1365aa..6d198b5262 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddMember/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddMember/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddOwner/AZMGAddOwner.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddOwner/AZMGAddOwner.tsx index 2181292956..5caf44397a 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddOwner/AZMGAddOwner.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddOwner/AZMGAddOwner.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddOwner/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddOwner/Abuse.tsx index 73c7cefa4f..6ed00131c6 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddOwner/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddOwner/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddOwner/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddOwner/General.tsx index b4496e1fd2..74ef93b83c 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddOwner/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddOwner/General.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { List, ListItem, ListItemText, Typography } from '@mui/material'; import { FC } from 'react'; -import { Typography, ListItem, List, ListItemText } from '@mui/material'; const General: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddOwner/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddOwner/Opsec.tsx index 2c27699ef7..9b293332a5 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddOwner/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddOwner/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddOwner/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddOwner/References.tsx index 90cf1365aa..6d198b5262 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddOwner/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddOwner/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddSecret/AZMGAddSecret.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddSecret/AZMGAddSecret.tsx index 5c62f8034f..f864e5ab37 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddSecret/AZMGAddSecret.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddSecret/AZMGAddSecret.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddSecret/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddSecret/Abuse.tsx index 049e5e877c..9e967912c8 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddSecret/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddSecret/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddSecret/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddSecret/General.tsx index 330c5b7dc7..70d5351902 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddSecret/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddSecret/General.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { List, ListItem, ListItemText, Typography } from '@mui/material'; import { FC } from 'react'; -import { Typography, List, ListItem, ListItemText } from '@mui/material'; const General: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddSecret/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddSecret/Opsec.tsx index 627ab663e3..639a8fd16e 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddSecret/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddSecret/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddSecret/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddSecret/References.tsx index 90cf1365aa..6d198b5262 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddSecret/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAddSecret/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAppRoleAssignment_ReadWrite_All/AZMGAppRoleAssignment_ReadWrite_All.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAppRoleAssignment_ReadWrite_All/AZMGAppRoleAssignment_ReadWrite_All.tsx index 7e9bb33301..4de225bdfe 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAppRoleAssignment_ReadWrite_All/AZMGAppRoleAssignment_ReadWrite_All.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAppRoleAssignment_ReadWrite_All/AZMGAppRoleAssignment_ReadWrite_All.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAppRoleAssignment_ReadWrite_All/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAppRoleAssignment_ReadWrite_All/Abuse.tsx index b775d92074..a7c76cf4ce 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAppRoleAssignment_ReadWrite_All/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAppRoleAssignment_ReadWrite_All/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAppRoleAssignment_ReadWrite_All/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAppRoleAssignment_ReadWrite_All/General.tsx index 6133fbbb19..d4c507a4c2 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAppRoleAssignment_ReadWrite_All/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAppRoleAssignment_ReadWrite_All/General.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const General: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAppRoleAssignment_ReadWrite_All/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAppRoleAssignment_ReadWrite_All/Opsec.tsx index 361573ba26..2d0d58f3f6 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAppRoleAssignment_ReadWrite_All/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAppRoleAssignment_ReadWrite_All/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAppRoleAssignment_ReadWrite_All/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAppRoleAssignment_ReadWrite_All/References.tsx index 1d0f6f9b0e..5e5b20ce43 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAppRoleAssignment_ReadWrite_All/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGAppRoleAssignment_ReadWrite_All/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGApplication_ReadWrite_All/AZMGApplication_ReadWrite_All.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGApplication_ReadWrite_All/AZMGApplication_ReadWrite_All.tsx index 3a48a3b9ae..e306660f80 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGApplication_ReadWrite_All/AZMGApplication_ReadWrite_All.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGApplication_ReadWrite_All/AZMGApplication_ReadWrite_All.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGApplication_ReadWrite_All/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGApplication_ReadWrite_All/Abuse.tsx index d9b3dcae81..7e4b789770 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGApplication_ReadWrite_All/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGApplication_ReadWrite_All/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGApplication_ReadWrite_All/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGApplication_ReadWrite_All/General.tsx index 827ae72ecd..613f38edc6 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGApplication_ReadWrite_All/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGApplication_ReadWrite_All/General.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const General: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGApplication_ReadWrite_All/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGApplication_ReadWrite_All/Opsec.tsx index 916c7d23b6..0e393b12a6 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGApplication_ReadWrite_All/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGApplication_ReadWrite_All/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGApplication_ReadWrite_All/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGApplication_ReadWrite_All/References.tsx index 1d0f6f9b0e..5e5b20ce43 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGApplication_ReadWrite_All/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGApplication_ReadWrite_All/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGDirectory_ReadWrite_All/AZMGDirectory_ReadWrite_All.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGDirectory_ReadWrite_All/AZMGDirectory_ReadWrite_All.tsx index 7b1a453849..2ff47fc333 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGDirectory_ReadWrite_All/AZMGDirectory_ReadWrite_All.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGDirectory_ReadWrite_All/AZMGDirectory_ReadWrite_All.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGDirectory_ReadWrite_All/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGDirectory_ReadWrite_All/Abuse.tsx index edafaaac20..fc464c4163 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGDirectory_ReadWrite_All/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGDirectory_ReadWrite_All/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGDirectory_ReadWrite_All/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGDirectory_ReadWrite_All/General.tsx index c182716723..8a8891995f 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGDirectory_ReadWrite_All/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGDirectory_ReadWrite_All/General.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const General: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGDirectory_ReadWrite_All/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGDirectory_ReadWrite_All/Opsec.tsx index 623107d649..f53763f426 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGDirectory_ReadWrite_All/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGDirectory_ReadWrite_All/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGDirectory_ReadWrite_All/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGDirectory_ReadWrite_All/References.tsx index 1d0f6f9b0e..5e5b20ce43 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGDirectory_ReadWrite_All/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGDirectory_ReadWrite_All/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGrantAppRoles/AZMGGrantAppRoles.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGrantAppRoles/AZMGGrantAppRoles.tsx index 9abb8e7b15..f080489a18 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGrantAppRoles/AZMGGrantAppRoles.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGrantAppRoles/AZMGGrantAppRoles.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGrantAppRoles/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGrantAppRoles/Abuse.tsx index 17dbbd4e18..14039d56e7 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGrantAppRoles/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGrantAppRoles/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGrantAppRoles/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGrantAppRoles/General.tsx index 3b43ff410e..75538c2df2 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGrantAppRoles/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGrantAppRoles/General.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { List, ListItem, ListItemText, Typography } from '@mui/material'; import { FC } from 'react'; -import { Typography, List, ListItem, ListItemText } from '@mui/material'; const General: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGrantAppRoles/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGrantAppRoles/Opsec.tsx index dcb6e3ba75..1226300a31 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGrantAppRoles/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGrantAppRoles/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGrantAppRoles/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGrantAppRoles/References.tsx index 90cf1365aa..6d198b5262 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGrantAppRoles/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGrantAppRoles/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGrantRole/AZMGGrantRole.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGrantRole/AZMGGrantRole.tsx index d2cde8f91e..1a84a61650 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGrantRole/AZMGGrantRole.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGrantRole/AZMGGrantRole.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGrantRole/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGrantRole/Abuse.tsx index 663f2db0c5..837e0c6926 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGrantRole/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGrantRole/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGrantRole/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGrantRole/General.tsx index d8002841d6..43c03a243d 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGrantRole/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGrantRole/General.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { List, ListItem, ListItemText, Typography } from '@mui/material'; import { FC } from 'react'; -import { Typography, List, ListItem, ListItemText } from '@mui/material'; const General: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGrantRole/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGrantRole/Opsec.tsx index 107b44fc64..3e9af845d4 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGrantRole/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGrantRole/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGrantRole/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGrantRole/References.tsx index 90cf1365aa..6d198b5262 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGrantRole/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGrantRole/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGroupMember_ReadWrite_All/AZMGGroupMember_ReadWrite_All.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGroupMember_ReadWrite_All/AZMGGroupMember_ReadWrite_All.tsx index 29d505aa7c..a571f705e3 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGroupMember_ReadWrite_All/AZMGGroupMember_ReadWrite_All.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGroupMember_ReadWrite_All/AZMGGroupMember_ReadWrite_All.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGroupMember_ReadWrite_All/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGroupMember_ReadWrite_All/Abuse.tsx index cd3caba246..d6029edc85 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGroupMember_ReadWrite_All/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGroupMember_ReadWrite_All/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGroupMember_ReadWrite_All/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGroupMember_ReadWrite_All/General.tsx index ebd531e876..b85eb3bcee 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGroupMember_ReadWrite_All/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGroupMember_ReadWrite_All/General.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const General: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGroupMember_ReadWrite_All/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGroupMember_ReadWrite_All/Opsec.tsx index 1cbf8a2a57..386846c70e 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGroupMember_ReadWrite_All/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGroupMember_ReadWrite_All/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGroupMember_ReadWrite_All/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGroupMember_ReadWrite_All/References.tsx index 1d0f6f9b0e..5e5b20ce43 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGroupMember_ReadWrite_All/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGroupMember_ReadWrite_All/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGroup_ReadWrite_All/AZMGGroup_ReadWrite_All.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGroup_ReadWrite_All/AZMGGroup_ReadWrite_All.tsx index fe0af14edd..2a7f663913 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGroup_ReadWrite_All/AZMGGroup_ReadWrite_All.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGroup_ReadWrite_All/AZMGGroup_ReadWrite_All.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGroup_ReadWrite_All/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGroup_ReadWrite_All/Abuse.tsx index 3ca4501751..621b7cc7de 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGroup_ReadWrite_All/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGroup_ReadWrite_All/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGroup_ReadWrite_All/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGroup_ReadWrite_All/General.tsx index fff696f3dd..69a52db2b7 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGroup_ReadWrite_All/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGroup_ReadWrite_All/General.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const General: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGroup_ReadWrite_All/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGroup_ReadWrite_All/Opsec.tsx index 6103023249..e5a0cb61a0 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGroup_ReadWrite_All/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGroup_ReadWrite_All/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGroup_ReadWrite_All/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGroup_ReadWrite_All/References.tsx index 1d0f6f9b0e..5e5b20ce43 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGroup_ReadWrite_All/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGGroup_ReadWrite_All/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGRoleManagement_ReadWrite_Directory/AZMGRoleManagement_ReadWrite_Directory.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGRoleManagement_ReadWrite_Directory/AZMGRoleManagement_ReadWrite_Directory.tsx index 0db69a41de..258b07d1ea 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGRoleManagement_ReadWrite_Directory/AZMGRoleManagement_ReadWrite_Directory.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGRoleManagement_ReadWrite_Directory/AZMGRoleManagement_ReadWrite_Directory.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGRoleManagement_ReadWrite_Directory/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGRoleManagement_ReadWrite_Directory/Abuse.tsx index f3686965f5..65cd3ca233 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGRoleManagement_ReadWrite_Directory/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGRoleManagement_ReadWrite_Directory/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGRoleManagement_ReadWrite_Directory/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGRoleManagement_ReadWrite_Directory/General.tsx index dc6f580340..0857d21274 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGRoleManagement_ReadWrite_Directory/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGRoleManagement_ReadWrite_Directory/General.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const General: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGRoleManagement_ReadWrite_Directory/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGRoleManagement_ReadWrite_Directory/Opsec.tsx index 6cdde01273..a02d17250a 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGRoleManagement_ReadWrite_Directory/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGRoleManagement_ReadWrite_Directory/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGRoleManagement_ReadWrite_Directory/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGRoleManagement_ReadWrite_Directory/References.tsx index b6d4c54752..bc914ef85f 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGRoleManagement_ReadWrite_Directory/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGRoleManagement_ReadWrite_Directory/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGServicePrincipalEndpoint_ReadWrite_All/AZMGServicePrincipalEndpoint_ReadWrite_All.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGServicePrincipalEndpoint_ReadWrite_All/AZMGServicePrincipalEndpoint_ReadWrite_All.tsx index 7344637bfe..9c89438195 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGServicePrincipalEndpoint_ReadWrite_All/AZMGServicePrincipalEndpoint_ReadWrite_All.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGServicePrincipalEndpoint_ReadWrite_All/AZMGServicePrincipalEndpoint_ReadWrite_All.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGServicePrincipalEndpoint_ReadWrite_All/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGServicePrincipalEndpoint_ReadWrite_All/Abuse.tsx index 7d6f68967b..b224b17a1c 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGServicePrincipalEndpoint_ReadWrite_All/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGServicePrincipalEndpoint_ReadWrite_All/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGServicePrincipalEndpoint_ReadWrite_All/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGServicePrincipalEndpoint_ReadWrite_All/General.tsx index 3e7090a2cb..e2dca99fd8 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGServicePrincipalEndpoint_ReadWrite_All/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGServicePrincipalEndpoint_ReadWrite_All/General.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const General: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGServicePrincipalEndpoint_ReadWrite_All/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGServicePrincipalEndpoint_ReadWrite_All/Opsec.tsx index 129689318e..6e765a2ef9 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGServicePrincipalEndpoint_ReadWrite_All/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGServicePrincipalEndpoint_ReadWrite_All/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGServicePrincipalEndpoint_ReadWrite_All/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGServicePrincipalEndpoint_ReadWrite_All/References.tsx index 1d0f6f9b0e..5e5b20ce43 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGServicePrincipalEndpoint_ReadWrite_All/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMGServicePrincipalEndpoint_ReadWrite_All/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZManagedIdentity/AZManagedIdentity.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZManagedIdentity/AZManagedIdentity.tsx index 086994308b..96ed9f6d2c 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZManagedIdentity/AZManagedIdentity.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZManagedIdentity/AZManagedIdentity.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZManagedIdentity/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZManagedIdentity/Abuse.tsx index 779a1d2f49..433da46bfc 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZManagedIdentity/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZManagedIdentity/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZManagedIdentity/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZManagedIdentity/General.tsx index b95ae24636..189c9e3da7 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZManagedIdentity/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZManagedIdentity/General.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const General: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZManagedIdentity/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZManagedIdentity/Opsec.tsx index 12cc880f1e..7468798277 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZManagedIdentity/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZManagedIdentity/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZManagedIdentity/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZManagedIdentity/References.tsx index f351694d91..eeb98ef190 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZManagedIdentity/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZManagedIdentity/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMemberOf/AZMemberOf.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMemberOf/AZMemberOf.tsx index a2479179c9..243dc1cb2c 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMemberOf/AZMemberOf.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMemberOf/AZMemberOf.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMemberOf/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMemberOf/Abuse.tsx index b04d20ff0d..ee8632edfa 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMemberOf/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMemberOf/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMemberOf/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMemberOf/General.tsx index c099f0e258..1007135756 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMemberOf/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMemberOf/General.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { typeFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { typeFormat } from '../utils'; const General: FC = ({ sourceName, sourceType, targetName }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMemberOf/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMemberOf/Opsec.tsx index c115d34fe5..1e4cb9f333 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMemberOf/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMemberOf/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return No opsec considerations apply to this edge.; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMemberOf/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMemberOf/References.tsx index 38041dc95b..ac2abe6c25 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMemberOf/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZMemberOf/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZNodeResourceGroup/AZNodeResourceGroup.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZNodeResourceGroup/AZNodeResourceGroup.tsx index b09f16531b..e6cbc5e701 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZNodeResourceGroup/AZNodeResourceGroup.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZNodeResourceGroup/AZNodeResourceGroup.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZNodeResourceGroup/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZNodeResourceGroup/Abuse.tsx index 7fca5639a0..2cfe162b5e 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZNodeResourceGroup/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZNodeResourceGroup/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZNodeResourceGroup/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZNodeResourceGroup/General.tsx index 5a0431119e..b29b3e1b67 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZNodeResourceGroup/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZNodeResourceGroup/General.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const General: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZNodeResourceGroup/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZNodeResourceGroup/Opsec.tsx index 12cc880f1e..7468798277 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZNodeResourceGroup/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZNodeResourceGroup/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZNodeResourceGroup/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZNodeResourceGroup/References.tsx index 421705c203..fa16b7986c 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZNodeResourceGroup/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZNodeResourceGroup/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZOwns/AZOwns.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZOwns/AZOwns.tsx index 4c574835a4..55e29fd309 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZOwns/AZOwns.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZOwns/AZOwns.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZOwns/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZOwns/Abuse.tsx index cc54f00e62..5573dd2901 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZOwns/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZOwns/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZOwns/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZOwns/General.tsx index 5472688a7d..c5fa73e2a4 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZOwns/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZOwns/General.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const General: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZOwns/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZOwns/Opsec.tsx index ee10ff64a4..2fa5b62faf 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZOwns/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZOwns/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZOwns/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZOwns/References.tsx index 819c5dabdd..2f1c253892 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZOwns/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZOwns/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZPrivilegedAuthAdmin/AZPrivilegedAuthAdmin.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZPrivilegedAuthAdmin/AZPrivilegedAuthAdmin.tsx index a840a2fd3c..e0901583eb 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZPrivilegedAuthAdmin/AZPrivilegedAuthAdmin.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZPrivilegedAuthAdmin/AZPrivilegedAuthAdmin.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZPrivilegedAuthAdmin/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZPrivilegedAuthAdmin/Abuse.tsx index 15ccc177b5..f57770be7f 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZPrivilegedAuthAdmin/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZPrivilegedAuthAdmin/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZPrivilegedAuthAdmin/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZPrivilegedAuthAdmin/General.tsx index b0487a5cb8..bfc5d36e4e 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZPrivilegedAuthAdmin/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZPrivilegedAuthAdmin/General.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const General: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZPrivilegedAuthAdmin/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZPrivilegedAuthAdmin/Opsec.tsx index 4dc7e07ce3..6e907e341c 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZPrivilegedAuthAdmin/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZPrivilegedAuthAdmin/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZPrivilegedAuthAdmin/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZPrivilegedAuthAdmin/References.tsx index f69d41fdf7..24bd3c9a67 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZPrivilegedAuthAdmin/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZPrivilegedAuthAdmin/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZPrivilegedRoleAdmin/AZPrivilegedRoleAdmin.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZPrivilegedRoleAdmin/AZPrivilegedRoleAdmin.tsx index 078b18536f..67dab4b3eb 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZPrivilegedRoleAdmin/AZPrivilegedRoleAdmin.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZPrivilegedRoleAdmin/AZPrivilegedRoleAdmin.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZPrivilegedRoleAdmin/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZPrivilegedRoleAdmin/Abuse.tsx index 207b663f1d..3cb72be543 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZPrivilegedRoleAdmin/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZPrivilegedRoleAdmin/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZPrivilegedRoleAdmin/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZPrivilegedRoleAdmin/General.tsx index 96ad7ee643..e3334952ba 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZPrivilegedRoleAdmin/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZPrivilegedRoleAdmin/General.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const General: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZPrivilegedRoleAdmin/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZPrivilegedRoleAdmin/Opsec.tsx index dc67796bd9..2e05292973 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZPrivilegedRoleAdmin/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZPrivilegedRoleAdmin/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZPrivilegedRoleAdmin/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZPrivilegedRoleAdmin/References.tsx index 3f97846d47..783d6f16ed 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZPrivilegedRoleAdmin/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZPrivilegedRoleAdmin/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZResetPassword/AZResetPassword.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZResetPassword/AZResetPassword.tsx index 7276dc2d96..da1edd2a1f 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZResetPassword/AZResetPassword.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZResetPassword/AZResetPassword.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZResetPassword/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZResetPassword/Abuse.tsx index 1c17732ca9..c00ae78c89 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZResetPassword/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZResetPassword/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZResetPassword/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZResetPassword/General.tsx index 4932d9ce69..606f6eed3f 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZResetPassword/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZResetPassword/General.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const General: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZResetPassword/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZResetPassword/Opsec.tsx index 442a3c26a9..48a42ed108 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZResetPassword/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZResetPassword/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZResetPassword/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZResetPassword/References.tsx index b9d13fe840..9fd03a29b1 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZResetPassword/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZResetPassword/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Link, Typography } from '@mui/material'; +import { FC } from 'react'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZRunsAs/AZRunsAs.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZRunsAs/AZRunsAs.tsx index 67615ee7ac..8c842466b3 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZRunsAs/AZRunsAs.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZRunsAs/AZRunsAs.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZRunsAs/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZRunsAs/Abuse.tsx index 90a79bfb28..3de3e24091 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZRunsAs/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZRunsAs/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZRunsAs/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZRunsAs/General.tsx index ab20f13654..0f1bd4f432 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZRunsAs/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZRunsAs/General.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const General: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZRunsAs/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZRunsAs/Opsec.tsx index 5e56a3c187..23000ef4e3 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZRunsAs/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZRunsAs/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return No opsec considerations for this edge.; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZRunsAs/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZRunsAs/References.tsx index a1353ec919..8b8a160ec2 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZRunsAs/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZRunsAs/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZUserAccessAdministrator/AZUserAccessAdministrator.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZUserAccessAdministrator/AZUserAccessAdministrator.tsx index 3bb618e35c..a53f2d8b9e 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZUserAccessAdministrator/AZUserAccessAdministrator.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZUserAccessAdministrator/AZUserAccessAdministrator.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZUserAccessAdministrator/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZUserAccessAdministrator/Abuse.tsx index badcd5d1d3..74e33c5313 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZUserAccessAdministrator/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZUserAccessAdministrator/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZUserAccessAdministrator/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZUserAccessAdministrator/General.tsx index 414cc574d0..eade2cdf61 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZUserAccessAdministrator/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZUserAccessAdministrator/General.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const General: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZUserAccessAdministrator/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZUserAccessAdministrator/Opsec.tsx index cd3baa91ed..aaceeabc71 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZUserAccessAdministrator/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZUserAccessAdministrator/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return Azure will log any role activation event for any object type.; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZUserAccessAdministrator/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZUserAccessAdministrator/References.tsx index 1492387e06..f423591b7b 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZUserAccessAdministrator/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZUserAccessAdministrator/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZVMAdminLogin/AZVMAdminLogin.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZVMAdminLogin/AZVMAdminLogin.tsx index 380046c72e..541f779ea0 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZVMAdminLogin/AZVMAdminLogin.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZVMAdminLogin/AZVMAdminLogin.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZVMAdminLogin/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZVMAdminLogin/Abuse.tsx index f00523e0c8..2b642c797d 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZVMAdminLogin/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZVMAdminLogin/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZVMAdminLogin/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZVMAdminLogin/General.tsx index 9904199a3b..5e36ed68aa 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZVMAdminLogin/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZVMAdminLogin/General.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const General: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZVMAdminLogin/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZVMAdminLogin/Opsec.tsx index 547bc8b2e3..8ab0f1607f 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZVMAdminLogin/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZVMAdminLogin/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZVMAdminLogin/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZVMAdminLogin/References.tsx index bef3ba7519..f96e1b216a 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZVMAdminLogin/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZVMAdminLogin/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZVMContributor/AZVMContributor.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZVMContributor/AZVMContributor.tsx index fa4cc21296..c3581ec2fe 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZVMContributor/AZVMContributor.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZVMContributor/AZVMContributor.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZVMContributor/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZVMContributor/Abuse.tsx index 72b80787ce..e268eb7779 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZVMContributor/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZVMContributor/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Link, Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZVMContributor/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZVMContributor/General.tsx index 4c348051ef..4bfad97d2f 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZVMContributor/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZVMContributor/General.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const General: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZVMContributor/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZVMContributor/Opsec.tsx index 959ae7b04e..4da5c94d1d 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZVMContributor/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZVMContributor/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZVMContributor/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZVMContributor/References.tsx index f38363bb3f..4e0389aa3f 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZVMContributor/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZVMContributor/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZWebsiteContributor/AZWebsiteContributor.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZWebsiteContributor/AZWebsiteContributor.tsx index c95f210e5e..ceec91ccf4 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZWebsiteContributor/AZWebsiteContributor.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZWebsiteContributor/AZWebsiteContributor.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZWebsiteContributor/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZWebsiteContributor/Abuse.tsx index fef0905980..83ee3b17c7 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZWebsiteContributor/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZWebsiteContributor/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZWebsiteContributor/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZWebsiteContributor/General.tsx index b55baacb40..5e142ad2e8 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZWebsiteContributor/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZWebsiteContributor/General.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const General: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZWebsiteContributor/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZWebsiteContributor/Opsec.tsx index 12cc880f1e..7468798277 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZWebsiteContributor/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZWebsiteContributor/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZWebsiteContributor/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZWebsiteContributor/References.tsx index d5cf9b6291..5c0726b774 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZWebsiteContributor/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AZWebsiteContributor/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddAllowedToAct/AddAllowedToAct.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddAllowedToAct/AddAllowedToAct.tsx index 9cebf2fcbe..1ab63d59b6 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddAllowedToAct/AddAllowedToAct.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddAllowedToAct/AddAllowedToAct.tsx @@ -15,10 +15,10 @@ // SPDX-License-Identifier: Apache-2.0 import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; +import WindowsAbuse from './WindowsAbuse'; const AddAllowedToAct = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddAllowedToAct/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddAllowedToAct/General.tsx index 451b274b50..57431e8161 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddAllowedToAct/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddAllowedToAct/General.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { groupSpecialFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { groupSpecialFormat } from '../utils'; const General: FC = ({ sourceName, sourceType, targetName }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddAllowedToAct/LinuxAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddAllowedToAct/LinuxAbuse.tsx index 8807b16b1d..11d2b83d21 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddAllowedToAct/LinuxAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddAllowedToAct/LinuxAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const LinuxAbuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddAllowedToAct/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddAllowedToAct/Opsec.tsx index dae4478af0..f771784aa0 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddAllowedToAct/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddAllowedToAct/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddAllowedToAct/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddAllowedToAct/References.tsx index 0c4f183a21..ce61ff1271 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddAllowedToAct/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddAllowedToAct/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddAllowedToAct/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddAllowedToAct/WindowsAbuse.tsx index aa035271b2..c8b4bedae3 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddAllowedToAct/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddAllowedToAct/WindowsAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const WindowsAbuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddKeyCredentialLink/AddKeyCredentialLink.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddKeyCredentialLink/AddKeyCredentialLink.tsx index ecb62b6885..65a7baad27 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddKeyCredentialLink/AddKeyCredentialLink.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddKeyCredentialLink/AddKeyCredentialLink.tsx @@ -15,10 +15,10 @@ // SPDX-License-Identifier: Apache-2.0 import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; +import WindowsAbuse from './WindowsAbuse'; const AddKeyCredentialLink = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddKeyCredentialLink/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddKeyCredentialLink/General.tsx index c98a3307eb..2a8c7553f0 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddKeyCredentialLink/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddKeyCredentialLink/General.tsx @@ -16,8 +16,8 @@ import { Typography } from '@mui/material'; import { FC } from 'react'; -import { groupSpecialFormat } from '../utils'; import { EdgeInfoProps } from '../index'; +import { groupSpecialFormat } from '../utils'; const General: FC = ({ sourceName, sourceType, targetName }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddKeyCredentialLink/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddKeyCredentialLink/Opsec.tsx index ca47fdd3b3..213fa4a7fb 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddKeyCredentialLink/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddKeyCredentialLink/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddKeyCredentialLink/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddKeyCredentialLink/References.tsx index ad01628312..1ada03f1ca 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddKeyCredentialLink/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddKeyCredentialLink/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddKeyCredentialLink/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddKeyCredentialLink/WindowsAbuse.tsx index 0da6d70601..52627b9260 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddKeyCredentialLink/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddKeyCredentialLink/WindowsAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; import { EdgeInfoProps } from '../index'; const WindowsAbuse: FC = ({ sourceName, sourceType }) => { diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddMember/AddMember.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddMember/AddMember.tsx index 16c921949d..bb43acdcae 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddMember/AddMember.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddMember/AddMember.tsx @@ -15,10 +15,10 @@ // SPDX-License-Identifier: Apache-2.0 import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; +import WindowsAbuse from './WindowsAbuse'; const AddMember = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddMember/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddMember/General.tsx index d776979a55..7af70ad52a 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddMember/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddMember/General.tsx @@ -16,8 +16,8 @@ import { Typography } from '@mui/material'; import { FC } from 'react'; -import { groupSpecialFormat } from '../utils'; import { EdgeInfoProps } from '../index'; +import { groupSpecialFormat } from '../utils'; const General: FC = ({ sourceName, sourceType, targetName }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddMember/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddMember/Opsec.tsx index 13034682c0..da9b701fc5 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddMember/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddMember/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddMember/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddMember/References.tsx index d2396f91e2..44c85873c3 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddMember/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddMember/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddMember/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddMember/WindowsAbuse.tsx index a88ff4e769..f300ee0278 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddMember/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddMember/WindowsAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; import { EdgeInfoProps } from '../index'; const WindowsAbuse: FC = ({ sourceName, sourceType }) => { diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddSelf/AddSelf.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddSelf/AddSelf.tsx index 47b76828f4..d302ae8025 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddSelf/AddSelf.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddSelf/AddSelf.tsx @@ -15,10 +15,10 @@ // SPDX-License-Identifier: Apache-2.0 import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; +import WindowsAbuse from './WindowsAbuse'; const AddSelf = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddSelf/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddSelf/General.tsx index c35a818533..40e436a185 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddSelf/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddSelf/General.tsx @@ -16,8 +16,8 @@ import { Typography } from '@mui/material'; import { FC } from 'react'; -import { groupSpecialFormat } from '../utils'; import { EdgeInfoProps } from '../index'; +import { groupSpecialFormat } from '../utils'; const General: FC = ({ sourceName, sourceType, targetName }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddSelf/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddSelf/Opsec.tsx index 13034682c0..da9b701fc5 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddSelf/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddSelf/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddSelf/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddSelf/References.tsx index 9a21655470..610b9cedc6 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddSelf/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddSelf/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddSelf/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddSelf/WindowsAbuse.tsx index 165492c3c5..83b42e00ca 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddSelf/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AddSelf/WindowsAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; import { EdgeInfoProps } from '../index'; const WindowsAbuse: FC = ({ sourceName, sourceType }) => { diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AdminTo/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AdminTo/Abuse.tsx index 2070652d86..eaf8a6b632 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AdminTo/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AdminTo/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AdminTo/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AdminTo/General.tsx index 3132756856..c5df504974 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AdminTo/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AdminTo/General.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { groupSpecialFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { groupSpecialFormat } from '../utils'; const General: FC = ({ sourceName, sourceType, targetName }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AdminTo/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AdminTo/Opsec.tsx index e71bd13ca5..27daf3fd8d 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AdminTo/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AdminTo/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AdminTo/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AdminTo/References.tsx index 667aa077ec..e2a6d1e4e9 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AdminTo/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AdminTo/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link, Typography } from '@mui/material'; import { FC } from 'react'; -import { Link, Typography, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllExtendedRights/AllExtendedRights.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllExtendedRights/AllExtendedRights.tsx index 2581d9d9f8..07ba900034 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllExtendedRights/AllExtendedRights.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllExtendedRights/AllExtendedRights.tsx @@ -15,10 +15,10 @@ // SPDX-License-Identifier: Apache-2.0 import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; +import WindowsAbuse from './WindowsAbuse'; const AllExtendedRights = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllExtendedRights/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllExtendedRights/General.tsx index e962b132f4..7d489d8924 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllExtendedRights/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllExtendedRights/General.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { groupSpecialFormat, typeFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { groupSpecialFormat, typeFormat } from '../utils'; const General: FC = ({ sourceName, sourceType, targetName, targetType }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllExtendedRights/LinuxAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllExtendedRights/LinuxAbuse.tsx index 8d494a4d68..5b8df9a01b 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllExtendedRights/LinuxAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllExtendedRights/LinuxAbuse.tsx @@ -14,9 +14,9 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Link, Typography } from '@mui/material'; import { FC } from 'react'; import { EdgeInfoProps } from '../index'; -import { Link, Typography } from '@mui/material'; const LinuxAbuse: FC = ({ sourceName, targetName, targetType }) => { switch (targetType) { diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllExtendedRights/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllExtendedRights/Opsec.tsx index 2deaa0bd84..f4bf20b5d0 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllExtendedRights/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllExtendedRights/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllExtendedRights/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllExtendedRights/References.tsx index 14416e48fd..4b70c0cdf6 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllExtendedRights/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllExtendedRights/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllExtendedRights/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllExtendedRights/WindowsAbuse.tsx index 69b9e6a1ed..e61a731298 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllExtendedRights/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllExtendedRights/WindowsAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Link, Typography } from '@mui/material'; +import { FC } from 'react'; import { EdgeInfoProps } from '../index'; const WindowsAbuse: FC = ({ sourceName, sourceType, targetName, targetType }) => { diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllowedToAct/AllowedToAct.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllowedToAct/AllowedToAct.tsx index 2e63ca87df..f6346a93f4 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllowedToAct/AllowedToAct.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllowedToAct/AllowedToAct.tsx @@ -15,10 +15,10 @@ // SPDX-License-Identifier: Apache-2.0 import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; +import WindowsAbuse from './WindowsAbuse'; const AllowedToAct = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllowedToAct/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllowedToAct/General.tsx index c5d2627da0..27c3e7cdcb 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllowedToAct/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllowedToAct/General.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { groupSpecialFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { groupSpecialFormat } from '../utils'; const General: FC = ({ sourceName, sourceType, targetName }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllowedToAct/LinuxAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllowedToAct/LinuxAbuse.tsx index 7bb9202ef6..4120f8d5e3 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllowedToAct/LinuxAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllowedToAct/LinuxAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const LinuxAbuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllowedToAct/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllowedToAct/Opsec.tsx index d88e3181f3..d4b7bf9675 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllowedToAct/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllowedToAct/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllowedToAct/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllowedToAct/References.tsx index 0c4f183a21..ce61ff1271 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllowedToAct/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllowedToAct/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllowedToAct/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllowedToAct/WindowsAbuse.tsx index c008ea53c7..0ba364d496 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllowedToAct/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllowedToAct/WindowsAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const WindowsAbuse: FC<{ sourceName: string }> = ({ sourceName }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllowedToDelegate/AllowedToDelegate.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllowedToDelegate/AllowedToDelegate.tsx index 6195fe516b..a81e075257 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllowedToDelegate/AllowedToDelegate.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllowedToDelegate/AllowedToDelegate.tsx @@ -15,10 +15,10 @@ // SPDX-License-Identifier: Apache-2.0 import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; +import WindowsAbuse from './WindowsAbuse'; const AllowedToDelegate = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllowedToDelegate/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllowedToDelegate/General.tsx index d95a815b51..4a3bc7b6d9 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllowedToDelegate/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllowedToDelegate/General.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { typeFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { typeFormat } from '../utils'; const General: FC = ({ sourceName, sourceType, targetName }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllowedToDelegate/LinuxAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllowedToDelegate/LinuxAbuse.tsx index d8d05822f4..d8a6d322dd 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllowedToDelegate/LinuxAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllowedToDelegate/LinuxAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const LinuxAbuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllowedToDelegate/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllowedToDelegate/Opsec.tsx index e849da6e46..97fc05c970 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllowedToDelegate/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllowedToDelegate/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllowedToDelegate/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllowedToDelegate/References.tsx index 2a495df3fb..41c512ad4e 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllowedToDelegate/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllowedToDelegate/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllowedToDelegate/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllowedToDelegate/WindowsAbuse.tsx index 51612c4af9..6991c39331 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllowedToDelegate/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/AllowedToDelegate/WindowsAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const WindowsAbuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/CanPSRemote/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/CanPSRemote/Abuse.tsx index 5cad61a448..7b669ae69a 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/CanPSRemote/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/CanPSRemote/Abuse.tsx @@ -14,9 +14,9 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; const Abuse: FC = ({ sourceName, sourceType, targetName }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/CanPSRemote/CanPSRemote.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/CanPSRemote/CanPSRemote.tsx index 621a9d7d36..26be9ee0e7 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/CanPSRemote/CanPSRemote.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/CanPSRemote/CanPSRemote.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/CanPSRemote/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/CanPSRemote/General.tsx index c73d7589e7..fc09e58f7a 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/CanPSRemote/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/CanPSRemote/General.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { groupSpecialFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { groupSpecialFormat } from '../utils'; const General: FC = ({ sourceName, sourceType, targetName }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/CanPSRemote/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/CanPSRemote/Opsec.tsx index c84aa62707..c1bf9b002a 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/CanPSRemote/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/CanPSRemote/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/CanPSRemote/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/CanPSRemote/References.tsx index 860f86e6a1..abff4ab8dd 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/CanPSRemote/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/CanPSRemote/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/CanRDP/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/CanRDP/Abuse.tsx index bfb1a1c8f0..207ab6f379 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/CanRDP/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/CanRDP/Abuse.tsx @@ -14,9 +14,9 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; const Abuse: FC = ({ sourceName, sourceType, targetName }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/CanRDP/CanRDP.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/CanRDP/CanRDP.tsx index 54e743b5ce..2f820107be 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/CanRDP/CanRDP.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/CanRDP/CanRDP.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/CanRDP/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/CanRDP/General.tsx index 23dfee4d88..dda01a54c9 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/CanRDP/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/CanRDP/General.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { groupSpecialFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { groupSpecialFormat } from '../utils'; const General: FC = ({ sourceName, sourceType, targetName }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/CanRDP/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/CanRDP/Opsec.tsx index 547bc8b2e3..8ab0f1607f 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/CanRDP/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/CanRDP/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/CanRDP/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/CanRDP/References.tsx index 90d220eec4..e35b2c6ae6 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/CanRDP/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/CanRDP/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/CodeController/CodeController.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/CodeController/CodeController.tsx index d304c4ba90..85db5b2823 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/CodeController/CodeController.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/CodeController/CodeController.tsx @@ -14,14 +14,14 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Button } from '@bloodhoundenterprise/doodleui'; +import { faAlignJustify, faCopy } from '@fortawesome/free-solid-svg-icons'; +import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { Theme, Typography } from '@mui/material'; import { makeStyles } from '@mui/styles'; -import { PropsWithChildren, useMemo, useRef, useState } from 'react'; import clsx from 'clsx'; -import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; -import { faAlignJustify, faCopy } from '@fortawesome/free-solid-svg-icons'; +import { PropsWithChildren, useMemo, useRef, useState } from 'react'; import { copyToClipboard } from '../../../utils/copyToClipboard'; -import { Button } from '@bloodhoundenterprise/doodleui'; export const useStyles = makeStyles((theme: Theme) => ({ codeController: { diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/CoerceAndRelayNTLMToSMB/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/CoerceAndRelayNTLMToSMB/Abuse.tsx index a40d66fc3d..c06ba0a12a 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/CoerceAndRelayNTLMToSMB/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/CoerceAndRelayNTLMToSMB/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/CoerceToTGT/CoerceToTGT.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/CoerceToTGT/CoerceToTGT.tsx index f9a8553230..ac1235d006 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/CoerceToTGT/CoerceToTGT.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/CoerceToTGT/CoerceToTGT.tsx @@ -15,10 +15,10 @@ // SPDX-License-Identifier: Apache-2.0 import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; +import WindowsAbuse from './WindowsAbuse'; const CoerceToTGT = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/CoerceToTGT/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/CoerceToTGT/General.tsx index cc822c1c98..7761af56e3 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/CoerceToTGT/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/CoerceToTGT/General.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { typeFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { typeFormat } from '../utils'; const General: FC = ({ sourceName, sourceType }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/CoerceToTGT/LinuxAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/CoerceToTGT/LinuxAbuse.tsx index a63611bae1..611036b79d 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/CoerceToTGT/LinuxAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/CoerceToTGT/LinuxAbuse.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; -import { EdgeInfoProps } from '../index'; +import { FC } from 'react'; import CodeController from '../CodeController/CodeController'; +import { EdgeInfoProps } from '../index'; const LinuxAbuse: FC = ({ sourceName, sourceType }) => { const intro = ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/CoerceToTGT/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/CoerceToTGT/Opsec.tsx index 62e5160cb9..0c709912a0 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/CoerceToTGT/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/CoerceToTGT/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return There is no opsec information for this edge.; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/CoerceToTGT/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/CoerceToTGT/References.tsx index 3d6caf32b8..0e0470674a 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/CoerceToTGT/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/CoerceToTGT/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/CoerceToTGT/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/CoerceToTGT/WindowsAbuse.tsx index 5dcb16e613..25b42985a3 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/CoerceToTGT/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/CoerceToTGT/WindowsAbuse.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; -import { EdgeInfoProps } from '../index'; +import { FC } from 'react'; import CodeController from '../CodeController/CodeController'; +import { EdgeInfoProps } from '../index'; const WindowsAbuse: FC = ({ sourceName, sourceType }) => { const intro = ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/Contains/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/Contains/Abuse.tsx index 11ed587225..b48217c195 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/Contains/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/Contains/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/Contains/Contains.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/Contains/Contains.tsx index dd819db598..5d458a4824 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/Contains/Contains.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/Contains/Contains.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/Contains/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/Contains/General.tsx index f1d4c1b13b..4b64b28e93 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/Contains/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/Contains/General.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { typeFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { typeFormat } from '../utils'; const General: FC = ({ sourceName, sourceType, targetName, targetType }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/Contains/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/Contains/Opsec.tsx index 40afaf9df7..5858a722f9 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/Contains/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/Contains/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return There are no opsec considerations related to this edge.; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/Contains/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/Contains/References.tsx index 31e1c2cc70..e0a7459dd8 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/Contains/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/Contains/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/DCFor/DCFor.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/DCFor/DCFor.tsx index 89bed33e44..b526ce1ff3 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/DCFor/DCFor.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/DCFor/DCFor.tsx @@ -15,10 +15,10 @@ // SPDX-License-Identifier: Apache-2.0 import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; +import WindowsAbuse from './WindowsAbuse'; const DCFor = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/DCFor/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/DCFor/General.tsx index cf669a2b50..d439595e5d 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/DCFor/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/DCFor/General.tsx @@ -14,9 +14,9 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; const General: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/DCFor/LinuxAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/DCFor/LinuxAbuse.tsx index f8a2c9f149..56df33308f 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/DCFor/LinuxAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/DCFor/LinuxAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const LinuxAbuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/DCFor/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/DCFor/Opsec.tsx index 0ba74e5209..f0d07c3d82 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/DCFor/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/DCFor/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/DCFor/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/DCFor/References.tsx index 00087ace32..7772527f90 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/DCFor/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/DCFor/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/DCFor/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/DCFor/WindowsAbuse.tsx index 856d4456ef..c368a12a5e 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/DCFor/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/DCFor/WindowsAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const WindowsAbuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/DCSync/DCSync.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/DCSync/DCSync.tsx index b6d996967c..508dcc38e1 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/DCSync/DCSync.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/DCSync/DCSync.tsx @@ -15,10 +15,10 @@ // SPDX-License-Identifier: Apache-2.0 import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; +import WindowsAbuse from './WindowsAbuse'; const DCSync = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/DCSync/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/DCSync/General.tsx index 5882245d48..614af32195 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/DCSync/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/DCSync/General.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { groupSpecialFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { groupSpecialFormat } from '../utils'; const General: FC = ({ sourceName, sourceType, targetName }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/DCSync/LinuxAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/DCSync/LinuxAbuse.tsx index ac8e68ff2f..9e424222f0 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/DCSync/LinuxAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/DCSync/LinuxAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const LinuxAbuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/DCSync/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/DCSync/Opsec.tsx index 154b56cd09..67fa685837 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/DCSync/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/DCSync/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/DCSync/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/DCSync/References.tsx index 3fcb595f42..09ff28569d 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/DCSync/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/DCSync/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/DCSync/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/DCSync/WindowsAbuse.tsx index 3f056a5df6..1729ccdb40 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/DCSync/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/DCSync/WindowsAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const WindowsAbuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/Default/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/Default/Abuse.tsx index a353477dc7..ec489ec334 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/Default/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/Default/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return No Information Available; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/Default/Default.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/Default/Default.tsx index 3ebc5ca8e8..6449019d76 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/Default/Default.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/Default/Default.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/Default/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/Default/General.tsx index 5de2a07f68..87c2f3b2db 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/Default/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/Default/General.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const General: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/Default/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/Default/Opsec.tsx index eeeff9108b..fda47b4825 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/Default/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/Default/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return No Information Available; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/Default/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/Default/References.tsx index 66ffe58a16..83fbf118ed 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/Default/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/Default/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/DelegatedEnrollmentAgent/DelegatedEnrollmentAgent.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/DelegatedEnrollmentAgent/DelegatedEnrollmentAgent.tsx index 2a549030a1..412ba44e33 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/DelegatedEnrollmentAgent/DelegatedEnrollmentAgent.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/DelegatedEnrollmentAgent/DelegatedEnrollmentAgent.tsx @@ -15,10 +15,10 @@ // SPDX-License-Identifier: Apache-2.0 import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; +import WindowsAbuse from './WindowsAbuse'; const DelegatedEnrollmentAgent = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/DelegatedEnrollmentAgent/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/DelegatedEnrollmentAgent/General.tsx index e9a937b409..b31cf020e0 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/DelegatedEnrollmentAgent/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/DelegatedEnrollmentAgent/General.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { typeFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { typeFormat } from '../utils'; const General: FC = ({ sourceName, sourceType, targetName }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/DelegatedEnrollmentAgent/LinuxAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/DelegatedEnrollmentAgent/LinuxAbuse.tsx index b26e3caca0..a702461ed8 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/DelegatedEnrollmentAgent/LinuxAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/DelegatedEnrollmentAgent/LinuxAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/DelegatedEnrollmentAgent/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/DelegatedEnrollmentAgent/Opsec.tsx index dd25e4231b..b5de95b0e5 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/DelegatedEnrollmentAgent/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/DelegatedEnrollmentAgent/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/DelegatedEnrollmentAgent/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/DelegatedEnrollmentAgent/References.tsx index 032d0ce81a..6181586ad4 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/DelegatedEnrollmentAgent/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/DelegatedEnrollmentAgent/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/DelegatedEnrollmentAgent/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/DelegatedEnrollmentAgent/WindowsAbuse.tsx index b26e3caca0..a702461ed8 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/DelegatedEnrollmentAgent/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/DelegatedEnrollmentAgent/WindowsAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/DumpSMSAPassword/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/DumpSMSAPassword/Abuse.tsx index 98e785ac60..df2c426830 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/DumpSMSAPassword/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/DumpSMSAPassword/Abuse.tsx @@ -14,9 +14,9 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; const Abuse: FC = ({ sourceName, targetName }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/DumpSMSAPassword/DumpSMSAPassword.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/DumpSMSAPassword/DumpSMSAPassword.tsx index 989d158d1e..bc3eea324e 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/DumpSMSAPassword/DumpSMSAPassword.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/DumpSMSAPassword/DumpSMSAPassword.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/DumpSMSAPassword/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/DumpSMSAPassword/General.tsx index 1dec465507..4fb67d5d13 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/DumpSMSAPassword/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/DumpSMSAPassword/General.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { groupSpecialFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { groupSpecialFormat } from '../utils'; const General: FC = ({ sourceName, sourceType, targetName }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/DumpSMSAPassword/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/DumpSMSAPassword/Opsec.tsx index f9edc35d0c..867e964eab 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/DumpSMSAPassword/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/DumpSMSAPassword/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/DumpSMSAPassword/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/DumpSMSAPassword/References.tsx index 8b16889148..be7295eb18 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/DumpSMSAPassword/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/DumpSMSAPassword/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/Enroll/Enroll.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/Enroll/Enroll.tsx index e8e0461d9b..a8ef2ec3d3 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/Enroll/Enroll.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/Enroll/Enroll.tsx @@ -15,10 +15,10 @@ // SPDX-License-Identifier: Apache-2.0 import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; +import WindowsAbuse from './WindowsAbuse'; const Enroll = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/Enroll/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/Enroll/General.tsx index 5f295c8608..88fee97457 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/Enroll/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/Enroll/General.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { typeFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { typeFormat } from '../utils'; const General: FC = ({ sourceName, sourceType, targetName }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/Enroll/LinuxAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/Enroll/LinuxAbuse.tsx index df66b1fe8b..a112b88ad4 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/Enroll/LinuxAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/Enroll/LinuxAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const LinuxAbuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/Enroll/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/Enroll/Opsec.tsx index dd25e4231b..b5de95b0e5 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/Enroll/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/Enroll/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/Enroll/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/Enroll/References.tsx index d823668b1d..aaa5e2b832 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/Enroll/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/Enroll/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/Enroll/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/Enroll/WindowsAbuse.tsx index 74548143d0..699cb1444b 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/Enroll/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/Enroll/WindowsAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/EnrollOnBehalfOf/EnrollOnBehalfOf.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/EnrollOnBehalfOf/EnrollOnBehalfOf.tsx index 7349d4646f..b16c55fc73 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/EnrollOnBehalfOf/EnrollOnBehalfOf.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/EnrollOnBehalfOf/EnrollOnBehalfOf.tsx @@ -15,10 +15,10 @@ // SPDX-License-Identifier: Apache-2.0 import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; +import WindowsAbuse from './WindowsAbuse'; const EnrollOnBehalfOf = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/EnrollOnBehalfOf/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/EnrollOnBehalfOf/General.tsx index b63aa4fc68..c41c5c2f39 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/EnrollOnBehalfOf/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/EnrollOnBehalfOf/General.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { typeFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { typeFormat } from '../utils'; const General: FC = ({ sourceName, sourceType, targetName }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/EnrollOnBehalfOf/LinuxAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/EnrollOnBehalfOf/LinuxAbuse.tsx index 0fc7bae5e2..c0116da44c 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/EnrollOnBehalfOf/LinuxAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/EnrollOnBehalfOf/LinuxAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/EnrollOnBehalfOf/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/EnrollOnBehalfOf/Opsec.tsx index dd25e4231b..b5de95b0e5 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/EnrollOnBehalfOf/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/EnrollOnBehalfOf/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/EnrollOnBehalfOf/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/EnrollOnBehalfOf/References.tsx index 032d0ce81a..6181586ad4 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/EnrollOnBehalfOf/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/EnrollOnBehalfOf/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/EnrollOnBehalfOf/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/EnrollOnBehalfOf/WindowsAbuse.tsx index 0fc7bae5e2..c0116da44c 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/EnrollOnBehalfOf/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/EnrollOnBehalfOf/WindowsAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/EnterpriseCAFor/EnterpriseCAFor.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/EnterpriseCAFor/EnterpriseCAFor.tsx index 7b046fabc7..b8c1849b8e 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/EnterpriseCAFor/EnterpriseCAFor.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/EnterpriseCAFor/EnterpriseCAFor.tsx @@ -15,10 +15,10 @@ // SPDX-License-Identifier: Apache-2.0 import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; +import WindowsAbuse from './WindowsAbuse'; const EnterpriseCAFor = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/EnterpriseCAFor/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/EnterpriseCAFor/General.tsx index 5d44c9eebe..e685ed5b60 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/EnterpriseCAFor/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/EnterpriseCAFor/General.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { typeFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { typeFormat } from '../utils'; const General: FC = ({ sourceName, sourceType, targetName }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/EnterpriseCAFor/LinuxAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/EnterpriseCAFor/LinuxAbuse.tsx index 486fafb8b8..a270d42610 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/EnterpriseCAFor/LinuxAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/EnterpriseCAFor/LinuxAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/EnterpriseCAFor/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/EnterpriseCAFor/Opsec.tsx index dd25e4231b..b5de95b0e5 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/EnterpriseCAFor/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/EnterpriseCAFor/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/EnterpriseCAFor/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/EnterpriseCAFor/References.tsx index 032d0ce81a..6181586ad4 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/EnterpriseCAFor/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/EnterpriseCAFor/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/EnterpriseCAFor/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/EnterpriseCAFor/WindowsAbuse.tsx index 486fafb8b8..a270d42610 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/EnterpriseCAFor/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/EnterpriseCAFor/WindowsAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ExecuteDCOM/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ExecuteDCOM/Abuse.tsx index 442787c875..84b70ad54c 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ExecuteDCOM/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ExecuteDCOM/Abuse.tsx @@ -14,9 +14,9 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; const Abuse: FC = ({ targetName }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ExecuteDCOM/ExecuteDCOM.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ExecuteDCOM/ExecuteDCOM.tsx index 656c23de00..47a0e24e18 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ExecuteDCOM/ExecuteDCOM.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ExecuteDCOM/ExecuteDCOM.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ExecuteDCOM/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ExecuteDCOM/General.tsx index 1c3b0c5866..5fbdc68a4d 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ExecuteDCOM/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ExecuteDCOM/General.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { groupSpecialFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { groupSpecialFormat } from '../utils'; const General: FC = ({ sourceName, sourceType, targetName }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ExecuteDCOM/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ExecuteDCOM/Opsec.tsx index 8f640ce0f6..cd30957a6a 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ExecuteDCOM/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ExecuteDCOM/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ExecuteDCOM/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ExecuteDCOM/References.tsx index b05849b1bb..698669bfbe 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ExecuteDCOM/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ExecuteDCOM/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link, Typography } from '@mui/material'; import { FC } from 'react'; -import { Link, Typography, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ExtendedByPolicy/ExtendedByPolicy.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ExtendedByPolicy/ExtendedByPolicy.tsx index 2a71b3d4a5..e67aada3ea 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ExtendedByPolicy/ExtendedByPolicy.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ExtendedByPolicy/ExtendedByPolicy.tsx @@ -15,10 +15,10 @@ // SPDX-License-Identifier: Apache-2.0 import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; +import WindowsAbuse from './WindowsAbuse'; const ExtendedByPolicy = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ExtendedByPolicy/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ExtendedByPolicy/General.tsx index 69547e458d..b5389f414b 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ExtendedByPolicy/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ExtendedByPolicy/General.tsx @@ -14,9 +14,9 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; const General: FC = ({ sourceName, targetName }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ExtendedByPolicy/LinuxAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ExtendedByPolicy/LinuxAbuse.tsx index c21c31e186..27642c57d5 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ExtendedByPolicy/LinuxAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ExtendedByPolicy/LinuxAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ExtendedByPolicy/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ExtendedByPolicy/Opsec.tsx index dd25e4231b..b5de95b0e5 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ExtendedByPolicy/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ExtendedByPolicy/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ExtendedByPolicy/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ExtendedByPolicy/References.tsx index d537813846..e38f2f31ac 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ExtendedByPolicy/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ExtendedByPolicy/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ExtendedByPolicy/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ExtendedByPolicy/WindowsAbuse.tsx index c21c31e186..27642c57d5 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ExtendedByPolicy/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ExtendedByPolicy/WindowsAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ForceChangePassword/ForceChangePassword.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ForceChangePassword/ForceChangePassword.tsx index 2afb539628..cc02ae1d9c 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ForceChangePassword/ForceChangePassword.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ForceChangePassword/ForceChangePassword.tsx @@ -15,10 +15,10 @@ // SPDX-License-Identifier: Apache-2.0 import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; +import WindowsAbuse from './WindowsAbuse'; const ForceChangePassword = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ForceChangePassword/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ForceChangePassword/General.tsx index 66b5cbd52d..3b041d4ddd 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ForceChangePassword/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ForceChangePassword/General.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { groupSpecialFormat, typeFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { groupSpecialFormat, typeFormat } from '../utils'; const General: FC = ({ sourceName, sourceType, targetName, targetType }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ForceChangePassword/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ForceChangePassword/Opsec.tsx index 6dfbc16eeb..1d129c7cb8 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ForceChangePassword/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ForceChangePassword/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ForceChangePassword/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ForceChangePassword/References.tsx index bb39e3b571..b3b6b28452 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ForceChangePassword/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ForceChangePassword/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ForceChangePassword/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ForceChangePassword/WindowsAbuse.tsx index dd7790ad94..09913c1841 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ForceChangePassword/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ForceChangePassword/WindowsAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; import { EdgeInfoProps } from '../index'; const WindowsAbuse: FC = ({ sourceName, sourceType }) => { diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GPLink/GPLink.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GPLink/GPLink.tsx index a1e4762579..3daa5d7f78 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GPLink/GPLink.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GPLink/GPLink.tsx @@ -15,10 +15,10 @@ // SPDX-License-Identifier: Apache-2.0 import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; +import WindowsAbuse from './WindowsAbuse'; const GPLink = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GPLink/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GPLink/General.tsx index 14134de360..97a001557e 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GPLink/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GPLink/General.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { typeFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { typeFormat } from '../utils'; const General: FC = ({ sourceName, targetName, targetType }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GPLink/LinuxAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GPLink/LinuxAbuse.tsx index eac8edbb6d..246a1045e2 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GPLink/LinuxAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GPLink/LinuxAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Link, Typography } from '@mui/material'; +import { FC } from 'react'; import { EdgeInfoProps } from '../index'; const LinuxAbuse: FC = () => { diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GPLink/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GPLink/Opsec.tsx index 40afaf9df7..5858a722f9 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GPLink/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GPLink/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return There are no opsec considerations related to this edge.; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GPLink/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GPLink/References.tsx index f60a178a1a..b4053b0c01 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GPLink/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GPLink/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Link } from '@mui/material'; +import { FC } from 'react'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GPLink/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GPLink/WindowsAbuse.tsx index 6cadb8e3af..2935f9acfb 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GPLink/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GPLink/WindowsAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; import { EdgeInfoProps } from '../index'; const WindowsAbuse: FC = () => { diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GenericAll/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GenericAll/General.tsx index b61f8b4dc1..4c257b4dba 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GenericAll/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GenericAll/General.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { groupSpecialFormat, typeFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { groupSpecialFormat, typeFormat } from '../utils'; const General: FC = ({ sourceName, sourceType, targetName, targetType }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GenericAll/GenericAll.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GenericAll/GenericAll.tsx index 6dfc9175b2..ee58f1e84c 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GenericAll/GenericAll.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GenericAll/GenericAll.tsx @@ -15,10 +15,10 @@ // SPDX-License-Identifier: Apache-2.0 import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; +import WindowsAbuse from './WindowsAbuse'; const GenericAll = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GenericAll/LinuxAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GenericAll/LinuxAbuse.tsx index a6a727c51d..5363193479 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GenericAll/LinuxAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GenericAll/LinuxAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Link, Typography } from '@mui/material'; +import { FC } from 'react'; import { EdgeInfoProps } from '../index'; const LinuxAbuse: FC = ({ diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GenericAll/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GenericAll/Opsec.tsx index 864f4ea424..4b88bb4295 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GenericAll/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GenericAll/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GenericAll/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GenericAll/References.tsx index d0b2ddb394..01d7bce6dc 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GenericAll/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GenericAll/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GenericAll/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GenericAll/WindowsAbuse.tsx index b781ec4124..58ca13cab4 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GenericAll/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GenericAll/WindowsAbuse.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Link, Typography } from '@mui/material'; -import { EdgeInfoProps } from '../index'; +import { FC } from 'react'; import CodeController from '../CodeController/CodeController'; +import { EdgeInfoProps } from '../index'; const WindowsAbuse: FC = ({ sourceName, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GenericWrite/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GenericWrite/General.tsx index ee22271d26..864564aec4 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GenericWrite/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GenericWrite/General.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { groupSpecialFormat, typeFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { groupSpecialFormat, typeFormat } from '../utils'; const General: FC = ({ sourceName, sourceType, targetName, targetType }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GenericWrite/GenericWrite.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GenericWrite/GenericWrite.tsx index 25291c9b86..2cc6b477b9 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GenericWrite/GenericWrite.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GenericWrite/GenericWrite.tsx @@ -15,10 +15,10 @@ // SPDX-License-Identifier: Apache-2.0 import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; +import WindowsAbuse from './WindowsAbuse'; const GenericWrite = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GenericWrite/LinuxAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GenericWrite/LinuxAbuse.tsx index b83bafea65..d0836beb92 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GenericWrite/LinuxAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GenericWrite/LinuxAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Link, Typography } from '@mui/material'; +import { FC } from 'react'; import { EdgeInfoProps } from '../index'; const LinuxAbuse: FC = ({ targetType }) => { diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GenericWrite/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GenericWrite/Opsec.tsx index 864f4ea424..4b88bb4295 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GenericWrite/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GenericWrite/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GenericWrite/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GenericWrite/References.tsx index aeb87a6590..a4549ac9f6 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GenericWrite/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GenericWrite/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GenericWrite/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GenericWrite/WindowsAbuse.tsx index f463a79253..5375ac321f 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GenericWrite/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GenericWrite/WindowsAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Link, Typography } from '@mui/material'; +import { FC } from 'react'; import { EdgeInfoProps } from '../index'; const WindowsAbuse: FC = ({ sourceName, sourceType, targetName, targetType }) => { diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GetChanges/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GetChanges/General.tsx index 11caa5d115..484c111eaf 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GetChanges/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GetChanges/General.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { groupSpecialFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { groupSpecialFormat } from '../utils'; const General: FC = ({ sourceName, sourceType, targetName }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GetChanges/GetChanges.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GetChanges/GetChanges.tsx index 9478c0b9fa..3bc4a1c7f5 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GetChanges/GetChanges.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GetChanges/GetChanges.tsx @@ -15,10 +15,10 @@ // SPDX-License-Identifier: Apache-2.0 import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; +import WindowsAbuse from './WindowsAbuse'; const GetChanges = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GetChanges/LinuxAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GetChanges/LinuxAbuse.tsx index ac8e68ff2f..9e424222f0 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GetChanges/LinuxAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GetChanges/LinuxAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const LinuxAbuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GetChanges/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GetChanges/Opsec.tsx index 154b56cd09..67fa685837 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GetChanges/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GetChanges/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GetChanges/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GetChanges/References.tsx index 3fcb595f42..09ff28569d 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GetChanges/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GetChanges/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GetChanges/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GetChanges/WindowsAbuse.tsx index 726d8e417c..53e8d8a64b 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GetChanges/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GetChanges/WindowsAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const WindowsAbuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GetChangesAll/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GetChangesAll/General.tsx index 0b6e10189c..9e869b3ae1 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GetChangesAll/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GetChangesAll/General.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { groupSpecialFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { groupSpecialFormat } from '../utils'; const General: FC = ({ sourceName, sourceType, targetName }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GetChangesAll/GetChangesAll.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GetChangesAll/GetChangesAll.tsx index 6b44acf2d8..90e7ae6574 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GetChangesAll/GetChangesAll.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GetChangesAll/GetChangesAll.tsx @@ -15,10 +15,10 @@ // SPDX-License-Identifier: Apache-2.0 import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; +import WindowsAbuse from './WindowsAbuse'; const GetChangesAll = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GetChangesAll/LinuxAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GetChangesAll/LinuxAbuse.tsx index ac8e68ff2f..9e424222f0 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GetChangesAll/LinuxAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GetChangesAll/LinuxAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const LinuxAbuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GetChangesAll/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GetChangesAll/Opsec.tsx index 154b56cd09..67fa685837 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GetChangesAll/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GetChangesAll/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GetChangesAll/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GetChangesAll/References.tsx index 3fcb595f42..09ff28569d 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GetChangesAll/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GetChangesAll/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GetChangesAll/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GetChangesAll/WindowsAbuse.tsx index 726d8e417c..53e8d8a64b 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GetChangesAll/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GetChangesAll/WindowsAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const WindowsAbuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GoldenCert/Composition.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GoldenCert/Composition.tsx index 35f3fce3a9..05208c7a23 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GoldenCert/Composition.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GoldenCert/Composition.tsx @@ -14,11 +14,11 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Alert, Box, Skeleton, Typography } from '@mui/material'; -import { apiClient } from '../../../utils/api'; -import { EdgeInfoProps } from '..'; +import { FC } from 'react'; import { useQuery } from 'react-query'; +import { EdgeInfoProps } from '..'; +import { apiClient } from '../../../utils/api'; import VirtualizedNodeList, { VirtualizedNodeListItem } from '../../VirtualizedNodeList'; const Composition: FC = ({ sourceDBId, targetDBId, edgeName }) => { diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GoldenCert/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GoldenCert/General.tsx index 29690edd8f..3b227633d0 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GoldenCert/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GoldenCert/General.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { typeFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { typeFormat } from '../utils'; const General: FC = ({ sourceName, sourceType, targetName }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GoldenCert/GoldenCert.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GoldenCert/GoldenCert.tsx index 9fa598c61e..ded5b5cf49 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GoldenCert/GoldenCert.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GoldenCert/GoldenCert.tsx @@ -14,12 +14,12 @@ // // SPDX-License-Identifier: Apache-2.0 +import Composition from './Composition'; import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; -import Composition from './Composition'; +import WindowsAbuse from './WindowsAbuse'; const GoldenCert = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GoldenCert/LinuxAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GoldenCert/LinuxAbuse.tsx index d1edfd50e1..4648fded77 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GoldenCert/LinuxAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GoldenCert/LinuxAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GoldenCert/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GoldenCert/Opsec.tsx index dd25e4231b..b5de95b0e5 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GoldenCert/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GoldenCert/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GoldenCert/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GoldenCert/References.tsx index 0f53a2d389..db07205ad0 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GoldenCert/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GoldenCert/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GoldenCert/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GoldenCert/WindowsAbuse.tsx index 9c0e5e9001..33067c5a77 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/GoldenCert/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/GoldenCert/WindowsAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/HasSIDHistory/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/HasSIDHistory/Abuse.tsx index 73fa8f7807..2e8d994f8d 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/HasSIDHistory/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/HasSIDHistory/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/HasSIDHistory/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/HasSIDHistory/General.tsx index 3ef5e1aaa8..8ba00595fb 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/HasSIDHistory/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/HasSIDHistory/General.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { typeFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { typeFormat } from '../utils'; const General: FC = ({ sourceName, sourceType, targetName, targetType }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/HasSIDHistory/HasSIDHistory.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/HasSIDHistory/HasSIDHistory.tsx index 5b9e9deccc..7f1b6f86b4 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/HasSIDHistory/HasSIDHistory.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/HasSIDHistory/HasSIDHistory.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/HasSIDHistory/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/HasSIDHistory/Opsec.tsx index c115d34fe5..1e4cb9f333 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/HasSIDHistory/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/HasSIDHistory/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return No opsec considerations apply to this edge.; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/HasSIDHistory/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/HasSIDHistory/References.tsx index 7dc0ef905f..d88e5ab144 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/HasSIDHistory/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/HasSIDHistory/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/HasSession/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/HasSession/Abuse.tsx index d9a8f0aea4..3cc6f396ec 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/HasSession/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/HasSession/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/HasSession/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/HasSession/General.tsx index ef34f3289e..3764d512d4 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/HasSession/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/HasSession/General.tsx @@ -14,9 +14,9 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; const General: FC = ({ sourceName, targetName }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/HasSession/HasSession.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/HasSession/HasSession.tsx index d355c31672..012e1b029d 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/HasSession/HasSession.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/HasSession/HasSession.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/HasSession/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/HasSession/Opsec.tsx index 0b43a80200..6c886ac8ab 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/HasSession/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/HasSession/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/HasSession/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/HasSession/References.tsx index 12d8a3d902..38ec42399c 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/HasSession/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/HasSession/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link, Typography } from '@mui/material'; import { FC } from 'react'; -import { Link, Typography, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/HostsCAService/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/HostsCAService/General.tsx index 1795a589f2..fa8187dd70 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/HostsCAService/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/HostsCAService/General.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { typeFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { typeFormat } from '../utils'; const General: FC = ({ sourceName, sourceType, targetName }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/HostsCAService/HostsCAService.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/HostsCAService/HostsCAService.tsx index 85d7f5bdc8..16fedd2782 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/HostsCAService/HostsCAService.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/HostsCAService/HostsCAService.tsx @@ -15,10 +15,10 @@ // SPDX-License-Identifier: Apache-2.0 import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; +import WindowsAbuse from './WindowsAbuse'; const HostsCAService = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/HostsCAService/LinuxAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/HostsCAService/LinuxAbuse.tsx index c6cbdafe15..4e8e3e1b3f 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/HostsCAService/LinuxAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/HostsCAService/LinuxAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/HostsCAService/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/HostsCAService/Opsec.tsx index dd25e4231b..b5de95b0e5 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/HostsCAService/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/HostsCAService/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/HostsCAService/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/HostsCAService/References.tsx index 032d0ce81a..6181586ad4 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/HostsCAService/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/HostsCAService/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/HostsCAService/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/HostsCAService/WindowsAbuse.tsx index c6cbdafe15..4e8e3e1b3f 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/HostsCAService/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/HostsCAService/WindowsAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/IssuedSignedBy/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/IssuedSignedBy/General.tsx index b75c996884..cdc086339a 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/IssuedSignedBy/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/IssuedSignedBy/General.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { typeFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { typeFormat } from '../utils'; const General: FC = ({ sourceName, sourceType, targetName }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/IssuedSignedBy/IssuedSignedBy.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/IssuedSignedBy/IssuedSignedBy.tsx index d59e67d9ba..c723f44203 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/IssuedSignedBy/IssuedSignedBy.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/IssuedSignedBy/IssuedSignedBy.tsx @@ -15,10 +15,10 @@ // SPDX-License-Identifier: Apache-2.0 import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; +import WindowsAbuse from './WindowsAbuse'; const IssuedSignedBy = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/IssuedSignedBy/LinuxAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/IssuedSignedBy/LinuxAbuse.tsx index 901359fccf..fdf0a11074 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/IssuedSignedBy/LinuxAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/IssuedSignedBy/LinuxAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/IssuedSignedBy/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/IssuedSignedBy/Opsec.tsx index dd25e4231b..b5de95b0e5 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/IssuedSignedBy/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/IssuedSignedBy/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/IssuedSignedBy/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/IssuedSignedBy/References.tsx index 4c3fc74e4e..05fdfefea5 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/IssuedSignedBy/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/IssuedSignedBy/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/IssuedSignedBy/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/IssuedSignedBy/WindowsAbuse.tsx index 901359fccf..fdf0a11074 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/IssuedSignedBy/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/IssuedSignedBy/WindowsAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ManageCA/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ManageCA/General.tsx index 6ead44c512..631ef2cc12 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ManageCA/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ManageCA/General.tsx @@ -14,9 +14,9 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; const General: FC = ({ sourceName }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ManageCA/LinuxAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ManageCA/LinuxAbuse.tsx index 3dc060582a..30caa8d2ce 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ManageCA/LinuxAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ManageCA/LinuxAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ManageCA/ManageCA.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ManageCA/ManageCA.tsx index 56ecb6bf19..a36b864781 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ManageCA/ManageCA.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ManageCA/ManageCA.tsx @@ -15,10 +15,10 @@ // SPDX-License-Identifier: Apache-2.0 import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; +import WindowsAbuse from './WindowsAbuse'; const ManageCA = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ManageCA/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ManageCA/Opsec.tsx index dd25e4231b..b5de95b0e5 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ManageCA/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ManageCA/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ManageCA/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ManageCA/References.tsx index 032d0ce81a..6181586ad4 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ManageCA/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ManageCA/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ManageCA/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ManageCA/WindowsAbuse.tsx index 3dc060582a..30caa8d2ce 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ManageCA/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ManageCA/WindowsAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ManageCertificates/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ManageCertificates/General.tsx index 1902bb1a75..eb02b7f89c 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ManageCertificates/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ManageCertificates/General.tsx @@ -14,9 +14,9 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; const General: FC = ({ sourceName }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ManageCertificates/LinuxAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ManageCertificates/LinuxAbuse.tsx index 3dc060582a..30caa8d2ce 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ManageCertificates/LinuxAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ManageCertificates/LinuxAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ManageCertificates/ManageCertificates.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ManageCertificates/ManageCertificates.tsx index b45c3b618e..a07650b410 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ManageCertificates/ManageCertificates.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ManageCertificates/ManageCertificates.tsx @@ -15,10 +15,10 @@ // SPDX-License-Identifier: Apache-2.0 import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; +import WindowsAbuse from './WindowsAbuse'; const ManageCertificates = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ManageCertificates/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ManageCertificates/Opsec.tsx index dd25e4231b..b5de95b0e5 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ManageCertificates/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ManageCertificates/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ManageCertificates/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ManageCertificates/References.tsx index 032d0ce81a..6181586ad4 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ManageCertificates/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ManageCertificates/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ManageCertificates/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ManageCertificates/WindowsAbuse.tsx index 3dc060582a..30caa8d2ce 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ManageCertificates/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ManageCertificates/WindowsAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/MemberOf/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/MemberOf/Abuse.tsx index b04d20ff0d..ee8632edfa 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/MemberOf/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/MemberOf/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/MemberOf/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/MemberOf/General.tsx index 95522dbd09..98ad960efd 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/MemberOf/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/MemberOf/General.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { typeFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { typeFormat } from '../utils'; const General: FC = ({ sourceName, sourceType, targetName }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/MemberOf/MemberOf.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/MemberOf/MemberOf.tsx index a579c67a26..2821f75b53 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/MemberOf/MemberOf.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/MemberOf/MemberOf.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/MemberOf/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/MemberOf/Opsec.tsx index c115d34fe5..1e4cb9f333 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/MemberOf/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/MemberOf/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return No opsec considerations apply to this edge.; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/MemberOf/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/MemberOf/References.tsx index 57e7acc083..7099b6a82c 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/MemberOf/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/MemberOf/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/NTAuthStoreFor/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/NTAuthStoreFor/General.tsx index 2da2a58551..c022b0cf80 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/NTAuthStoreFor/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/NTAuthStoreFor/General.tsx @@ -14,9 +14,9 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; const General: FC = ({ targetName }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/NTAuthStoreFor/LinuxAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/NTAuthStoreFor/LinuxAbuse.tsx index a3b8594f6b..f813857798 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/NTAuthStoreFor/LinuxAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/NTAuthStoreFor/LinuxAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/NTAuthStoreFor/NTAuthStoreFor.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/NTAuthStoreFor/NTAuthStoreFor.tsx index d540607f34..ee76d1cf1a 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/NTAuthStoreFor/NTAuthStoreFor.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/NTAuthStoreFor/NTAuthStoreFor.tsx @@ -15,10 +15,10 @@ // SPDX-License-Identifier: Apache-2.0 import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; +import WindowsAbuse from './WindowsAbuse'; const NTAuthStoreFor = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/NTAuthStoreFor/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/NTAuthStoreFor/Opsec.tsx index dd25e4231b..b5de95b0e5 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/NTAuthStoreFor/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/NTAuthStoreFor/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/NTAuthStoreFor/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/NTAuthStoreFor/References.tsx index 4c3fc74e4e..05fdfefea5 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/NTAuthStoreFor/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/NTAuthStoreFor/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/NTAuthStoreFor/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/NTAuthStoreFor/WindowsAbuse.tsx index a3b8594f6b..f813857798 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/NTAuthStoreFor/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/NTAuthStoreFor/WindowsAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/OIDGroupLink/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/OIDGroupLink/General.tsx index 9d0fe54494..82b2c7b97a 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/OIDGroupLink/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/OIDGroupLink/General.tsx @@ -14,9 +14,9 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; const General: FC = ({ sourceName, targetName }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/OIDGroupLink/LinuxAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/OIDGroupLink/LinuxAbuse.tsx index c4391edcba..5ae1243130 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/OIDGroupLink/LinuxAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/OIDGroupLink/LinuxAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/OIDGroupLink/OIDGroupLink.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/OIDGroupLink/OIDGroupLink.tsx index 6fe799250f..a96a53b077 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/OIDGroupLink/OIDGroupLink.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/OIDGroupLink/OIDGroupLink.tsx @@ -15,10 +15,10 @@ // SPDX-License-Identifier: Apache-2.0 import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; +import WindowsAbuse from './WindowsAbuse'; const OIDGroupLink = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/OIDGroupLink/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/OIDGroupLink/Opsec.tsx index dd25e4231b..b5de95b0e5 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/OIDGroupLink/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/OIDGroupLink/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/OIDGroupLink/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/OIDGroupLink/References.tsx index d537813846..e38f2f31ac 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/OIDGroupLink/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/OIDGroupLink/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/OIDGroupLink/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/OIDGroupLink/WindowsAbuse.tsx index c4391edcba..5ae1243130 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/OIDGroupLink/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/OIDGroupLink/WindowsAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/Owns/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/Owns/General.tsx index 2097f52beb..599110bfea 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/Owns/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/Owns/General.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { groupSpecialFormat, typeFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { groupSpecialFormat, typeFormat } from '../utils'; const General: FC = ({ sourceName, sourceType, targetName, targetType }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/Owns/LinuxAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/Owns/LinuxAbuse.tsx index 5b6d00a956..51f54492d8 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/Owns/LinuxAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/Owns/LinuxAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Link, Typography } from '@mui/material'; +import { FC } from 'react'; import { EdgeInfoProps } from '../index'; const LinuxAbuse: FC = ({ diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/Owns/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/Owns/Opsec.tsx index fed769722c..e60158ef26 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/Owns/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/Owns/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/Owns/Owns.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/Owns/Owns.tsx index 175a516e48..1a4e77de9c 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/Owns/Owns.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/Owns/Owns.tsx @@ -15,10 +15,10 @@ // SPDX-License-Identifier: Apache-2.0 import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; +import WindowsAbuse from './WindowsAbuse'; const Owns = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/Owns/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/Owns/References.tsx index e6506fa46d..29046dfd46 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/Owns/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/Owns/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/Owns/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/Owns/WindowsAbuse.tsx index d0c0277a02..8cc199f64b 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/Owns/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/Owns/WindowsAbuse.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Link, Typography } from '@mui/material'; -import { EdgeInfoProps } from '../index'; +import { FC } from 'react'; import CodeController from '../CodeController/CodeController'; +import { EdgeInfoProps } from '../index'; const WindowsAbuse: FC = ({ sourceName, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/PublishedTo/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/PublishedTo/General.tsx index 7edbc151e7..8707f0f9a9 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/PublishedTo/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/PublishedTo/General.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { typeFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { typeFormat } from '../utils'; const General: FC = ({ sourceName, sourceType, targetName }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/PublishedTo/LinuxAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/PublishedTo/LinuxAbuse.tsx index f6b0a4dcbf..6bd1acd35f 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/PublishedTo/LinuxAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/PublishedTo/LinuxAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/PublishedTo/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/PublishedTo/Opsec.tsx index 7deff3d004..941a836046 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/PublishedTo/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/PublishedTo/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/PublishedTo/PublishedTo.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/PublishedTo/PublishedTo.tsx index bc5581ba5e..a71c0812bd 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/PublishedTo/PublishedTo.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/PublishedTo/PublishedTo.tsx @@ -15,10 +15,10 @@ // SPDX-License-Identifier: Apache-2.0 import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; +import WindowsAbuse from './WindowsAbuse'; const PublishedTo = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/PublishedTo/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/PublishedTo/References.tsx index 032d0ce81a..6181586ad4 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/PublishedTo/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/PublishedTo/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/PublishedTo/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/PublishedTo/WindowsAbuse.tsx index f6b0a4dcbf..6bd1acd35f 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/PublishedTo/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/PublishedTo/WindowsAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ReadGMSAPassword/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ReadGMSAPassword/General.tsx index 7b1b74d4e9..92913cae6d 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ReadGMSAPassword/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ReadGMSAPassword/General.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { typeFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { typeFormat } from '../utils'; const General: FC = ({ sourceName, sourceType, targetName }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ReadGMSAPassword/LinuxAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ReadGMSAPassword/LinuxAbuse.tsx index f66bf1e93c..b76f419e02 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ReadGMSAPassword/LinuxAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ReadGMSAPassword/LinuxAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Link, Typography } from '@mui/material'; +import { FC } from 'react'; const LinuxAbuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ReadGMSAPassword/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ReadGMSAPassword/Opsec.tsx index 70a7193f0f..f0093f203b 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ReadGMSAPassword/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ReadGMSAPassword/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ReadGMSAPassword/ReadGMSAPassword.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ReadGMSAPassword/ReadGMSAPassword.tsx index e0ad8779f3..ad823f2326 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ReadGMSAPassword/ReadGMSAPassword.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ReadGMSAPassword/ReadGMSAPassword.tsx @@ -15,10 +15,10 @@ // SPDX-License-Identifier: Apache-2.0 import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; +import WindowsAbuse from './WindowsAbuse'; const ReadGMSAPassword = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ReadGMSAPassword/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ReadGMSAPassword/References.tsx index 0aa367cec5..6d93c56195 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ReadGMSAPassword/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ReadGMSAPassword/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ReadGMSAPassword/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ReadGMSAPassword/WindowsAbuse.tsx index 1baa4b329c..0194afc855 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ReadGMSAPassword/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ReadGMSAPassword/WindowsAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { List, ListItem, ListItemText, Typography } from '@mui/material'; import { FC } from 'react'; -import { Typography, List, ListItem, ListItemText } from '@mui/material'; const WindowsAbuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ReadLAPSPassword/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ReadLAPSPassword/General.tsx index 9c7db79faa..9b5bcaff1a 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ReadLAPSPassword/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ReadLAPSPassword/General.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { groupSpecialFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { groupSpecialFormat } from '../utils'; const General: FC = ({ sourceName, sourceType, targetName }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ReadLAPSPassword/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ReadLAPSPassword/Opsec.tsx index 944aea81b0..ca757df916 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ReadLAPSPassword/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ReadLAPSPassword/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return Reading properties from LDAP is an extremely low risk operation.; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ReadLAPSPassword/ReadLAPSPassword.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ReadLAPSPassword/ReadLAPSPassword.tsx index 9e38a9918c..458217a375 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ReadLAPSPassword/ReadLAPSPassword.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ReadLAPSPassword/ReadLAPSPassword.tsx @@ -15,10 +15,10 @@ // SPDX-License-Identifier: Apache-2.0 import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; +import WindowsAbuse from './WindowsAbuse'; const ReadLAPSPassword = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ReadLAPSPassword/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ReadLAPSPassword/References.tsx index 9c3b8b29da..987d53d979 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ReadLAPSPassword/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ReadLAPSPassword/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ReadLAPSPassword/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ReadLAPSPassword/WindowsAbuse.tsx index 5f59712188..08f65cbde6 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/ReadLAPSPassword/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/ReadLAPSPassword/WindowsAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Link, Typography } from '@mui/material'; +import { FC } from 'react'; import { EdgeInfoProps } from '../index'; const WindowsAbuse: FC = () => { diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/RootCAFor/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/RootCAFor/General.tsx index 6c0e1fb450..6d08e665c8 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/RootCAFor/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/RootCAFor/General.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { typeFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { typeFormat } from '../utils'; const General: FC = ({ sourceName, sourceType, targetName }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/RootCAFor/LinuxAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/RootCAFor/LinuxAbuse.tsx index 62cf2f063c..cd233e21c6 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/RootCAFor/LinuxAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/RootCAFor/LinuxAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/RootCAFor/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/RootCAFor/Opsec.tsx index dd25e4231b..b5de95b0e5 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/RootCAFor/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/RootCAFor/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/RootCAFor/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/RootCAFor/References.tsx index b73d0e3a11..d3f003e6fe 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/RootCAFor/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/RootCAFor/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/RootCAFor/RootCAFor.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/RootCAFor/RootCAFor.tsx index 04e2258fa2..cb299ebd8a 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/RootCAFor/RootCAFor.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/RootCAFor/RootCAFor.tsx @@ -15,10 +15,10 @@ // SPDX-License-Identifier: Apache-2.0 import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; +import WindowsAbuse from './WindowsAbuse'; const RootCAFor = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/RootCAFor/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/RootCAFor/WindowsAbuse.tsx index 62cf2f063c..cd233e21c6 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/RootCAFor/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/RootCAFor/WindowsAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/SQLAdmin/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/SQLAdmin/Abuse.tsx index 178dc2e5b0..2c5ad264eb 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/SQLAdmin/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/SQLAdmin/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Link, Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/SQLAdmin/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/SQLAdmin/General.tsx index 9b044ebe6b..c763c5e0f8 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/SQLAdmin/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/SQLAdmin/General.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; import { EdgeInfoProps } from '../index'; const General: FC = ({ sourceName, targetName }) => { diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/SQLAdmin/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/SQLAdmin/Opsec.tsx index e5df4f0553..f21ba24521 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/SQLAdmin/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/SQLAdmin/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Link, Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/SQLAdmin/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/SQLAdmin/References.tsx index 91992201ce..8d13114985 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/SQLAdmin/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/SQLAdmin/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/SQLAdmin/SQLAdmin.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/SQLAdmin/SQLAdmin.tsx index 9dfbaf3dda..6db8edf1ea 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/SQLAdmin/SQLAdmin.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/SQLAdmin/SQLAdmin.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncLAPSPassword/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncLAPSPassword/Abuse.tsx index 5fb51367ad..8932272974 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncLAPSPassword/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncLAPSPassword/Abuse.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { groupSpecialFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { groupSpecialFormat } from '../utils'; const Abuse: FC = ({ sourceName, sourceType, targetName }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncLAPSPassword/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncLAPSPassword/General.tsx index 61ba1d3156..fc31c189b3 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncLAPSPassword/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncLAPSPassword/General.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { groupSpecialFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { groupSpecialFormat } from '../utils'; const General: FC = ({ sourceName, sourceType, targetName }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncLAPSPassword/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncLAPSPassword/Opsec.tsx index e09fe857dc..333a41c5e6 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncLAPSPassword/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncLAPSPassword/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncLAPSPassword/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncLAPSPassword/References.tsx index d93a773645..f28233cd92 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncLAPSPassword/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncLAPSPassword/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncLAPSPassword/SyncLAPSPassword.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncLAPSPassword/SyncLAPSPassword.tsx index 07c407797f..e1bd464d73 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncLAPSPassword/SyncLAPSPassword.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncLAPSPassword/SyncLAPSPassword.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncedToADUser/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncedToADUser/General.tsx index 169386ca98..68ea24da7d 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncedToADUser/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncedToADUser/General.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const General: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncedToADUser/LinuxAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncedToADUser/LinuxAbuse.tsx index aa48afe439..0c2f414562 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncedToADUser/LinuxAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncedToADUser/LinuxAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncedToADUser/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncedToADUser/Opsec.tsx index 5669d2454d..82645e27b7 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncedToADUser/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncedToADUser/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncedToADUser/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncedToADUser/References.tsx index 7aa6047dc2..a75764ce07 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncedToADUser/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncedToADUser/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import React, { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { const references = [ diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncedToADUser/SyncedToADUser.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncedToADUser/SyncedToADUser.tsx index 7efc0fad9e..4cf2b686eb 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncedToADUser/SyncedToADUser.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncedToADUser/SyncedToADUser.tsx @@ -15,10 +15,10 @@ // SPDX-License-Identifier: Apache-2.0 import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; +import WindowsAbuse from './WindowsAbuse'; const SyncedToADUser = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncedToADUser/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncedToADUser/WindowsAbuse.tsx index aa48afe439..0c2f414562 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncedToADUser/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncedToADUser/WindowsAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncedToEntraUser/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncedToEntraUser/General.tsx index cd68e8ed39..82b024a273 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncedToEntraUser/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncedToEntraUser/General.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const General: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncedToEntraUser/LinuxAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncedToEntraUser/LinuxAbuse.tsx index 01ac3906a5..3dbe50e7c3 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncedToEntraUser/LinuxAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncedToEntraUser/LinuxAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncedToEntraUser/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncedToEntraUser/Opsec.tsx index 09192679bc..de43da2095 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncedToEntraUser/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncedToEntraUser/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncedToEntraUser/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncedToEntraUser/References.tsx index 61b88a2a21..7045999128 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncedToEntraUser/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncedToEntraUser/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import React, { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { const references = [ diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncedToEntraUser/SyncedToEntraUser.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncedToEntraUser/SyncedToEntraUser.tsx index 48d30e8dbb..90d5996e58 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncedToEntraUser/SyncedToEntraUser.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncedToEntraUser/SyncedToEntraUser.tsx @@ -15,10 +15,10 @@ // SPDX-License-Identifier: Apache-2.0 import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; +import WindowsAbuse from './WindowsAbuse'; const SyncedToEntraUser = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncedToEntraUser/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncedToEntraUser/WindowsAbuse.tsx index 01ac3906a5..3dbe50e7c3 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncedToEntraUser/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/SyncedToEntraUser/WindowsAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/TrustedBy/Abuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/TrustedBy/Abuse.tsx index 29df01c0d6..25a61db715 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/TrustedBy/Abuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/TrustedBy/Abuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return There is no abuse associated with this edge.; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/TrustedBy/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/TrustedBy/General.tsx index 163020161d..bebbc07924 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/TrustedBy/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/TrustedBy/General.tsx @@ -14,9 +14,9 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; const General: FC = ({ sourceName, targetName }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/TrustedBy/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/TrustedBy/Opsec.tsx index 40a8a83aa2..c0a6cbc700 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/TrustedBy/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/TrustedBy/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return There is no opsec associated with this edge; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/TrustedBy/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/TrustedBy/References.tsx index 840f23d80f..ad8db4bad5 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/TrustedBy/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/TrustedBy/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const References: FC = () => { return No Information Available; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/TrustedBy/TrustedBy.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/TrustedBy/TrustedBy.tsx index 623d6f945a..dd37232174 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/TrustedBy/TrustedBy.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/TrustedBy/TrustedBy.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import General from './General'; import Abuse from './Abuse'; +import General from './General'; import Opsec from './Opsec'; import References from './References'; diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/TrustedForNTAuth/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/TrustedForNTAuth/General.tsx index bdb8958804..aeb41f21a6 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/TrustedForNTAuth/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/TrustedForNTAuth/General.tsx @@ -14,9 +14,9 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; const General: FC = ({ sourceName }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/TrustedForNTAuth/LinuxAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/TrustedForNTAuth/LinuxAbuse.tsx index 57392a5499..024606db90 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/TrustedForNTAuth/LinuxAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/TrustedForNTAuth/LinuxAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/TrustedForNTAuth/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/TrustedForNTAuth/Opsec.tsx index dd25e4231b..b5de95b0e5 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/TrustedForNTAuth/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/TrustedForNTAuth/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/TrustedForNTAuth/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/TrustedForNTAuth/References.tsx index 4c3fc74e4e..05fdfefea5 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/TrustedForNTAuth/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/TrustedForNTAuth/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/TrustedForNTAuth/TrustedForNTAuth.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/TrustedForNTAuth/TrustedForNTAuth.tsx index 9197d571f3..37b963a25c 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/TrustedForNTAuth/TrustedForNTAuth.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/TrustedForNTAuth/TrustedForNTAuth.tsx @@ -15,10 +15,10 @@ // SPDX-License-Identifier: Apache-2.0 import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; +import WindowsAbuse from './WindowsAbuse'; const TrustedForNTAuth = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/TrustedForNTAuth/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/TrustedForNTAuth/WindowsAbuse.tsx index 57392a5499..024606db90 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/TrustedForNTAuth/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/TrustedForNTAuth/WindowsAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteAccountRestrictions/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteAccountRestrictions/General.tsx index 85a455d571..725b3eb457 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteAccountRestrictions/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteAccountRestrictions/General.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { groupSpecialFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { groupSpecialFormat } from '../utils'; const General: FC = ({ sourceName, sourceType, targetName }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteAccountRestrictions/LinuxAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteAccountRestrictions/LinuxAbuse.tsx index 8807b16b1d..11d2b83d21 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteAccountRestrictions/LinuxAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteAccountRestrictions/LinuxAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const LinuxAbuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteAccountRestrictions/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteAccountRestrictions/Opsec.tsx index dae4478af0..f771784aa0 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteAccountRestrictions/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteAccountRestrictions/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteAccountRestrictions/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteAccountRestrictions/References.tsx index c70b15ca74..8020ee9519 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteAccountRestrictions/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteAccountRestrictions/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteAccountRestrictions/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteAccountRestrictions/WindowsAbuse.tsx index 409676d1aa..5b9623ab1b 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteAccountRestrictions/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteAccountRestrictions/WindowsAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const WindowsAbuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteAccountRestrictions/WriteAccountRestrictions.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteAccountRestrictions/WriteAccountRestrictions.tsx index eb5c263c98..36c010a70b 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteAccountRestrictions/WriteAccountRestrictions.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteAccountRestrictions/WriteAccountRestrictions.tsx @@ -15,10 +15,10 @@ // SPDX-License-Identifier: Apache-2.0 import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; +import WindowsAbuse from './WindowsAbuse'; const WriteAccountRestrictions = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteDacl/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteDacl/General.tsx index cc68280ce2..3a93191dae 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteDacl/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteDacl/General.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { groupSpecialFormat, typeFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { groupSpecialFormat, typeFormat } from '../utils'; const General: FC = ({ sourceName, sourceType, targetName, targetType }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteDacl/LinuxAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteDacl/LinuxAbuse.tsx index 2b29680425..ed2792ff0a 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteDacl/LinuxAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteDacl/LinuxAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Link, Typography } from '@mui/material'; +import { FC } from 'react'; import { EdgeInfoProps } from '../index'; const LinuxAbuse: FC = ({ diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteDacl/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteDacl/Opsec.tsx index 78d345d1e7..836a2ca045 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteDacl/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteDacl/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteDacl/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteDacl/References.tsx index 9f386d67c6..b517d2ea87 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteDacl/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteDacl/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteDacl/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteDacl/WindowsAbuse.tsx index 7880ad1395..4c82c68abb 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteDacl/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteDacl/WindowsAbuse.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Link, Typography } from '@mui/material'; -import { EdgeInfoProps } from '../index'; +import { FC } from 'react'; import CodeController from '../CodeController/CodeController'; +import { EdgeInfoProps } from '../index'; const WindowsAbuse: FC = ({ sourceName, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteDacl/WriteDacl.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteDacl/WriteDacl.tsx index c9d69f4745..5688fab474 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteDacl/WriteDacl.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteDacl/WriteDacl.tsx @@ -15,10 +15,10 @@ // SPDX-License-Identifier: Apache-2.0 import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; +import WindowsAbuse from './WindowsAbuse'; const WriteDacl = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteGPLink/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteGPLink/General.tsx index 4573188cf9..d721ea5b30 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteGPLink/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteGPLink/General.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { groupSpecialFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { groupSpecialFormat } from '../utils'; const General: FC = ({ sourceName, sourceType, targetType, targetName }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteGPLink/LinuxAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteGPLink/LinuxAbuse.tsx index 7e8cd14243..a9ff7aa7dc 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteGPLink/LinuxAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteGPLink/LinuxAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Link, Typography } from '@mui/material'; +import { FC } from 'react'; const LinuxAbuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteGPLink/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteGPLink/Opsec.tsx index d6ad61bec0..c47c77e211 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteGPLink/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteGPLink/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteGPLink/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteGPLink/References.tsx index 4034040c63..2ff4bde93c 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteGPLink/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteGPLink/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteGPLink/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteGPLink/WindowsAbuse.tsx index 1738a1e862..4d00581d1a 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteGPLink/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteGPLink/WindowsAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Link, Typography } from '@mui/material'; +import { FC } from 'react'; const WindowsAbuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteGPLink/WriteGPLink.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteGPLink/WriteGPLink.tsx index e6081de4e4..9afdf8db92 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteGPLink/WriteGPLink.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteGPLink/WriteGPLink.tsx @@ -15,10 +15,10 @@ // SPDX-License-Identifier: Apache-2.0 import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; +import WindowsAbuse from './WindowsAbuse'; const WriteGPLink = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteOwner/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteOwner/General.tsx index 064900ff47..ac560a5632 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteOwner/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteOwner/General.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { groupSpecialFormat, typeFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { groupSpecialFormat, typeFormat } from '../utils'; const General: FC = ({ sourceName, sourceType, targetName, targetType }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteOwner/LinuxAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteOwner/LinuxAbuse.tsx index fc819c339f..070ed1870f 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteOwner/LinuxAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteOwner/LinuxAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Link, Typography } from '@mui/material'; +import { FC } from 'react'; import { EdgeInfoProps } from '../index'; const LinuxAbuse: FC = ({ sourceName, targetName, targetType, haslaps }) => { diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteOwner/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteOwner/Opsec.tsx index 423ecd1256..e8fafca45d 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteOwner/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteOwner/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteOwner/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteOwner/References.tsx index f4b0138634..ba0afb9fbc 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteOwner/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteOwner/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteOwner/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteOwner/WindowsAbuse.tsx index ed99c93d67..0ab691de2a 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteOwner/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteOwner/WindowsAbuse.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Link, Typography } from '@mui/material'; -import { EdgeInfoProps } from '../index'; +import { FC } from 'react'; import CodeController from '../CodeController/CodeController'; +import { EdgeInfoProps } from '../index'; const WindowsAbuse: FC = ({ sourceName, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteOwner/WriteOwner.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteOwner/WriteOwner.tsx index f6ce84c5dd..1a0b475725 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteOwner/WriteOwner.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteOwner/WriteOwner.tsx @@ -15,10 +15,10 @@ // SPDX-License-Identifier: Apache-2.0 import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; +import WindowsAbuse from './WindowsAbuse'; const WriteOwner = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WritePKIEnrollmentFlag/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WritePKIEnrollmentFlag/General.tsx index 672a568b49..a9576fd8eb 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WritePKIEnrollmentFlag/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WritePKIEnrollmentFlag/General.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { groupSpecialFormat, typeFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { groupSpecialFormat, typeFormat } from '../utils'; const General: FC = ({ sourceName, sourceType, targetName, targetType }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WritePKIEnrollmentFlag/LinuxAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WritePKIEnrollmentFlag/LinuxAbuse.tsx index 3dc060582a..30caa8d2ce 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WritePKIEnrollmentFlag/LinuxAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WritePKIEnrollmentFlag/LinuxAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WritePKIEnrollmentFlag/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WritePKIEnrollmentFlag/Opsec.tsx index dd25e4231b..b5de95b0e5 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WritePKIEnrollmentFlag/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WritePKIEnrollmentFlag/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WritePKIEnrollmentFlag/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WritePKIEnrollmentFlag/References.tsx index 181931767f..930b63bd7f 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WritePKIEnrollmentFlag/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WritePKIEnrollmentFlag/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WritePKIEnrollmentFlag/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WritePKIEnrollmentFlag/WindowsAbuse.tsx index 3dc060582a..30caa8d2ce 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WritePKIEnrollmentFlag/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WritePKIEnrollmentFlag/WindowsAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WritePKIEnrollmentFlag/WritePKIEnrollmentFlag.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WritePKIEnrollmentFlag/WritePKIEnrollmentFlag.tsx index 02b0f42fc0..1e633ffa40 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WritePKIEnrollmentFlag/WritePKIEnrollmentFlag.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WritePKIEnrollmentFlag/WritePKIEnrollmentFlag.tsx @@ -15,10 +15,10 @@ // SPDX-License-Identifier: Apache-2.0 import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; +import WindowsAbuse from './WindowsAbuse'; const WritePKIEnrollmentFlag = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WritePKINameFlag/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WritePKINameFlag/General.tsx index dac0bc4401..ff8f36db83 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WritePKINameFlag/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WritePKINameFlag/General.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { groupSpecialFormat, typeFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { groupSpecialFormat, typeFormat } from '../utils'; const General: FC = ({ sourceName, sourceType, targetName, targetType }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WritePKINameFlag/LinuxAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WritePKINameFlag/LinuxAbuse.tsx index 3dc060582a..30caa8d2ce 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WritePKINameFlag/LinuxAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WritePKINameFlag/LinuxAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WritePKINameFlag/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WritePKINameFlag/Opsec.tsx index dd25e4231b..b5de95b0e5 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WritePKINameFlag/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WritePKINameFlag/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WritePKINameFlag/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WritePKINameFlag/References.tsx index ed1335ba55..fdc4f0350e 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WritePKINameFlag/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WritePKINameFlag/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WritePKINameFlag/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WritePKINameFlag/WindowsAbuse.tsx index 3dc060582a..30caa8d2ce 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WritePKINameFlag/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WritePKINameFlag/WindowsAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Abuse: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WritePKINameFlag/WritePKINameFlag.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WritePKINameFlag/WritePKINameFlag.tsx index d2a21fe5d8..29bbf48019 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WritePKINameFlag/WritePKINameFlag.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WritePKINameFlag/WritePKINameFlag.tsx @@ -15,10 +15,10 @@ // SPDX-License-Identifier: Apache-2.0 import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; +import WindowsAbuse from './WindowsAbuse'; const WritePKINameFlag = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteSPN/General.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteSPN/General.tsx index de2b795926..8b47c741b0 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteSPN/General.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteSPN/General.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Typography } from '@mui/material'; import { FC } from 'react'; -import { groupSpecialFormat, typeFormat } from '../utils'; import { EdgeInfoProps } from '../index'; -import { Typography } from '@mui/material'; +import { groupSpecialFormat, typeFormat } from '../utils'; const General: FC = ({ sourceName, sourceType, targetName, targetType }) => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteSPN/Opsec.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteSPN/Opsec.tsx index 0b12ea9816..7dabfdd194 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteSPN/Opsec.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteSPN/Opsec.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; const Opsec: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteSPN/References.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteSPN/References.tsx index 50eafc60d8..216e2c4359 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteSPN/References.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteSPN/References.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 +import { Box, Link } from '@mui/material'; import { FC } from 'react'; -import { Link, Box } from '@mui/material'; const References: FC = () => { return ( diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteSPN/WindowsAbuse.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteSPN/WindowsAbuse.tsx index 01654988de..dadb06732f 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteSPN/WindowsAbuse.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteSPN/WindowsAbuse.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Typography } from '@mui/material'; +import { FC } from 'react'; import { EdgeInfoProps } from '../index'; const WindowsAbuse: FC = ({ sourceName, sourceType }) => { diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteSPN/WriteSPN.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteSPN/WriteSPN.tsx index 407a0645d5..a66d4258b9 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteSPN/WriteSPN.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/WriteSPN/WriteSPN.tsx @@ -15,10 +15,10 @@ // SPDX-License-Identifier: Apache-2.0 import General from './General'; -import WindowsAbuse from './WindowsAbuse'; import LinuxAbuse from './LinuxAbuse'; import Opsec from './Opsec'; import References from './References'; +import WindowsAbuse from './WindowsAbuse'; const WriteSPN = { general: General, diff --git a/packages/javascript/bh-shared-ui/src/components/HelpTexts/index.tsx b/packages/javascript/bh-shared-ui/src/components/HelpTexts/index.tsx index 852f302629..311d8a6ab9 100644 --- a/packages/javascript/bh-shared-ui/src/components/HelpTexts/index.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HelpTexts/index.tsx @@ -14,6 +14,16 @@ // // SPDX-License-Identifier: Apache-2.0 +import ADCSESC1 from './ADCSESC1/ADCSESC1'; +import ADCSESC10a from './ADCSESC10a/ADCSESC10a'; +import ADCSESC10b from './ADCSESC10b/ADCSESC10b'; +import ADCSESC13 from './ADCSESC13/ADCSESC13'; +import ADCSESC3 from './ADCSESC3/ADCSESC3'; +import ADCSESC4 from './ADCSESC4/ADCSESC4'; +import ADCSESC6a from './ADCSESC6a/ADCSESC6a'; +import ADCSESC6b from './ADCSESC6b/ADCSESC6b'; +import ADCSESC9a from './ADCSESC9a/ADCSESC9a'; +import ADCSESC9b from './ADCSESC9b/ADCSESC9b'; import AZAKSContributor from './AZAKSContributor/AZAKSContributor'; import AZAddMembers from './AZAddMembers/AZAddMembers'; import AZAddOwner from './AZAddOwner/AZAddOwner'; @@ -66,10 +76,11 @@ import AllowedToAct from './AllowedToAct/AllowedToAct'; import AllowedToDelegate from './AllowedToDelegate/AllowedToDelegate'; import CanPSRemote from './CanPSRemote/CanPSRemote'; import CanRDP from './CanRDP/CanRDP'; +import CoerceAndRelayNTLMToSMB from './CoerceAndRelayNTLMToSMB/CoerceAndRelayNTLMToSMB'; import CoerceToTGT from './CoerceToTGT/CoerceToTGT'; import Contains from './Contains/Contains'; -import DCSync from './DCSync/DCSync'; import DCFor from './DCFor/DCFor'; +import DCSync from './DCSync/DCSync'; import DelegatedEnrollmentAgent from './DelegatedEnrollmentAgent/DelegatedEnrollmentAgent'; import DumpSMSAPassword from './DumpSMSAPassword/DumpSMSAPassword'; import Enroll from './Enroll/Enroll'; @@ -99,29 +110,18 @@ import ReadGMSAPassword from './ReadGMSAPassword/ReadGMSAPassword'; import ReadLAPSPassword from './ReadLAPSPassword/ReadLAPSPassword'; import RootCAFor from './RootCAFor/RootCAFor'; import SQLAdmin from './SQLAdmin/SQLAdmin'; +import SyncLAPSPassword from './SyncLAPSPassword/SyncLAPSPassword'; import SyncedToADUser from './SyncedToADUser/SyncedToADUser'; import SyncedToEntraUser from './SyncedToEntraUser/SyncedToEntraUser'; -import SyncLAPSPassword from './SyncLAPSPassword/SyncLAPSPassword'; import TrustedBy from './TrustedBy/TrustedBy'; import TrustedForNTAuth from './TrustedForNTAuth/TrustedForNTAuth'; import WriteAccountRestrictions from './WriteAccountRestrictions/WriteAccountRestrictions'; -import WriteGPLink from './WriteGPLink/WriteGPLink'; import WriteDacl from './WriteDacl/WriteDacl'; +import WriteGPLink from './WriteGPLink/WriteGPLink'; import WriteOwner from './WriteOwner/WriteOwner'; import WritePKIEnrollmentFlag from './WritePKIEnrollmentFlag/WritePKIEnrollmentFlag'; import WritePKINameFlag from './WritePKINameFlag/WritePKINameFlag'; import WriteSPN from './WriteSPN/WriteSPN'; -import ADCSESC1 from './ADCSESC1/ADCSESC1'; -import ADCSESC3 from './ADCSESC3/ADCSESC3'; -import ADCSESC4 from './ADCSESC4/ADCSESC4'; -import ADCSESC6a from './ADCSESC6a/ADCSESC6a'; -import ADCSESC6b from './ADCSESC6b/ADCSESC6b'; -import ADCSESC9a from './ADCSESC9a/ADCSESC9a'; -import ADCSESC9b from './ADCSESC9b/ADCSESC9b'; -import ADCSESC10a from './ADCSESC10a/ADCSESC10a'; -import ADCSESC10b from './ADCSESC10b/ADCSESC10b'; -import ADCSESC13 from './ADCSESC13/ADCSESC13'; -import CoerceAndRelayNTLMToSMB from './CoerceAndRelayNTLMToSMB/CoerceAndRelayNTLMToSMB'; export type EdgeInfoProps = { edgeName?: string; diff --git a/packages/javascript/bh-shared-ui/src/components/HighlightedText/HighlightedText.test.tsx b/packages/javascript/bh-shared-ui/src/components/HighlightedText/HighlightedText.test.tsx index ba3a15dd48..bb19c88b06 100644 --- a/packages/javascript/bh-shared-ui/src/components/HighlightedText/HighlightedText.test.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HighlightedText/HighlightedText.test.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { render, screen } from '../../test-utils'; import HighlightedText from '.'; +import { render, screen } from '../../test-utils'; describe('HighlightedText', () => { it('should render when search string is at the beginning of the text', () => { diff --git a/packages/javascript/bh-shared-ui/src/components/HighlightedText/HighlightedText.tsx b/packages/javascript/bh-shared-ui/src/components/HighlightedText/HighlightedText.tsx index 08d3a11a6a..f9ab69a197 100644 --- a/packages/javascript/bh-shared-ui/src/components/HighlightedText/HighlightedText.tsx +++ b/packages/javascript/bh-shared-ui/src/components/HighlightedText/HighlightedText.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import React from 'react'; import { Typography } from '@mui/material'; +import React from 'react'; const escapeSpecialCharacters = (text: string) => text.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, '\\$&'); diff --git a/packages/javascript/bh-shared-ui/src/components/InfiniteScrollingTable/InfiniteScrollingTable.tsx b/packages/javascript/bh-shared-ui/src/components/InfiniteScrollingTable/InfiniteScrollingTable.tsx index 1ff1bf2fc1..f9187da005 100644 --- a/packages/javascript/bh-shared-ui/src/components/InfiniteScrollingTable/InfiniteScrollingTable.tsx +++ b/packages/javascript/bh-shared-ui/src/components/InfiniteScrollingTable/InfiniteScrollingTable.tsx @@ -14,13 +14,13 @@ // // SPDX-License-Identifier: Apache-2.0 -import { List, ListItem, Tooltip, Skeleton } from '@mui/material'; +import { List, ListItem, Skeleton, Tooltip } from '@mui/material'; +import makeStyles from '@mui/styles/makeStyles'; import memoize from 'memoize-one'; import React, { memo, useState } from 'react'; -import { areEqual, FixedSizeList, ListChildComponentProps } from 'react-window'; +import { FixedSizeList, ListChildComponentProps, areEqual } from 'react-window'; import InfiniteLoader from 'react-window-infinite-loader'; import NodeIcon from '../NodeIcon'; -import makeStyles from '@mui/styles/makeStyles'; const ITEM_SIZE = 32; diff --git a/packages/javascript/bh-shared-ui/src/components/LabelWithCopy.tsx b/packages/javascript/bh-shared-ui/src/components/LabelWithCopy.tsx index 3047715ad5..0423eae16b 100644 --- a/packages/javascript/bh-shared-ui/src/components/LabelWithCopy.tsx +++ b/packages/javascript/bh-shared-ui/src/components/LabelWithCopy.tsx @@ -14,9 +14,9 @@ // // SPDX-License-Identifier: Apache-2.0 -import { Box, IconButton, Tooltip, useTheme } from '@mui/material'; import { faCopy } from '@fortawesome/free-solid-svg-icons'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; +import { Box, IconButton, Tooltip, useTheme } from '@mui/material'; import { FC, useState } from 'react'; import { copyToClipboard } from '../utils'; diff --git a/packages/javascript/bh-shared-ui/src/components/LoginViaSSOForm/LoginViaSSOForm.test.tsx b/packages/javascript/bh-shared-ui/src/components/LoginViaSSOForm/LoginViaSSOForm.test.tsx index 1afcc9f651..75d1f99b88 100644 --- a/packages/javascript/bh-shared-ui/src/components/LoginViaSSOForm/LoginViaSSOForm.test.tsx +++ b/packages/javascript/bh-shared-ui/src/components/LoginViaSSOForm/LoginViaSSOForm.test.tsx @@ -15,9 +15,9 @@ // SPDX-License-Identifier: Apache-2.0 import userEvent from '@testing-library/user-event'; +import { OIDCProviderInfo, SAMLProviderInfo, SSOProvider, SSOProviderConfiguration } from 'js-client-library'; import { act, render, screen } from '../../test-utils'; import LoginViaSSOForm from './LoginViaSSOForm'; -import { OIDCProviderInfo, SAMLProviderInfo, SSOProvider, SSOProviderConfiguration } from 'js-client-library'; const testSSOProviders: SSOProvider[] = [ { diff --git a/packages/javascript/bh-shared-ui/src/components/LoginViaSSOForm/LoginViaSSOForm.tsx b/packages/javascript/bh-shared-ui/src/components/LoginViaSSOForm/LoginViaSSOForm.tsx index 3027ad35cf..14b50bcdd6 100644 --- a/packages/javascript/bh-shared-ui/src/components/LoginViaSSOForm/LoginViaSSOForm.tsx +++ b/packages/javascript/bh-shared-ui/src/components/LoginViaSSOForm/LoginViaSSOForm.tsx @@ -16,8 +16,8 @@ import { Button } from '@bloodhoundenterprise/doodleui'; import { Box, FormControl, Grid, InputLabel, MenuItem, Select } from '@mui/material'; -import React from 'react'; import { SSOProvider } from 'js-client-library'; +import React from 'react'; interface LoginViaSSOFormProps { providers: SSOProvider[] | undefined; diff --git a/packages/javascript/bh-shared-ui/src/components/NoDataAlert/NoDataAlert.test.tsx b/packages/javascript/bh-shared-ui/src/components/NoDataAlert/NoDataAlert.test.tsx index fa04cec559..c5d72e38d0 100644 --- a/packages/javascript/bh-shared-ui/src/components/NoDataAlert/NoDataAlert.test.tsx +++ b/packages/javascript/bh-shared-ui/src/components/NoDataAlert/NoDataAlert.test.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { render, screen } from '../../test-utils'; import NoDataAlert from '.'; +import { render, screen } from '../../test-utils'; const dataCollectionLinkText = 'data collection'; const fileIngestLinkText = 'file ingest'; diff --git a/packages/javascript/bh-shared-ui/src/components/NoDataDialog/NoDataDialog.test.tsx b/packages/javascript/bh-shared-ui/src/components/NoDataDialog/NoDataDialog.test.tsx index b9526d90e8..d039a8261a 100644 --- a/packages/javascript/bh-shared-ui/src/components/NoDataDialog/NoDataDialog.test.tsx +++ b/packages/javascript/bh-shared-ui/src/components/NoDataDialog/NoDataDialog.test.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { render, screen } from '../../test-utils'; import NoDataDialog from '.'; +import { render, screen } from '../../test-utils'; const gettingStartedLinkText = 'Getting Started guide'; const fileIngestLinkText = 'start by uploading your data'; diff --git a/packages/javascript/bh-shared-ui/src/components/NodeIcon/NodeIcon.tsx b/packages/javascript/bh-shared-ui/src/components/NodeIcon/NodeIcon.tsx index 6c5390cdf3..0bb734cb04 100644 --- a/packages/javascript/bh-shared-ui/src/components/NodeIcon/NodeIcon.tsx +++ b/packages/javascript/bh-shared-ui/src/components/NodeIcon/NodeIcon.tsx @@ -19,8 +19,8 @@ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { Box, Tooltip } from '@mui/material'; import { Theme } from '@mui/material/styles'; import makeStyles from '@mui/styles/makeStyles'; -import { NODE_ICON } from '../../utils/icons'; import { EntityKinds } from '../..'; +import { NODE_ICON } from '../../utils/icons'; interface NodeIconProps { nodeType: EntityKinds | string; diff --git a/packages/javascript/bh-shared-ui/src/components/PageWithTitle.tsx b/packages/javascript/bh-shared-ui/src/components/PageWithTitle.tsx index 8189f55ae3..eed53f53d6 100644 --- a/packages/javascript/bh-shared-ui/src/components/PageWithTitle.tsx +++ b/packages/javascript/bh-shared-ui/src/components/PageWithTitle.tsx @@ -14,7 +14,7 @@ // // SPDX-License-Identifier: Apache-2.0 -import { Box, Container, Typography, ContainerProps } from '@mui/material'; +import { Box, Container, ContainerProps, Typography } from '@mui/material'; import React from 'react'; type PageWithTitleProps = ContainerProps< diff --git a/packages/javascript/bh-shared-ui/src/components/PasswordDialog/PasswordDialog.test.tsx b/packages/javascript/bh-shared-ui/src/components/PasswordDialog/PasswordDialog.test.tsx index ee6836b956..cd9c46ec31 100644 --- a/packages/javascript/bh-shared-ui/src/components/PasswordDialog/PasswordDialog.test.tsx +++ b/packages/javascript/bh-shared-ui/src/components/PasswordDialog/PasswordDialog.test.tsx @@ -15,9 +15,9 @@ // SPDX-License-Identifier: Apache-2.0 import userEvent from '@testing-library/user-event'; -import PasswordDialog from './PasswordDialog'; -import { render, screen, waitFor } from '../../test-utils'; import { PASSWD_REQS } from '../..'; +import { render, screen, waitFor } from '../../test-utils'; +import PasswordDialog from './PasswordDialog'; const testCurrentPassword = 'aA1!aaaaaaaa'; const testValidPassword = 'bB1!bbbbbbbb'; diff --git a/packages/javascript/bh-shared-ui/src/components/PasswordDialog/PasswordDialog.tsx b/packages/javascript/bh-shared-ui/src/components/PasswordDialog/PasswordDialog.tsx index bae8b1961c..3dc3c6b2b3 100644 --- a/packages/javascript/bh-shared-ui/src/components/PasswordDialog/PasswordDialog.tsx +++ b/packages/javascript/bh-shared-ui/src/components/PasswordDialog/PasswordDialog.tsx @@ -15,12 +15,22 @@ // SPDX-License-Identifier: Apache-2.0 import { Button } from '@bloodhoundenterprise/doodleui'; -import { Alert, AlertTitle, Checkbox, Dialog, DialogTitle, FormControlLabel, Grid, TextField } from '@mui/material'; -import { DialogActions, DialogContent } from '@mui/material'; +import { + Alert, + AlertTitle, + Checkbox, + Dialog, + DialogActions, + DialogContent, + DialogTitle, + FormControlLabel, + Grid, + TextField, +} from '@mui/material'; +import { PutUserAuthSecretRequest } from 'js-client-library'; import React, { useCallback } from 'react'; import { Controller, useForm } from 'react-hook-form'; import { PASSWD_REQS, passwordRegex } from '../../utils'; -import { PutUserAuthSecretRequest } from 'js-client-library'; const passwdReqsList = PASSWD_REQS.map((req, i) =>
  • {req}
  • ); diff --git a/packages/javascript/bh-shared-ui/src/components/PasswordResetForm/PasswordResetForm.tsx b/packages/javascript/bh-shared-ui/src/components/PasswordResetForm/PasswordResetForm.tsx index fef74c5186..36a8bb897e 100644 --- a/packages/javascript/bh-shared-ui/src/components/PasswordResetForm/PasswordResetForm.tsx +++ b/packages/javascript/bh-shared-ui/src/components/PasswordResetForm/PasswordResetForm.tsx @@ -16,9 +16,9 @@ import { Button } from '@bloodhoundenterprise/doodleui'; import { Alert, AlertTitle, Box, Grid, TextField } from '@mui/material'; +import { PutUserAuthSecretRequest } from 'js-client-library'; import React, { useState } from 'react'; import { PASSWD_REQS, testPassword } from '../../utils'; -import { PutUserAuthSecretRequest } from 'js-client-library'; interface PasswordResetFormProps { onSubmit: (payload: PutUserAuthSecretRequest) => void; diff --git a/packages/javascript/bh-shared-ui/src/components/PrebuiltSearchList/PersonalSearchList.tsx b/packages/javascript/bh-shared-ui/src/components/PrebuiltSearchList/PersonalSearchList.tsx index 06b73de2d2..69d18689db 100644 --- a/packages/javascript/bh-shared-ui/src/components/PrebuiltSearchList/PersonalSearchList.tsx +++ b/packages/javascript/bh-shared-ui/src/components/PrebuiltSearchList/PersonalSearchList.tsx @@ -16,9 +16,9 @@ import { Box, Skeleton, Typography } from '@mui/material'; import { FC } from 'react'; +import { useDeleteSavedQuery, useSavedQueries } from '../../hooks/useSavedQueries'; import { useNotifications } from '../../providers'; import PrebuiltSearchList, { LineItem } from './PrebuiltSearchList'; -import { useDeleteSavedQuery, useSavedQueries } from '../../hooks/useSavedQueries'; // `PersonalSearchList` is a more specific implementation of `PrebuiltSearchList`. It includes // additional fetching logic to fetch and delete queries saved by the user diff --git a/packages/javascript/bh-shared-ui/src/components/PrebuiltSearchList/PrebuiltSearchList.test.tsx b/packages/javascript/bh-shared-ui/src/components/PrebuiltSearchList/PrebuiltSearchList.test.tsx index d6b718268f..f62ff417c1 100644 --- a/packages/javascript/bh-shared-ui/src/components/PrebuiltSearchList/PrebuiltSearchList.test.tsx +++ b/packages/javascript/bh-shared-ui/src/components/PrebuiltSearchList/PrebuiltSearchList.test.tsx @@ -14,9 +14,9 @@ // // SPDX-License-Identifier: Apache-2.0 -import PrebuiltSearchList from '../PrebuiltSearchList'; -import { screen, render } from '../../test-utils'; import userEvent from '@testing-library/user-event'; +import { render, screen } from '../../test-utils'; +import PrebuiltSearchList from '../PrebuiltSearchList'; describe('PrebuiltSearchList', () => { it('renders a list of pre-built searches', () => { diff --git a/packages/javascript/bh-shared-ui/src/components/PrebuiltSearchList/PrebuiltSearchList.tsx b/packages/javascript/bh-shared-ui/src/components/PrebuiltSearchList/PrebuiltSearchList.tsx index 367c30bda8..1f1e188f25 100644 --- a/packages/javascript/bh-shared-ui/src/components/PrebuiltSearchList/PrebuiltSearchList.tsx +++ b/packages/javascript/bh-shared-ui/src/components/PrebuiltSearchList/PrebuiltSearchList.tsx @@ -30,8 +30,8 @@ import { ListItemText, ListSubheader, } from '@mui/material'; -import { FC, useState } from 'react'; import makeStyles from '@mui/styles/makeStyles'; +import { FC, useState } from 'react'; interface PrebuiltSearchListProps { listSections: ListSection[]; diff --git a/packages/javascript/bh-shared-ui/src/components/PrebuiltSearchList/index.ts b/packages/javascript/bh-shared-ui/src/components/PrebuiltSearchList/index.ts index db51f96ff9..09bd76730c 100644 --- a/packages/javascript/bh-shared-ui/src/components/PrebuiltSearchList/index.ts +++ b/packages/javascript/bh-shared-ui/src/components/PrebuiltSearchList/index.ts @@ -14,7 +14,7 @@ // // SPDX-License-Identifier: Apache-2.0 -export * from './PrebuiltSearchList'; export * from './PersonalSearchList'; +export * from './PrebuiltSearchList'; export { default } from './PrebuiltSearchList'; diff --git a/packages/javascript/bh-shared-ui/src/components/SSOProviderInfoPanel/SSOProviderInfoPanel.tsx b/packages/javascript/bh-shared-ui/src/components/SSOProviderInfoPanel/SSOProviderInfoPanel.tsx index 08da9b91d5..aa86dcf32d 100644 --- a/packages/javascript/bh-shared-ui/src/components/SSOProviderInfoPanel/SSOProviderInfoPanel.tsx +++ b/packages/javascript/bh-shared-ui/src/components/SSOProviderInfoPanel/SSOProviderInfoPanel.tsx @@ -14,15 +14,15 @@ // // SPDX-License-Identifier: Apache-2.0 -import { Paper, Box, Typography, useTheme } from '@mui/material'; -import { FC, useMemo } from 'react'; -import fileDownload from 'js-file-download'; -import { OIDCProviderInfo, SAMLProviderInfo, SSOProvider, Role } from 'js-client-library'; import { Button, Label } from '@bloodhoundenterprise/doodleui'; -import { Field, FieldsContainer, usePaneStyles, useHeaderStyles } from '../../views/Explore'; -import LabelWithCopy from '../LabelWithCopy'; -import { apiClient } from '../../utils'; +import { Box, Paper, Typography, useTheme } from '@mui/material'; +import { OIDCProviderInfo, Role, SAMLProviderInfo, SSOProvider } from 'js-client-library'; +import fileDownload from 'js-file-download'; +import { FC, useMemo } from 'react'; import { useNotifications } from '../../providers'; +import { apiClient } from '../../utils'; +import { Field, FieldsContainer, useHeaderStyles, usePaneStyles } from '../../views/Explore'; +import LabelWithCopy from '../LabelWithCopy'; const SAMLProviderInfoPanel: FC<{ samlProviderDetails: SAMLProviderInfo; diff --git a/packages/javascript/bh-shared-ui/src/components/SearchCurrentNodes/SearchCurrentNodes.tsx b/packages/javascript/bh-shared-ui/src/components/SearchCurrentNodes/SearchCurrentNodes.tsx index d31de5d832..097aecb0d6 100644 --- a/packages/javascript/bh-shared-ui/src/components/SearchCurrentNodes/SearchCurrentNodes.tsx +++ b/packages/javascript/bh-shared-ui/src/components/SearchCurrentNodes/SearchCurrentNodes.tsx @@ -17,10 +17,10 @@ import { Box, List, ListItem, Paper, SxProps, TextField } from '@mui/material'; import { useCombobox } from 'downshift'; import { FC, useEffect, useRef, useState } from 'react'; +import { FixedSizeList } from 'react-window'; +import { useOnClickOutside } from '../../hooks'; import SearchResultItem from '../SearchResultItem'; import { FlatNode, GraphNodes } from './types'; -import { useOnClickOutside } from '../../hooks'; -import { FixedSizeList } from 'react-window'; export const PLACEHOLDER_TEXT = 'Search Current Results'; export const NO_RESULTS_TEXT = 'No result found in current results'; diff --git a/packages/javascript/bh-shared-ui/src/components/SearchResultItem/SearchResultItem.tsx b/packages/javascript/bh-shared-ui/src/components/SearchResultItem/SearchResultItem.tsx index 3035901574..7ddd7eac5a 100644 --- a/packages/javascript/bh-shared-ui/src/components/SearchResultItem/SearchResultItem.tsx +++ b/packages/javascript/bh-shared-ui/src/components/SearchResultItem/SearchResultItem.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { FC } from 'react'; import { Box, ListItem, ListItemText } from '@mui/material'; +import { FC } from 'react'; import HighlightedText from '../HighlightedText'; import NodeIcon from '../NodeIcon'; diff --git a/packages/javascript/bh-shared-ui/src/components/UpdateUserDialog/UpdateUserDialog.test.tsx b/packages/javascript/bh-shared-ui/src/components/UpdateUserDialog/UpdateUserDialog.test.tsx index 0cd0fbef37..9d31dc7094 100644 --- a/packages/javascript/bh-shared-ui/src/components/UpdateUserDialog/UpdateUserDialog.test.tsx +++ b/packages/javascript/bh-shared-ui/src/components/UpdateUserDialog/UpdateUserDialog.test.tsx @@ -15,11 +15,11 @@ // SPDX-License-Identifier: Apache-2.0 import userEvent from '@testing-library/user-event'; +import { ListSSOProvidersResponse, SAMLProviderInfo, SSOProvider, SSOProviderConfiguration } from 'js-client-library'; import { rest } from 'msw'; import { setupServer } from 'msw/node'; import { render, screen, waitFor } from '../../test-utils'; import UpdateUserDialog from './UpdateUserDialog'; -import { ListSSOProvidersResponse, SAMLProviderInfo, SSOProvider, SSOProviderConfiguration } from 'js-client-library'; const testRoles = [ { id: 1, name: 'Role 1' }, diff --git a/packages/javascript/bh-shared-ui/src/components/UpdateUserDialog/UpdateUserDialog.tsx b/packages/javascript/bh-shared-ui/src/components/UpdateUserDialog/UpdateUserDialog.tsx index c75cb77af9..bf24bf2e33 100644 --- a/packages/javascript/bh-shared-ui/src/components/UpdateUserDialog/UpdateUserDialog.tsx +++ b/packages/javascript/bh-shared-ui/src/components/UpdateUserDialog/UpdateUserDialog.tsx @@ -15,9 +15,9 @@ // SPDX-License-Identifier: Apache-2.0 import { Dialog, DialogTitle } from '@mui/material'; +import { UpdateUserRequest } from 'js-client-library'; import React from 'react'; import UpdateUserForm, { UpdateUserRequestForm } from '../UpdateUserForm'; -import { UpdateUserRequest } from 'js-client-library'; const UpdateUserDialog: React.FC<{ open: boolean; diff --git a/packages/javascript/bh-shared-ui/src/components/UpdateUserForm/UpdateUserForm.tsx b/packages/javascript/bh-shared-ui/src/components/UpdateUserForm/UpdateUserForm.tsx index bba633c20b..6c0c030f1c 100644 --- a/packages/javascript/bh-shared-ui/src/components/UpdateUserForm/UpdateUserForm.tsx +++ b/packages/javascript/bh-shared-ui/src/components/UpdateUserForm/UpdateUserForm.tsx @@ -29,11 +29,11 @@ import { Skeleton, TextField, } from '@mui/material'; +import { Role, SSOProvider, UpdateUserRequest } from 'js-client-library'; import React, { useEffect } from 'react'; import { Controller, useForm } from 'react-hook-form'; import { useQuery } from 'react-query'; import { apiClient } from '../../utils'; -import { SSOProvider, UpdateUserRequest, Role } from 'js-client-library'; export type UpdateUserRequestForm = Omit & { SSOProviderId: string | undefined }; diff --git a/packages/javascript/bh-shared-ui/src/components/UpsertOIDCProviderForm.tsx b/packages/javascript/bh-shared-ui/src/components/UpsertOIDCProviderForm.tsx index 8cf28614af..16f49fe9c7 100644 --- a/packages/javascript/bh-shared-ui/src/components/UpsertOIDCProviderForm.tsx +++ b/packages/javascript/bh-shared-ui/src/components/UpsertOIDCProviderForm.tsx @@ -15,10 +15,10 @@ // SPDX-License-Identifier: Apache-2.0 import { Button } from '@bloodhoundenterprise/doodleui'; -import { Alert, DialogContent, DialogActions, Grid, TextField } from '@mui/material'; -import { useEffect, FC } from 'react'; -import { Controller, useForm } from 'react-hook-form'; +import { Alert, DialogActions, DialogContent, Grid, TextField } from '@mui/material'; import { OIDCProviderInfo, SSOProvider, UpsertOIDCProviderRequest } from 'js-client-library'; +import { FC, useEffect } from 'react'; +import { Controller, useForm } from 'react-hook-form'; const UpsertOIDCProviderForm: FC<{ error?: any; diff --git a/packages/javascript/bh-shared-ui/src/components/UpsertSSOProviders/SSOProviderConfigForm.tsx b/packages/javascript/bh-shared-ui/src/components/UpsertSSOProviders/SSOProviderConfigForm.tsx index d02e8f57bb..20228795f1 100644 --- a/packages/javascript/bh-shared-ui/src/components/UpsertSSOProviders/SSOProviderConfigForm.tsx +++ b/packages/javascript/bh-shared-ui/src/components/UpsertSSOProviders/SSOProviderConfigForm.tsx @@ -17,18 +17,18 @@ import { Switch } from '@bloodhoundenterprise/doodleui'; import { Alert, - Grid, - Typography, FormControl, + FormControlLabel, + Grid, InputLabel, - Select, MenuItem, - FormControlLabel, + Select, + Typography, useTheme, } from '@mui/material'; +import { Role, UpsertOIDCProviderRequest, UpsertSAMLProviderFormInputs } from 'js-client-library'; import { FC } from 'react'; import { Control, Controller, FieldErrors, UseFormResetField, UseFormWatch } from 'react-hook-form'; -import { Role, UpsertOIDCProviderRequest, UpsertSAMLProviderFormInputs } from 'js-client-library'; export const backfillSSOProviderConfig = (readOnlyRoleId?: number) => ({ auto_provision: { enabled: false, default_role: readOnlyRoleId, role_provision: false }, diff --git a/packages/javascript/bh-shared-ui/src/components/UpsertSSOProviders/UpsertOIDCProviderDialog.tsx b/packages/javascript/bh-shared-ui/src/components/UpsertSSOProviders/UpsertOIDCProviderDialog.tsx index 591fe74cb7..3a9fbaf676 100644 --- a/packages/javascript/bh-shared-ui/src/components/UpsertSSOProviders/UpsertOIDCProviderDialog.tsx +++ b/packages/javascript/bh-shared-ui/src/components/UpsertSSOProviders/UpsertOIDCProviderDialog.tsx @@ -15,7 +15,7 @@ // SPDX-License-Identifier: Apache-2.0 import { Dialog, DialogTitle } from '@mui/material'; -import { SSOProvider, UpsertOIDCProviderRequest, Role } from 'js-client-library'; +import { Role, SSOProvider, UpsertOIDCProviderRequest } from 'js-client-library'; import UpsertOIDCProviderForm from './UpsertOIDCProviderForm'; const UpsertOIDCProviderDialog: React.FC<{ diff --git a/packages/javascript/bh-shared-ui/src/components/UpsertSSOProviders/UpsertOIDCProviderForm.tsx b/packages/javascript/bh-shared-ui/src/components/UpsertSSOProviders/UpsertOIDCProviderForm.tsx index aa3d0b5573..510c4ca823 100644 --- a/packages/javascript/bh-shared-ui/src/components/UpsertSSOProviders/UpsertOIDCProviderForm.tsx +++ b/packages/javascript/bh-shared-ui/src/components/UpsertSSOProviders/UpsertOIDCProviderForm.tsx @@ -15,10 +15,10 @@ // SPDX-License-Identifier: Apache-2.0 import { Button } from '@bloodhoundenterprise/doodleui'; -import { Alert, DialogContent, DialogActions, Grid, TextField } from '@mui/material'; -import { useEffect, FC } from 'react'; +import { Alert, DialogActions, DialogContent, Grid, TextField } from '@mui/material'; +import { OIDCProviderInfo, Role, SSOProvider, UpsertOIDCProviderRequest } from 'js-client-library'; +import { FC, useEffect } from 'react'; import { Controller, useForm } from 'react-hook-form'; -import { OIDCProviderInfo, SSOProvider, UpsertOIDCProviderRequest, Role } from 'js-client-library'; import SSOProviderConfigForm, { backfillSSOProviderConfig } from './SSOProviderConfigForm'; const UpsertOIDCProviderForm: FC<{ diff --git a/packages/javascript/bh-shared-ui/src/components/UpsertSSOProviders/UpsertSAMLProviderForm/UpsertSAMLProviderForm.test.tsx b/packages/javascript/bh-shared-ui/src/components/UpsertSSOProviders/UpsertSAMLProviderForm/UpsertSAMLProviderForm.test.tsx index d5c0287126..7fe80bcd6b 100644 --- a/packages/javascript/bh-shared-ui/src/components/UpsertSSOProviders/UpsertSAMLProviderForm/UpsertSAMLProviderForm.test.tsx +++ b/packages/javascript/bh-shared-ui/src/components/UpsertSSOProviders/UpsertSAMLProviderForm/UpsertSAMLProviderForm.test.tsx @@ -15,9 +15,9 @@ // SPDX-License-Identifier: Apache-2.0 import userEvent from '@testing-library/user-event'; +import { Role } from 'js-client-library'; import { render, screen, waitFor } from '../../../test-utils'; import UpsertSAMLProviderForm from './UpsertSAMLProviderForm'; -import { Role } from 'js-client-library'; const testRoles = [ { id: 1, name: 'Read-Only' }, diff --git a/packages/javascript/bh-shared-ui/src/components/UpsertSSOProviders/UpsertSAMLProviderForm/UpsertSAMLProviderForm.tsx b/packages/javascript/bh-shared-ui/src/components/UpsertSSOProviders/UpsertSAMLProviderForm/UpsertSAMLProviderForm.tsx index 38f6497311..d3f3a6c579 100644 --- a/packages/javascript/bh-shared-ui/src/components/UpsertSSOProviders/UpsertSAMLProviderForm/UpsertSAMLProviderForm.tsx +++ b/packages/javascript/bh-shared-ui/src/components/UpsertSSOProviders/UpsertSAMLProviderForm/UpsertSAMLProviderForm.tsx @@ -26,9 +26,9 @@ import { Typography, useTheme, } from '@mui/material'; -import { useState, useEffect, FC, useMemo } from 'react'; -import { Controller, useForm } from 'react-hook-form'; import { Role, SSOProvider, UpsertSAMLProviderFormInputs } from 'js-client-library'; +import { FC, useEffect, useMemo, useState } from 'react'; +import { Controller, useForm } from 'react-hook-form'; import SSOProviderConfigForm, { backfillSSOProviderConfig } from '../SSOProviderConfigForm'; const UpsertSAMLProviderForm: FC<{ diff --git a/packages/javascript/bh-shared-ui/src/components/UserActionsMenu/UserActionsMenu.tsx b/packages/javascript/bh-shared-ui/src/components/UserActionsMenu/UserActionsMenu.tsx index ab7a5a17a8..84255980b4 100644 --- a/packages/javascript/bh-shared-ui/src/components/UserActionsMenu/UserActionsMenu.tsx +++ b/packages/javascript/bh-shared-ui/src/components/UserActionsMenu/UserActionsMenu.tsx @@ -18,12 +18,12 @@ import { faBars, faCogs, faEdit, - faLock, - faUserCheck, - faUserLock, faKey, + faLock, faTrash, faUnlockAlt, + faUserCheck, + faUserLock, } from '@fortawesome/free-solid-svg-icons'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { IconButton, ListItemIcon, ListItemText, Menu, MenuItem, MenuProps } from '@mui/material'; diff --git a/packages/javascript/bh-shared-ui/src/components/UserTokenManagementDialog/UserTokenManagementDialog.test.tsx b/packages/javascript/bh-shared-ui/src/components/UserTokenManagementDialog/UserTokenManagementDialog.test.tsx index c40cd4d7e4..5c37d32e5c 100644 --- a/packages/javascript/bh-shared-ui/src/components/UserTokenManagementDialog/UserTokenManagementDialog.test.tsx +++ b/packages/javascript/bh-shared-ui/src/components/UserTokenManagementDialog/UserTokenManagementDialog.test.tsx @@ -17,8 +17,8 @@ import userEvent from '@testing-library/user-event'; import { rest } from 'msw'; import { setupServer } from 'msw/node'; -import UserTokenManagementDialog from './UserTokenManagementDialog'; import { render, screen, waitFor, waitForElementToBeRemoved } from '../../test-utils'; +import UserTokenManagementDialog from './UserTokenManagementDialog'; const testUserId = '1'; const testTokens = [ diff --git a/packages/javascript/bh-shared-ui/src/hooks/useAvailableDomains.tsx b/packages/javascript/bh-shared-ui/src/hooks/useAvailableDomains.tsx index 01d745959d..785b60f9be 100644 --- a/packages/javascript/bh-shared-ui/src/hooks/useAvailableDomains.tsx +++ b/packages/javascript/bh-shared-ui/src/hooks/useAvailableDomains.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { apiClient } from '../utils/api'; import { useQuery } from 'react-query'; +import { apiClient } from '../utils/api'; const useAvailableDomains = () => useQuery('available-domains', () => apiClient.getAvailableDomains().then((response) => response.data.data)); diff --git a/packages/javascript/bh-shared-ui/src/hooks/useConfiguration.ts b/packages/javascript/bh-shared-ui/src/hooks/useConfiguration.ts index 5628c6db87..67c87ab97d 100644 --- a/packages/javascript/bh-shared-ui/src/hooks/useConfiguration.ts +++ b/packages/javascript/bh-shared-ui/src/hooks/useConfiguration.ts @@ -15,8 +15,8 @@ // SPDX-License-Identifier: Apache-2.0 import { ConfigurationPayload, RequestOptions } from 'js-client-library'; -import { apiClient } from '../utils'; import { useMutation, useQuery, useQueryClient } from 'react-query'; +import { apiClient } from '../utils'; const configurationKeys = { all: ['configuration'] as const, diff --git a/packages/javascript/bh-shared-ui/src/hooks/useDataQualityStats.tsx b/packages/javascript/bh-shared-ui/src/hooks/useDataQualityStats.tsx index 002ed20855..f11f4cb70a 100644 --- a/packages/javascript/bh-shared-ui/src/hooks/useDataQualityStats.tsx +++ b/packages/javascript/bh-shared-ui/src/hooks/useDataQualityStats.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { useQuery } from 'react-query'; import { DateTime } from 'luxon'; +import { useQuery } from 'react-query'; import { apiClient } from '../utils/api'; export type Domain = { diff --git a/packages/javascript/bh-shared-ui/src/hooks/useDebouncedValue.tsx b/packages/javascript/bh-shared-ui/src/hooks/useDebouncedValue.tsx index 27b048f410..4f130eb690 100644 --- a/packages/javascript/bh-shared-ui/src/hooks/useDebouncedValue.tsx +++ b/packages/javascript/bh-shared-ui/src/hooks/useDebouncedValue.tsx @@ -14,7 +14,7 @@ // // SPDX-License-Identifier: Apache-2.0 -import { useState, useEffect } from 'react'; +import { useEffect, useState } from 'react'; const useDebouncedValue = (value: any, delay: number) => { const [debouncedValue, setDebouncedValue] = useState(value); diff --git a/packages/javascript/bh-shared-ui/src/hooks/useFetchEntityProperties/useFetchEntityProperties.test.tsx b/packages/javascript/bh-shared-ui/src/hooks/useFetchEntityProperties/useFetchEntityProperties.test.tsx index 1d7bfe5649..3894ace100 100644 --- a/packages/javascript/bh-shared-ui/src/hooks/useFetchEntityProperties/useFetchEntityProperties.test.tsx +++ b/packages/javascript/bh-shared-ui/src/hooks/useFetchEntityProperties/useFetchEntityProperties.test.tsx @@ -14,11 +14,11 @@ // // SPDX-License-Identifier: Apache-2.0 -import { useFetchEntityProperties, FetchEntityPropertiesParams, EntityProperties } from './useFetchEntityProperties'; -import { renderHook, waitFor } from '../../test-utils'; import { rest } from 'msw'; import { setupServer } from 'msw/node'; import { QueryClient, QueryClientProvider } from 'react-query'; +import { renderHook, waitFor } from '../../test-utils'; +import { EntityProperties, FetchEntityPropertiesParams, useFetchEntityProperties } from './useFetchEntityProperties'; const queryClient = new QueryClient(); const wrapper = ({ children }: { children: React.ReactNode }) => ( diff --git a/packages/javascript/bh-shared-ui/src/hooks/useFetchEntityProperties/useFetchEntityProperties.tsx b/packages/javascript/bh-shared-ui/src/hooks/useFetchEntityProperties/useFetchEntityProperties.tsx index 12e7a80764..e567808b46 100644 --- a/packages/javascript/bh-shared-ui/src/hooks/useFetchEntityProperties/useFetchEntityProperties.tsx +++ b/packages/javascript/bh-shared-ui/src/hooks/useFetchEntityProperties/useFetchEntityProperties.tsx @@ -15,11 +15,11 @@ // SPDX-License-Identifier: Apache-2.0 import { RequestOptions } from 'js-client-library'; -import { entityInformationEndpoints } from '../../utils/content'; +import { useQuery } from 'react-query'; import { apiClient } from '../../utils/api'; +import { entityInformationEndpoints } from '../../utils/content'; import { getNodeByDatabaseIdCypher } from '../../utils/entityInfoDisplay'; import { validateNodeType } from '../useSearch/useSearch'; -import { useQuery } from 'react-query'; export type FetchEntityPropertiesParams = { objectId: string; diff --git a/packages/javascript/bh-shared-ui/src/hooks/useSavedQueries.ts b/packages/javascript/bh-shared-ui/src/hooks/useSavedQueries.ts index 3b9b78fc17..7b850ab867 100644 --- a/packages/javascript/bh-shared-ui/src/hooks/useSavedQueries.ts +++ b/packages/javascript/bh-shared-ui/src/hooks/useSavedQueries.ts @@ -14,7 +14,7 @@ // // SPDX-License-Identifier: Apache-2.0 -import { RequestOptions, SavedQuery, CreateUserQueryRequest } from 'js-client-library'; +import { CreateUserQueryRequest, RequestOptions, SavedQuery } from 'js-client-library'; import { useMutation, useQuery, useQueryClient } from 'react-query'; import { apiClient } from '../utils/api'; diff --git a/packages/javascript/bh-shared-ui/src/hooks/useSearch/useSearch.tsx b/packages/javascript/bh-shared-ui/src/hooks/useSearch/useSearch.tsx index c9773f4e95..279edd2fe1 100644 --- a/packages/javascript/bh-shared-ui/src/hooks/useSearch/useSearch.tsx +++ b/packages/javascript/bh-shared-ui/src/hooks/useSearch/useSearch.tsx @@ -15,8 +15,8 @@ // SPDX-License-Identifier: Apache-2.0 import { useQuery } from 'react-query'; -import { EntityKinds, apiClient } from '../../utils'; import { ActiveDirectoryNodeKind, AzureNodeKind } from '../../graphSchema'; +import { EntityKinds, apiClient } from '../../utils'; export type SearchResult = { distinguishedname?: string; diff --git a/packages/javascript/bh-shared-ui/src/index.ts b/packages/javascript/bh-shared-ui/src/index.ts index e4e3b0c793..3ffb003fda 100644 --- a/packages/javascript/bh-shared-ui/src/index.ts +++ b/packages/javascript/bh-shared-ui/src/index.ts @@ -19,6 +19,7 @@ import { Theme } from '@mui/material/styles'; declare module '@mui/styles/defaultTheme' { interface DefaultTheme extends Theme {} } + declare module '@mui/material/styles' { interface Palette { neutral: { primary: string; secondary: string; tertiary: string; quaternary: string; quinary: string }; diff --git a/packages/javascript/bh-shared-ui/src/mocks/factories.ts b/packages/javascript/bh-shared-ui/src/mocks/factories.ts index 43816a7e18..b436dd716d 100644 --- a/packages/javascript/bh-shared-ui/src/mocks/factories.ts +++ b/packages/javascript/bh-shared-ui/src/mocks/factories.ts @@ -14,9 +14,9 @@ // // SPDX-License-Identifier: Apache-2.0 -import { AssetGroup, AssetGroupMember, AssetGroupMemberParams, AssetGroupMemberCounts } from 'js-client-library'; -import { SearchResults } from '../hooks'; +import { AssetGroup, AssetGroupMember, AssetGroupMemberCounts, AssetGroupMemberParams } from 'js-client-library'; import { ActiveDirectoryNodeKind } from '../graphSchema'; +import { SearchResults } from '../hooks'; import { PERMISSIONS, Permission } from '../utils'; export const createMockAssetGroupMembers = (): { members: AssetGroupMember[] } => { diff --git a/packages/javascript/bh-shared-ui/src/providers/NotificationProvider/NotificationsProvider.tsx b/packages/javascript/bh-shared-ui/src/providers/NotificationProvider/NotificationsProvider.tsx index f2f1992f81..1d3c07f659 100644 --- a/packages/javascript/bh-shared-ui/src/providers/NotificationProvider/NotificationsProvider.tsx +++ b/packages/javascript/bh-shared-ui/src/providers/NotificationProvider/NotificationsProvider.tsx @@ -14,14 +14,14 @@ // // SPDX-License-Identifier: Apache-2.0 -import { createContext, Dispatch, ReactNode, useReducer } from 'react'; +import { faTimes } from '@fortawesome/free-solid-svg-icons'; +import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; +import { IconButton, SvgIcon } from '@mui/material'; import { SnackbarKey, SnackbarProvider, useSnackbar } from 'notistack'; -import { Notification } from './model'; +import { Dispatch, ReactNode, createContext, useReducer } from 'react'; import { NotificationAction } from './actions'; +import { Notification } from './model'; import { notificationsReducer } from './reducer'; -import { IconButton, SvgIcon } from '@mui/material'; -import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; -import { faTimes } from '@fortawesome/free-solid-svg-icons'; export const NotificationsContext = createContext([]); export const NotificationsDispatchContext = createContext | null>(null); diff --git a/packages/javascript/bh-shared-ui/src/providers/NotificationProvider/hooks.ts b/packages/javascript/bh-shared-ui/src/providers/NotificationProvider/hooks.ts index 8d4a41961f..d83776bbfa 100644 --- a/packages/javascript/bh-shared-ui/src/providers/NotificationProvider/hooks.ts +++ b/packages/javascript/bh-shared-ui/src/providers/NotificationProvider/hooks.ts @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 -import { useContext } from 'react'; import { OptionsObject } from 'notistack'; -import { addNotification, dismissNotification, removeNotification } from './actions'; +import { useContext } from 'react'; import { NotificationsContext, NotificationsDispatchContext } from './NotificationsProvider'; +import { addNotification, dismissNotification, removeNotification } from './actions'; export const useNotifications = () => { const notifications = useContext(NotificationsContext); diff --git a/packages/javascript/bh-shared-ui/src/providers/NotificationProvider/index.ts b/packages/javascript/bh-shared-ui/src/providers/NotificationProvider/index.ts index 2485013da7..0630963226 100644 --- a/packages/javascript/bh-shared-ui/src/providers/NotificationProvider/index.ts +++ b/packages/javascript/bh-shared-ui/src/providers/NotificationProvider/index.ts @@ -14,6 +14,6 @@ // // SPDX-License-Identifier: Apache-2.0 +export { default as NotificationsProvider } from './NotificationsProvider'; export * from './hooks'; export * from './model'; -export { default as NotificationsProvider } from './NotificationsProvider'; diff --git a/packages/javascript/bh-shared-ui/src/setupTests.tsx b/packages/javascript/bh-shared-ui/src/setupTests.tsx index 6e2c7e108a..e12e6d9231 100644 --- a/packages/javascript/bh-shared-ui/src/setupTests.tsx +++ b/packages/javascript/bh-shared-ui/src/setupTests.tsx @@ -15,6 +15,7 @@ // SPDX-License-Identifier: Apache-2.0 /* eslint-disable @typescript-eslint/no-unused-vars */ +// organize-imports-ignore import matchers from '@testing-library/jest-dom/matchers'; import { expect } from 'vitest'; //@ts-ignore diff --git a/packages/javascript/bh-shared-ui/src/store/searchbar/actions.ts b/packages/javascript/bh-shared-ui/src/store/searchbar/actions.ts index 291c66ae47..7f19cddc66 100644 --- a/packages/javascript/bh-shared-ui/src/store/searchbar/actions.ts +++ b/packages/javascript/bh-shared-ui/src/store/searchbar/actions.ts @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import * as types from './types'; import { EdgeCheckboxType } from '../../views/Explore/ExploreSearch/edgeTypes'; +import * as types from './types'; export const primarySearch = () => { return { diff --git a/packages/javascript/bh-shared-ui/src/store/searchbar/types.ts b/packages/javascript/bh-shared-ui/src/store/searchbar/types.ts index 4f3561c214..696303c945 100644 --- a/packages/javascript/bh-shared-ui/src/store/searchbar/types.ts +++ b/packages/javascript/bh-shared-ui/src/store/searchbar/types.ts @@ -14,9 +14,9 @@ // // SPDX-License-Identifier: Apache-2.0 +import { SearchResult } from '../../hooks/useSearch'; import { EntityKinds } from '../../utils/content'; import { EdgeCheckboxType } from '../../views/Explore/ExploreSearch/edgeTypes'; -import { SearchResult } from '../../hooks/useSearch'; const SEARCH_RESET = 'app/search/RESET'; const CYPHER_QUERY_EDITED = 'app/search/CYPHER_QUERY_EDITED'; @@ -41,16 +41,16 @@ const SEARCH_TYPE_FUZZY = 'fuzzy'; const SEARCH_TYPE_EXACT = 'exact'; export { - PRIMARY_SEARCH, - PATHFINDING_SEARCH, + CYPHER_QUERY_EDITED, CYPHER_SEARCH, - TIER_ZERO_SEARCH, + PATHFINDING_SEARCH, + PATH_FILTERS_SAVED, + PRIMARY_SEARCH, SEARCH_ENDPOINT, + SEARCH_RESET, SEARCH_TYPE_EXACT, SEARCH_TYPE_FUZZY, - SEARCH_RESET, - CYPHER_QUERY_EDITED, - PATH_FILTERS_SAVED, + TIER_ZERO_SEARCH, }; //The search value usually aligns with the results from hitting the search endpoint but when diff --git a/packages/javascript/bh-shared-ui/src/test-utils.jsx b/packages/javascript/bh-shared-ui/src/test-utils.jsx index d9c12cac93..5143be6349 100644 --- a/packages/javascript/bh-shared-ui/src/test-utils.jsx +++ b/packages/javascript/bh-shared-ui/src/test-utils.jsx @@ -14,6 +14,7 @@ // // SPDX-License-Identifier: Apache-2.0 +// organize-imports-ignore import React from 'react'; import { createTheme } from '@mui/material/styles'; import { CssBaseline, StyledEngineProvider, ThemeProvider } from '@mui/material'; diff --git a/packages/javascript/bh-shared-ui/src/utils/content.ts b/packages/javascript/bh-shared-ui/src/utils/content.ts index 621bf0aecc..2ae2c6a0bb 100644 --- a/packages/javascript/bh-shared-ui/src/utils/content.ts +++ b/packages/javascript/bh-shared-ui/src/utils/content.ts @@ -14,9 +14,9 @@ // // SPDX-License-Identifier: Apache-2.0 +import { RequestOptions } from 'js-client-library'; import { ActiveDirectoryNodeKind, AzureNodeKind } from '../graphSchema'; import { apiClient } from './api'; -import { RequestOptions } from 'js-client-library'; type EntitySectionEndpointParams = { counts?: boolean; diff --git a/packages/javascript/bh-shared-ui/src/utils/icons.ts b/packages/javascript/bh-shared-ui/src/utils/icons.ts index 563882add4..546a80d399 100644 --- a/packages/javascript/bh-shared-ui/src/utils/icons.ts +++ b/packages/javascript/bh-shared-ui/src/utils/icons.ts @@ -15,38 +15,38 @@ // SPDX-License-Identifier: Apache-2.0 import { + IconDefinition, + faArrowsLeftRightToLine, + faBolt, faBox, faBoxOpen, - faBolt, + faBuilding, + faClipboardCheck, faClipboardList, faCloud, + faCog, faCube, faCubes, faDesktop, - faCog, + faGem, faGlobe, + faIdCard, faKey, + faLandmark, faList, faLock, + faMinus, faObjectGroup, + faPlus, + faQuestion, faRobot, faServer, faSitemap, + faSkull, + faStore, faUser, faUsers, faWindowRestore, - IconDefinition, - faGem, - faPlus, - faQuestion, - faMinus, - faLandmark, - faStore, - faIdCard, - faArrowsLeftRightToLine, - faBuilding, - faClipboardCheck, - faSkull, } from '@fortawesome/free-solid-svg-icons'; import { ActiveDirectoryNodeKind, AzureNodeKind } from '../graphSchema'; diff --git a/packages/javascript/bh-shared-ui/src/utils/index.ts b/packages/javascript/bh-shared-ui/src/utils/index.ts index 2d9030abbb..1da20b74e2 100644 --- a/packages/javascript/bh-shared-ui/src/utils/index.ts +++ b/packages/javascript/bh-shared-ui/src/utils/index.ts @@ -18,13 +18,13 @@ export * from './api'; export * from './colors'; export * from './compatibility'; export * from './content'; +export * from './copyToClipboard'; export * from './datetime'; -export * from './exportGraphData'; export * from './entityInfoDisplay'; -export * from './passwd'; -export * from './user'; +export * from './exportGraphData'; export * from './icons'; +export * from './passwd'; export * from './permissions'; -export * from './copyToClipboard'; -export * from './types'; export * from './theme'; +export * from './types'; +export * from './user'; diff --git a/packages/javascript/bh-shared-ui/src/views/ApiExplorer/ApiExplorer.test.tsx b/packages/javascript/bh-shared-ui/src/views/ApiExplorer/ApiExplorer.test.tsx index fea68f7dbf..7b8cee8227 100644 --- a/packages/javascript/bh-shared-ui/src/views/ApiExplorer/ApiExplorer.test.tsx +++ b/packages/javascript/bh-shared-ui/src/views/ApiExplorer/ApiExplorer.test.tsx @@ -14,10 +14,10 @@ // // SPDX-License-Identifier: Apache-2.0 -import ApiExplorer from './ApiExplorer'; -import { screen, render } from '../../test-utils'; import { rest } from 'msw'; import { setupServer } from 'msw/node'; +import { render, screen } from '../../test-utils'; +import ApiExplorer from './ApiExplorer'; const server = setupServer(); beforeAll(() => server.listen()); diff --git a/packages/javascript/bh-shared-ui/src/views/ApiExplorer/ApiExplorer.tsx b/packages/javascript/bh-shared-ui/src/views/ApiExplorer/ApiExplorer.tsx index 6229e520e3..d3f3408caa 100644 --- a/packages/javascript/bh-shared-ui/src/views/ApiExplorer/ApiExplorer.tsx +++ b/packages/javascript/bh-shared-ui/src/views/ApiExplorer/ApiExplorer.tsx @@ -15,12 +15,12 @@ // SPDX-License-Identifier: Apache-2.0 import React, { Suspense } from 'react'; +import 'swagger-ui-react/swagger-ui.css'; import { GraphProgress } from '../../components'; import { HideEditionTagsPlugin } from './swagger/HideEditionTagsPlugin'; +import { OperationsEditionPlugin } from './swagger/OperationsEditionPlugin'; import { OperationsFilterPlugin } from './swagger/OperationsFilterPlugin'; import { OperationsLayoutPlugin } from './swagger/OperationsLayoutPlugin'; -import 'swagger-ui-react/swagger-ui.css'; -import { OperationsEditionPlugin } from './swagger/OperationsEditionPlugin'; const SwaggerUI = React.lazy(() => import('swagger-ui-react')); diff --git a/packages/javascript/bh-shared-ui/src/views/ApiExplorer/swagger/OperationsEditionPlugin.tsx b/packages/javascript/bh-shared-ui/src/views/ApiExplorer/swagger/OperationsEditionPlugin.tsx index 3036837ab3..2222954b08 100644 --- a/packages/javascript/bh-shared-ui/src/views/ApiExplorer/swagger/OperationsEditionPlugin.tsx +++ b/packages/javascript/bh-shared-ui/src/views/ApiExplorer/swagger/OperationsEditionPlugin.tsx @@ -14,13 +14,12 @@ // // SPDX-License-Identifier: Apache-2.0 -import { PureComponent } from 'react'; -import PropTypes from 'prop-types'; import { List } from 'immutable'; -import ImPropTypes from 'react-immutable-proptypes'; -import { CommunityIcon } from '../../../components'; -import { EnterpriseIcon } from '../../../components'; import toString from 'lodash/toString'; +import PropTypes from 'prop-types'; +import { PureComponent } from 'react'; +import ImPropTypes from 'react-immutable-proptypes'; +import { CommunityIcon, EnterpriseIcon } from '../../../components'; export const OperationsEditionPlugin = function () { return { diff --git a/packages/javascript/bh-shared-ui/src/views/ApiExplorer/swagger/OperationsLayoutPlugin.tsx b/packages/javascript/bh-shared-ui/src/views/ApiExplorer/swagger/OperationsLayoutPlugin.tsx index f6a93e1e43..58e62ff2cf 100644 --- a/packages/javascript/bh-shared-ui/src/views/ApiExplorer/swagger/OperationsLayoutPlugin.tsx +++ b/packages/javascript/bh-shared-ui/src/views/ApiExplorer/swagger/OperationsLayoutPlugin.tsx @@ -14,7 +14,7 @@ // // SPDX-License-Identifier: Apache-2.0 -import { Box, Typography, Skeleton, useTheme } from '@mui/material'; +import { Box, Skeleton, Typography, useTheme } from '@mui/material'; import { PageWithTitle } from '../../../components'; import DocumentationLinks from '../../../components/DocumentationLinks'; diff --git a/packages/javascript/bh-shared-ui/src/views/DataQuality/DataSelector/DataSelector.tsx b/packages/javascript/bh-shared-ui/src/views/DataQuality/DataSelector/DataSelector.tsx index d1f0718e0d..868592dbbb 100644 --- a/packages/javascript/bh-shared-ui/src/views/DataQuality/DataSelector/DataSelector.tsx +++ b/packages/javascript/bh-shared-ui/src/views/DataQuality/DataSelector/DataSelector.tsx @@ -15,11 +15,11 @@ // SPDX-License-Identifier: Apache-2.0 import { Button } from '@bloodhoundenterprise/doodleui'; -import { faGlobe, faCloud } from '@fortawesome/free-solid-svg-icons'; +import { faCloud, faGlobe } from '@fortawesome/free-solid-svg-icons'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { Alert, Box, Divider, MenuItem, Popover, Skeleton, TextField, Tooltip, Typography } from '@mui/material'; -import { useAvailableDomains, Domain } from '../../../hooks'; import React, { ReactNode, useState } from 'react'; +import { Domain, useAvailableDomains } from '../../../hooks'; const DataSelector: React.FC<{ value: { type: string | null; id: string | null }; diff --git a/packages/javascript/bh-shared-ui/src/views/DataQuality/LoadContainer/LoadContainer.test.tsx b/packages/javascript/bh-shared-ui/src/views/DataQuality/LoadContainer/LoadContainer.test.tsx index b08027c6bf..b39f337fb9 100644 --- a/packages/javascript/bh-shared-ui/src/views/DataQuality/LoadContainer/LoadContainer.test.tsx +++ b/packages/javascript/bh-shared-ui/src/views/DataQuality/LoadContainer/LoadContainer.test.tsx @@ -14,9 +14,9 @@ // // SPDX-License-Identifier: Apache-2.0 -import { render, screen } from '../../../test-utils'; import { Table, TableBody } from '@mui/material'; import LoadContainer from '.'; +import { render, screen } from '../../../test-utils'; describe('LoadContainer', () => { it('should display locally formatted numbers if they are larger than 999', () => { diff --git a/packages/javascript/bh-shared-ui/src/views/DataQuality/LoadContainer/LoadContainer.tsx b/packages/javascript/bh-shared-ui/src/views/DataQuality/LoadContainer/LoadContainer.tsx index ea1fc1d782..4a51fb41db 100644 --- a/packages/javascript/bh-shared-ui/src/views/DataQuality/LoadContainer/LoadContainer.tsx +++ b/packages/javascript/bh-shared-ui/src/views/DataQuality/LoadContainer/LoadContainer.tsx @@ -14,10 +14,9 @@ // // SPDX-License-Identifier: Apache-2.0 -import React from 'react'; -import { TableRow, TableCell, Box } from '@mui/material'; +import { Box, Skeleton, TableCell, TableRow } from '@mui/material'; import withStyles from '@mui/styles/withStyles'; -import { Skeleton } from '@mui/material'; +import React from 'react'; interface LoadContainerProps { icon: JSX.Element; diff --git a/packages/javascript/bh-shared-ui/src/views/Explore/InfoStyles/CollapsibleSection.tsx b/packages/javascript/bh-shared-ui/src/views/Explore/InfoStyles/CollapsibleSection.tsx index 91d3c2d15b..925822d782 100644 --- a/packages/javascript/bh-shared-ui/src/views/Explore/InfoStyles/CollapsibleSection.tsx +++ b/packages/javascript/bh-shared-ui/src/views/Explore/InfoStyles/CollapsibleSection.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import makeStyles from '@mui/styles/makeStyles'; import { Theme } from '@mui/material'; +import makeStyles from '@mui/styles/makeStyles'; const useCollapsibleSectionStyles = makeStyles((theme: Theme) => ({ accordionRoot: { diff --git a/packages/javascript/bh-shared-ui/src/views/Explore/InfoStyles/Header.tsx b/packages/javascript/bh-shared-ui/src/views/Explore/InfoStyles/Header.tsx index 3c4afd3037..4bc33a0e3c 100644 --- a/packages/javascript/bh-shared-ui/src/views/Explore/InfoStyles/Header.tsx +++ b/packages/javascript/bh-shared-ui/src/views/Explore/InfoStyles/Header.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import makeStyles from '@mui/styles/makeStyles'; import { Theme } from '@mui/material'; +import makeStyles from '@mui/styles/makeStyles'; const useHeaderStyles = makeStyles((theme: Theme) => ({ header: { diff --git a/packages/javascript/bh-shared-ui/src/views/Explore/InfoStyles/Pane.tsx b/packages/javascript/bh-shared-ui/src/views/Explore/InfoStyles/Pane.tsx index d7fd75d12e..d05ae84325 100644 --- a/packages/javascript/bh-shared-ui/src/views/Explore/InfoStyles/Pane.tsx +++ b/packages/javascript/bh-shared-ui/src/views/Explore/InfoStyles/Pane.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import makeStyles from '@mui/styles/makeStyles'; import { Theme } from '@mui/material'; +import makeStyles from '@mui/styles/makeStyles'; const usePaneStyles = makeStyles((theme: Theme) => ({ container: { diff --git a/packages/javascript/bh-shared-ui/src/views/Explore/fragments.test.tsx b/packages/javascript/bh-shared-ui/src/views/Explore/fragments.test.tsx index e78b68458e..ffb847244f 100644 --- a/packages/javascript/bh-shared-ui/src/views/Explore/fragments.test.tsx +++ b/packages/javascript/bh-shared-ui/src/views/Explore/fragments.test.tsx @@ -16,7 +16,7 @@ import { render, screen } from '../../test-utils'; import { EntityField } from '../../utils'; -import { exclusionList, Field, ObjectInfoFields } from './fragments'; +import { Field, ObjectInfoFields, exclusionList } from './fragments'; describe('Field', () => { it('should render a Field when the provided value is false', () => { diff --git a/packages/javascript/bh-shared-ui/src/views/Explore/fragments.tsx b/packages/javascript/bh-shared-ui/src/views/Explore/fragments.tsx index 15709a2077..2c84b2f6dc 100644 --- a/packages/javascript/bh-shared-ui/src/views/Explore/fragments.tsx +++ b/packages/javascript/bh-shared-ui/src/views/Explore/fragments.tsx @@ -15,9 +15,9 @@ // SPDX-License-Identifier: Apache-2.0 import { Alert, Box, CircularProgress, Typography } from '@mui/material'; -import useCollapsibleSectionStyles from './InfoStyles/CollapsibleSection'; import React, { PropsWithChildren } from 'react'; import { EntityField, format } from '../../utils'; +import useCollapsibleSectionStyles from './InfoStyles/CollapsibleSection'; export const exclusionList = [ 'gid', diff --git a/packages/javascript/bh-shared-ui/src/views/Explore/index.ts b/packages/javascript/bh-shared-ui/src/views/Explore/index.ts index 03c10fd014..3474a56b93 100644 --- a/packages/javascript/bh-shared-ui/src/views/Explore/index.ts +++ b/packages/javascript/bh-shared-ui/src/views/Explore/index.ts @@ -14,5 +14,5 @@ // // SPDX-License-Identifier: Apache-2.0 -export * from './fragments'; export * from './InfoStyles'; +export * from './fragments'; diff --git a/packages/javascript/bh-shared-ui/src/views/SSOConfiguration/SSOConfiguration.test.tsx b/packages/javascript/bh-shared-ui/src/views/SSOConfiguration/SSOConfiguration.test.tsx index 62b26ac189..53b61480ec 100644 --- a/packages/javascript/bh-shared-ui/src/views/SSOConfiguration/SSOConfiguration.test.tsx +++ b/packages/javascript/bh-shared-ui/src/views/SSOConfiguration/SSOConfiguration.test.tsx @@ -15,11 +15,11 @@ // SPDX-License-Identifier: Apache-2.0 import userEvent from '@testing-library/user-event'; +import { ListRolesResponse, ListSSOProvidersResponse, Role, SAMLProviderInfo, SSOProvider } from 'js-client-library'; import { rest } from 'msw'; import { setupServer } from 'msw/node'; import { render, screen } from '../../test-utils'; import SSOConfiguration from './SSOConfiguration'; -import { ListRolesResponse, ListSSOProvidersResponse, Role, SAMLProviderInfo, SSOProvider } from 'js-client-library'; const testRoles = [ { id: 1, name: 'Read-Only' }, diff --git a/packages/javascript/bh-shared-ui/src/views/UserProfile/UserProfile.test.tsx b/packages/javascript/bh-shared-ui/src/views/UserProfile/UserProfile.test.tsx index 2142174425..61d02a03a5 100644 --- a/packages/javascript/bh-shared-ui/src/views/UserProfile/UserProfile.test.tsx +++ b/packages/javascript/bh-shared-ui/src/views/UserProfile/UserProfile.test.tsx @@ -14,8 +14,8 @@ // // SPDX-License-Identifier: Apache-2.0 -import { render, screen, within, waitFor } from '../../test-utils'; import userEvent from '@testing-library/user-event'; +import { render, screen, waitFor, within } from '../../test-utils'; import UserProfile from './UserProfile'; diff --git a/packages/javascript/bh-shared-ui/src/views/Users/Users.test.tsx b/packages/javascript/bh-shared-ui/src/views/Users/Users.test.tsx index d00a23c79d..53df8a9e00 100644 --- a/packages/javascript/bh-shared-ui/src/views/Users/Users.test.tsx +++ b/packages/javascript/bh-shared-ui/src/views/Users/Users.test.tsx @@ -14,12 +14,12 @@ // // SPDX-License-Identifier: Apache-2.0 +import userEvent from '@testing-library/user-event'; +import { ListSSOProvidersResponse, SAMLProviderInfo, SSOProvider, SSOProviderConfiguration } from 'js-client-library'; import { rest } from 'msw'; import { setupServer } from 'msw/node'; -import { render, screen, within } from '../../test-utils'; import Users from '.'; -import userEvent from '@testing-library/user-event'; -import { ListSSOProvidersResponse, SAMLProviderInfo, SSOProvider, SSOProviderConfiguration } from 'js-client-library'; +import { render, screen, within } from '../../test-utils'; const testAuthenticatedUser = { sso_provider_id: null, diff --git a/packages/javascript/bh-shared-ui/src/views/Users/Users.tsx b/packages/javascript/bh-shared-ui/src/views/Users/Users.tsx index dcd69647a0..908ab2a42d 100644 --- a/packages/javascript/bh-shared-ui/src/views/Users/Users.tsx +++ b/packages/javascript/bh-shared-ui/src/views/Users/Users.tsx @@ -16,27 +16,27 @@ import { Button } from '@bloodhoundenterprise/doodleui'; import { Box, Paper, Typography } from '@mui/material'; +import { CreateUserRequest, PutUserAuthSecretRequest, UpdateUserRequest, User } from 'js-client-library'; +import find from 'lodash/find'; import { DateTime } from 'luxon'; import { useState } from 'react'; import { useMutation, useQuery } from 'react-query'; import { ConfirmationDialog, + CreateUserDialog, DataTable, + Disable2FADialog, DocumentationLinks, Header, - PasswordDialog, - UserTokenManagementDialog, - Disable2FADialog, PageWithTitle, + PasswordDialog, UpdateUserDialog, - CreateUserDialog, + UserTokenManagementDialog, } from '../../components'; -import { apiClient, LuxonFormat } from '../../utils'; -import { CreateUserRequest, PutUserAuthSecretRequest, UpdateUserRequest, User } from 'js-client-library'; -import find from 'lodash/find'; -import { useToggle } from '../../hooks'; import UserActionsMenu from '../../components/UserActionsMenu'; +import { useToggle } from '../../hooks'; import { useNotifications } from '../../providers'; +import { LuxonFormat, apiClient } from '../../utils'; const Users = () => { const { addNotification } = useNotifications(); diff --git a/packages/javascript/js-client-library/.prettierrc b/packages/javascript/js-client-library/.prettierrc index 0fec22797a..9075866db0 100644 --- a/packages/javascript/js-client-library/.prettierrc +++ b/packages/javascript/js-client-library/.prettierrc @@ -1,4 +1,5 @@ { + "plugins": ["prettier-plugin-organize-imports"], "tabWidth": 4, "trailingComma": "es5", "semi": true, diff --git a/packages/javascript/js-client-library/package.json b/packages/javascript/js-client-library/package.json index 571cff39ac..e58daac6db 100644 --- a/packages/javascript/js-client-library/package.json +++ b/packages/javascript/js-client-library/package.json @@ -26,6 +26,7 @@ "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "prettier": "^3.2.5", + "prettier-plugin-organize-imports": "^4.1.0", "rollup": "^4.13.2", "rollup-plugin-delete": "^2.0.0", "typescript": "^5.1.6" diff --git a/packages/javascript/js-client-library/src/index.ts b/packages/javascript/js-client-library/src/index.ts index 32f5b6322d..8b69ab010b 100644 --- a/packages/javascript/js-client-library/src/index.ts +++ b/packages/javascript/js-client-library/src/index.ts @@ -16,9 +16,9 @@ import BHEAPIClient from './client'; -export * from './types'; -export * from './responses'; export * from './errors'; +export * from './responses'; +export * from './types'; export * from './utils'; export default BHEAPIClient; diff --git a/yarn.lock b/yarn.lock index e1820dffb9..00d8d80bec 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4277,6 +4277,7 @@ __metadata: msw: ^1.3.3 notistack: ^2.0.5 prettier: ^3.2.5 + prettier-plugin-organize-imports: ^4.1.0 prop-types: ^15.8.1 react: ^18.2.0 react-dom: ^18.2.0 @@ -4403,6 +4404,7 @@ __metadata: msw: ^1.3.3 notistack: ^2.0.5 prettier: ^3.2.5 + prettier-plugin-organize-imports: ^4.1.0 react: ^18.2.0 react-dom: ^18.2.0 react-error-boundary: ^3.1.4 @@ -7549,6 +7551,7 @@ __metadata: eslint: ^8.57.0 eslint-config-prettier: ^9.1.0 prettier: ^3.2.5 + prettier-plugin-organize-imports: ^4.1.0 rollup: ^4.13.2 rollup-plugin-delete: ^2.0.0 typescript: ^5.1.6 @@ -9182,6 +9185,20 @@ __metadata: languageName: node linkType: hard +"prettier-plugin-organize-imports@npm:^4.1.0": + version: 4.1.0 + resolution: "prettier-plugin-organize-imports@npm:4.1.0" + peerDependencies: + prettier: ">=2.0" + typescript: ">=2.9" + vue-tsc: ^2.1.0 + peerDependenciesMeta: + vue-tsc: + optional: true + checksum: 43c917959170fa3e30e41f9b3bd314a31462ae34e5568b4dba6b1c8b8da758adf900fdf4999333ab2b60b3d1af541f9521396a5e19df03ab5400a50edc9a75f6 + languageName: node + linkType: hard + "prettier@npm:^2": version: 2.8.8 resolution: "prettier@npm:2.8.8"