igniteui-react-core
Version:
Ignite UI React Core.
108 lines (107 loc) • 3.22 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 { NativeUIComponent } from "./NativeUIComponent";
import { enumGetBox, EnumUtil, markType } from "./type";
import { NativeUIDisplayDensity_$type } from "./NativeUIDisplayDensity";
import { NativeUIButtonGroupDisplayType_$type } from "./NativeUIButtonGroupDisplayType";
/**
* @hidden
*/
export let NativeUIButtonGroup = /*@__PURE__*/ (() => {
class NativeUIButtonGroup extends NativeUIComponent {
constructor() {
super(...arguments);
this.bp = null;
}
get_e() {
return 17;
}
get bl() {
let a = this.ah(88);
return a;
}
set bl(a) {
this.a5(88, a);
}
get br() {
let a = this.ah(1);
return a == null ? 1 : EnumUtil.getEnumValue(NativeUIDisplayDensity_$type, a);
}
set br(a) {
this.a5(1, enumGetBox(NativeUIDisplayDensity_$type, a));
}
get bo() {
let a = this.ah(0);
return a == null ? 1 : EnumUtil.getEnumValue(NativeUIButtonGroupDisplayType_$type, a);
}
set bo(a) {
this.a5(0, enumGetBox(NativeUIButtonGroupDisplayType_$type, a));
}
get bs() {
return this.ah(33);
}
set bs(a) {
this.a5(33, a);
}
get b0() {
return this.ah(24);
}
set b0(a) {
this.a5(24, a);
}
get bz() {
return this.ah(120);
}
set bz(a) {
this.a5(120, a);
}
get by() {
return this.ah(17);
}
set by(a) {
this.a5(17, a);
}
get bm() {
return this.d;
}
bt(a) {
this.bm.addButton(this.an, a);
}
bx(a, b) {
this.bm.updateButton(this.an, a, b);
}
bv(a, b) {
this.bm.insertButton(this.an, a, b);
}
bw(a) {
this.bm.removeButton(this.an, a);
}
bn(a) {
return this.bm.getButtonAt(this.an, a);
}
get bq() {
return this.bp;
}
set bq(a) {
let b = this.bp;
this.bp = a;
if (this.bp != b) {
if (b != null) {
this.a3(3, b);
}
if (this.bp != null) {
this.ar(3, this.bp);
}
}
}
bu() {
this.bm.clearSelection(this.an);
}
}
NativeUIButtonGroup.$t = /*@__PURE__*/ markType(NativeUIButtonGroup, 'NativeUIButtonGroup', NativeUIComponent.$);
return NativeUIButtonGroup;
})();