Untitled Diff

Created Diff never expires
131 removals
413 lines
52 additions
334 lines
7.8.13
7.18.10


fb5756b9ac0b717184f2fb9a1c0ab288
1618608e25fd5c6a5dc9f549479785e1
"use strict";
"use strict";


/* istanbul ignore next */
/* istanbul ignore next */
function cov_1p889rb2bp() {
function cov_1p889rb2bp() {
var path = "src\\lib\\config.pipe.ts";
var path = "src\\lib\\config.pipe.ts";
var hash = "32a164db760887d8d86053804d1b92d0c9d098f3";
var hash = "0959e8b73f5675bbc1dcdc7b750a5a3ba950ccce";
var global = new Function("return this")();
var global = new Function("return this")();
var gcv = "__coverage__";
var gcv = "__coverage__";
var coverageData = {
var coverageData = {
path: "src\\lib\\config.pipe.ts",
path: "src\\lib\\config.pipe.ts",
statementMap: {
statementMap: {
"0": {
"0": {
start: {
start: {
line: 3,
line: 2,
column: 0
column: 0
},
},
end: {
end: {
line: 3,
line: 2,
column: 62
column: 62
}
}
},
},
"1": {
"1": {
start: {
start: {
line: 4,
line: 3,
column: 0
column: 0
},
},
end: {
end: {
line: 4,
line: 3,
column: 28
column: 28
}
}
},
},
"2": {
"2": {
start: {
start: {
line: 5,
line: 4,
column: 16
column: 16
},
},
end: {
end: {
line: 5,
line: 4,
column: 32
column: 32
}
}
},
},
"3": {
"3": {
start: {
start: {
line: 6,
line: 5,
column: 15
column: 15
},
},
end: {
end: {
line: 6,
line: 5,
column: 39
column: 39
}
}
},
},
"4": {
"4": {
start: {
start: {
line: 7,
line: 6,
column: 25
column: 25
},
},
end: {
end: {
line: 7,
line: 6,
column: 52
column: 52
}
}
},
},
"5": {
"5": {
start: {
start: {
line: 8,
line: 10,
column: 17
column: 17
},
},
end: {
end: {
line: 16,
line: 18,
column: 1
column: 1
}
}
},
},
"6": {
"6": {
start: {
start: {
line: 10,
line: 12,
column: 8
column: 8
},
},
end: {
end: {
line: 10,
line: 12,
column: 31
column: 31
}
}
},
},
"7": {
"7": {
start: {
start: {
line: 11,
line: 13,
column: 8
column: 8
},
},
end: {
end: {
line: 11,
line: 13,
column: 24
column: 24
}
}
},
},
"8": {
"8": {
start: {
start: {
line: 14,
line: 16,
column: 8
column: 8
},
},
end: {
end: {
line: 14,
line: 16,
column: 37
column: 37
}
}
},
},
"9": {
"9": {
start: {
start: {
line: 17,
line: 19,
column: 0
column: 0
},
},
end: {
end: {
line: 19,
line: 21,
column: 2
column: 2
}
}
},
},
"10": {
"10": {
start: {
start: {
line: 17,
line: 19,
column: 34
column: 34
},
},
end: {
end: {
line: 19,
line: 21,
column: 1
column: 1
}
}
},
},
"11": {
"11": {
start: {
start: {
line: 20,
line: 22,
column: 0
column: 0
},
},
end: {
end: {
line: 25,
line: 27,
column: 15
column: 15
}
}
},
},
"12": {
"12": {
start: {
start: {
line: 26,
line: 28,
column: 0
column: 0
},
},
end: {
end: {
line: 26,
line: 28,
column: 32
column: 32
}
}
}
}
},
},
fnMap: {
fnMap: {
"0": {
"0": {
name: "(anonymous_0)",
name: "(anonymous_0)",
decl: {
decl: {
start: {
start: {
line: 9,
line: 11,
column: 4
column: 4
},
},
end: {
end: {
line: 9,
line: 11,
column: 5
column: 5
}
}
},
},
loc: {
loc: {
start: {
start: {
line: 9,
line: 11,
column: 25
column: 25
},
},
end: {
end: {
line: 12,
line: 14,
column: 5
column: 5
}
}
},
},
line: 9
line: 11
},
},
"1": {
"1": {
name: "(anonymous_1)",
name: "(anonymous_1)",
decl: {
decl: {
start: {
start: {
line: 13,
line: 15,
column: 4
column: 4
},
},
end: {
end: {
line: 13,
line: 15,
column: 5
column: 5
}
}
},
},
loc: {
loc: {
start: {
start: {
line: 13,
line: 15,
column: 19
column: 19
},
},
end: {
end: {
line: 15,
line: 17,
column: 5
column: 5
}
}
},
},
line: 13
line: 15
},
},
"2": {
"2": {
name: "(anonymous_2)",
name: "(anonymous_2)",
decl: {
decl: {
start: {
start: {
line: 17,
line: 19,
column: 28
column: 28
},
},
end: {
end: {
line: 17,
line: 19,
column: 29
column: 29
}
}
},
},
loc: {
loc: {
start: {
start: {
line: 17,
line: 19,
column: 34
column: 34
},
},
end: {
end: {
line: 19,
line: 21,
column: 1
column: 1
}
}
},
},
line: 17
line: 19
}
}
},
},
branchMap: {
branchMap: {},
"0": {
loc: {
start: {
line: 24,
column: 45
},
end: {
line: 24,
column: 175
}
},
type: "cond-expr",
locations: [{
start: {
line: 24,
column: 164
},
end: {
line: 24,
column: 166
}
}, {
start: {
line: 24,
column: 169
},
end: {
line: 24,
column: 175
}
}],
line: 24
},
"1": {
loc: {
start: {
line: 24,
column: 58
},
end: {
line: 24,
column: 145
}
},
type: "binary-expr",
locations: [{
start: {
line: 24,
column: 58
},
end: {
line: 24,
column: 111
}
}, {
start: {
line: 24,
column: 115
},
end: {
line: 24,
column: 145
}
}],
line: 24
}
},
s: {
s: {
"0": 0,
"0": 0,
"1": 0,
"1": 0,
"2": 0,
"2": 0,
"3": 0,
"3": 0,
"4": 0,
"4": 0,
"5": 0,
"5": 0,
"6": 0,
"6": 0,
"7": 0,
"7": 0,
"8": 0,
"8": 0,
"9": 0,
"9": 0,
"10": 0,
"10": 0,
"11": 0,
"11": 0,
"12": 0
"12": 0
},
},
f: {
f: {
"0": 0,
"0": 0,
"1": 0,
"1": 0,
"2": 0
"2": 0
},
},
b: {
b: {},
"0": [0, 0],
"1": [0, 0]
},
inputSourceMap: {
inputSourceMap: {
file: "src\\lib\\config.pipe.ts",
file: "src\\lib\\config.pipe.ts",
mappings: ";;;;;AAAA,wCAAoD;AACpD,qDAAiD;IAQpC,UAAU,SAAV,UAAU;IACrB,YAAoB,OAAsB;QAAtB,YAAO,GAAP,OAAO,CAAe;QACxC,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;IAClB,CAAC;IAEM,SAAS,CAA6B,GAAM;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC/B,CAAC;;;;;AAPU,UAAU;IAHtB,IAAA,WAAI,EAAC;QACJ,IAAI,EAAE,QAAQ;KACf,CAAC;iEAE6B,8BAAa,oBAAb,8BAAa;GAD/B,UAAU;AAAV,gCAAU",
mappings: ";;;;AAAA,wCAAoD;AACpD,qDAAiD;AAEjD;;GAEG;IAIU,UAAU,SAAV,UAAU;IACrB,YAAoB,OAAsB;QAAtB,YAAO,GAAP,OAAO,CAAe;QACxC,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;IAClB,CAAC;IAEM,SAAS,CAA6B,GAAM;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC/B,CAAC;CACF,CAAA;;YAhBQ,8BAAa;;AAQT,UAAU;IAHtB,IAAA,WAAI,EAAC;QACJ,IAAI,EAAE,QAAQ;KACf,CAAC;6CAE6B,8BAAa;GAD/B,UAAU,CAQtB;AARY,gCAAU",
names: [],
names: [],
sources: ["src\\lib\\config.pipe.ts"],
sources: ["src\\lib\\config.pipe.ts"],
sourcesContent: ["import { Pipe, PipeTransform } from '@angular/core';\r\nimport { ConfigService } from './config.service';\r\n\r\n/**\r\n * simplifies usage of config-value within templates\r\n */\r\n@Pipe({\r\n name: 'config',\r\n})\r\nexport class ConfigPipe implements PipeTransform {\r\n constructor(private service: ConfigService) {\r\n console.log('');\r\n }\r\n\r\n public transform<K extends keyof Config>(key: K): Config[K] {\r\n return this.service.get(key);\r\n }\r\n}\r\n"],
sourcesContent: ["import { Pipe, PipeTransform } from '@angular/core';\r\nimport { ConfigService } from './config.service';\r\n\r\n/**\r\n * simplifies usage of config-value within templates\r\n */\r\n@Pipe({\r\n name: 'config',\r\n})\r\nexport class ConfigPipe implements PipeTransform {\r\n constructor(private service: ConfigService) {\r\n console.log('');\r\n }\r\n\r\n public transform<K extends keyof Config>(key: K): Config[K] {\r\n return this.service.get(key);\r\n }\r\n}\r\n"],
version: 3
version: 3
},
},
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
hash: "32a164db760887d8d86053804d1b92d0c9d098f3"
hash: "0959e8b73f5675bbc1dcdc7b750a5a3ba950ccce"
};
};
var coverage = global[gcv] || (global[gcv] = {});
var coverage = global[gcv] || (global[gcv] = {});


if (!coverage[path] || coverage[path].hash !== hash) {
if (!coverage[path] || coverage[path].hash !== hash) {
coverage[path] = coverageData;
coverage[path] = coverageData;
}
}


var actualCoverage = coverage[path];
var actualCoverage = coverage[path];
{
{
// @ts-ignore
// @ts-ignore
cov_1p889rb2bp = function () {
cov_1p889rb2bp = function () {
return actualCoverage;
return actualCoverage;
};
};
}
}
return actualCoverage;
return actualCoverage;
}
}


