igniteui-react-core
Version:
Ignite UI React Core.
43 lines (42 loc) • 1.51 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 { Base, markType } from "./type";
import { Localization } from "./Localization";
import { stringEmpty } from "./string";
/**
* @hidden
*/
export let DVSR = /*@__PURE__*/ (() => {
class DVSR extends Base {
get container() {
return this.a;
}
set container(a) {
this.a = a;
}
constructor(a) {
super();
this.a = null;
this.a = a;
this.setBundleId("DataVisualization");
}
getString(resourceName_) {
let a = stringEmpty();
resourceName_ = resourceName_.charAt(0).toUpperCase() + resourceName_.substr(1);
a = this.a.getResourceString(resourceName_);
return a;
}
setBundleId(a) {
if (this.a != null) {
this.a.setResourceBundleId(a);
this.a.setCultureId(Localization.d(a));
}
}
}
DVSR.$t = /*@__PURE__*/ markType(DVSR, 'DVSR');
return DVSR;
})();