igniteui-react-core
Version:
Ignite UI React Core.
128 lines (127 loc) • 4.01 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 { NativeUIContainer } from "./NativeUIContainer";
import { NativeUIBoxSizing_$type } from "./NativeUIBoxSizing";
import { enumGetBox, EnumUtil, markType } from "./type";
import { NativeUIPlaceContent_$type } from "./NativeUIPlaceContent";
/**
* @hidden
*/
export let NativeUIGrid = /*@__PURE__*/ (() => {
class NativeUIGrid extends NativeUIContainer {
constructor() {
super(...arguments);
this.bu = null;
}
get_e() {
return 7;
}
get b4() {
return this.bs.getRowDefinitionsCount(this.an);
}
get b0() {
return this.bs.getColumnDefinitionsCount(this.an);
}
get bs() {
return this.d;
}
get bt() {
let a = this.ah(39);
return EnumUtil.getEnumValue(NativeUIBoxSizing_$type, a);
}
set bt(a) {
this.a5(39, enumGetBox(NativeUIBoxSizing_$type, a));
}
get bx() {
let a = this.ah(74);
return EnumUtil.getEnumValue(NativeUIPlaceContent_$type, a);
}
set bx(a) {
this.a5(74, enumGetBox(NativeUIPlaceContent_$type, a));
}
get by() {
return this.ah(38);
}
set by(a) {
this.a5(38, a);
}
b7(a, b, c) {
this.bs.addRowDefinition(this.an, a, b, c);
}
b8(a, b, c, d) {
this.bs.addRowDefinitionWithMin(this.an, a, b, c, d);
}
ci(a, b, c) {
this.bs.updateRowDefinition(this.an, a, b, c);
}
b5(a, b, c) {
this.bs.addColumnDefinition(this.an, a, b, c);
}
b6(a, b, c, d) {
this.bs.addColumnDefinitionWithMin(this.an, a, b, c, d);
}
cg(a, b, c) {
this.bs.updateColumnDefinition(this.an, a, b, c);
}
ch(a, b, c, d) {
this.bs.updateColumnDefinitionWithMin(this.an, a, b, c, d);
}
b9(a, b, c) {
this.bs.insertColumnDefinition(this.an, a, b, c);
}
ca(a, b, c, d) {
this.bs.insertColumnDefinitionWithMin(this.an, a, b, c, d);
}
cf(a, b) {
this.bs.setRow(this.an, a, b);
}
cd(a, b) {
this.bs.setColumn(this.an, a, b);
}
ce(a, b) {
this.bs.setColumnSpan(this.an, a, b);
}
b3(a) {
return this.bs.getRow(this.an, a);
}
b1(a) {
return this.bs.getColumn(this.an, a);
}
b2(a) {
return this.bs.getColumnSpan(this.an, a);
}
cc(a) {
this.bs.removeRowDefinition(this.an, a);
}
cb(a) {
this.bs.removeColumnDefinition(this.an, a);
}
bw(a) {
return this.bs.getColumnDefinitionWidthType(this.an, a);
}
bz(a) {
return this.bs.getColumnDefinitionWidthValue(this.an, a);
}
get bv() {
return this.bu;
}
set bv(a) {
let b = this.bu;
this.bu = a;
if (this.bu != b) {
if (b != null) {
this.a3(1, b);
}
if (this.bu != null) {
this.ar(1, this.bu);
}
}
}
}
NativeUIGrid.$t = /*@__PURE__*/ markType(NativeUIGrid, 'NativeUIGrid', NativeUIContainer.$);
return NativeUIGrid;
})();