cov_1p889rb2bp();
cov_1p889rb2bp();

var _a;

/* istanbul ignore next */
cov_1p889rb2bp().s[0]++;
cov_1p889rb2bp().s[0]++;
Object.defineProperty(exports, "__esModule", {
Object.defineProperty(exports, "__esModule", {
value: true
value: true
});
});


/* istanbul ignore next */
/* istanbul ignore next */
cov_1p889rb2bp().s[1]++;
cov_1p889rb2bp().s[1]++;
exports.ConfigPipe = void 0;
exports.ConfigPipe = void 0;
const tslib_1 =
const tslib_1 =
/* istanbul ignore next */
/* istanbul ignore next */
(cov_1p889rb2bp().s[2]++, require("tslib"));
(cov_1p889rb2bp().s[2]++, require("tslib"));
const core_1 =
const core_1 =
/* istanbul ignore next */
/* istanbul ignore next */
(cov_1p889rb2bp().s[3]++, require("@angular/core"));
(cov_1p889rb2bp().s[3]++, require("@angular/core"));
const config_service_1 =
const config_service_1 =
/* istanbul ignore next */
/* istanbul ignore next */
(cov_1p889rb2bp().s[4]++, require("./config.service"));
(cov_1p889rb2bp().s[4]++, require("./config.service"));
/**
* simplifies usage of config-value within templates
*/


