ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
1 lines • 2.69 kB
Source Map (JSON)
{"version":3,"file":"ng-zorro-antd-icon-testing.mjs","sources":["../../components/icon/testing/nz-icon-test.module.ts","../../components/icon/testing/public-api.ts","../../components/icon/testing/ng-zorro-antd-icon-testing.ts"],"sourcesContent":["/**\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE\n */\n\nimport { EnvironmentProviders, NgModule } from '@angular/core';\n\nimport { IconDefinition } from '@ant-design/icons-angular';\nimport * as AllIcons from '@ant-design/icons-angular/icons';\n\nimport { NZ_ICONS, NzIconModule, provideNzIcons } from 'ng-zorro-antd/icon';\n\nconst antDesignIcons = AllIcons as Record<string, IconDefinition>;\n\nconst icons: IconDefinition[] = Object.keys(antDesignIcons).map(key => {\n const i = antDesignIcons[key];\n return i;\n});\n\n/**\n * @internal\n * @deprecated Internal use only, do not use directly. Will be removed in v20\n * Include this module in every testing spec, except `icon.spec.ts`.\n */\n// @dynamic\n@NgModule({\n exports: [NzIconModule],\n providers: [\n {\n provide: NZ_ICONS,\n useValue: icons\n }\n ]\n})\nexport class NzIconTestModule {}\n\nexport const provideNzIconsTesting = (): EnvironmentProviders => provideNzIcons(icons);\n","/**\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE\n */\n\nexport * from './nz-icon-test.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAAA;;;AAGG;AASH,MAAM,cAAc,GAAG,QAA0C;AAEjE,MAAM,KAAK,GAAqB,MAAM,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,GAAG,CAAC,GAAG,IAAG;AACpE,IAAA,MAAM,CAAC,GAAG,cAAc,CAAC,GAAG,CAAC;AAC7B,IAAA,OAAO,CAAC;AACV,CAAC,CAAC;AAEF;;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