1 |
- {"version":3,"file":"fa-svg.mjs","names":["h","resolveComponent","aliases","faAliases","fa","component","props","icon","rest","stringIcon","tag","key","includes","split"],"sources":["../../src/iconsets/fa-svg.ts"],"sourcesContent":["// Utilities\nimport { h, resolveComponent } from 'vue'\nimport { aliases as faAliases } from './fa'\n\n// Types\nimport type { IconSet } from '@/composables/icons'\n\nconst aliases = faAliases\n\nconst fa: IconSet = {\n component: props => {\n const { icon, ...rest } = props\n const stringIcon = icon as string\n return h(props.tag, rest, [\n h(resolveComponent('font-awesome-icon'), {\n key: stringIcon, // TODO: https://github.com/FortAwesome/vue-fontawesome/issues/250\n icon: stringIcon.includes(' fa-') ? stringIcon.split(' fa-') : stringIcon,\n }),\n ])\n },\n}\n\nexport { aliases, fa }\n"],"mappings":"AAAA;AACA,SAASA,CAAC,EAAEC,gBAAgB,QAAQ,KAAK;AAAA,SAChCC,OAAO,IAAIC,SAAS,oBAE7B;AAGA,MAAMD,OAAO,GAAGC,SAAS;AAEzB,MAAMC,EAAW,GAAG;EAClBC,SAAS,EAAEC,KAAK,IAAI;IAClB,MAAM;MAAEC,IAAI;MAAE,GAAGC;IAAK,CAAC,GAAGF,KAAK;IAC/B,MAAMG,UAAU,GAAGF,IAAc;IACjC,OAAOP,CAAC,CAACM,KAAK,CAACI,GAAG,EAAEF,IAAI,EAAE,CACxBR,CAAC,CAACC,gBAAgB,CAAC,mBAAmB,CAAC,EAAE;MACvCU,GAAG,EAAEF,UAAU;MAAE;MACjBF,IAAI,EAAEE,UAAU,CAACG,QAAQ,CAAC,MAAM,CAAC,GAAGH,UAAU,CAACI,KAAK,CAAC,MAAM,CAAC,GAAGJ;IACjE,CAAC,CAAC,CACH,CAAC;EACJ;AACF,CAAC;AAED,SAASP,OAAO,EAAEE,EAAE"}
|