UNPKG

igniteui-angular-charts

Version:

Ignite UI Angular charting components for building rich data visualizations for modern web apps.

34 lines (33 loc) 1.87 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 { __extends } from "tslib"; import { Base, markType } from "igniteui-angular-core"; import { DVContainer } from "igniteui-angular-core"; import { IAnnotationInfoProvider_$type } from "./IAnnotationInfoProvider"; import { AnnotationInfoProvider } from "./AnnotationInfoProvider"; import { IAxisAnnotationManager_$type } from "./IAxisAnnotationManager"; import { AxisAnnotationManager } from "./AxisAnnotationManager"; /** * @hidden */ var AnnotationFactoryManager = /** @class */ /*@__PURE__*/ (function (_super) { __extends(AnnotationFactoryManager, _super); function AnnotationFactoryManager() { return _super !== null && _super.apply(this, arguments) || this; } AnnotationFactoryManager.register = function () { if (!AnnotationFactoryManager.a) { DVContainer.instance.registerFactory(IAnnotationInfoProvider_$type, function () { return new AnnotationInfoProvider(); }); DVContainer.instance.registerFactory(IAxisAnnotationManager_$type, function () { return new AxisAnnotationManager(); }); AnnotationFactoryManager.a = true; } }; AnnotationFactoryManager.$t = markType(AnnotationFactoryManager, 'AnnotationFactoryManager'); AnnotationFactoryManager.a = false; return AnnotationFactoryManager; }(Base)); export { AnnotationFactoryManager };