igniteui-react-grids
Version:
Ignite UI React grid components.
1,393 lines • 55.2 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 { Base, markType, enumGetBox, EnumUtil, typeGetValue } from "igniteui-react-core";
import { WCNativeHelper } from "igniteui-react";
import { BaseEventArgsDetail } from "./BaseEventArgsDetail";
import { HierarchicalGridBaseDirective } from "./HierarchicalGridBaseDirective";
import { CellType } from "./CellType";
import { RowType } from "./RowType";
import { BaseElement } from "igniteui-react";
import { ActionStrip } from "./ActionStrip";
import { ActionStripCollection } from "./ActionStripCollection";
import { DataCloneStrategy } from "./DataCloneStrategy";
import { ClipboardOptions } from "./ClipboardOptions";
import { ColumnCollection } from "./ColumnCollection";
import { GridRowDragGhostContext } from "./GridRowDragGhostContext";
import { GridRowEditTextTemplateContext } from "./GridRowEditTextTemplateContext";
import { GridEmptyTemplateContext } from "./GridEmptyTemplateContext";
import { GridRowEditActionsTemplateContext } from "./GridRowEditActionsTemplateContext";
import { GridRowTemplateContext } from "./GridRowTemplateContext";
import { GridTemplateContext } from "./GridTemplateContext";
import { GridHeaderTemplateContext } from "./GridHeaderTemplateContext";
import { GridToolbarCollection } from "./GridToolbarCollection";
import { PaginatorCollection } from "./PaginatorCollection";
import { GridResourceStrings } from "./GridResourceStrings";
import { FilteringLogic_$type } from "./FilteringLogic";
import { FilteringExpressionsTree } from "./FilteringExpressionsTree";
import { GridPagingMode_$type } from "./GridPagingMode";
import { GridValidationTrigger_$type } from "./GridValidationTrigger";
import { PinningConfig } from "./PinningConfig";
import { FilterMode_$type } from "./FilterMode";
import { GridSummaryPosition_$type } from "./GridSummaryPosition";
import { GridSummaryCalculationMode_$type } from "./GridSummaryCalculationMode";
import { FilteringStrategy } from "./FilteringStrategy";
import { GridSortingStrategy } from "./GridSortingStrategy";
import { SortingOptions } from "./SortingOptions";
import { HeadSelectorTemplateContext } from "./HeadSelectorTemplateContext";
import { RowSelectorTemplateContext } from "./RowSelectorTemplateContext";
import { SortingExpression } from "./SortingExpression";
import { GridSelectionMode_$type } from "./GridSelectionMode";
import { Column } from "./Column";
import { ForOfStateEventArgs } from "./ForOfStateEventArgs";
import { FilteringExpressionsTreeEventArgs } from "./FilteringExpressionsTreeEventArgs";
import { GridScrollEventArgs } from "./GridScrollEventArgs";
import { GridCellEventArgs } from "./GridCellEventArgs";
import { GridRowEventArgs } from "./GridRowEventArgs";
import { GridFormGroupCreatedEventArgs } from "./GridFormGroupCreatedEventArgs";
import { GridValidationStatusEventArgs } from "./GridValidationStatusEventArgs";
import { RowSelectionEventArgs } from "./RowSelectionEventArgs";
import { ColumnSelectionEventArgs } from "./ColumnSelectionEventArgs";
import { PinColumnCancellableEventArgs } from "./PinColumnCancellableEventArgs";
import { PinColumnEventArgs } from "./PinColumnEventArgs";
import { GridEditEventArgs } from "./GridEditEventArgs";
import { GridEditDoneEventArgs } from "./GridEditDoneEventArgs";
import { ColumnComponentEventArgs } from "./ColumnComponentEventArgs";
import { ColumnsAutoGeneratedEventArgs } from "./ColumnsAutoGeneratedEventArgs";
import { SortingEventArgs } from "./SortingEventArgs";
import { SortingExpressionEventArgs } from "./SortingExpressionEventArgs";
import { FilteringEventArgs } from "./FilteringEventArgs";
import { RowDataEventArgs } from "./RowDataEventArgs";
import { RowDataCancelableEventArgs } from "./RowDataCancelableEventArgs";
import { ColumnResizeEventArgs } from "./ColumnResizeEventArgs";
import { GridContextMenuEventArgs } from "./GridContextMenuEventArgs";
import { ColumnVisibilityChangingEventArgs } from "./ColumnVisibilityChangingEventArgs";
import { ColumnVisibilityChangedEventArgs } from "./ColumnVisibilityChangedEventArgs";
import { ColumnMovingStartEventArgs } from "./ColumnMovingStartEventArgs";
import { ColumnMovingEventArgs } from "./ColumnMovingEventArgs";
import { ColumnMovingEndEventArgs } from "./ColumnMovingEndEventArgs";
import { GridKeydownEventArgs } from "./GridKeydownEventArgs";
import { RowDragStartEventArgs } from "./RowDragStartEventArgs";
import { RowDragEndEventArgs } from "./RowDragEndEventArgs";
import { GridClipboardEventEventArgs } from "./GridClipboardEventEventArgs";
import { ComponentArrayDataValueChangedEventArgs } from "./ComponentArrayDataValueChangedEventArgs";
import { RowToggleEventArgs } from "./RowToggleEventArgs";
import { PinRowEventArgs } from "./PinRowEventArgs";
import { ActiveNodeChangeEventArgs } from "./ActiveNodeChangeEventArgs";
import { GridToolbarExportEventArgs } from "./GridToolbarExportEventArgs";
import { GridSelectionRangeEventArgs } from "./GridSelectionRangeEventArgs";
import { VoidEventArgs } from "igniteui-react";
import { ForOfDataChangingEventArgs } from "./ForOfDataChangingEventArgs";
import { DropPosition_$type } from "./DropPosition";
import { GridSelectionRange } from "./GridSelectionRange";
import { CellPosition } from "./CellPosition";
import { GridToolbar } from "./GridToolbar";
import { Paginator } from "./Paginator";
import { ObservableCollection$1 } from "igniteui-react-core";
/**
* @hidden
*/
export let GridCreatedEventArgs = /*@__PURE__*/ (() => {
class GridCreatedEventArgs extends Base {
constructor() {
super(...arguments);
this.b = null;
}
static a(a) {
return ((() => {
let $ret = new GridCreatedEventArgs();
$ret.b = WCNativeHelper.h(a, (b) => new GridCreatedEventArgsDetail());
return $ret;
})());
}
}
GridCreatedEventArgs.$t = /*@__PURE__*/ markType(GridCreatedEventArgs, 'GridCreatedEventArgs');
return GridCreatedEventArgs;
})();
/**
* @hidden
*/
export let GridCreatedEventArgsDetail = /*@__PURE__*/ (() => {
class GridCreatedEventArgsDetail extends BaseEventArgsDetail {
get h() {
let ret_ = this.b.m("owner", (a) => new RowIsland());
return ret_;
}
set h(a) {
let value_ = a;
this.b.w("owner", value_);
}
get i() {
let ret_ = this.b.n("parentID");
return ret_;
}
set i(a) {
let value_ = a;
this.b.w("parentID", value_);
}
get g() {
let ret_ = this.b.m("grid", (a) => new HierarchicalGrid());
return ret_;
}
set g(a) {
let value_ = a;
this.b.w("grid", value_);
}
}
GridCreatedEventArgsDetail.$t = /*@__PURE__*/ markType(GridCreatedEventArgsDetail, 'GridCreatedEventArgsDetail', BaseEventArgsDetail.$);
return GridCreatedEventArgsDetail;
})();
/**
* @hidden
*/
export let HierarchicalGrid = /*@__PURE__*/ (() => {
class HierarchicalGrid extends HierarchicalGridBaseDirective {
get g9() {
let ret_ = this.b9.l("childLayoutList", (a) => new RowIslandCollection(), (a) => new RowIsland(), ["RowIsland"]);
return ret_;
}
get hh() {
let ret_ = this.b9.n("id");
return ret_;
}
set hh(a) {
let value_ = a;
this.b9.w("id", value_);
}
get g5() {
let ret_ = this.b9.n("data");
return ret_;
}
set g5(a) {
let value_ = a;
this.b9.w("data", value_);
}
get hf() {
let ret_ = this.b9.n("totalItemCount");
return ret_;
}
set hf(a) {
let value_ = a;
this.b9.w("totalItemCount", value_);
}
get hc() {
let ret_ = this.b9.n("expandChildren");
return ret_;
}
set hc(a) {
let value_ = a;
this.b9.w("expandChildren", value_);
}
get hg() {
let ret_ = this.b9.n("foreignKey");
return ret_;
}
get g6() {
let ret_ = this.b9.m("selectedCells", (a) => new CellType());
return ret_;
}
ha(a) {
return this.b9.g(this.nativeElement.getRowByIndex(this.b9.i(a)), (b) => new RowType());
}
hb(a) {
return this.b9.g(this.nativeElement.getRowByKey(this.b9.i(a)), (b) => new RowType());
}
g7(a, b) {
return this.b9.g(this.nativeElement.getCellByColumn(this.b9.i(a), this.b9.i(b)), (c) => new CellType());
}
g8(a, b) {
return this.b9.g(this.nativeElement.getCellByKey(this.b9.i(a), this.b9.i(b)), (c) => new CellType());
}
hd(a, b = -1) {
return (this.nativeElement.pinRow(this.b9.i(a), this.b9.i(b)));
}
he(a) {
return (this.nativeElement.unpinRow(this.b9.i(a)));
}
hi(a) {
this.nativeElement.getDefaultExpandState(this.b9.i(a));
}
}
HierarchicalGrid.$t = /*@__PURE__*/ markType(HierarchicalGrid, 'HierarchicalGrid', HierarchicalGridBaseDirective.$);
return HierarchicalGrid;
})();
/**
* @hidden
*/
export let RowIsland = /*@__PURE__*/ (() => {
class RowIsland extends BaseElement {
constructor() {
super(...arguments);
this.b1 = new WCNativeHelper();
this.ct = null;
this.c2 = null;
this.cz = null;
this.c7 = null;
this.c0 = null;
this.db = null;
this.c8 = null;
this.da = null;
this.dc = null;
this.c9 = null;
this.c5 = null;
this.c4 = null;
this.c3 = null;
this.de = null;
this.df = null;
this.dg = null;
this.c6 = null;
this.dd = null;
this.c1 = null;
this.gridCreated = null;
this.gridInitialized = null;
this.dataPreLoad = null;
this.filteringExpressionsTreeChange = null;
this.advancedFilteringExpressionsTreeChange = null;
this.gridScroll = null;
this.cellClick = null;
this.rowClick = null;
this.formGroupCreated = null;
this.validationStatusChange = null;
this.selected = null;
this.rowSelectionChanging = null;
this.columnSelectionChanging = null;
this.columnPin = null;
this.columnPinned = null;
this.cellEditEnter = null;
this.cellEditExit = null;
this.cellEdit = null;
this.cellEditDone = null;
this.rowEditEnter = null;
this.rowEdit = null;
this.rowEditDone = null;
this.rowEditExit = null;
this.columnInit = null;
this.columnsAutogenerated = null;
this.sorting = null;
this.sortingDone = null;
this.filtering = null;
this.filteringDone = null;
this.rowAdded = null;
this.rowDeleted = null;
this.rowDelete = null;
this.rowAdd = null;
this.columnResized = null;
this.contextMenu = null;
this.doubleClick = null;
this.columnVisibilityChanging = null;
this.columnVisibilityChanged = null;
this.columnMovingStart = null;
this.columnMoving = null;
this.columnMovingEnd = null;
this.gridKeydown = null;
this.rowDragStart = null;
this.rowDragEnd = null;
this.gridCopy = null;
this.selectedRowsChange = null;
this.rowToggle = null;
this.rowPinning = null;
this.rowPinned = null;
this.activeNodeChange = null;
this.sortingExpressionsChange = null;
this.toolbarExporting = null;
this.rangeSelected = null;
this.rendered = null;
this.dataChanging = null;
this.dataChanged = null;
}
get b2() {
return this.b1;
}
get nativeElement() {
return this.ct;
}
set nativeElement(a) {
this.ct = a;
this.b1.o = this.ct;
}
setNativeElement(a) {
this.nativeElement = a;
}
get d0() {
let ret_ = this.b2.n("childDataKey");
return ret_;
}
set d0(a) {
let value_ = a;
this.b2.w("childDataKey", value_);
}
get bs() {
let ret_ = this.b2.l("childLayoutList", (a) => new RowIslandCollection(), (a) => new RowIsland(), ["RowIsland"]);
return ret_;
}
get g() {
let ret_ = this.b2.l("actionStripComponents", (a) => new ActionStripCollection(), (a) => new ActionStrip(), ["ActionStrip"]);
return ret_;
}
get b8() {
let ret_ = this.b2.n("expandChildren");
return ret_;
}
set b8(a) {
let value_ = a;
this.b2.w("expandChildren", value_);
}
get d5() {
let ret_ = this.b2.n("hasChildrenKey");
return ret_;
}
set d5(a) {
let value_ = a;
this.b2.w("hasChildrenKey", value_);
}
get ch() {
let ret_ = this.b2.n("showExpandAll");
return ret_;
}
set ch(a) {
let value_ = a;
this.b2.w("showExpandAll", value_);
}
get b6() {
let ret_ = this.b2.n("batchEditing");
return ret_;
}
set b6(a) {
let value_ = a;
this.b2.w("batchEditing", value_);
}
get cq() {
let ret_ = this.b2.n("snackbarDisplayTime");
return ret_;
}
set cq(a) {
let value_ = a;
this.b2.w("snackbarDisplayTime", value_);
}
get b5() {
let ret_ = this.b2.n("autoGenerate");
return ret_;
}
set b5(a) {
let value_ = a;
this.b2.w("autoGenerate", value_);
}
get a() {
let ret_ = this.b2.n("autoGenerateExclude");
return ret_;
}
set a(a) {
let value_ = a;
this.b2.w("autoGenerateExclude", value_);
}
get cb() {
let ret_ = this.b2.n("moving");
return ret_;
}
set cb(a) {
let value_ = a;
this.b2.w("moving", value_);
}
get dk() {
return this.c2;
}
set dk(a) {
this.c2 = a;
this.b2.t("emptyGridTemplate", (b) => b, this.c2);
}
get dh() {
return this.cz;
}
set dh(a) {
this.cz = a;
this.b2.t("addRowEmptyTemplate", (b) => b, this.cz);
}
get dq() {
return this.c7;
}
set dq(a) {
this.c7 = a;
this.b2.t("loadingGridTemplate", (b) => b, this.c7);
}
get cr() {
let ret_ = this.b2.n("summaryRowHeight");
return ret_;
}
set cr(a) {
let value_ = a;
this.b2.w("summaryRowHeight", value_);
}
get y() {
let ret_ = this.b2.m("dataCloneStrategy", (a) => new DataCloneStrategy());
return ret_;
}
set y(a) {
let value_ = a;
this.b2.w("dataCloneStrategy", value_);
}
get k() {
let ret_ = this.b2.m("clipboardOptions", (a) => new ClipboardOptions());
return ret_;
}
set k(a) {
let value_ = a;
this.b2.w("clipboardOptions", value_);
}
get cx() {
let ret_ = this.b2.n("rowClasses");
return ret_;
}
set cx(a) {
let value_ = a;
this.b2.w("rowClasses", value_);
}
get cy() {
let ret_ = this.b2.n("rowStyles");
return ret_;
}
set cy(a) {
let value_ = a;
this.b2.w("rowStyles", value_);
}
get d9() {
let ret_ = this.b2.n("primaryKey");
return ret_;
}
set d9(a) {
let value_ = a;
this.b2.w("primaryKey", value_);
}
get n() {
let ret_ = this.b2.l("columnList", (a) => new ColumnCollection(), (a) => new Column(), ["Column", "ColumnGroup", "ColumnLayout"]);
return ret_;
}
get di() {
return this.c0;
}
set di(a) {
this.c0 = a;
this.b2.t("dragGhostCustomTemplate", (b) => new GridRowDragGhostContext(), this.c0);
}
get du() {
return this.db;
}
set du(a) {
this.db = a;
this.b2.t("rowEditTextTemplate", (b) => new GridRowEditTextTemplateContext(), this.db);
}
get dr() {
return this.c8;
}
set dr(a) {
this.c8 = a;
this.b2.t("rowAddTextTemplate", (b) => new GridEmptyTemplateContext(), this.c8);
}
get dt() {
return this.da;
}
set dt(a) {
this.da = a;
this.b2.t("rowEditActionsTemplate", (b) => new GridRowEditActionsTemplateContext(), this.da);
}
get dv() {
return this.dc;
}
set dv(a) {
this.dc = a;
this.b2.t("rowExpandedIndicatorTemplate", (b) => new GridRowTemplateContext(), this.dc);
}
get ds() {
return this.c9;
}
set ds(a) {
this.c9 = a;
this.b2.t("rowCollapsedIndicatorTemplate", (b) => new GridRowTemplateContext(), this.c9);
}
get dn() {
return this.c5;
}
set dn(a) {
this.c5 = a;
this.b2.t("headerExpandedIndicatorTemplate", (b) => new GridTemplateContext(), this.c5);
}
get dm() {
return this.c4;
}
set dm(a) {
this.c4 = a;
this.b2.t("headerCollapsedIndicatorTemplate", (b) => new GridTemplateContext(), this.c4);
}
get dl() {
return this.c3;
}
set dl(a) {
this.c3 = a;
this.b2.t("excelStyleHeaderIconTemplate", (b) => new GridHeaderTemplateContext(), this.c3);
}
get dx() {
return this.de;
}
set dx(a) {
this.de = a;
this.b2.t("sortAscendingHeaderIconTemplate", (b) => new GridHeaderTemplateContext(), this.de);
}
get dy() {
return this.df;
}
set dy(a) {
this.df = a;
this.b2.t("sortDescendingHeaderIconTemplate", (b) => new GridHeaderTemplateContext(), this.df);
}
get dz() {
return this.dg;
}
set dz(a) {
this.dg = a;
this.b2.t("sortHeaderIconTemplate", (b) => new GridHeaderTemplateContext(), this.dg);
}
get bc() {
let ret_ = this.b2.l("toolbar", (a) => new GridToolbarCollection(), (a) => new GridToolbar(), ["GridToolbar"]);
return ret_;
}
get bg() {
let ret_ = this.b2.l("paginationComponents", (a) => new PaginatorCollection(), (a) => new Paginator(), ["Paginator"]);
return ret_;
}
get a2() {
let ret_ = this.b2.m("resourceStrings", (a) => new GridResourceStrings());
return ret_;
}
set a2(a) {
let value_ = a;
this.b2.w("resourceStrings", value_);
}
get af() {
let ret_ = this.b2.n("filteringLogic");
if ((ret_ === undefined && this.___rawMode)) {
return undefined;
}
ret_ = enumGetBox(FilteringLogic_$type, EnumUtil.getEnumValue(FilteringLogic_$type, this.b2.f(FilteringLogic_$type, ret_)));
return EnumUtil.getEnumValue(FilteringLogic_$type, ret_);
}
set af(a) {
let value_ = enumGetBox(FilteringLogic_$type, a);
value_ = this.b2.f(FilteringLogic_$type, value_);
this.b2.w("filteringLogic", value_);
}
get ab() {
let ret_ = this.b2.m("filteringExpressionsTree", (a) => new FilteringExpressionsTree());
return ret_;
}
set ab(a) {
let value_ = a;
this.b2.w("filteringExpressionsTree", value_);
}
get aa() {
let ret_ = this.b2.m("advancedFilteringExpressionsTree", (a) => new FilteringExpressionsTree());
return ret_;
}
set aa(a) {
let value_ = a;
this.b2.w("advancedFilteringExpressionsTree", value_);
}
get d7() {
let ret_ = this.b2.n("locale");
return ret_;
}
set d7(a) {
let value_ = a;
this.b2.w("locale", value_);
}
get a1() {
let ret_ = this.b2.n("pagingMode");
if ((ret_ === undefined && this.___rawMode)) {
return undefined;
}
ret_ = enumGetBox(GridPagingMode_$type, EnumUtil.getEnumValue(GridPagingMode_$type, this.b2.f(GridPagingMode_$type, ret_)));
return EnumUtil.getEnumValue(GridPagingMode_$type, ret_);
}
set a1(a) {
let value_ = enumGetBox(GridPagingMode_$type, a);
value_ = this.b2.f(GridPagingMode_$type, value_);
this.b2.w("pagingMode", value_);
}
get b9() {
let ret_ = this.b2.n("hideRowSelectors");
return ret_;
}
set b9(a) {
let value_ = a;
this.b2.w("hideRowSelectors", value_);
}
get cd() {
let ret_ = this.b2.n("rowDraggable");
return ret_;
}
set cd(a) {
let value_ = a;
this.b2.w("rowDraggable", value_);
}
get bf() {
let ret_ = this.b2.n("validationTrigger");
if ((ret_ === undefined && this.___rawMode)) {
return undefined;
}
ret_ = enumGetBox(GridValidationTrigger_$type, EnumUtil.getEnumValue(GridValidationTrigger_$type, this.b2.f(GridValidationTrigger_$type, ret_)));
return EnumUtil.getEnumValue(GridValidationTrigger_$type, ret_);
}
set bf(a) {
let value_ = enumGetBox(GridValidationTrigger_$type, a);
value_ = WCNativeHelper.camel(value_.toString());
this.b2.w("validationTrigger", value_);
}
get ce() {
let ret_ = this.b2.n("rowEditable");
return ret_;
}
set ce(a) {
let value_ = a;
this.b2.w("rowEditable", value_);
}
get d6() {
let ret_ = this.b2.n("height");
return ret_;
}
set d6(a) {
let value_ = a;
this.b2.w("height", value_);
}
get ea() {
let ret_ = this.b2.n("width");
return ret_;
}
set ea(a) {
let value_ = a;
this.b2.w("width", value_);
}
get cp() {
let ret_ = this.b2.n("rowHeight");
return ret_;
}
set cp(a) {
let value_ = a;
this.b2.w("rowHeight", value_);
}
get d1() {
let ret_ = this.b2.n("columnWidth");
return ret_;
}
set d1(a) {
let value_ = a;
this.b2.w("columnWidth", value_);
}
get d3() {
let ret_ = this.b2.n("emptyGridMessage");
return ret_;
}
set d3(a) {
let value_ = a;
this.b2.w("emptyGridMessage", value_);
}
get ca() {
let ret_ = this.b2.n("isLoading");
return ret_;
}
set ca(a) {
let value_ = a;
this.b2.w("isLoading", value_);
}
get cg() {
let ret_ = this.b2.n("shouldGenerate");
return ret_;
}
set cg(a) {
let value_ = a;
this.b2.w("shouldGenerate", value_);
}
get d2() {
let ret_ = this.b2.n("emptyFilteredGridMessage");
return ret_;
}
set d2(a) {
let value_ = a;
this.b2.w("emptyFilteredGridMessage", value_);
}
get bj() {
let ret_ = this.b2.m("pinning", (a) => new PinningConfig());
return ret_;
}
set bj(a) {
let value_ = a;
this.b2.w("pinning", value_);
}
get b4() {
let ret_ = this.b2.n("allowFiltering");
return ret_;
}
set b4(a) {
let value_ = a;
this.b2.w("allowFiltering", value_);
}
get b3() {
let ret_ = this.b2.n("allowAdvancedFiltering");
return ret_;
}
set b3(a) {
let value_ = a;
this.b2.w("allowAdvancedFiltering", value_);
}
get ah() {
let ret_ = this.b2.n("filterMode");
if ((ret_ === undefined && this.___rawMode)) {
return undefined;
}
ret_ = enumGetBox(FilterMode_$type, EnumUtil.getEnumValue(FilterMode_$type, this.b2.f(FilterMode_$type, ret_)));
return EnumUtil.getEnumValue(FilterMode_$type, ret_);
}
set ah(a) {
let value_ = enumGetBox(FilterMode_$type, a);
value_ = WCNativeHelper.camel(value_.toString());
this.b2.w("filterMode", value_);
}
get bb() {
let ret_ = this.b2.n("summaryPosition");
if ((ret_ === undefined && this.___rawMode)) {
return undefined;
}
ret_ = enumGetBox(GridSummaryPosition_$type, EnumUtil.getEnumValue(GridSummaryPosition_$type, this.b2.f(GridSummaryPosition_$type, ret_)));
return EnumUtil.getEnumValue(GridSummaryPosition_$type, ret_);
}
set bb(a) {
let value_ = enumGetBox(GridSummaryPosition_$type, a);
value_ = WCNativeHelper.camel(value_.toString());
this.b2.w("summaryPosition", value_);
}
get ba() {
let ret_ = this.b2.n("summaryCalculationMode");
if ((ret_ === undefined && this.___rawMode)) {
return undefined;
}
ret_ = enumGetBox(GridSummaryCalculationMode_$type, EnumUtil.getEnumValue(GridSummaryCalculationMode_$type, this.b2.f(GridSummaryCalculationMode_$type, ret_)));
return EnumUtil.getEnumValue(GridSummaryCalculationMode_$type, ret_);
}
set ba(a) {
let value_ = enumGetBox(GridSummaryCalculationMode_$type, a);
value_ = WCNativeHelper.camel(value_.toString());
this.b2.w("summaryCalculationMode", value_);
}
get ci() {
let ret_ = this.b2.n("showSummaryOnCollapse");
return ret_;
}
set ci(a) {
let value_ = a;
this.b2.w("showSummaryOnCollapse", value_);
}
get ag() {
let ret_ = this.b2.m("filterStrategy", (a) => new FilteringStrategy());
return ret_;
}
set ag(a) {
let value_ = a;
this.b2.w("filterStrategy", value_);
}
get a9() {
let ret_ = this.b2.m("sortStrategy", (a) => new GridSortingStrategy());
return ret_;
}
set a9(a) {
let value_ = a;
this.b2.w("sortStrategy", value_);
}
get by() {
let ret_ = this.b2.m("sortingOptions", (a) => new SortingOptions());
return ret_;
}
set by(a) {
let value_ = a;
this.b2.w("sortingOptions", value_);
}
get e() {
let ret_ = this.b2.n("selectedRows");
return ret_;
}
set e(a) {
let value_ = a;
this.b2.w("selectedRows", value_);
}
get dp() {
return this.c6;
}
set dp(a) {
this.c6 = a;
this.b2.t("headSelectorTemplate", (b) => new HeadSelectorTemplateContext(), this.c6);
}
get dw() {
return this.dd;
}
set dw(a) {
this.dd = a;
this.b2.t("rowSelectorTemplate", (b) => new RowSelectorTemplateContext(), this.dd);
}
get dj() {
return this.c1;
}
set dj(a) {
this.c1 = a;
this.b2.t("dragIndicatorIconTemplate", (b) => new GridEmptyTemplateContext(), this.c1);
}
get f() {
let ret_ = this.b2.m("sortingExpressions", (a) => new SortingExpression());
return ret_;
}
set f(a) {
let value_ = a;
this.b2.w("sortingExpressions", value_);
}
get a5() {
let ret_ = this.b2.n("cellSelection");
if ((ret_ === undefined && this.___rawMode)) {
return undefined;
}
ret_ = enumGetBox(GridSelectionMode_$type, EnumUtil.getEnumValue(GridSelectionMode_$type, this.b2.f(GridSelectionMode_$type, ret_)));
return EnumUtil.getEnumValue(GridSelectionMode_$type, ret_);
}
set a5(a) {
let value_ = enumGetBox(GridSelectionMode_$type, a);
value_ = WCNativeHelper.camel(value_.toString());
this.b2.w("cellSelection", value_);
}
get a7() {
let ret_ = this.b2.n("rowSelection");
if ((ret_ === undefined && this.___rawMode)) {
return undefined;
}
ret_ = enumGetBox(GridSelectionMode_$type, EnumUtil.getEnumValue(GridSelectionMode_$type, this.b2.f(GridSelectionMode_$type, ret_)));
return EnumUtil.getEnumValue(GridSelectionMode_$type, ret_);
}
set a7(a) {
let value_ = enumGetBox(GridSelectionMode_$type, a);
value_ = WCNativeHelper.camel(value_.toString());
this.b2.w("rowSelection", value_);
}
get a6() {
let ret_ = this.b2.n("columnSelection");
if ((ret_ === undefined && this.___rawMode)) {
return undefined;
}
ret_ = enumGetBox(GridSelectionMode_$type, EnumUtil.getEnumValue(GridSelectionMode_$type, this.b2.f(GridSelectionMode_$type, ret_)));
return EnumUtil.getEnumValue(GridSelectionMode_$type, ret_);
}
set a6(a) {
let value_ = enumGetBox(GridSelectionMode_$type, a);
value_ = WCNativeHelper.camel(value_.toString());
this.b2.w("columnSelection", value_);
}
get cl() {
let ret_ = this.b2.n("defaultRowHeight");
return ret_;
}
get ck() {
let ret_ = this.b2.n("defaultHeaderGroupMinWidth");
return ret_;
}
get b() {
let ret_ = this.b2.m("columns", (a) => new Column());
return ret_;
}
get cs() {
let ret_ = this.b2.n("totalRecords");
return ret_;
}
set cs(a) {
let value_ = a;
this.b2.w("totalRecords", value_);
}
get cf() {
let ret_ = this.b2.n("selectRowOnClick");
return ret_;
}
set cf(a) {
let value_ = a;
this.b2.w("selectRowOnClick", value_);
}
gridCreatedChanged() {
if (this.gridCreated != null) {
this.b2.s("gridCreated", (a) => this.gridCreated(this, GridCreatedEventArgs.a(a)), false);
}
else {
this.b2.v("gridCreated");
}
}
gridInitializedChanged() {
if (this.gridInitialized != null) {
this.b2.s("gridInitialized", (a) => this.gridInitialized(this, GridCreatedEventArgs.a(a)), false);
}
else {
this.b2.v("gridInitialized");
}
}
dataPreLoadChanged() {
if (this.dataPreLoad != null) {
this.b2.s("dataPreLoad", (a) => this.dataPreLoad(this, ForOfStateEventArgs.b(a)), false);
}
else {
this.b2.v("dataPreLoad");
}
}
filteringExpressionsTreeChangeChanged() {
if (this.filteringExpressionsTreeChange != null) {
this.b2.s("filteringExpressionsTreeChange", (a) => this.filteringExpressionsTreeChange(this, FilteringExpressionsTreeEventArgs.b(a)), false);
}
else {
this.b2.v("filteringExpressionsTreeChange");
}
}
advancedFilteringExpressionsTreeChangeChanged() {
if (this.advancedFilteringExpressionsTreeChange != null) {
this.b2.s("advancedFilteringExpressionsTreeChange", (a) => this.advancedFilteringExpressionsTreeChange(this, FilteringExpressionsTreeEventArgs.b(a)), false);
}
else {
this.b2.v("advancedFilteringExpressionsTreeChange");
}
}
gridScrollChanged() {
if (this.gridScroll != null) {
this.b2.s("gridScroll", (a) => this.gridScroll(this, GridScrollEventArgs.a(a)), false);
}
else {
this.b2.v("gridScroll");
}
}
cellClickChanged() {
if (this.cellClick != null) {
this.b2.s("cellClick", (a) => this.cellClick(this, GridCellEventArgs.a(a)), false);
}
else {
this.b2.v("cellClick");
}
}
rowClickChanged() {
if (this.rowClick != null) {
this.b2.s("rowClick", (a) => this.rowClick(this, GridRowEventArgs.a(a)), false);
}
else {
this.b2.v("rowClick");
}
}
formGroupCreatedChanged() {
if (this.formGroupCreated != null) {
this.b2.s("formGroupCreated", (a) => this.formGroupCreated(this, GridFormGroupCreatedEventArgs.a(a)), false);
}
else {
this.b2.v("formGroupCreated");
}
}
validationStatusChangeChanged() {
if (this.validationStatusChange != null) {
this.b2.s("validationStatusChange", (a) => this.validationStatusChange(this, GridValidationStatusEventArgs.a(a)), false);
}
else {
this.b2.v("validationStatusChange");
}
}
selectedChanged() {
if (this.selected != null) {
this.b2.s("selected", (a) => this.selected(this, GridCellEventArgs.a(a)), false);
}
else {
this.b2.v("selected");
}
}
rowSelectionChangingChanged() {
if (this.rowSelectionChanging != null) {
this.b2.s("rowSelectionChanging", (a) => this.rowSelectionChanging(this, RowSelectionEventArgs.a(a)), false);
}
else {
this.b2.v("rowSelectionChanging");
}
}
columnSelectionChangingChanged() {
if (this.columnSelectionChanging != null) {
this.b2.s("columnSelectionChanging", (a) => this.columnSelectionChanging(this, ColumnSelectionEventArgs.a(a)), false);
}
else {
this.b2.v("columnSelectionChanging");
}
}
columnPinChanged() {
if (this.columnPin != null) {
this.b2.s("columnPin", (a) => this.columnPin(this, PinColumnCancellableEventArgs.a(a)), false);
}
else {
this.b2.v("columnPin");
}
}
columnPinnedChanged() {
if (this.columnPinned != null) {
this.b2.s("columnPinned", (a) => this.columnPinned(this, PinColumnEventArgs.a(a)), false);
}
else {
this.b2.v("columnPinned");
}
}
cellEditEnterChanged() {
if (this.cellEditEnter != null) {
this.b2.s("cellEditEnter", (a) => this.cellEditEnter(this, GridEditEventArgs.a(a)), false);
}
else {
this.b2.v("cellEditEnter");
}
}
cellEditExitChanged() {
if (this.cellEditExit != null) {
this.b2.s("cellEditExit", (a) => this.cellEditExit(this, GridEditDoneEventArgs.a(a)), false);
}
else {
this.b2.v("cellEditExit");
}
}
cellEditChanged() {
if (this.cellEdit != null) {
this.b2.s("cellEdit", (a) => this.cellEdit(this, GridEditEventArgs.a(a)), false);
}
else {
this.b2.v("cellEdit");
}
}
cellEditDoneChanged() {
if (this.cellEditDone != null) {
this.b2.s("cellEditDone", (a) => this.cellEditDone(this, GridEditDoneEventArgs.a(a)), false);
}
else {
this.b2.v("cellEditDone");
}
}
rowEditEnterChanged() {
if (this.rowEditEnter != null) {
this.b2.s("rowEditEnter", (a) => this.rowEditEnter(this, GridEditEventArgs.a(a)), false);
}
else {
this.b2.v("rowEditEnter");
}
}
rowEditChanged() {
if (this.rowEdit != null) {
this.b2.s("rowEdit", (a) => this.rowEdit(this, GridEditEventArgs.a(a)), false);
}
else {
this.b2.v("rowEdit");
}
}
rowEditDoneChanged() {
if (this.rowEditDone != null) {
this.b2.s("rowEditDone", (a) => this.rowEditDone(this, GridEditDoneEventArgs.a(a)), false);
}
else {
this.b2.v("rowEditDone");
}
}
rowEditExitChanged() {
if (this.rowEditExit != null) {
this.b2.s("rowEditExit", (a) => this.rowEditExit(this, GridEditDoneEventArgs.a(a)), false);
}
else {
this.b2.v("rowEditExit");
}
}
columnInitChanged() {
if (this.columnInit != null) {
this.b2.s("columnInit", (a) => this.columnInit(this, ColumnComponentEventArgs.b(a)), false);
}
else {
this.b2.v("columnInit");
}
}
columnsAutogeneratedChanged() {
if (this.columnsAutogenerated != null) {
this.b2.s("columnsAutogenerated", (a) => this.columnsAutogenerated(this, ColumnsAutoGeneratedEventArgs.a(a)), false);
}
else {
this.b2.v("columnsAutogenerated");
}
}
sortingChanged() {
if (this.sorting != null) {
this.b2.s("sorting", (a) => this.sorting(this, SortingEventArgs.a(a)), false);
}
else {
this.b2.v("sorting");
}
}
sortingDoneChanged() {
if (this.sortingDone != null) {
this.b2.s("sortingDone", (a) => this.sortingDone(this, SortingExpressionEventArgs.b(a)), false);
}
else {
this.b2.v("sortingDone");
}
}
filteringChanged() {
if (this.filtering != null) {
this.b2.s("filtering", (a) => this.filtering(this, FilteringEventArgs.a(a)), false);
}
else {
this.b2.v("filtering");
}
}
filteringDoneChanged() {
if (this.filteringDone != null) {
this.b2.s("filteringDone", (a) => this.filteringDone(this, FilteringExpressionsTreeEventArgs.b(a)), false);
}
else {
this.b2.v("filteringDone");
}
}
rowAddedChanged() {
if (this.rowAdded != null) {
this.b2.s("rowAdded", (a) => this.rowAdded(this, RowDataEventArgs.a(a)), false);
}
else {
this.b2.v("rowAdded");
}
}
rowDeletedChanged() {
if (this.rowDeleted != null) {
this.b2.s("rowDeleted", (a) => this.rowDeleted(this, RowDataEventArgs.a(a)), false);
}
else {
this.b2.v("rowDeleted");
}
}
rowDeleteChanged() {
if (this.rowDelete != null) {
this.b2.s("rowDelete", (a) => this.rowDelete(this, RowDataCancelableEventArgs.a(a)), false);
}
else {
this.b2.v("rowDelete");
}
}
rowAddChanged() {
if (this.rowAdd != null) {
this.b2.s("rowAdd", (a) => this.rowAdd(this, RowDataCancelableEventArgs.a(a)), false);
}
else {
this.b2.v("rowAdd");
}
}
columnResizedChanged() {
if (this.columnResized != null) {
this.b2.s("columnResized", (a) => this.columnResized(this, ColumnResizeEventArgs.a(a)), false);
}
else {
this.b2.v("columnResized");
}
}
contextMenuChanged() {
if (this.contextMenu != null) {
this.b2.s("contextMenu", (a) => this.contextMenu(this, GridContextMenuEventArgs.a(a)), false);
}
else {
this.b2.v("contextMenu");
}
}
doubleClickChanged() {
if (this.doubleClick != null) {
this.b2.s("doubleClick", (a) => this.doubleClick(this, GridCellEventArgs.a(a)), false);
}
else {
this.b2.v("doubleClick");
}
}
columnVisibilityChangingChanged() {
if (this.columnVisibilityChanging != null) {
this.b2.s("columnVisibilityChanging", (a) => this.columnVisibilityChanging(this, ColumnVisibilityChangingEventArgs.a(a)), false);
}
else {
this.b2.v("columnVisibilityChanging");
}
}
columnVisibilityChangedChanged() {
if (this.columnVisibilityChanged != null) {
this.b2.s("columnVisibilityChanged", (a) => this.columnVisibilityChanged(this, ColumnVisibilityChangedEventArgs.a(a)), false);
}
else {
this.b2.v("columnVisibilityChanged");
}
}
columnMovingStartChanged() {
if (this.columnMovingStart != null) {
this.b2.s("columnMovingStart", (a) => this.columnMovingStart(this, ColumnMovingStartEventArgs.a(a)), false);
}
else {
this.b2.v("columnMovingStart");
}
}
columnMovingChanged() {
if (this.columnMoving != null) {
this.b2.s("columnMoving", (a) => this.columnMoving(this, ColumnMovingEventArgs.a(a)), false);
}
else {
this.b2.v("columnMoving");
}
}
columnMovingEndChanged() {
if (this.columnMovingEnd != null) {
this.b2.s("columnMovingEnd", (a) => this.columnMovingEnd(this, ColumnMovingEndEventArgs.a(a)), false);
}
else {
this.b2.v("columnMovingEnd");
}
}
gridKeydownChanged() {
if (this.gridKeydown != null) {
this.b2.s("gridKeydown", (a) => this.gridKeydown(this, GridKeydownEventArgs.a(a)), false);
}
else {
this.b2.v("gridKeydown");
}
}
rowDragStartChanged() {
if (this.rowDragStart != null) {
this.b2.s("rowDragStart", (a) => this.rowDragStart(this, RowDragStartEventArgs.a(a)), false);
}
else {
this.b2.v("rowDragStart");
}
}
rowDragEndChanged() {
if (this.rowDragEnd != null) {
this.b2.s("rowDragEnd", (a) => this.rowDragEnd(this, RowDragEndEventArgs.a(a)), false);
}
else {
this.b2.v("rowDragEnd");
}
}
gridCopyChanged() {
if (this.gridCopy != null) {
this.b2.s("gridCopy", (a) => this.gridCopy(this, GridClipboardEventEventArgs.b(a)), false);
}
else {
this.b2.v("gridCopy");
}
}
selectedRowsChangeChanged() {
if (this.selectedRowsChange != null) {
this.b2.s("selectedRowsChange", (a) => this.selectedRowsChange(this, ComponentArrayDataValueChangedEventArgs.b(a)), false);
}
else {
this.b2.v("selectedRowsChange");
}
}
rowToggleChanged() {
if (this.rowToggle != null) {
this.b2.s("rowToggle", (a) => this.rowToggle(this, RowToggleEventArgs.a(a)), false);
}
else {
this.b2.v("rowToggle");
}
}
rowPinningChanged() {
if (this.rowPinning != null) {
this.b2.s("rowPinning", (a) => this.rowPinning(this, PinRowEventArgs.a(a)), false);
}
else {
this.b2.v("rowPinning");
}
}
rowPinnedChanged() {
if (this.rowPinned != null) {
this.b2.s("rowPinned", (a) => this.rowPinned(this, PinRowEventArgs.a(a)), false);
}
else {
this.b2.v("rowPinned");
}
}
activeNodeChangeChanged() {
if (this.activeNodeChange != null) {
this.b2.s("activeNodeChange", (a) => this.activeNodeChange(this, ActiveNodeChangeEventArgs.a(a)), false);
}
else {
this.b2.v("activeNodeChange");
}
}
sortingExpressionsChangeChanged() {
if (this.sortingExpressionsChange != null) {
this.b2.s("sortingExpressionsChange", (a) => this.sortingExpressionsChange(this, SortingExpressionEventArgs.b(a)), false);
}
else {
this.b2.v("sortingExpressionsChange");
}
}
toolbarExportingChanged() {
if (this.toolbarExporting != null) {
this.b2.s("toolbarExporting", (a) => this.toolbarExporting(this, GridToolbarExportEventArgs.a(a)), false);
}
else {
this.b2.v("toolbarExporting");
}
}
rangeSelectedChanged() {
if (this.rangeSelected != null) {
this.b2.s("rangeSelected", (a) => this.rangeSelected(this, GridSelectionRangeEventArgs.b(a)), false);
}
else {
this.b2.v("rangeSelected");
}
}
renderedChanged() {
if (this.rendered != null) {
this.b2.s("rendered", (a) => this.rendered(this, VoidEventArgs.b(a)), false);
}
else {
this.b2.v("rendered");
}
}
dataChangingChanged() {
if (this.dataChanging != null) {
this.b2.s("dataChanging", (a) => this.dataChanging(this, ForOfDataChangingEventArgs.a(a)), false);
}
else {
this.b2.v("dataChanging");
}
}
dataChangedChanged() {
if (this.dataChanged != null) {
this.b2.s("dataChanged", (a) => this.dataChanged(this, VoidEventArgs.b(a)), false);
}
else {
this.b2.v("dataChanged");
}
}
fs(a) {
this.nativeElement.isRecordPinnedByIndex(this.b2.i(a));
}
gr(a) {
this.nativeElement.toggleColumnVisibility(this.b2.i(a));
}
fc() {
this.nativeElement.expandAll();
}
eo() {
this.nativeElement.collapseAll();
}
fd(a) {
this.nativeElement.expandRow(this.b2.i(a));
}
ep(a) {
this.nativeElement.collapseRow(this.b2.i(a));
}
gs(a) {
this.nativeElement.toggleRow(this.b2.i(a));
}
d4(a) {
return (this.nativeElement.getHeaderGroupWidth(this.b2.i(a)));
}
l(a) {
return this.b2.g(this.nativeElement.getColumnByName(this.b2.i(a)), (b) => new Column());
}
m(a) {
return this.b2.g(this.nativeElement.g