/*
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.bg = null;
        }
        get_e() {
            return 1;
        }
        get bk() {
            let a = this.ae(1);
            return a == null ? 1 : EnumUtil.getEnumValue(NativeUIDisplayDensity_$type, a);
        }
        set bk(a) {
            this.a0(1, enumGetBox(NativeUIDisplayDensity_$type, a));
        }
        get bi() {
            let a = this.ae(0);
            return a == null ? 0 : EnumUtil.getEnumValue(NativeUIButtonDisplayType_$type, a);
        }
        set bi(a) {
            this.a0(0, enumGetBox(NativeUIButtonDisplayType_$type, a));
        }
        get bs() {
            let a = this.ae(3);
            return a;
        }
        set bs(a) {
            this.a0(3, a);
        }
        get bj() {
            return this.ae(54);
        }
        set bj(a) {
            this.a0(54, a);
        }
        get bp() {
            return this.ae(4);
        }
        set bp(a) {
            this.a0(4, a);
        }
        get bn() {
            return this.ae(5);
        }
        set bn(a) {
            this.a0(5, a);
        }
        get bm() {
            return this.ae(6);
        }
        set bm(a) {
            this.a0(6, a);
        }
        get br() {
            return this.ae(32);
        }
        set br(a) {
            this.a0(32, a);
        }
        get bt() {
            return this.ae(24);
        }
        set bt(a) {
            this.a0(24, a);
        }
        get bu() {
            return this.ae(55);
        }
        set bu(a) {
            this.a0(55, a);
        }
        get bq() {
            return this.ae(57);
        }
        set bq(a) {
            this.a0(57, a);
        }
        get bo() {
            return this.ae(56);
        }
        set bo(a) {
            this.a0(56, a);
        }
        get bl() {
            return this.ae(58);
        }
        set bl(a) {
            this.a0(58, a);
        }
        get bh() {
            return this.bg;
        }
        set bh(a) {
            let b = this.bg;
            this.bg = a;
            if (this.bg != null) {
                this.an(1, this.bg);
            }
            else {
                this.ay(1, b);
            }
        }
    }
    NativeUIButton.$t = markType(NativeUIButton, 'NativeUIButton', NativeUIComponent.$);
    return NativeUIButton;
})();
