You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

1 lines
1.7 KiB

{"version":3,"file":"fake-icon-registry.d.ts","sources":["fake-icon-registry.d.ts"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA;AACA;AACA;;;;AACA;AACA","sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\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://angular.io/license\n */\nimport { OnDestroy } from '@angular/core';\nimport { MatIconRegistry } from '@angular/material/icon';\nimport { Observable } from 'rxjs';\ndeclare type PublicApi<T> = {\n [K in keyof T]: T[K] extends (...x: any[]) => T ? (...x: any[]) => PublicApi<T> : T[K];\n};\n/**\n * A null icon registry that must be imported to allow disabling of custom\n * icons.\n */\nexport declare class FakeMatIconRegistry implements PublicApi<MatIconRegistry>, OnDestroy {\n addSvgIcon(): this;\n addSvgIconLiteral(): this;\n addSvgIconInNamespace(): this;\n addSvgIconLiteralInNamespace(): this;\n addSvgIconSet(): this;\n addSvgIconSetLiteral(): this;\n addSvgIconSetInNamespace(): this;\n addSvgIconSetLiteralInNamespace(): this;\n registerFontClassAlias(): this;\n classNameForFontAlias(alias: string): string;\n getDefaultFontSetClass(): string;\n getSvgIconFromUrl(): Observable<SVGElement>;\n getNamedSvgIcon(): Observable<SVGElement>;\n setDefaultFontSetClass(): this;\n addSvgIconResolver(): this;\n ngOnDestroy(): void;\n private _generateEmptySvg;\n}\n/** Import this module in tests to install the null icon registry. */\nexport declare class MatIconTestingModule {\n}\nexport {};\n"]}