forked from higlass/higlass-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
66 lines (52 loc) · 1.97 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
/* eslint max-len: 0 */
import { ActionCreators } from 'redux-undo';
export const redo = ActionCreators.redo();
export const reset = () => ({
type: 'RESET',
payload: {},
});
export const setHomeInfoBarClose = homeInfoBarClose => ({
type: 'SET_HOME_INFO_BAR_CLOSE',
payload: { homeInfoBarClose },
});
export const setViewConfig = viewConfig => ({
type: 'SET_VIEW_CONFIG',
payload: { viewConfig },
});
export const setViewerMouseTool = viewerMouseTool => ({
type: 'SET_VIEWER_MOUSE_TOOL',
payload: { viewerMouseTool },
});
export const setViewerRightBarAnnotationsEntryDetails = viewerRightBarAnnotationsEntryDetails => ({
type: 'SET_VIEWER_RIGHT_BAR_ANNOTATIONS_ENTRY_DETAILS',
payload: { viewerRightBarAnnotationsEntryDetails },
});
export const setViewerRightBarAnnotationsEntryList = viewerRightBarAnnotationsEntryList => ({
type: 'SET_VIEWER_RIGHT_BAR_ANNOTATIONS_ENTRY_LIST',
payload: { viewerRightBarAnnotationsEntryList },
});
export const setViewerRightBarAnnotationsEntrySelection = viewerRightBarAnnotationsEntrySelection => ({
type: 'SET_VIEWER_RIGHT_BAR_ANNOTATIONS_ENTRY_SELECTION',
payload: { viewerRightBarAnnotationsEntrySelection },
});
export const setViewerRightBarInfoLensLocation = viewerRightBarInfoLensLocation => ({
type: 'SET_VIEWER_RIGHT_BAR_INFO_LENS_LOCATION',
payload: { viewerRightBarInfoLensLocation },
});
export const setViewerRightBarInfoLensValue = viewerRightBarInfoLensValue => ({
type: 'SET_VIEWER_RIGHT_BAR_INFO_LENS_VALUE',
payload: { viewerRightBarInfoLensValue },
});
export const setViewerRightBarShow = viewerRightBarShow => ({
type: 'SET_VIEWER_RIGHT_BAR_SHOW',
payload: { viewerRightBarShow },
});
export const setViewerRightBarTab = viewerRightBarTab => ({
type: 'SET_VIEWER_RIGHT_BAR_TAB',
payload: { viewerRightBarTab },
});
export const setViewerRightBarWidth = viewerRightBarWidth => ({
type: 'SET_VIEWER_RIGHT_BAR_WIDTH',
payload: { viewerRightBarWidth },
});
export const undo = ActionCreators.undo();