{"version":3,"file":"qualcomm-ui-angular-core-lucide.mjs","sources":["../../src/lucide/provide-icons.ts","../../src/lucide/qualcomm-ui-angular-core-lucide.ts"],"sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {inject, InjectionToken, type StaticProvider} from \"@angular/core\"\n\nimport type {LucideIcon} from \"./lucide.types\"\n\nexport type LucideIconProviderValue = Record<string, LucideIcon>\n\nexport const LUCIDE_ICONS = new InjectionToken<LucideIconProviderValue>(\n  \"LUCIDE_ICONS\",\n)\n\nexport function provideIcons(icons: Record<string, LucideIcon>) {\n  return {\n    provide: LUCIDE_ICONS,\n    useFactory: () => {\n      const parent: LucideIconProviderValue | null = inject(LUCIDE_ICONS, {\n        optional: true,\n        skipSelf: true,\n      })\n      if (!parent) {\n        return icons\n      }\n      return {...parent, ...icons}\n    },\n  } satisfies StaticProvider\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;AAAA;AACA;MAQa,YAAY,GAAG,IAAI,cAAc,CAC5C,cAAc;AAGV,SAAU,YAAY,CAAC,KAAiC,EAAA;IAC5D,OAAO;AACL,QAAA,OAAO,EAAE,YAAY;QACrB,UAAU,EAAE,MAAK;AACf,YAAA,MAAM,MAAM,GAAmC,MAAM,CAAC,YAAY,EAAE;AAClE,gBAAA,QAAQ,EAAE,IAAI;AACd,gBAAA,QAAQ,EAAE,IAAI;AACf,aAAA,CAAC;YACF,IAAI,CAAC,MAAM,EAAE;AACX,gBAAA,OAAO,KAAK;YACd;AACA,YAAA,OAAO,EAAC,GAAG,MAAM,EAAE,GAAG,KAAK,EAAC;QAC9B,CAAC;KACuB;AAC5B;;AC3BA;;AAEG;;;;"}