// Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/ import { injectSvgIcons } from '#shared/components/CommonIcon/injectIcons.ts' import { provideIcons } from '#shared/components/CommonIcon/useIcons.ts' import iconsAliases from './mobileIconsAliasesMap.ts' const iconsSymbolsList = Object.entries( import.meta.glob<{ default: string }>('./assets/*.svg', { eager: true, query: '?symbol', }), ) export const initializeMobileIcons = () => { const { symbols } = provideIcons(iconsSymbolsList, iconsAliases) injectSvgIcons(symbols) }