{"version":3,"file":"ngx-com-components-icon-lucide.mjs","sources":["../../../projects/com/components/icon/lucide/lucide-adapter.ts","../../../projects/com/components/icon/lucide/ngx-com-components-icon-lucide.ts"],"sourcesContent":["import type { Provider } from '@angular/core';\nimport type { LucideIconData, LucideIcons } from 'lucide-angular';\nimport { provideComIcons } from 'ngx-com/components/icon';\nimport type { ComIconData } from 'ngx-com/components/icon';\n\n/**\n * Converts a single Lucide icon to the generic `ComIconData` format.\n *\n * Lucide's `LucideIconData` is `readonly [string, Record<string, string>][]`\n * which is structurally identical to `ComIconData`. This function exists for\n * type-level conversion and explicit intent.\n */\nexport function fromLucideIcon(icon: LucideIconData): ComIconData {\n  return icon as unknown as ComIconData;\n}\n\n/**\n * Registers Lucide icons for use with `com-icon`.\n *\n * Drop-in replacement for `provideComIcons` that accepts Lucide icon imports directly.\n *\n * @example Root-level (app.config.ts)\n * ```ts\n * import { provideComLucideIcons } from 'ngx-com/components/icon/lucide';\n * import { ChevronRight, Star, Check } from 'lucide-angular';\n *\n * export const appConfig = {\n *   providers: [\n *     provideComLucideIcons({ ChevronRight, Star, Check })\n *   ]\n * };\n * ```\n */\nexport function provideComLucideIcons(icons: LucideIcons): Provider {\n  // LucideIcons is Record<string, LucideIconData> which is structurally\n  // compatible with ComIconMap — cast through unknown for type safety.\n  return provideComIcons(icons as unknown as Record<string, ComIconData>);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;AAKA;;;;;;AAMG;AACG,SAAU,cAAc,CAAC,IAAoB,EAAA;AACjD,IAAA,OAAO,IAA8B;AACvC;AAEA;;;;;;;;;;;;;;;;AAgBG;AACG,SAAU,qBAAqB,CAAC,KAAkB,EAAA;;;AAGtD,IAAA,OAAO,eAAe,CAAC,KAA+C,CAAC;AACzE;;ACrCA;;AAEG;;;;"}