igniteui-react-core
Version:
Ignite UI React Core.
239 lines (238 loc) • 7.07 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 { __extends, __read, __spreadArray } 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.apply(this, __spreadArray([], __read(arguments), false)) || this;
_this.bm = null;
return _this;
}
NativeUIButton.prototype.get_e = function () {
return 1;
};
Object.defineProperty(NativeUIButton.prototype, "bq", {
get: function () {
var a = this.ah(1);
return a == null ? 1 : EnumUtil.getEnumValue(NativeUIDisplayDensity_$type, a);
},
set: function (a) {
this.a5(1, enumGetBox(NativeUIDisplayDensity_$type, a));
},
enumerable: false,
configurable: true
});
Object.defineProperty(NativeUIButton.prototype, "bo", {
get: function () {
var a = this.ah(0);
return a == null ? 0 : EnumUtil.getEnumValue(NativeUIButtonDisplayType_$type, a);
},
set: function (a) {
this.a5(0, enumGetBox(NativeUIButtonDisplayType_$type, a));
},
enumerable: false,
configurable: true
});
Object.defineProperty(NativeUIButton.prototype, "b0", {
get: function () {
var a = this.ah(3);
return a;
},
set: function (a) {
this.a5(3, a);
},
enumerable: false,
configurable: true
});
Object.defineProperty(NativeUIButton.prototype, "bp", {
get: function () {
return this.ah(55);
},
set: function (a) {
this.a5(55, a);
},
enumerable: false,
configurable: true
});
Object.defineProperty(NativeUIButton.prototype, "bv", {
get: function () {
return this.ah(4);
},
set: function (a) {
this.a5(4, a);
},
enumerable: false,
configurable: true
});
Object.defineProperty(NativeUIButton.prototype, "bt", {
get: function () {
return this.ah(5);
},
set: function (a) {
this.a5(5, a);
},
enumerable: false,
configurable: true
});
Object.defineProperty(NativeUIButton.prototype, "bs", {
get: function () {
return this.ah(6);
},
set: function (a) {
this.a5(6, a);
},
enumerable: false,
configurable: true
});
Object.defineProperty(NativeUIButton.prototype, "bx", {
get: function () {
return this.ah(33);
},
set: function (a) {
this.a5(33, a);
},
enumerable: false,
configurable: true
});
Object.defineProperty(NativeUIButton.prototype, "b2", {
get: function () {
return this.ah(24);
},
set: function (a) {
this.a5(24, a);
},
enumerable: false,
configurable: true
});
Object.defineProperty(NativeUIButton.prototype, "b3", {
get: function () {
return this.ah(56);
},
set: function (a) {
this.a5(56, a);
},
enumerable: false,
configurable: true
});
Object.defineProperty(NativeUIButton.prototype, "bw", {
get: function () {
return this.ah(58);
},
set: function (a) {
this.a5(58, a);
},
enumerable: false,
configurable: true
});
Object.defineProperty(NativeUIButton.prototype, "bu", {
get: function () {
return this.ah(57);
},
set: function (a) {
this.a5(57, a);
},
enumerable: false,
configurable: true
});
Object.defineProperty(NativeUIButton.prototype, "br", {
get: function () {
return this.ah(59);
},
set: function (a) {
this.a5(59, a);
},
enumerable: false,
configurable: true
});
Object.defineProperty(NativeUIButton.prototype, "by", {
get: function () {
return this.ah(60);
},
set: function (a) {
this.a5(60, a);
},
enumerable: false,
configurable: true
});
Object.defineProperty(NativeUIButton.prototype, "b1", {
get: function () {
return this.ah(17);
},
set: function (a) {
this.a5(17, a);
},
enumerable: false,
configurable: true
});
Object.defineProperty(NativeUIButton.prototype, "bl", {
get: function () {
return this.ah(11);
},
set: function (a) {
this.a5(11, a);
},
enumerable: false,
configurable: true
});
Object.defineProperty(NativeUIButton.prototype, "bz", {
get: function () {
return this.ah(89);
},
set: function (a) {
this.a5(89, a);
},
enumerable: false,
configurable: true
});
Object.defineProperty(NativeUIButton.prototype, "bn", {
get: function () {
return this.bm;
},
set: function (a) {
var 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);
}
}
},
enumerable: false,
configurable: true
});
NativeUIButton.prototype.a7 = function (a, b) {
switch (a) {
case 3:
this.a5(119, b);
return;
case 2:
this.a5(23, b);
return;
}
_super.prototype.a7.call(this, a, b);
};
NativeUIButton.prototype.aj = function (a) {
switch (a) {
case 3: return this.ah(119);
case 2: return this.ah(23);
}
return _super.prototype.aj.call(this, a);
};
NativeUIButton.$t = markType(NativeUIButton, 'NativeUIButton', NativeUIComponent.$);
return NativeUIButton;
}(NativeUIComponent));
export { NativeUIButton };