UNPKG

igniteui-angular-core

Version:

Ignite UI Angular Core logic used in multiple UI components.

43 lines (42 loc) 1.54 kB
/* 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 { constructor(a) { super(); this.a = null; this.a = a; this.setBundleId("DataVisualization"); } get container() { return this.a; } set container(a) { this.a = a; } 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 = markType(DVSR, 'DVSR'); return DVSR; })();