igniteui-react-charts
Version:
Ignite UI React charting components for building rich data visualizations using TypeScript APIs.
30 lines (29 loc) • 1.6 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 "igniteui-react-core";
import { DVContainer } from "igniteui-react-core";
import { IAnnotationInfoProvider_$type } from "./IAnnotationInfoProvider";
import { AnnotationInfoProvider } from "./AnnotationInfoProvider";
import { IAxisAnnotationManager_$type } from "./IAxisAnnotationManager";
import { AxisAnnotationManager } from "./AxisAnnotationManager";
/**
* @hidden
*/
export let AnnotationFactoryManager = /*@__PURE__*/ (() => {
class AnnotationFactoryManager extends Base {
static register() {
if (!AnnotationFactoryManager.a) {
DVContainer.instance.registerFactory(IAnnotationInfoProvider_$type, () => new AnnotationInfoProvider());
DVContainer.instance.registerFactory(IAxisAnnotationManager_$type, () => new AxisAnnotationManager());
AnnotationFactoryManager.a = true;
}
}
}
AnnotationFactoryManager.$t = /*@__PURE__*/ markType(AnnotationFactoryManager, 'AnnotationFactoryManager');
AnnotationFactoryManager.a = false;
return AnnotationFactoryManager;
})();