UNPKG

ng-zorro-antd

Version:

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

52 lines (47 loc) 2.12 kB
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@ant-design/icons-angular/icons'), require('ng-zorro-antd/icon')) : typeof define === 'function' && define.amd ? define('ng-zorro-antd/icon/testing', ['exports', '@angular/core', '@ant-design/icons-angular/icons', 'ng-zorro-antd/icon'], factory) : (global = global || self, factory((global['ng-zorro-antd'] = global['ng-zorro-antd'] || {}, global['ng-zorro-antd'].icon = global['ng-zorro-antd'].icon || {}, global['ng-zorro-antd'].icon.testing = {}), global.ng.core, global.AllIcons, global['ng-zorro-antd'].icon)); }(this, function (exports, core, AllIcons, icon) { 'use strict'; /** * @fileoverview added by tsickle * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** @type {?} */ var antDesignIcons = (/** @type {?} */ (AllIcons)); var ɵ0 = /** * @param {?} key * @return {?} */ function (key) { /** @type {?} */ var i = antDesignIcons[key]; return i; }; /** @type {?} */ var icons = Object.keys(antDesignIcons).map((ɵ0)); var ɵ1 = icons; /** * Include this module in every testing spec, except `nz-icon.spec.ts`. */ // @dynamic var NzIconTestModule = /** @class */ (function () { function NzIconTestModule() { } NzIconTestModule.decorators = [ { type: core.NgModule, args: [{ exports: [icon.NzIconModule], providers: [ { provide: icon.NZ_ICONS, useValue: ɵ1 } ] },] } ]; return NzIconTestModule; }()); exports.NzIconTestModule = NzIconTestModule; Object.defineProperty(exports, '__esModule', { value: true }); })); //# sourceMappingURL=ng-zorro-antd-icon-testing.umd.js.map