wujingjing
2024-04-22 f106e4dffb8279cb90726e83e7edd631f4c77699
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
/**
 * pinia 类型定义
 */
 
// 用户信息
declare interface UserInfosState<T = any> {
    userInfos: {
        authBtnList: string[];
        photo: string;
        roles: any[];
        time: number;
        userName: string;
        [key: string]: T;
    };
}
 
// 路由缓存列表
declare interface KeepAliveNamesState {
    keepAliveNames: string[];
    cachedViews: string[];
}
 
// 后端返回原始路由(未处理时)
declare interface RequestOldRoutesState {
    requestOldRoutes: string[];
}
 
// TagsView 路由列表
declare interface TagsViewRoutesState<T = any> {
    tagsViewRoutes: T[];
    isTagsViewCurrenFull: Boolean;
    showCloseBtn:Boolean;
}
 
// 路由列表
declare interface RoutesListState<T = any> {
    routesList: T[];
    isColumnsMenuHover: Boolean;
    isColumnsNavHover: Boolean;
}
 
// 布局配置
declare interface ThemeConfigState {
    themeConfig: {
        isDrawer: boolean;
        primary: string;
        topBar: string;
        topBarColor: string;
        isTopBarColorGradual: boolean;
        menuBar: string;
        menuBarColor: string;
        menuBarActiveColor: string;
        isMenuBarColorGradual: boolean;
        columnsMenuBar: string;
        columnsMenuBarColor: string;
        isColumnsMenuBarColorGradual: boolean;
        isColumnsMenuHoverPreload: boolean;
        isCollapse: boolean;
        isUniqueOpened: boolean;
        isFixedHeader: boolean;
        isFixedHeaderChange: boolean;
        isClassicSplitMenu: boolean;
        isLockScreen: boolean;
        lockScreenTime: number;
        isShowLogo: boolean;
        isShowLogoChange: boolean;
        isBreadcrumb: boolean;
        isTagsview: boolean;
        isBreadcrumbIcon: boolean;
        isTagsviewIcon: boolean;
        isCacheTagsView: boolean;
        isSortableTagsView: boolean;
        isShareTagsView: boolean;
        isFooter: boolean;
        isGrayscale: boolean;
        isInvert: boolean;
        isIsDark: boolean;
        isWartermark: boolean;
        wartermarkText: string;
        tagsStyle: string;
        animation: string;
        columnsAsideStyle: string;
        columnsAsideLayout: string;
        layout: string;
        isRequestRoutes: boolean;
        globalTitle: string;
        globalViceTitle: string;
        globalViceTitleMsg: string;
        globalI18n: string;
        globalComponentSize: string;
    };
}
 
declare interface FlowConfig {
    flowConfig: {
        showGrid: boolean;
        type: string;
        size: number;
        color: string;
        thickness: number;
        colorSecond: string;
        thicknessSecond: number;
        factor: number;
        bgColor: string;
        showImage: boolean;
        repeat: string;
        angle: number;
        position: string;
        bgSize: string;
        opacity: number;
        strokeWidth: number;
        outStrokeWidth: number;
        stroke: string;
        outStroke: string;
        strokeDasharray: number;
        animation: number;
        connector: string;
        edgeRouter: string;
        edgeTargetMarker: string;
        edgeSourceMarker: string;
        edgeMarkerWidth: number;
        edgeMarkerHeight: number;
        edgeMarkerRadius: number;
        edgeOffset: number;
        edgeDirection: string;
        label: string;
        nodeStroke: string;
        nodeStrokeWidth: number;
        nodeFill: string;
        portId: string;
        portX: number;
        portY: number;
        portColor: string;
        portFill: string;
        ZIndex: number;
        nodeFontSize: number;
        nodeColor: string;
        nodeStatus: number;
        nodePointCode: string;
        nodeFieldName: string;
        nodeType: string;
    };
}
 
declare interface ProcessDrawingConfig {
    processDrawingConfig: {
        showGrid: boolean;
        type: string;
        size: number;
        color: string;
        thickness: number;
        colorSecond: string;
        thicknessSecond: number;
        factor: number;
        bgColor: string;
        showImage: boolean;
        imageUrl: string;
        repeat: string;
        angle: number;
        position: string;
        bgSize: string;
        opacity: number;
    };
}