@churchillliving/se-ui-toolkit 6.52.75 → 6.52.77
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 -10
- package/bundles/churchillliving-se-ui-toolkit.umd.js.map +1 -1
- package/esm2015/lib/components/base/cards/card.component.js +10 -10
- package/esm2015/lib/components/base/grid/grid.component.js +7 -2
- package/fesm2015/churchillliving-se-ui-toolkit.js +15 -10
- package/fesm2015/churchillliving-se-ui-toolkit.js.map +1 -1
- package/package.json +1 -1
|
@@ -4511,7 +4511,12 @@
|
|
|
4511
4511
|
if (row.isNew) {
|
|
4512
4512
|
var isNew = row.isNew, newRowObj = __rest(row, ["isNew"]);
|
|
4513
4513
|
delete newRowObj[this.dataKey];
|
|
4514
|
-
this.
|
|
4514
|
+
if (this.saveAllRecord) {
|
|
4515
|
+
this.saveRecordArray.push(newRowObj);
|
|
4516
|
+
}
|
|
4517
|
+
else {
|
|
4518
|
+
this.onRowAdd.emit(newRowObj);
|
|
4519
|
+
}
|
|
4515
4520
|
}
|
|
4516
4521
|
else {
|
|
4517
4522
|
if (this.saveAllRecord) {
|
|
@@ -7828,15 +7833,15 @@
|
|
|
7828
7833
|
var cardProp = Object.assign({}, this.displayCardInfo);
|
|
7829
7834
|
var obj = Object.assign(Object.assign({}, cardInfo), (_e = {}, _e[cardProp.url] = cardInfo.blobfileurl, _e[cardProp.caption] = cardInfo.filecaption, _e[cardProp.extension] = cardInfo.fileextension, _e));
|
|
7830
7835
|
var values = Object.values(cardProp);
|
|
7831
|
-
if
|
|
7832
|
-
|
|
7833
|
-
}
|
|
7834
|
-
if
|
|
7835
|
-
|
|
7836
|
-
}
|
|
7837
|
-
if
|
|
7838
|
-
|
|
7839
|
-
}
|
|
7836
|
+
// if(!values.includes('blobfileurl')){
|
|
7837
|
+
// delete obj.blobfileurl;
|
|
7838
|
+
// }
|
|
7839
|
+
// if(!values.includes('filecaption')){
|
|
7840
|
+
// delete obj.filecaption;
|
|
7841
|
+
// }
|
|
7842
|
+
// if(!values.includes('fileextension')){
|
|
7843
|
+
// delete obj.fileextension;
|
|
7844
|
+
// }
|
|
7840
7845
|
return obj;
|
|
7841
7846
|
}
|
|
7842
7847
|
else {
|