igniteui-react-inputs
Version:
Ignite UI React input components.
58 lines (57 loc) • 2.08 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 } from "tslib";
import { NativeUIElementBridge } from "igniteui-react-core";
import { markType } from "igniteui-react-core";
/**
* @hidden
*/
var XComponentBridge = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(XComponentBridge, _super);
function XComponentBridge(a) {
var _this = _super.call(this) || this;
_this.s = null;
_this.s = a;
return _this;
}
Object.defineProperty(XComponentBridge.prototype, "t", {
get: function () {
return this.s;
},
enumerable: false,
configurable: true
});
XComponentBridge.prototype.getTargetForProperty = function (a, b) {
switch (a) {
case 14:
case 9:
case 10:
case 13:
case 16:
case 15:
case 17:
case 7:
case 21: return b;
}
return this.s != null ? this.s : b;
};
XComponentBridge.prototype.getMethodTarget = function (a) {
return this.s != null ? this.s : a;
};
XComponentBridge.prototype.getTargetForBuildInEvent = function (a, b) {
return this.s != null ? this.s : a;
};
XComponentBridge.prototype.getTargetForBuildInProperty = function (a, b) {
switch (b) {
case 108: return a;
}
return this.s != null ? this.s : a;
};
XComponentBridge.$t = markType(XComponentBridge, 'XComponentBridge', NativeUIElementBridge.$);
return XComponentBridge;
}(NativeUIElementBridge));
export { XComponentBridge };