compatibleConfig.ts
7.3 KB
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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
/**
* 兼容配置文件
* 如果匹配到之前移动路径的组件则替换为现在正确的路径
* 比如之前摄像头是放在组合Compose包下,现在移动到Informations信息包下了,那么找到这个组件,替换为正确的包名即可
*/
export const compatibleConfig = [
{
key: 'SingleCamera', //单个摄像头
oldPackage: 'Composes', //之前的包名
newPackage: 'Informations', //新的包名
oldCategory: 'Mores', //之前的目录
newCategory: 'Mores', //新的目录
oldCategoryName: '更多', //之前的目录名
newCategoryName: '更多' //新的目录名
},
{
key: 'Camera', //多个摄像头
oldPackage: 'Composes', //之前的包名
newPackage: 'Informations', //新的包名
oldCategory: 'Mores', //之前的目录
newCategory: 'Mores', //新的目录
oldCategoryName: '更多', //之前的目录名
newCategoryName: '更多' //新的目录名
},
{
key: 'ThreeDimensional', //三维
oldPackage: 'Composes', //之前的包名
newPackage: 'Decorates', //新的包名
oldCategory: 'Mores', //之前的目录
newCategory: 'Three', //新的目录
oldCategoryName: '更多', //之前的目录名
newCategoryName: '三维' //新的目录名
},
{
key: 'Button', //自定义按钮
oldPackage: 'Informations', //之前的包名
newPackage: 'Informations', //现在的包名
oldCategory: 'Mores', //之前的目录
newCategory: 'Inputs', //新的目录
oldCategoryName: '更多', //之前的目录名
newCategoryName: '控件' //新的目录名
},
{
key: 'OverrideInputsDate', //自定义时间选择器
oldPackage: 'Informations', //之前的包名
newPackage: 'Informations', //现在的包名
oldCategory: 'Mores', //之前的目录
newCategory: 'Inputs', //新的目录
oldCategoryName: '更多', //之前的目录名
newCategoryName: '控件' //新的目录名
},
{
key: 'OverrideInputsTab', //自定义标签选择器
oldPackage: 'Informations', //之前的包名
newPackage: 'Informations', //现在的包名
oldCategory: 'Mores', //之前的目录
newCategory: 'Inputs', //新的目录
oldCategoryName: '更多', //之前的目录名
newCategoryName: '控件' //新的目录名
},
{
key: 'OverrideSelect', //自定义下拉选择器
oldPackage: 'Informations', //之前的包名
newPackage: 'Informations', //现在的包名
oldCategory: 'Mores', //之前的目录
newCategory: 'Inputs', //新的目录
oldCategoryName: '更多', //之前的目录名
newCategoryName: '控件' //新的目录名
},
{
key: 'OverrideILoadConfigurationframe', //加载组态
oldPackage: 'Informations', //之前的包名
newPackage: 'Informations', //现在的包名
oldCategory: 'Mores', //之前的目录
newCategory: 'Mores', //新的目录
oldCategoryName: '更多', //之前的目录名
newCategoryName: '更多' //新的目录名
},
{
key: 'OverrideTextCommon', //自定义文字
oldChartKey: 'ExternalVCOverrideTextCommon',
newChartKey: 'ExternalVCOverrideTextCommon',
oldConKey: 'ExternalVCCOverrideTextCommon',
newConKey: 'ExternalVCCOverrideTextCommon',
oldPackage: 'Informations', //之前的包名
newPackage: 'Informations', //现在的包名
oldCategory: 'Mores', //之前的目录
newCategory: 'Texts', //新的目录
oldCategoryName: '更多', //之前的目录名
newCategoryName: '文本' //新的目录名
},
{
key: 'OverrideTextGradient', //自定义渐变文字
oldPackage: 'Informations', //之前的包名
newPackage: 'Informations', //现在的包名
oldCategory: 'Mores', //之前的目录
newCategory: 'Texts', //新的目录
oldCategoryName: '更多', //之前的目录名
newCategoryName: '文本' //新的目录名
},
{
key: 'OverrideTextBarrage', //自定义弹幕文字
oldPackage: 'Informations', //之前的包名
newPackage: 'Informations', //现在的包名
oldCategory: 'Mores', //之前的目录
newCategory: 'Texts', //新的目录
oldCategoryName: '更多', //之前的目录名
newCategoryName: '文本' //新的目录名
},
{
key: 'LeftCenterRightHead', //大标题1
newKey: 'Headline1', //新的key
oldChartKey: 'ExternalVCLeftCenterRightHead',
newChartKey: 'ExternalVCHeadline1',
oldConKey: 'ExternalVCCLeftCenterRightHead',
newConKey: 'ExternalVCCHeadline1',
oldPackage: 'Composes', //之前的包名
newPackage: 'Decorates', //现在的包名
oldCategory: 'HeadCombinations', //之前的目录
newCategory: 'Headline', //新的目录
oldCategoryName: '更多', //之前的目录名
newCategoryName: '大标题' //新的目录名
},
{
key: 'LeftCenterRightHeadAnimat', //大标题2
newKey: 'Headline2', //新的key
oldChartKey: 'ExternalVCLeftCenterRightHeadAnimat',
newChartKey: 'ExternalVCHeadline2',
oldConKey: 'ExternalVCCLeftCenterRightHeadAnimat',
newConKey: 'ExternalVCCHeadline2',
oldPackage: 'Composes', //之前的包名
newPackage: 'Decorates', //现在的包名
oldCategory: 'HeadCombinations', //之前的目录
newCategory: 'Headline', //新的目录
oldCategoryName: '更多', //之前的目录名
newCategoryName: '大标题' //新的目录名
},
{
key: 'Title1', //小标题1
newKey: 'Subtitle1', //新的key
oldChartKey: 'ExternalVCTitle1',
newChartKey: 'ExternalVCSubtitle1',
oldConKey: 'ExternalVCCTitle1',
newConKey: 'ExternalVCCSubtitle1',
oldPackage: 'Composes', //之前的包名
newPackage: 'Decorates', //现在的包名
oldCategory: 'Mores', //之前的目录
newCategory: 'Subtitle', //新的目录
oldCategoryName: '更多', //之前的目录名
newCategoryName: '小标题' //新的目录名
},
{
key: 'Title2', //小标题2
oldChartKey: 'ExternalVCTitle2',
newChartKey: 'ExternalVCSubtitle2',
oldConKey: 'ExternalVCCTitle2',
newConKey: 'ExternalVCCSubtitle2',
newKey: 'Subtitle2', //新的key
oldPackage: 'Composes', //之前的包名
newPackage: 'Decorates', //现在的包名
oldCategory: 'Mores', //之前的目录
newCategory: 'Subtitle', //新的目录
oldCategoryName: '更多', //之前的目录名
newCategoryName: '小标题' //新的目录名
},
{
key: 'Title3', //小标题3
oldChartKey: 'ExternalVCTitle3',
newChartKey: 'ExternalVCSubtitle3',
oldConKey: 'ExternalVCCTitle3',
newConKey: 'ExternalVCCSubtitle3',
newKey: 'Subtitle3', //新的key
oldPackage: 'Composes', //之前的包名
newPackage: 'Decorates', //现在的包名
oldCategory: 'Mores', //之前的目录
newCategory: 'Subtitle', //新的目录
oldCategoryName: '更多', //之前的目录名
newCategoryName: '小标题' //新的目录名
},
{
key: 'OverrideImage', //自定义图片
oldPackage: 'Informations', //之前的包名
newPackage: 'Informations', //现在的包名
oldCategory: 'Mores', //之前的目录
newCategory: 'Mores', //新的目录
oldCategoryName: '更多', //之前的目录名
newCategoryName: '更多' //新的目录名
}
]
//