@getlupa/client 0.7.0-alpha-11 → 0.7.0-alpha-12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.min.js +5 -3
- package/dist/es/index.min.js +5 -3
- package/dist/iife/index.min.js +1 -1
- package/package.json +1 -1
package/dist/cjs/index.min.js
CHANGED
|
@@ -16774,7 +16774,6 @@ __vue_render__$A._withStripped = true;
|
|
|
16774
16774
|
let SearchResultGeneratedBadge = class SearchResultGeneratedBadge extends Vue$1 {
|
|
16775
16775
|
get image() {
|
|
16776
16776
|
var _a, _b, _c;
|
|
16777
|
-
console.log(this.badge.titleText);
|
|
16778
16777
|
return (_c = (_b = (_a = this.options.generate) === null || _a === void 0 ? void 0 : _a.image) === null || _b === void 0 ? void 0 : _b.call(_a, this.badge)) !== null && _c !== void 0 ? _c : "";
|
|
16779
16778
|
}
|
|
16780
16779
|
};
|
|
@@ -16874,7 +16873,9 @@ let SearchResultGeneratedBadges = class SearchResultGeneratedBadges extends Vue$
|
|
|
16874
16873
|
this.badgeField.length > 0);
|
|
16875
16874
|
}
|
|
16876
16875
|
get badges() {
|
|
16877
|
-
return this.badgeField
|
|
16876
|
+
return this.badgeField
|
|
16877
|
+
.filter((f) => Boolean(f))
|
|
16878
|
+
.map((f) => ({
|
|
16878
16879
|
backgroundColor: this.keyMap.backgroundColor
|
|
16879
16880
|
? f[this.keyMap.backgroundColor]
|
|
16880
16881
|
: undefined,
|
|
@@ -16884,7 +16885,8 @@ let SearchResultGeneratedBadges = class SearchResultGeneratedBadges extends Vue$
|
|
|
16884
16885
|
? f[this.keyMap.additionalText]
|
|
16885
16886
|
: undefined,
|
|
16886
16887
|
id: this.keyMap.id ? f[this.keyMap.id] : undefined,
|
|
16887
|
-
}))
|
|
16888
|
+
}))
|
|
16889
|
+
.filter((b) => Boolean(b.id));
|
|
16888
16890
|
}
|
|
16889
16891
|
};
|
|
16890
16892
|
__decorate([
|
package/dist/es/index.min.js
CHANGED
|
@@ -16770,7 +16770,6 @@ __vue_render__$A._withStripped = true;
|
|
|
16770
16770
|
let SearchResultGeneratedBadge = class SearchResultGeneratedBadge extends Vue$1 {
|
|
16771
16771
|
get image() {
|
|
16772
16772
|
var _a, _b, _c;
|
|
16773
|
-
console.log(this.badge.titleText);
|
|
16774
16773
|
return (_c = (_b = (_a = this.options.generate) === null || _a === void 0 ? void 0 : _a.image) === null || _b === void 0 ? void 0 : _b.call(_a, this.badge)) !== null && _c !== void 0 ? _c : "";
|
|
16775
16774
|
}
|
|
16776
16775
|
};
|
|
@@ -16870,7 +16869,9 @@ let SearchResultGeneratedBadges = class SearchResultGeneratedBadges extends Vue$
|
|
|
16870
16869
|
this.badgeField.length > 0);
|
|
16871
16870
|
}
|
|
16872
16871
|
get badges() {
|
|
16873
|
-
return this.badgeField
|
|
16872
|
+
return this.badgeField
|
|
16873
|
+
.filter((f) => Boolean(f))
|
|
16874
|
+
.map((f) => ({
|
|
16874
16875
|
backgroundColor: this.keyMap.backgroundColor
|
|
16875
16876
|
? f[this.keyMap.backgroundColor]
|
|
16876
16877
|
: undefined,
|
|
@@ -16880,7 +16881,8 @@ let SearchResultGeneratedBadges = class SearchResultGeneratedBadges extends Vue$
|
|
|
16880
16881
|
? f[this.keyMap.additionalText]
|
|
16881
16882
|
: undefined,
|
|
16882
16883
|
id: this.keyMap.id ? f[this.keyMap.id] : undefined,
|
|
16883
|
-
}))
|
|
16884
|
+
}))
|
|
16885
|
+
.filter((b) => Boolean(b.id));
|
|
16884
16886
|
}
|
|
16885
16887
|
};
|
|
16886
16888
|
__decorate([
|