igniteui-react-core
Version:
Ignite UI React Core.
146 lines (145 loc) • 4.91 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 { enumGetBox, EnumUtil, markType } from "./type";
import { NativeUIDisplayDensity_$type } from "./NativeUIDisplayDensity";
import { NativeUIButtonGroupDisplayType_$type } from "./NativeUIButtonGroupDisplayType";
/**
* @hidden
*/
var NativeUIButtonGroup = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(NativeUIButtonGroup, _super);
function NativeUIButtonGroup() {
var _this = _super.apply(this, __spreadArray([], __read(arguments), false)) || this;
_this.bp = null;
return _this;
}
NativeUIButtonGroup.prototype.get_e = function () {
return 17;
};
Object.defineProperty(NativeUIButtonGroup.prototype, "bl", {
get: function () {
var a = this.ah(88);
return a;
},
set: function (a) {
this.a5(88, a);
},
enumerable: false,
configurable: true
});
Object.defineProperty(NativeUIButtonGroup.prototype, "br", {
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(NativeUIButtonGroup.prototype, "bo", {
get: function () {
var a = this.ah(0);
return a == null ? 1 : EnumUtil.getEnumValue(NativeUIButtonGroupDisplayType_$type, a);
},
set: function (a) {
this.a5(0, enumGetBox(NativeUIButtonGroupDisplayType_$type, a));
},
enumerable: false,
configurable: true
});
Object.defineProperty(NativeUIButtonGroup.prototype, "bs", {
get: function () {
return this.ah(33);
},
set: function (a) {
this.a5(33, a);
},
enumerable: false,
configurable: true
});
Object.defineProperty(NativeUIButtonGroup.prototype, "b0", {
get: function () {
return this.ah(24);
},
set: function (a) {
this.a5(24, a);
},
enumerable: false,
configurable: true
});
Object.defineProperty(NativeUIButtonGroup.prototype, "bz", {
get: function () {
return this.ah(120);
},
set: function (a) {
this.a5(120, a);
},
enumerable: false,
configurable: true
});
Object.defineProperty(NativeUIButtonGroup.prototype, "by", {
get: function () {
return this.ah(17);
},
set: function (a) {
this.a5(17, a);
},
enumerable: false,
configurable: true
});
Object.defineProperty(NativeUIButtonGroup.prototype, "bm", {
get: function () {
return this.d;
},
enumerable: false,
configurable: true
});
NativeUIButtonGroup.prototype.bt = function (a) {
this.bm.addButton(this.an, a);
};
NativeUIButtonGroup.prototype.bx = function (a, b) {
this.bm.updateButton(this.an, a, b);
};
NativeUIButtonGroup.prototype.bv = function (a, b) {
this.bm.insertButton(this.an, a, b);
};
NativeUIButtonGroup.prototype.bw = function (a) {
this.bm.removeButton(this.an, a);
};
NativeUIButtonGroup.prototype.bn = function (a) {
return this.bm.getButtonAt(this.an, a);
};
Object.defineProperty(NativeUIButtonGroup.prototype, "bq", {
get: function () {
return this.bp;
},
set: function (a) {
var 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);
}
}
},
enumerable: false,
configurable: true
});
NativeUIButtonGroup.prototype.bu = function () {
this.bm.clearSelection(this.an);
};
NativeUIButtonGroup.$t = markType(NativeUIButtonGroup, 'NativeUIButtonGroup', NativeUIComponent.$);
return NativeUIButtonGroup;
}(NativeUIComponent));
export { NativeUIButtonGroup };