@churchillliving/se-ui-toolkit 6.52.74 → 6.52.76
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/bundles/churchillliving-se-ui-toolkit.umd.js +15 -11
- package/bundles/churchillliving-se-ui-toolkit.umd.js.map +1 -1
- package/esm2015/lib/components/base/cards/card.component.js +16 -12
- package/fesm2015/churchillliving-se-ui-toolkit.js +15 -11
- package/fesm2015/churchillliving-se-ui-toolkit.js.map +1 -1
- package/package.json +1 -1
|
@@ -7744,13 +7744,17 @@
|
|
|
7744
7744
|
if (cardInfo_1 && Object.keys(cardInfo_1).length) {
|
|
7745
7745
|
this.displayCardInfo = cardInfo_1;
|
|
7746
7746
|
data = this.gridService.setDataFields(data);
|
|
7747
|
+
var newArr_1 = [];
|
|
7747
7748
|
data === null || data === void 0 ? void 0 : data.forEach(function (record) {
|
|
7748
7749
|
var _a, _b, _c, _d;
|
|
7749
7750
|
if (!((_a = Object.keys(record)) === null || _a === void 0 ? void 0 : _a.includes('azurecontainerid'))) {
|
|
7750
|
-
|
|
7751
|
+
newArr_1.push(Object.assign(Object.assign({}, record), { blobfileurl: record[(_b = cardInfo_1.url) === null || _b === void 0 ? void 0 : _b.toLowerCase()], filecaption: record[(_c = cardInfo_1.caption) === null || _c === void 0 ? void 0 : _c.toLowerCase()], fileextension: record[(_d = cardInfo_1.extension) === null || _d === void 0 ? void 0 : _d.toLowerCase()] }));
|
|
7752
|
+
}
|
|
7753
|
+
else {
|
|
7754
|
+
newArr_1.push(record);
|
|
7751
7755
|
}
|
|
7752
7756
|
});
|
|
7753
|
-
this.data =
|
|
7757
|
+
this.data = newArr_1;
|
|
7754
7758
|
}
|
|
7755
7759
|
else {
|
|
7756
7760
|
this.data = this.gridService.setDataFields(data);
|
|
@@ -7824,15 +7828,15 @@
|
|
|
7824
7828
|
var cardProp = Object.assign({}, this.displayCardInfo);
|
|
7825
7829
|
var obj = Object.assign(Object.assign({}, cardInfo), (_e = {}, _e[cardProp.url] = cardInfo.blobfileurl, _e[cardProp.caption] = cardInfo.filecaption, _e[cardProp.extension] = cardInfo.fileextension, _e));
|
|
7826
7830
|
var values = Object.values(cardProp);
|
|
7827
|
-
if
|
|
7828
|
-
|
|
7829
|
-
}
|
|
7830
|
-
if
|
|
7831
|
-
|
|
7832
|
-
}
|
|
7833
|
-
if
|
|
7834
|
-
|
|
7835
|
-
}
|
|
7831
|
+
// if(!values.includes('blobfileurl')){
|
|
7832
|
+
// delete obj.blobfileurl;
|
|
7833
|
+
// }
|
|
7834
|
+
// if(!values.includes('filecaption')){
|
|
7835
|
+
// delete obj.filecaption;
|
|
7836
|
+
// }
|
|
7837
|
+
// if(!values.includes('fileextension')){
|
|
7838
|
+
// delete obj.fileextension;
|
|
7839
|
+
// }
|
|
7836
7840
|
return obj;
|
|
7837
7841
|
}
|
|
7838
7842
|
else {
|