mirror of
https://github.com/earthjasonlin/zzz-signal-search-export.git
synced 2025-04-21 07:50:19 +08:00
v1.0.0
This commit is contained in:
@ -1,15 +1,20 @@
|
||||
import * as IconComponents from '@element-plus/icons-vue'
|
||||
|
||||
const weaponTypeNames = new Set([
|
||||
'光锥', '光錐', 'Lichtkegel', 'Light Cone', 'Conos de luz', 'cônes de lumière', '光円錐', '광추', 'Cones de Luz', 'Световые конусы', 'Nón Ánh Sáng', 'Cône de lumière'
|
||||
'音擎', 'W-Engines', '音擎'
|
||||
])
|
||||
|
||||
const bangbooTypeNames = new Set([
|
||||
'邦布', 'Bangboo', '邦布'
|
||||
])
|
||||
|
||||
const characterTypeNames = new Set([
|
||||
'角色', 'Figur', 'Character', 'Personajes', 'Personnages', 'Karakter', 'キャラクター', '캐릭터', 'Personagens', 'Персонажи', 'ตัวละคร', 'Nhân Vật', 'Personnage'
|
||||
'代理人', 'Agents', '代理人'
|
||||
])
|
||||
|
||||
const isCharacter = (name) => characterTypeNames.has(name)
|
||||
const isWeapon = (name) => weaponTypeNames.has(name)
|
||||
const isBangboo = (name) => bangbooTypeNames.has(name)
|
||||
|
||||
const IconInstaller = (app) => {
|
||||
Object.values(IconComponents).forEach(component => {
|
||||
@ -20,5 +25,6 @@ const IconInstaller = (app) => {
|
||||
export {
|
||||
isWeapon,
|
||||
isCharacter,
|
||||
isBangboo,
|
||||
IconInstaller,
|
||||
}
|
||||
|
Reference in New Issue
Block a user