diff options
Diffstat (limited to 'subprojects/frontend/src/editor/PanelStore.ts')
-rw-r--r-- | subprojects/frontend/src/editor/PanelStore.ts | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/subprojects/frontend/src/editor/PanelStore.ts b/subprojects/frontend/src/editor/PanelStore.ts index e0e2b2f4..4f827280 100644 --- a/subprojects/frontend/src/editor/PanelStore.ts +++ b/subprojects/frontend/src/editor/PanelStore.ts | |||
@@ -18,13 +18,29 @@ export default class PanelStore { | |||
18 | private readonly closeCommand: Command, | 18 | private readonly closeCommand: Command, |
19 | protected readonly store: EditorStore, | 19 | protected readonly store: EditorStore, |
20 | ) { | 20 | ) { |
21 | makeObservable(this, { | 21 | makeObservable< |
22 | PanelStore, | ||
23 | | 'openCommand' | ||
24 | | 'closeCommand' | ||
25 | | 'store' | ||
26 | | 'setState' | ||
27 | | 'doOpen' | ||
28 | | 'doClose' | ||
29 | >(this, { | ||
30 | panelClass: false, | ||
31 | openCommand: false, | ||
32 | closeCommand: false, | ||
33 | store: false, | ||
22 | state: observable, | 34 | state: observable, |
23 | element: observable, | 35 | element: observable, |
36 | id: false, | ||
24 | open: action, | 37 | open: action, |
25 | close: action, | 38 | close: action, |
26 | toggle: action, | 39 | toggle: action, |
40 | setState: false, | ||
27 | synchronizeStateToView: action, | 41 | synchronizeStateToView: action, |
42 | doOpen: false, | ||
43 | doClose: false, | ||
28 | }); | 44 | }); |
29 | } | 45 | } |
30 | 46 | ||