1 | (function (global, factory) {
|
---|
2 | typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@fortawesome/angular-fontawesome')) :
|
---|
3 | typeof define === 'function' && define.amd ? define('@fortawesome/angular-fontawesome/testing', ['exports', '@angular/core', '@fortawesome/angular-fontawesome'], factory) :
|
---|
4 | (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.fortawesome = global.fortawesome || {}, global.fortawesome['angular-fontawesome'] = global.fortawesome['angular-fontawesome'] || {}, global.fortawesome['angular-fontawesome'].testing = {}), global.ng.core, global.fortawesome['angular-fontawesome']));
|
---|
5 | }(this, (function (exports, i0, angularFontawesome) { 'use strict';
|
---|
6 |
|
---|
7 | var dummyIcon = {
|
---|
8 | prefix: 'fad',
|
---|
9 | iconName: 'dummy',
|
---|
10 | icon: [512, 512, [], 'f030', 'M50 50 H462 V462 H50 Z'],
|
---|
11 | };
|
---|
12 | var MockFaIconLibrary = /** @class */ (function () {
|
---|
13 | function MockFaIconLibrary() {
|
---|
14 | }
|
---|
15 | MockFaIconLibrary.prototype.addIcons = function () {
|
---|
16 | throw new Error('Attempt to add an icon to the MockFaIconLibrary.');
|
---|
17 | };
|
---|
18 | MockFaIconLibrary.prototype.addIconPacks = function () {
|
---|
19 | throw new Error('Attempt to add an icon pack to the MockFaIconLibrary.');
|
---|
20 | };
|
---|
21 | MockFaIconLibrary.prototype.getIconDefinition = function (prefix, name) {
|
---|
22 | return dummyIcon;
|
---|
23 | };
|
---|
24 | return MockFaIconLibrary;
|
---|
25 | }());
|
---|
26 | MockFaIconLibrary.ɵprov = i0.ɵɵdefineInjectable({ factory: function MockFaIconLibrary_Factory() { return new MockFaIconLibrary(); }, token: MockFaIconLibrary, providedIn: "root" });
|
---|
27 | MockFaIconLibrary.decorators = [
|
---|
28 | { type: i0.Injectable, args: [{
|
---|
29 | providedIn: 'root',
|
---|
30 | },] }
|
---|
31 | ];
|
---|
32 |
|
---|
33 | var FontAwesomeTestingModule = /** @class */ (function () {
|
---|
34 | function FontAwesomeTestingModule() {
|
---|
35 | }
|
---|
36 | return FontAwesomeTestingModule;
|
---|
37 | }());
|
---|
38 | FontAwesomeTestingModule.decorators = [
|
---|
39 | { type: i0.NgModule, args: [{
|
---|
40 | exports: [angularFontawesome.FontAwesomeModule],
|
---|
41 | providers: [{ provide: angularFontawesome.FaIconLibrary, useExisting: MockFaIconLibrary }],
|
---|
42 | },] }
|
---|
43 | ];
|
---|
44 |
|
---|
45 | /**
|
---|
46 | * Generated bundle index. Do not edit.
|
---|
47 | */
|
---|
48 |
|
---|
49 | exports.FontAwesomeTestingModule = FontAwesomeTestingModule;
|
---|
50 | exports.ɵa = MockFaIconLibrary;
|
---|
51 |
|
---|
52 | Object.defineProperty(exports, '__esModule', { value: true });
|
---|
53 |
|
---|
54 | })));
|
---|
55 | //# sourceMappingURL=fortawesome-angular-fontawesome-testing.umd.js.map
|
---|