|
@@ -6,6 +6,7 @@ export type IconItem = {
|
|
|
icon: string;
|
|
icon: string;
|
|
|
name: string;
|
|
name: string;
|
|
|
color?: string;
|
|
color?: string;
|
|
|
|
|
+ type?: string
|
|
|
parse?: {
|
|
parse?: {
|
|
|
key?: string;
|
|
key?: string;
|
|
|
fill?: string;
|
|
fill?: string;
|
|
@@ -140,76 +141,77 @@ export const iconGroups: IconGroup[] = [
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
name: getGT("jiaju"),
|
|
name: getGT("jiaju"),
|
|
|
|
|
+
|
|
|
children: [
|
|
children: [
|
|
|
{
|
|
{
|
|
|
name: getGT("kecan"),
|
|
name: getGT("kecan"),
|
|
|
children: [
|
|
children: [
|
|
|
- { icon: "TV", name: getIT("TV") },
|
|
|
|
|
- { icon: "HangingTV", name: getIT("HangingTV") },
|
|
|
|
|
- { icon: "Cabinet", name: getIT("Cabinet") },
|
|
|
|
|
- { icon: "CombinationSofa", name: getIT("CombinationSofa") },
|
|
|
|
|
- { icon: "ThreeSofa", name: getIT("ThreeSofa") },
|
|
|
|
|
- { icon: "SingleSofa", name: getIT("SingleSofa") },
|
|
|
|
|
- { icon: "SingleSofaR", name: getIT("SingleSofaR") },
|
|
|
|
|
- { icon: "CurvedSofa", name: getIT("CurvedSofa") },
|
|
|
|
|
- { icon: "CornerSofa", name: getIT("CornerSofa") },
|
|
|
|
|
- { icon: "TwoSofa", name: getIT("TwoSofa") },
|
|
|
|
|
- { icon: "TeaTable", name: getIT("TeaTable") },
|
|
|
|
|
- { icon: "Carpet", name: getIT("Carpet") },
|
|
|
|
|
- { icon: "Plant", name: getIT("Plant") },
|
|
|
|
|
- { icon: "TeaTableR", name: getIT("TeaTableR") },
|
|
|
|
|
- { icon: "TeaTableO", name: getIT("TeaTableO") },
|
|
|
|
|
- { icon: "SideTableR", name: getIT("SideTableR") },
|
|
|
|
|
- { icon: "SideTableS", name: getIT("SideTableS") },
|
|
|
|
|
- { icon: "DiningTableC", name: getIT("DiningTableC") },
|
|
|
|
|
- { icon: "Chair", name: getIT("Chair") },
|
|
|
|
|
- { icon: "DiningTableRC", name: getIT("DiningTableRC") },
|
|
|
|
|
- { icon: "DiningTable", name: getIT("DiningTable") },
|
|
|
|
|
- { icon: "DiningTableR", name: getIT("DiningTableR") },
|
|
|
|
|
- { icon: "Stool", name: getIT("Stool") },
|
|
|
|
|
|
|
+ { type: 'realScale', icon: "TV", name: getIT("TV") },
|
|
|
|
|
+ { type: 'realScale', icon: "HangingTV", name: getIT("HangingTV") },
|
|
|
|
|
+ { type: 'realScale', icon: "Cabinet", name: getIT("Cabinet") },
|
|
|
|
|
+ { type: 'realScale', icon: "CombinationSofa", name: getIT("CombinationSofa") },
|
|
|
|
|
+ { type: 'realScale', icon: "ThreeSofa", name: getIT("ThreeSofa") },
|
|
|
|
|
+ { type: 'realScale', icon: "SingleSofa", name: getIT("SingleSofa") },
|
|
|
|
|
+ { type: 'realScale', icon: "SingleSofaR", name: getIT("SingleSofaR") },
|
|
|
|
|
+ { type: 'realScale', icon: "CurvedSofa", name: getIT("CurvedSofa") },
|
|
|
|
|
+ { type: 'realScale', icon: "CornerSofa", name: getIT("CornerSofa") },
|
|
|
|
|
+ { type: 'realScale', icon: "TwoSofa", name: getIT("TwoSofa") },
|
|
|
|
|
+ { type: 'realScale', icon: "TeaTable", name: getIT("TeaTable") },
|
|
|
|
|
+ { type: 'realScale', icon: "Carpet", name: getIT("Carpet") },
|
|
|
|
|
+ { type: 'realScale', icon: "Plant", name: getIT("Plant") },
|
|
|
|
|
+ { type: 'realScale', icon: "TeaTableR", name: getIT("TeaTableR") },
|
|
|
|
|
+ { type: 'realScale', icon: "TeaTableO", name: getIT("TeaTableO") },
|
|
|
|
|
+ { type: 'realScale', icon: "SideTableR", name: getIT("SideTableR") },
|
|
|
|
|
+ { type: 'realScale', icon: "SideTableS", name: getIT("SideTableS") },
|
|
|
|
|
+ { type: 'realScale', icon: "DiningTableC", name: getIT("DiningTableC") },
|
|
|
|
|
+ { type: 'realScale', icon: "Chair", name: getIT("Chair") },
|
|
|
|
|
+ { type: 'realScale', icon: "DiningTableRC", name: getIT("DiningTableRC") },
|
|
|
|
|
+ { type: 'realScale', icon: "DiningTable", name: getIT("DiningTable") },
|
|
|
|
|
+ { type: 'realScale', icon: "DiningTableR", name: getIT("DiningTableR") },
|
|
|
|
|
+ { type: 'realScale', icon: "Stool", name: getIT("Stool") },
|
|
|
],
|
|
],
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
name: getGT("woshi"),
|
|
name: getGT("woshi"),
|
|
|
children: [
|
|
children: [
|
|
|
- { icon: "DoubleBed", name: getIT("DoubleBed") },
|
|
|
|
|
- { icon: "SingleBed", name: getIT("SingleBed") },
|
|
|
|
|
- { icon: "Wardrobe", name: getIT("Wardrobe") },
|
|
|
|
|
- { icon: "DoubleBedB", name: getIT("DoubleBedB") },
|
|
|
|
|
- { icon: "Dresser", name: getIT("Dresser") },
|
|
|
|
|
- { icon: "BedsideCupboard", name: getIT("BedsideCupboard") },
|
|
|
|
|
- { icon: "Pillow", name: getIT("Pillow") },
|
|
|
|
|
|
|
+ { type: 'realScale', icon: "DoubleBed", name: getIT("DoubleBed") },
|
|
|
|
|
+ { type: 'realScale', icon: "SingleBed", name: getIT("SingleBed") },
|
|
|
|
|
+ { type: 'realScale', icon: "Wardrobe", name: getIT("Wardrobe") },
|
|
|
|
|
+ { type: 'realScale', icon: "DoubleBedB", name: getIT("DoubleBedB") },
|
|
|
|
|
+ { type: 'realScale', icon: "Dresser", name: getIT("Dresser") },
|
|
|
|
|
+ { type: 'realScale', icon: "BedsideCupboard", name: getIT("BedsideCupboard") },
|
|
|
|
|
+ { type: 'realScale', icon: "Pillow", name: getIT("Pillow") },
|
|
|
],
|
|
],
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
name: getGT("chuwei"),
|
|
name: getGT("chuwei"),
|
|
|
children: [
|
|
children: [
|
|
|
- { icon: "GasStove", name: getIT("GasStove") },
|
|
|
|
|
- { icon: "Cupboard", name: getIT("Cupboard") },
|
|
|
|
|
- { icon: "Bathtub", name: getIT("Bathtub") },
|
|
|
|
|
- { icon: "Closestool", name: getIT("Closestool") },
|
|
|
|
|
- { icon: "Washstand", name: getIT("Washstand") },
|
|
|
|
|
- { icon: "CupboardU", name: getIT("CupboardU") },
|
|
|
|
|
- { icon: "WaterChannel", name: getIT("WaterChannel") },
|
|
|
|
|
- { icon: "WaterChannelD", name: getIT("WaterChannelD") },
|
|
|
|
|
- { icon: "FridgeS", name: getIT("FridgeS") },
|
|
|
|
|
- { icon: "FridgeD", name: getIT("FridgeD") },
|
|
|
|
|
- { icon: "CabinetB", name: getIT("CabinetB") },
|
|
|
|
|
- { icon: "SquattingPan", name: getIT("SquattingPan") },
|
|
|
|
|
- { icon: "Shower", name: getIT("Shower") },
|
|
|
|
|
|
|
+ { type: 'realScale', icon: "GasStove", name: getIT("GasStove") },
|
|
|
|
|
+ { type: 'realScale', icon: "Cupboard", name: getIT("Cupboard") },
|
|
|
|
|
+ { type: 'realScale', icon: "Bathtub", name: getIT("Bathtub") },
|
|
|
|
|
+ { type: 'realScale', icon: "Closestool", name: getIT("Closestool") },
|
|
|
|
|
+ { type: 'realScale', icon: "Washstand", name: getIT("Washstand") },
|
|
|
|
|
+ { type: 'realScale', icon: "CupboardU", name: getIT("CupboardU") },
|
|
|
|
|
+ { type: 'realScale', icon: "WaterChannel", name: getIT("WaterChannel") },
|
|
|
|
|
+ { type: 'realScale', icon: "WaterChannelD", name: getIT("WaterChannelD") },
|
|
|
|
|
+ { type: 'realScale', icon: "FridgeS", name: getIT("FridgeS") },
|
|
|
|
|
+ { type: 'realScale', icon: "FridgeD", name: getIT("FridgeD") },
|
|
|
|
|
+ { type: 'realScale', icon: "CabinetB", name: getIT("CabinetB") },
|
|
|
|
|
+ { type: 'realScale', icon: "SquattingPan", name: getIT("SquattingPan") },
|
|
|
|
|
+ { type: 'realScale', icon: "Shower", name: getIT("Shower") },
|
|
|
],
|
|
],
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
name: getGT("qita"),
|
|
name: getGT("qita"),
|
|
|
children: [
|
|
children: [
|
|
|
- { icon: "Desk", name: getIT("Desk") },
|
|
|
|
|
- { icon: "BalconyChair", name: getIT("BalconyChair") },
|
|
|
|
|
- { icon: "MopPool", name: getIT("MopPool") },
|
|
|
|
|
- { icon: "WashingMachine", name: getIT("WashingMachine") },
|
|
|
|
|
- { icon: "Elevator", name: getIT("Elevator") },
|
|
|
|
|
- { icon: "WaterFountain", name: getIT("WaterFountain") },
|
|
|
|
|
- { icon: "AirConditioner", name: getIT("AirConditioner") },
|
|
|
|
|
- { icon: "Tablelamp", name: getIT("Tablelamp") },
|
|
|
|
|
|
|
+ { type: 'realScale', icon: "Desk", name: getIT("Desk") },
|
|
|
|
|
+ { type: 'realScale', icon: "BalconyChair", name: getIT("BalconyChair") },
|
|
|
|
|
+ { type: 'realScale', icon: "MopPool", name: getIT("MopPool") },
|
|
|
|
|
+ { type: 'realScale', icon: "WashingMachine", name: getIT("WashingMachine") },
|
|
|
|
|
+ { type: 'realScale', icon: "Elevator", name: getIT("Elevator") },
|
|
|
|
|
+ { type: 'realScale', icon: "WaterFountain", name: getIT("WaterFountain") },
|
|
|
|
|
+ { type: 'realScale', icon: "AirConditioner", name: getIT("AirConditioner") },
|
|
|
|
|
+ { type: 'realScale', icon: "Tablelamp", name: getIT("Tablelamp") },
|
|
|
],
|
|
],
|
|
|
},
|
|
},
|
|
|
],
|
|
],
|
|
@@ -236,6 +238,7 @@ export const getIconItem = (icon: string) => {
|
|
|
}
|
|
}
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
+
|
|
|
export const aiIconMap = {
|
|
export const aiIconMap = {
|
|
|
SingleDoor: "men_l",
|
|
SingleDoor: "men_l",
|
|
|
DoubleDoor: "shuangkaimen",
|
|
DoubleDoor: "shuangkaimen",
|