/* istanbul ignore next */
/* istanbul ignore next */
cov_1p889rb2bp().s[5]++;
cov_1p889rb2bp().s[5]++;
let ConfigPipe = class ConfigPipe {
let ConfigPipe = class ConfigPipe {
constructor(service) {
constructor(service) {
/* istanbul ignore next */
/* istanbul ignore next */
cov_1p889rb2bp().f[0]++;
cov_1p889rb2bp().f[0]++;
cov_1p889rb2bp().s[6]++;
cov_1p889rb2bp().s[6]++;
this.service = service;
this.service = service;


/* istanbul ignore next */
/* istanbul ignore next */
cov_1p889rb2bp().s[7]++;
cov_1p889rb2bp().s[7]++;
console.log('');
console.log('');
}
}


transform(key) {
transform(key) {
/* istanbul ignore next */
/* istanbul ignore next */
cov_1p889rb2bp().f[1]++;
cov_1p889rb2bp().f[1]++;
cov_1p889rb2bp().s[8]++;
cov_1p889rb2bp().s[8]++;
return this.service.get(key);
return this.service.get(key);
}
}


};
};


/* istanbul ignore next */
/* istanbul ignore next */
cov_1p889rb2bp().s[9]++;
cov_1p889rb2bp().s[9]++;


ConfigPipe.ctorParameters = () => {
ConfigPipe.ctorParameters = () => {
/* istanbul ignore next */
/* istanbul ignore next */
cov_1p889rb2bp().f[2]++;
cov_1p889rb2bp().f[2]++;
cov_1p889rb2bp().s[10]++;
cov_1p889rb2bp().s[10]++;
return [{
return [{
type: config_service_1.ConfigService
type: config_service_1.ConfigService
}];
}];
};
};


/* istanbul ignore next */
/* istanbul ignore next */
cov_1p889rb2bp().s[11]++;
cov_1p889rb2bp().s[11]++;
ConfigPipe = tslib_1.__decorate([(0, core_1.Pipe)({
ConfigPipe = tslib_1.__decorate([(0, core_1.Pipe)({
name: 'config'
name: 'config'
}), tslib_1.__metadata("design:paramtypes", [typeof (_a =
}), tslib_1.__metadata("design:paramtypes", [config_service_1.ConfigService])], ConfigPipe);
/* istanbul ignore next */
(cov_1p889rb2bp().b[1][0]++, typeof config_service_1.ConfigService !== "undefined") &&
/* istanbul ignore next */
(cov_1p889rb2bp().b[1][1]++, config_service_1.ConfigService)) === "function" ?
/* istanbul ignore next */
(cov_1p889rb2bp().b[0][0]++, _a) :
/* istanbul ignore next */
(cov_1p889rb2bp().b[0][1]++, Object)])], ConfigPipe);


/* istanbul ignore next */
/* istanbul ignore next */
cov_1p889rb2bp().s[12]++;
cov_1p889rb2bp().s[12]++;
exports.ConfigPipe = ConfigPipe;
exports.ConfigPipe = ConfigPipe;