MyRepo-Ums/node_modules/@fortawesome/angular-fontawesome/esm2022/testing/icon/mock-icon-library.service.mjs
2024-01-19 11:09:11 +01:00

27 lines
3.1 KiB
JavaScript

import { Injectable } from '@angular/core';
import * as i0 from "@angular/core";
export const dummyIcon = {
prefix: 'fad',
iconName: 'dummy',
icon: [512, 512, [], 'f030', 'M50 50 H462 V462 H50 Z'],
};
export class MockFaIconLibrary {
addIcons() {
throw new Error('Attempt to add an icon to the MockFaIconLibrary.');
}
addIconPacks() {
throw new Error('Attempt to add an icon pack to the MockFaIconLibrary.');
}
getIconDefinition(prefix, name) {
return dummyIcon;
}
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0", ngImport: i0, type: MockFaIconLibrary, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0", ngImport: i0, type: MockFaIconLibrary, providedIn: 'root' }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0", ngImport: i0, type: MockFaIconLibrary, decorators: [{
type: Injectable,
args: [{
providedIn: 'root',
}]
}] });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9jay1pY29uLWxpYnJhcnkuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Rlc3Rpbmcvc3JjL2ljb24vbW9jay1pY29uLWxpYnJhcnkuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQUkzQyxNQUFNLENBQUMsTUFBTSxTQUFTLEdBQW1CO0lBQ3ZDLE1BQU0sRUFBRSxLQUFLO0lBQ2IsUUFBUSxFQUFFLE9BQW1CO0lBQzdCLElBQUksRUFBRSxDQUFDLEdBQUcsRU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