from core.tools.entities.common_entities import I18nObject from core.tools.entities.tool_entities import ToolLabel, ToolLabelEnum ICONS = { ToolLabelEnum.SEARCH: """ """, # noqa: E501 ToolLabelEnum.IMAGE: """ """, # noqa: E501 ToolLabelEnum.VIDEOS: """ """, # noqa: E501 ToolLabelEnum.WEATHER: """ """, # noqa: E501 ToolLabelEnum.FINANCE: """ """, # noqa: E501 ToolLabelEnum.DESIGN: """ """, # noqa: E501 ToolLabelEnum.TRAVEL: """ """, # noqa: E501 ToolLabelEnum.SOCIAL: """ """, # noqa: E501 ToolLabelEnum.NEWS: """ """, # noqa: E501 ToolLabelEnum.MEDICAL: """ """, # noqa: E501 ToolLabelEnum.PRODUCTIVITY: """ """, # noqa: E501 ToolLabelEnum.EDUCATION: """ """, # noqa: E501 ToolLabelEnum.BUSINESS: """ """, # noqa: E501 ToolLabelEnum.ENTERTAINMENT: """ """, # noqa: E501 ToolLabelEnum.UTILITIES: """ """, # noqa: E501 ToolLabelEnum.OTHER: """ """, # noqa: E501 } default_tool_label_dict = { ToolLabelEnum.SEARCH: ToolLabel( name="search", label=I18nObject(en_US="Search", zh_Hans="搜索"), icon=ICONS[ToolLabelEnum.SEARCH] ), ToolLabelEnum.IMAGE: ToolLabel( name="image", label=I18nObject(en_US="Image", zh_Hans="图片"), icon=ICONS[ToolLabelEnum.IMAGE] ), ToolLabelEnum.VIDEOS: ToolLabel( name="videos", label=I18nObject(en_US="Videos", zh_Hans="视频"), icon=ICONS[ToolLabelEnum.VIDEOS] ), ToolLabelEnum.WEATHER: ToolLabel( name="weather", label=I18nObject(en_US="Weather", zh_Hans="天气"), icon=ICONS[ToolLabelEnum.WEATHER] ), ToolLabelEnum.FINANCE: ToolLabel( name="finance", label=I18nObject(en_US="Finance", zh_Hans="金融"), icon=ICONS[ToolLabelEnum.FINANCE] ), ToolLabelEnum.DESIGN: ToolLabel( name="design", label=I18nObject(en_US="Design", zh_Hans="设计"), icon=ICONS[ToolLabelEnum.DESIGN] ), ToolLabelEnum.TRAVEL: ToolLabel( name="travel", label=I18nObject(en_US="Travel", zh_Hans="旅行"), icon=ICONS[ToolLabelEnum.TRAVEL] ), ToolLabelEnum.SOCIAL: ToolLabel( name="social", label=I18nObject(en_US="Social", zh_Hans="社交"), icon=ICONS[ToolLabelEnum.SOCIAL] ), ToolLabelEnum.NEWS: ToolLabel( name="news", label=I18nObject(en_US="News", zh_Hans="新闻"), icon=ICONS[ToolLabelEnum.NEWS] ), ToolLabelEnum.MEDICAL: ToolLabel( name="medical", label=I18nObject(en_US="Medical", zh_Hans="医疗"), icon=ICONS[ToolLabelEnum.MEDICAL] ), ToolLabelEnum.PRODUCTIVITY: ToolLabel( name="productivity", label=I18nObject(en_US="Productivity", zh_Hans="生产力"), icon=ICONS[ToolLabelEnum.PRODUCTIVITY], ), ToolLabelEnum.EDUCATION: ToolLabel( name="education", label=I18nObject(en_US="Education", zh_Hans="教育"), icon=ICONS[ToolLabelEnum.EDUCATION] ), ToolLabelEnum.BUSINESS: ToolLabel( name="business", label=I18nObject(en_US="Business", zh_Hans="商业"), icon=ICONS[ToolLabelEnum.BUSINESS] ), ToolLabelEnum.ENTERTAINMENT: ToolLabel( name="entertainment", label=I18nObject(en_US="Entertainment", zh_Hans="娱乐"), icon=ICONS[ToolLabelEnum.ENTERTAINMENT], ), ToolLabelEnum.UTILITIES: ToolLabel( name="utilities", label=I18nObject(en_US="Utilities", zh_Hans="工具"), icon=ICONS[ToolLabelEnum.UTILITIES] ), ToolLabelEnum.OTHER: ToolLabel( name="other", label=I18nObject(en_US="Other", zh_Hans="其他"), icon=ICONS[ToolLabelEnum.OTHER] ), } default_tool_labels = [v for k, v in default_tool_label_dict.items()] default_tool_label_name_list = [label.name for label in default_tool_labels]