diff --git a/src/components/dialog/content/setting/ExtensionPanel.vue b/src/components/dialog/content/setting/ExtensionPanel.vue index 33aeefef8..90ab298e0 100644 --- a/src/components/dialog/content/setting/ExtensionPanel.vue +++ b/src/components/dialog/content/setting/ExtensionPanel.vue @@ -1,6 +1,35 @@ @@ -48,7 +56,13 @@ import Column from 'primevue/column' import ToggleSwitch from 'primevue/toggleswitch' import Button from 'primevue/button' import Message from 'primevue/message' +import { FilterMatchMode } from '@primevue/core/api' import PanelTemplate from './PanelTemplate.vue' +import SearchBox from '@/components/common/SearchBox.vue' + +const filters = ref({ + global: { value: '', matchMode: FilterMatchMode.CONTAINS } +}) const extensionStore = useExtensionStore() const settingStore = useSettingStore() diff --git a/src/i18n.ts b/src/i18n.ts index a85ade05c..15e3e57fd 100644 --- a/src/i18n.ts +++ b/src/i18n.ts @@ -129,6 +129,7 @@ const messages = { searchNodes: 'Search Nodes', searchModels: 'Search Models', searchKeybindings: 'Search Keybindings', + searchExtensions: 'Search Extensions', noResultsFound: 'No Results Found', searchFailedMessage: "We couldn't find any settings matching your search. Try adjusting your search terms.", @@ -263,6 +264,7 @@ const messages = { searchNodes: '搜索节点', searchModels: '搜索模型', searchKeybindings: '搜索键位', + searchExtensions: '搜索插件', noResultsFound: '未找到结果', searchFailedMessage: '我们找不到与您的搜索匹配的任何设置。请尝试调整搜索条件。', @@ -380,6 +382,7 @@ const messages = { searchNodes: 'Поиск узлов', searchModels: 'Поиск моделей', searchKeybindings: 'Поиск сочетаний клавиш', + searchExtensions: 'Поиск расширений', noResultsFound: 'Ничего не найдено', searchFailedMessage: 'Не удалось найти ни одной настройки, соответствующей вашему запросу. Попробуйте скорректировать поисковый запрос.',