front/src/utils/arco-icon-list.ts
zzh 1a5e799ce2 feat: 订单指引流程图、对客说明与查价/菜单体验优化
新增订单与渠道新手指引(Mermaid 流程图),销售产品对客说明 Tab,查价表格与详情抽屉,菜单图标可视化选择;MarkdownViewer 支持 Mermaid 渲染。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-09 15:17:33 +08:00

13 lines
506 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import * as Icons from '@arco-design/web-vue/es/icon'
/** Arco Design 图标组件名列表(Icon 前缀,按字母排序) */
export const ARCO_ICON_NAMES: string[] = Object.keys(Icons)
.filter((key) => key.startsWith('Icon') && key !== 'Icon')
.sort((a, b) => a.localeCompare(b))
export function filterArcoIconNames(keyword: string): string[] {
const q = keyword.trim().toLowerCase()
if (!q) return ARCO_ICON_NAMES
return ARCO_ICON_NAMES.filter((name) => name.toLowerCase().includes(q))
}