@churchillliving/se-ui-toolkit 6.53.2 → 6.53.4
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/churchillliving-se-ui-toolkit.metadata.json +1 -1
- package/esm2015/lib/components/base/grid/grid.component.js +8 -2
- package/esm2015/lib/components/base/grid/grid.component.ngfactory.js +1 -1
- package/esm2015/lib/components/base/grid/grid.component.ngsummary.json +1 -1
- package/esm2015/lib/services/grid.service.js +2 -2
- package/fesm2015/churchillliving-se-ui-toolkit.js +8 -2
- package/fesm2015/churchillliving-se-ui-toolkit.js.map +1 -1
- package/lib/components/base/grid/grid.component.d.ts +1 -0
- package/package.json +1 -1
|
@@ -3052,7 +3052,7 @@
|
|
|
3052
3052
|
props === null || props === void 0 ? void 0 : props.forEach(function (prop) {
|
|
3053
3053
|
var _g, _h, _j;
|
|
3054
3054
|
var _a, _b, _c, _d;
|
|
3055
|
-
if (prop.propName && (prop.propValue || prop.propValue === false) && prop.field) {
|
|
3055
|
+
if (prop.propName && (prop.propValue || prop.propValue === false || prop.propValue === '') && prop.field) {
|
|
3056
3056
|
var fieldName = (_a = Object.keys(row)) === null || _a === void 0 ? void 0 : _a.find(function (key) { var _a; return (key === null || key === void 0 ? void 0 : key.toLowerCase()) === ((_a = prop === null || prop === void 0 ? void 0 : prop.field) === null || _a === void 0 ? void 0 : _a.toLowerCase()); });
|
|
3057
3057
|
if (fieldName) {
|
|
3058
3058
|
if ((_b = row[fieldName]) === null || _b === void 0 ? void 0 : _b.action) {
|
|
@@ -3357,6 +3357,8 @@
|
|
|
3357
3357
|
this.useServerSideEvents = false;
|
|
3358
3358
|
// Output event to handle row click
|
|
3359
3359
|
this.onRowClick = new i0.EventEmitter();
|
|
3360
|
+
// Output event emit when click on grid checkbox filter
|
|
3361
|
+
this.onCheckBoxFilterClick = new i0.EventEmitter();
|
|
3360
3362
|
// Output event to handle row CheckBox
|
|
3361
3363
|
this.onRowCheckBox = new i0.EventEmitter();
|
|
3362
3364
|
// Output event to trigger on sort change
|
|
@@ -4051,7 +4053,9 @@
|
|
|
4051
4053
|
this.onClickEvent(column, row);
|
|
4052
4054
|
setTimeout(function () {
|
|
4053
4055
|
var _a, _b, _c, _d;
|
|
4054
|
-
column.data
|
|
4056
|
+
if (column.data && column.data.data) {
|
|
4057
|
+
column.data.data = (_b = (_a = row[column.field + '_obj']) === null || _a === void 0 ? void 0 : _a.dialogData) !== null && _b !== void 0 ? _b : row[column.field + '_obj'];
|
|
4058
|
+
}
|
|
4055
4059
|
if (column.component && column.data && _this.rowClickData) {
|
|
4056
4060
|
var keys = Object.keys(_this.rowClickData);
|
|
4057
4061
|
column.data.data = autoSetLookupData(column.data.data, _this.rowClickData);
|
|
@@ -5382,6 +5386,7 @@
|
|
|
5382
5386
|
});
|
|
5383
5387
|
}
|
|
5384
5388
|
}
|
|
5389
|
+
this.onCheckBoxFilterClick.emit(column);
|
|
5385
5390
|
};
|
|
5386
5391
|
//set header checkbox value for getting all columns on stay admin
|
|
5387
5392
|
GridComponent.prototype.setHeaderCheckBoxValue = function (value) {
|
|
@@ -5472,6 +5477,7 @@
|
|
|
5472
5477
|
columnActions: [{ type: i0.Input }],
|
|
5473
5478
|
useServerSideEvents: [{ type: i0.Input }],
|
|
5474
5479
|
onRowClick: [{ type: i0.Output }],
|
|
5480
|
+
onCheckBoxFilterClick: [{ type: i0.Output }],
|
|
5475
5481
|
onRowCheckBox: [{ type: i0.Output }],
|
|
5476
5482
|
onSortChange: [{ type: i0.Output }],
|
|
5477
5483
|
onFilterChange: [{ type: i0.Output }],
|