igniteui-react-grids
Version:
Ignite UI React grid components.
63 lines (62 loc) • 2.27 kB
JavaScript
/*
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
https://www.infragistics.com/legal/license/igultimate-la
https://www.infragistics.com/legal/license/igultimate-eula
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
*/
import { CellPresenterBase } from "./CellPresenterBase";
import { CellModel } from "./CellModel";
import { FilterCellModel } from "./FilterCellModel";
import { markType } from "igniteui-react-core";
/**
* @hidden
*/
export let FilterCellPresenter = /*@__PURE__*/ (() => {
class FilterCellPresenter extends CellPresenterBase {
constructor(a) {
super(a);
}
b(a) {
super.b(a);
this.e(a);
}
get d() {
return this.nativeCell;
}
e(a) {
let b = a;
if (a.a3) {
if (b.a8(FilterCellModel.mx)) {
this.d.cm = b.mk;
}
if (b.a8(CellModel.fs)) {
this.d.c1 = b.ag;
}
if (b.a8(FilterCellModel.m0)) {
this.d.cl = b.mi;
}
if (b.a8(FilterCellModel.mz)) {
this.d.cu = b.mo;
}
if (b.a8(FilterCellModel.m1)) {
if (b.mq) {
this.d.dp();
}
else {
this.d.dn();
}
}
if (b.a8(FilterCellModel.er)) {
this.d.ea = b.lw;
}
}
if (a.bj || a.bo) {
if (b.a8(FilterCellModel.hf) || b.a8(FilterCellModel.hg) || b.a8(FilterCellModel.he) || b.a8(FilterCellModel.fv)) {
this.d.d8(b.cu, b.cv, b.hd, b.fu);
}
}
}
}
FilterCellPresenter.$t = /*@__PURE__*/ markType(FilterCellPresenter, 'FilterCellPresenter', CellPresenterBase.$);
return FilterCellPresenter;
})();