/*
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 { __extends } from "tslib";
import { NativeUIComponent } from "./NativeUIComponent";
import { NativeUIDisplayDensity_$type } from "./NativeUIDisplayDensity";
import { enumGetBox, EnumUtil, markType } from "./type";
import { NativeUIButtonDisplayType_$type } from "./NativeUIButtonDisplayType";
/**
 * @hidden
 */
var NativeUIButton = /** @class */ /*@__PURE__*/ (function (_super) {
    __extends(NativeUIButton, _super);
    function NativeUIButton() {
        var _this = _super !== null && _super.apply(this, arguments) || this;
        _this.bl = null;
        return _this;
    }
    NativeUIButton.prototype.get_e = function () {
        return 1;
    };
    Object.defineProperty(NativeUIButton.prototype, "bp", {
        get: function () {
            var a = this.ag(1);
            return a == null ? 1 : EnumUtil.getEnumValue(NativeUIDisplayDensity_$type, a);
        },
        set: function (a) {
            this.a4(1, enumGetBox(NativeUIDisplayDensity_$type, a));
        },
        enumerable: false,
        configurable: true
    });
    Object.defineProperty(NativeUIButton.prototype, "bn", {
        get: function () {
            var a = this.ag(0);
            return a == null ? 0 : EnumUtil.getEnumValue(NativeUIButtonDisplayType_$type, a);
        },
        set: function (a) {
            this.a4(0, enumGetBox(NativeUIButtonDisplayType_$type, a));
        },
        enumerable: false,
        configurable: true
    });
    Object.defineProperty(NativeUIButton.prototype, "bz", {
        get: function () {
            var a = this.ag(3);
            return a;
        },
        set: function (a) {
            this.a4(3, a);
        },
        enumerable: false,
        configurable: true
    });
    Object.defineProperty(NativeUIButton.prototype, "bo", {
        get: function () {
            return this.ag(54);
        },
        set: function (a) {
            this.a4(54, a);
        },
        enumerable: false,
        configurable: true
    });
    Object.defineProperty(NativeUIButton.prototype, "bu", {
        get: function () {
            return this.ag(4);
        },
        set: function (a) {
            this.a4(4, a);
        },
        enumerable: false,
        configurable: true
    });
    Object.defineProperty(NativeUIButton.prototype, "bs", {
        get: function () {
            return this.ag(5);
        },
        set: function (a) {
            this.a4(5, a);
        },
        enumerable: false,
        configurable: true
    });
    Object.defineProperty(NativeUIButton.prototype, "br", {
        get: function () {
            return this.ag(6);
        },
        set: function (a) {
            this.a4(6, a);
        },
        enumerable: false,
        configurable: true
    });
    Object.defineProperty(NativeUIButton.prototype, "bw", {
        get: function () {
            return this.ag(32);
        },
        set: function (a) {
            this.a4(32, a);
        },
        enumerable: false,
        configurable: true
    });
    Object.defineProperty(NativeUIButton.prototype, "b1", {
        get: function () {
            return this.ag(24);
        },
        set: function (a) {
            this.a4(24, a);
        },
        enumerable: false,
        configurable: true
    });
    Object.defineProperty(NativeUIButton.prototype, "b2", {
        get: function () {
            return this.ag(55);
        },
        set: function (a) {
            this.a4(55, a);
        },
        enumerable: false,
        configurable: true
    });
    Object.defineProperty(NativeUIButton.prototype, "bv", {
        get: function () {
            return this.ag(57);
        },
        set: function (a) {
            this.a4(57, a);
        },
        enumerable: false,
        configurable: true
    });
    Object.defineProperty(NativeUIButton.prototype, "bt", {
        get: function () {
            return this.ag(56);
        },
        set: function (a) {
            this.a4(56, a);
        },
        enumerable: false,
        configurable: true
    });
    Object.defineProperty(NativeUIButton.prototype, "bq", {
        get: function () {
            return this.ag(58);
        },
        set: function (a) {
            this.a4(58, a);
        },
        enumerable: false,
        configurable: true
    });
    Object.defineProperty(NativeUIButton.prototype, "bx", {
        get: function () {
            return this.ag(59);
        },
        set: function (a) {
            this.a4(59, a);
        },
        enumerable: false,
        configurable: true
    });
    Object.defineProperty(NativeUIButton.prototype, "b0", {
        get: function () {
            return this.ag(17);
        },
        set: function (a) {
            this.a4(17, a);
        },
        enumerable: false,
        configurable: true
    });
    Object.defineProperty(NativeUIButton.prototype, "bk", {
        get: function () {
            return this.ag(11);
        },
        set: function (a) {
            this.a4(11, a);
        },
        enumerable: false,
        configurable: true
    });
    Object.defineProperty(NativeUIButton.prototype, "by", {
        get: function () {
            return this.ag(88);
        },
        set: function (a) {
            this.a4(88, a);
        },
        enumerable: false,
        configurable: true
    });
    Object.defineProperty(NativeUIButton.prototype, "bm", {
        get: function () {
            return this.bl;
        },
        set: function (a) {
            var b = this.bl;
            this.bl = a;
            if (this.bl != b) {
                if (b != null) {
                    this.a2(1, b);
                }
                if (this.bl != null) {
                    this.aq(1, this.bl);
                }
            }
        },
        enumerable: false,
        configurable: true
    });
    NativeUIButton.$t = markType(NativeUIButton, 'NativeUIButton', NativeUIComponent.$);
    return NativeUIButton;
}(NativeUIComponent));
export { NativeUIButton };
