igniteui-react-core
Version:
Ignite UI React Core.
49 lines (48 loc) • 1.73 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 { Base, markType } from "./type";
import { Localization } from "./Localization";
import { stringEmpty } from "./string";
/**
* @hidden
*/
var DVSR = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(DVSR, _super);
function DVSR(a) {
var _this = _super.call(this) || this;
_this.a = null;
_this.a = a;
_this.setBundleId("DataVisualization");
return _this;
}
Object.defineProperty(DVSR.prototype, "container", {
get: function () {
return this.a;
},
set: function (a) {
this.a = a;
},
enumerable: false,
configurable: true
});
DVSR.prototype.getString = function (resourceName_) {
var a = stringEmpty();
resourceName_ = resourceName_.charAt(0).toUpperCase() + resourceName_.substr(1);
a = this.a.getResourceString(resourceName_);
return a;
};
DVSR.prototype.setBundleId = function (a) {
if (this.a != null) {
this.a.setResourceBundleId(a);
this.a.setCultureId(Localization.d(a));
}
};
DVSR.$t = markType(DVSR, 'DVSR');
return DVSR;
}(Base));
export { DVSR };