1
- import { ComponentType } from "react" ;
1
+ import type { ComponentType } from "react" ;
2
+
2
3
import CopyButton from "../../toolbars/edit/buttons/CopyButton" ;
3
4
import DeleteButton from "../../toolbars/edit/buttons/DeleteButton" ;
4
5
import LayoutButton from "../../toolbars/edit/buttons/LayoutButton" ;
@@ -8,29 +9,30 @@ import UndoButton from "../../toolbars/edit/buttons/UndoButton";
8
9
import ArchiveButton from "../../toolbars/process/buttons/ArchiveButton" ;
9
10
import { ArchiveToggleButton } from "../../toolbars/process/buttons/ArchiveToggleButton" ;
10
11
import CompareButton from "../../toolbars/process/buttons/CompareButton" ;
11
- import ImportButton from "../../toolbars/process/buttons/ImportButton" ;
12
12
import ExportButton from "../../toolbars/process/buttons/ExportButton" ;
13
+ import ImportButton from "../../toolbars/process/buttons/ImportButton" ;
13
14
import MigrateButton from "../../toolbars/process/buttons/MigrateButton" ;
14
15
import PDFButton from "../../toolbars/process/buttons/PDFButton" ;
15
16
import SaveButton from "../../toolbars/process/buttons/SaveButton" ;
16
17
import UnArchiveButton from "../../toolbars/process/buttons/UnArchiveButton" ;
17
- import { LinkButton } from "./LinkButton" ;
18
18
import CancelDeployButton from "../../toolbars/scenarioActions/buttons/CancelDeployButton" ;
19
19
import DeployButton from "../../toolbars/scenarioActions/buttons/DeployButton" ;
20
20
import PropertiesButton from "../../toolbars/scenarioActions/buttons/PropertiesButton" ;
21
+ import RedeployButton from "../../toolbars/scenarioActions/buttons/RedeployButton" ;
22
+ import RunOffScheduleButton from "../../toolbars/scenarioActions/buttons/RunOffScheduleButton" ;
23
+ import AdhocTestingButton from "../../toolbars/test/buttons/AdhocTestingButton" ;
21
24
import CountsButton from "../../toolbars/test/buttons/CountsButton" ;
22
25
import FromFileButton from "../../toolbars/test/buttons/FromFileButton" ;
23
- import GenerateButton from "../../toolbars/test/buttons/GenerateButton" ;
24
26
import GenerateAndTestButton from "../../toolbars/test/buttons/GenerateAndTestButton" ;
25
- import AdhocTestingButton from "../../toolbars/test/buttons/AdhocTestingButton " ;
27
+ import GenerateButton from "../../toolbars/test/buttons/GenerateButton " ;
26
28
import HideButton from "../../toolbars/test/buttons/HideButton" ;
27
29
import { ResetViewButton } from "../../toolbars/view/buttons/ResetViewButton" ;
28
30
import { ZoomInButton } from "../../toolbars/view/buttons/ZoomInButton" ;
29
31
import { ZoomOutButton } from "../../toolbars/view/buttons/ZoomOutButton" ;
30
32
import { BuiltinButtonTypes } from "./BuiltinButtonTypes" ;
31
33
import { CustomButtonTypes } from "./CustomButtonTypes" ;
32
- import { ToolbarButton , ToolbarButtonTypes } from "./types " ;
33
- import RunOffScheduleButton from "../../toolbars/scenarioActions/buttons/RunOffScheduleButton " ;
34
+ import { LinkButton } from "./LinkButton " ;
35
+ import type { ToolbarButton , ToolbarButtonTypes } from "./types " ;
34
36
35
37
export type PropsOfButton < T > = ToolbarButton & {
36
38
type : T ;
@@ -43,6 +45,7 @@ type ToolbarButtonsMap = {
43
45
export const TOOLBAR_BUTTONS_MAP : ToolbarButtonsMap = {
44
46
[ BuiltinButtonTypes . processSave ] : SaveButton ,
45
47
[ BuiltinButtonTypes . processDeploy ] : DeployButton ,
48
+ [ BuiltinButtonTypes . processRedeploy ] : RedeployButton ,
46
49
[ BuiltinButtonTypes . processCancel ] : CancelDeployButton ,
47
50
[ BuiltinButtonTypes . processRunOffSchedule ] : RunOffScheduleButton ,
48
51
[ BuiltinButtonTypes . viewZoomIn ] : ZoomInButton ,
0 commit comments