{"version":3,"file":"helper.mjs","sources":["../../../../../packages/components/icons-vue/helper.ts"],"sourcesContent":["import { defineComponent, h } from 'vue'\n\nexport type IOptions = {\n  name: string\n  svg: string\n}\n\nexport const createIconComponent = (options: IOptions) => {\n  return defineComponent({\n    name: options.name,\n    render() {\n      return h('div', {\n        style: {\n          display: 'contents',\n        },\n        innerHTML: options.svg,\n      })\n    },\n  })\n}\n"],"names":[],"mappings":";;AAOa,MAAA,mBAAA,GAAsB,CAAC,OAAsB,KAAA;AACxD,EAAA,OAAO,eAAgB,CAAA;AAAA,IACrB,MAAM,OAAQ,CAAA,IAAA;AAAA,IACd,MAAS,GAAA;AACP,MAAA,OAAO,EAAE,KAAO,EAAA;AAAA,QACd,KAAO,EAAA;AAAA,UACL,OAAS,EAAA,UAAA;AAAA,SACX;AAAA,QACA,WAAW,OAAQ,CAAA,GAAA;AAAA,OACpB,CAAA,CAAA;AAAA,KACH;AAAA,GACD,CAAA,CAAA;AACH;;;;"}