@churchillliving/se-ui-toolkit 6.53.244 → 6.53.246
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 +8 -2
- package/bundles/churchillliving-se-ui-toolkit.umd.js.map +1 -1
- package/esm2015/lib/components/base/grid/grid.component.js +9 -3
- package/fesm2015/churchillliving-se-ui-toolkit.js +8 -2
- package/fesm2015/churchillliving-se-ui-toolkit.js.map +1 -1
- package/package.json +1 -1
|
@@ -4472,10 +4472,13 @@
|
|
|
4472
4472
|
return value;
|
|
4473
4473
|
};
|
|
4474
4474
|
GridComponent.prototype.setDropdwonReadOnlyValue = function (row, column) {
|
|
4475
|
+
var _a, _b, _c;
|
|
4475
4476
|
delete row['undefined'];
|
|
4476
4477
|
var value = row[column.displayField]
|
|
4477
4478
|
? row[column.displayField]
|
|
4478
|
-
: row[column.field];
|
|
4479
|
+
: ((_a = column.data) === null || _a === void 0 ? void 0 : _a.find(function (dropdownVal) { return (dropdownVal === null || dropdownVal === void 0 ? void 0 : dropdownVal.value) == row[column.field]; }))
|
|
4480
|
+
? (_c = (_b = column.data) === null || _b === void 0 ? void 0 : _b.find(function (dropdownVal) { return (dropdownVal === null || dropdownVal === void 0 ? void 0 : dropdownVal.value) == row[column.field]; })) === null || _c === void 0 ? void 0 : _c.label
|
|
4481
|
+
: row[column.field];
|
|
4479
4482
|
return value;
|
|
4480
4483
|
};
|
|
4481
4484
|
/**
|
|
@@ -5583,8 +5586,11 @@
|
|
|
5583
5586
|
}
|
|
5584
5587
|
};
|
|
5585
5588
|
GridComponent.prototype.checkBoxChangeEvent = function (event, column, row) {
|
|
5589
|
+
var _a;
|
|
5586
5590
|
row[column.field] = event;
|
|
5587
|
-
this.
|
|
5591
|
+
if ((_a = this.rowsChange.observers) === null || _a === void 0 ? void 0 : _a.length) {
|
|
5592
|
+
this.isCheckBoxChangeEventCalled = true;
|
|
5593
|
+
}
|
|
5588
5594
|
this.rowsChange.emit(this.rowsData);
|
|
5589
5595
|
};
|
|
5590
5596
|
// set dropdown displayField value base on optionLabel & optionValue.
|