1/* 2 * Copyright (c) 2022 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15export interface keySourceListType { 16 title: string, 17 content: string, 18 upperContent: string 19} 20 21export interface sourceListType { 22 content: string 23} 24 25export let keySourceListData: keySourceListType[] = [ 26 { 27 title: '1', 28 content: 'q', 29 upperContent: 'Q' 30 }, 31 { 32 title: '2', 33 content: 'w', 34 upperContent: 'W' 35 }, 36 { 37 title: '3', 38 content: 'e', 39 upperContent: 'E' 40 }, 41 { 42 title: '4', 43 content: 'r', 44 upperContent: 'R' 45 }, 46 { 47 title: '5', 48 content: 't', 49 upperContent: 'T' 50 }, 51 { 52 title: '6', 53 content: 'y', 54 upperContent: 'Y' 55 }, 56 { 57 title: '7', 58 content: 'u', 59 upperContent: 'U' 60 }, 61 { 62 title: '8', 63 content: 'i', 64 upperContent: 'I' 65 }, 66 { 67 title: '9', 68 content: 'o', 69 upperContent: 'O' 70 }, 71 { 72 title: '0', 73 content: 'p', 74 upperContent: 'P' 75 }, 76 { 77 title: String.fromCharCode(126), 78 content: 'a', 79 upperContent: 'A' 80 }, 81 { 82 title: String.fromCharCode(33), 83 content: 's', 84 upperContent: 'S' 85 }, 86 { 87 title: '@', 88 content: 'd', 89 upperContent: 'D' 90 }, 91 { 92 title: String.fromCharCode(35), 93 content: 'f', 94 upperContent: 'F' 95 }, 96 { 97 title: '%', 98 content: 'g', 99 upperContent: 'G' 100 }, 101 { 102 title: String.fromCharCode(39), 103 content: 'h', 104 upperContent: 'H' 105 }, 106 { 107 title: '&', 108 content: 'j', 109 upperContent: 'J' 110 }, 111 { 112 title: '*', 113 content: 'k', 114 upperContent: 'K' 115 }, 116 { 117 title: '?', 118 content: 'l', 119 upperContent: 'L' 120 }, 121 { 122 title: String.fromCharCode(72), 123 content: 'z', 124 upperContent: 'Z' 125 }, 126 { 127 title: String.fromCharCode(73), 128 content: 'x', 129 upperContent: 'X' 130 }, 131 { 132 title: String.fromCharCode(175), 133 content: 'c', 134 upperContent: 'C' 135 }, 136 { 137 title: String.fromCharCode(95), 138 content: 'v', 139 upperContent: 'V' 140 }, 141 { 142 title: String.fromCharCode(58), 143 content: 'b', 144 upperContent: 'B' 145 }, 146 { 147 title: String.fromCharCode(59), 148 content: 'n', 149 upperContent: 'N' 150 }, 151 { 152 title: String.fromCharCode(47), 153 content: 'm', 154 upperContent: 'M' 155 } 156] 157 158export let numberSourceListData: sourceListType[] = [ 159 { 160 content: '1' 161 }, 162 { 163 content: '2' 164 }, 165 { 166 content: '3' 167 }, 168 { 169 content: '4' 170 }, 171 { 172 content: '5' 173 }, 174 { 175 content: '6' 176 }, 177 { 178 content: '7' 179 }, 180 { 181 content: '8' 182 }, 183 { 184 content: '9' 185 }, 186 { 187 content: '0' 188 }, 189 { 190 content: '@' 191 }, 192 { 193 content: '#' 194 }, 195 { 196 content: '$' 197 }, 198 { 199 content: '%' 200 }, 201 { 202 content: '&' 203 }, 204 { 205 content: '-' 206 }, 207 { 208 content: '+' 209 }, 210 { 211 content: '(' 212 }, 213 { 214 content: ')' 215 }, 216 { 217 content: '/' 218 }, 219 { 220 content: '*' 221 }, 222 { 223 content: '"' 224 }, 225 { 226 content: "'" 227 }, 228 { 229 content: ':' 230 }, 231 { 232 content: ';' 233 }, 234 { 235 content: '!' 236 }, 237 { 238 content: '?' 239 }, 240 241] 242 243export let symbolSourceListData: sourceListType[] = [ 244 { 245 content: '~' 246 }, 247 { 248 content: '`' 249 }, 250 { 251 content: '|' 252 }, 253 { 254 content: '\u2022' 255 }, 256 { 257 content: '\u221A' 258 }, 259 { 260 content: '\u03A0' 261 }, 262 { 263 content: '\u00F7' 264 }, 265 { 266 content: '\u00D7' 267 }, 268 { 269 content: String.fromCharCode(182) 270 }, 271 { 272 content: '\u2206' 273 }, 274 { 275 content: String.fromCharCode(163) 276 }, 277 { 278 content: '\u20ac' 279 }, 280 { 281 content: String.fromCharCode(165) 282 }, 283 { 284 content: String.fromCharCode(162) 285 }, 286 { 287 content: String.fromCharCode(94) 288 }, 289 { 290 content: '\u00B0' 291 }, 292 { 293 content: '=' 294 }, 295 { 296 content: String.fromCharCode(123) 297 }, 298 { 299 content: String.fromCharCode(125) 300 }, 301 { 302 content: String.fromCharCode(44) 303 }, 304 { 305 content: String.fromCharCode(92) 306 }, 307 { 308 content: String.fromCharCode(169) 309 }, 310 { 311 content: String.fromCharCode(174) 312 }, 313 { 314 content: '\u2122' 315 }, 316 { 317 content: '\u2105' 318 }, 319 { 320 content: '[' 321 }, 322 { 323 content: ']' 324 }, 325] 326