igniteui-react-core
Version:
Ignite UI React Core.
165 lines (164 loc) • 4.3 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 { NativeUIDisplayDensity_$type } from "./NativeUIDisplayDensity";
import { enumGetBox, EnumUtil, markType } from "./type";
import { NativeUIButtonDisplayType_$type } from "./NativeUIButtonDisplayType";
/**
* @hidden
*/
export let NativeUIButton = /*@__PURE__*/ (() => {
class NativeUIButton extends NativeUIComponent {
constructor() {
super(...arguments);
this.bm = null;
}
get_e() {
return 1;
}
get bq() {
let a = this.ah(1);
return a == null ? 1 : EnumUtil.getEnumValue(NativeUIDisplayDensity_$type, a);
}
set bq(a) {
this.a5(1, enumGetBox(NativeUIDisplayDensity_$type, a));
}
get bo() {
let a = this.ah(0);
return a == null ? 0 : EnumUtil.getEnumValue(NativeUIButtonDisplayType_$type, a);
}
set bo(a) {
this.a5(0, enumGetBox(NativeUIButtonDisplayType_$type, a));
}
get b0() {
let a = this.ah(3);
return a;
}
set b0(a) {
this.a5(3, a);
}
get bp() {
return this.ah(55);
}
set bp(a) {
this.a5(55, a);
}
get bv() {
return this.ah(4);
}
set bv(a) {
this.a5(4, a);
}
get bt() {
return this.ah(5);
}
set bt(a) {
this.a5(5, a);
}
get bs() {
return this.ah(6);
}
set bs(a) {
this.a5(6, a);
}
get bx() {
return this.ah(33);
}
set bx(a) {
this.a5(33, a);
}
get b2() {
return this.ah(24);
}
set b2(a) {
this.a5(24, a);
}
get b3() {
return this.ah(56);
}
set b3(a) {
this.a5(56, a);
}
get bw() {
return this.ah(58);
}
set bw(a) {
this.a5(58, a);
}
get bu() {
return this.ah(57);
}
set bu(a) {
this.a5(57, a);
}
get br() {
return this.ah(59);
}
set br(a) {
this.a5(59, a);
}
get by() {
return this.ah(60);
}
set by(a) {
this.a5(60, a);
}
get b1() {
return this.ah(17);
}
set b1(a) {
this.a5(17, a);
}
get bl() {
return this.ah(11);
}
set bl(a) {
this.a5(11, a);
}
get bz() {
return this.ah(89);
}
set bz(a) {
this.a5(89, a);
}
get bn() {
return this.bm;
}
set bn(a) {
let b = this.bm;
this.bm = a;
if (this.bm != b) {
if (b != null) {
this.a3(1, b);
}
if (this.bm != null) {
this.ar(1, this.bm);
}
}
}
a7(a, b) {
switch (a) {
case 3:
this.a5(119, b);
return;
case 2:
this.a5(23, b);
return;
}
super.a7(a, b);
}
aj(a) {
switch (a) {
case 3: return this.ah(119);
case 2: return this.ah(23);
}
return super.aj(a);
}
}
NativeUIButton.$t = /*@__PURE__*/ markType(NativeUIButton, 'NativeUIButton', NativeUIComponent.$);
return NativeUIButton;
})();