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
| import type { Emitter } from 'mitt';
| import mitt from 'mitt';
|
| type Events = {
| resize: {
| detail: {
| width: number;
| height: number;
| };
| };
| openPanel: string;
| tagViewsChange: string;
| tagViewsShowModel: string;
| logoChange: string;
| changLayoutRoute: {
| indexPath: string;
| parentPath: string;
| query: any;
| };
| closeCurrentPage: any;
| addOrEditReview: {
| addOrEditFile: number;
| fileInfo: {
| type: string;
| fileurl: Array<any>;
| name: string;
| sequence: number;
| };
| };
| };
|
| export const emitter: Emitter<Events> = mitt<Events>();
|
|