UNPKG

ng-zorro-antd

Version:

An enterprise-class UI components based on Ant Design and Angular

1 lines 1.99 kB
{"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 { NgModule } from '@angular/core';\n\nimport { IconDefinition } from '@ant-design/icons-angular';\nimport * as AllIcons from '@ant-design/icons-angular/icons';\n\nimport { NzIconModule, NZ_ICONS } from 'ng-zorro-antd/icon';\n\nconst antDesignIcons = AllIcons as {\n [key: string]: IconDefinition;\n};\n\nconst icons: IconDefinition[] = Object.keys(antDesignIcons).map(key => {\n const i = antDesignIcons[key];\n return i;\n});\n\n/**\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","/**\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;;;;AAYA,MAAM,cAAc,GAAG,QAEtB,CAAC;AAEF,MAAM,KAAK,GAAqB,MAAM,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,GAAG,CAAC,GAAG;IACjE,MAAM,CAAC,GAAG,cAAc,CAAC,GAAG,CAAC,CAAC;IAC9B,OAAO,CAAC,CAAC;AACX,CAAC,CAAC,CAAC;AAEH;;;AAGA;MAUa,gBAAgB;;6GAAhB,gBAAgB;8GAAhB,gBAAgB,YARjB,YAAY;8GAQX,gBAAgB,aAPhB;QACT;YACE,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,KAAK;SAChB;KACF,YANS,YAAY;2FAQX,gBAAgB;kBAT5B,QAAQ;mBAAC;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,SAAS,EAAE;wBACT;4BACE,OAAO,EAAE,QAAQ;4BACjB,QAAQ,EAAE,KAAK;yBAChB;qBACF;iBACF;;;ACjCD;;;;;ACAA;;;;;;"}